-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathReadme.html
36 lines (29 loc) · 1005 Bytes
/
Readme.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<code>
Install
Package Manager:
PM>Install-Package sabatex.V1C8 -Version 5.0.1
Command line:
>dotnet add package sabatex.V1C8 --version 5.0.1
Project file *.csproj:
<PackageReference Include="sabatex.V1C8" Version="5.0.1"/>
</code>
<p>
Пример использования:
</p>
<pre>
// создаём соединение
using (var globalContext = COMObject1C8.CreateConnection("ConnectionString1C8")
{
// получаем документ
var doc = globalContext.GetProperty<ICOMObject1C8>("Documents").GetProperty<ICOMObject1C8>("РасходнаяНакладная").Method<ICOMObject1C8>("FindByNumber", "0000001", new DateTime(2021,01,01));
}
</pre>
</body>
</html>