Sabatex.V1C77 8.0.4

dotnet add package Sabatex.V1C77 --version 8.0.4                
NuGet\Install-Package Sabatex.V1C77 -Version 8.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sabatex.V1C77" Version="8.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sabatex.V1C77 --version 8.0.4                
#r "nuget: Sabatex.V1C77, 8.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Sabatex.V1C77 as a Cake Addin
#addin nuget:?package=Sabatex.V1C77&version=8.0.4

// Install Sabatex.V1C77 as a Cake Tool
#tool nuget:?package=Sabatex.V1C77&version=8.0.4                

MIT License sabatex.V1C77 NuGet sabatex.V1C77 sabatex.V1C77.Models NuGet sabatex.V1C77.Models

Инсталяция: dotnet add package sabatex.V1C77

Добавить пространство имен: using sabatex.V1C77;

пример использованя: ---C#

     static void Main(string[] args)
    {
        // создаём строку соединения
        var connection = new sabatex.V1C77.Models.Connection
        {
            DataBasePath = @"C:\demo\1SBUKRD", // путь к базе
            PlatformType = sabatex.V1C77.Models.EPlatform1C.V77M, // платформа 1С77
            UserName = "Админов", // имя пользователя
            UserPass = "" // пароль или пустая строка
        };

        // соединяемся с 1С77
        // 
        using (var _1c77 = sabatex.V1C77.COMObject1C77.CreateConnection(connection))
        {
            // перебор всего справочника Контрагенты
            var contr = _1c77.GlobalContext.CreateObject("Справочник.Контрагенты");
            if (contr.Method<double>("ВыбратьЭлементы") == 1)
            {
                while (contr.Method<double>("ПолучитьЭлемент")==1)
                {
                    if (contr.Method<double>("ЭтоГруппа") == 1) continue;
                    var name = contr.GetProperty<string>("Наименование");
                    Console.WriteLine(name);
                }
            }


        }
    }  

соответствие типов данных строка - string число - double дата - DataTime остальное - V1C77COMObject

возможно использовать bool для замены double(0- false;1 - true) тогда выражение сократится к if (contr.Method<bool>("ВыбратьЭлементы"))

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
.NET Framework net35 is compatible.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.4 99 11/4/2024
8.0.3 97 11/1/2024
8.0.2 506 9/28/2023
8.0.1 469 9/28/2023
8.0.0 515 9/28/2023
7.0.9 572 5/18/2023
7.0.8 628 5/16/2023
7.0.7 614 5/15/2023
7.0.6 568 5/15/2023
7.0.5 652 4/10/2023
7.0.4 621 4/5/2023
7.0.3 715 2/24/2023
7.0.2 657 2/22/2023
7.0.1 663 2/16/2023
7.0.0 675 2/15/2023
6.0.7 882 7/19/2021
6.0.6 866 1/25/2021
6.0.5 809 1/25/2021
6.0.4 774 1/25/2021
6.0.3 916 1/22/2021
6.0.2 800 1/19/2021
6.0.1 801 1/15/2021
6.0.0 829 1/15/2021
5.0.2 896 1/13/2021
5.0.1 870 1/4/2021
5.0.0 906 12/8/2020
5.0.0-preview3 795 12/7/2020
5.0.0-preview2 788 12/7/2020
5.0.0-preview1 776 10/29/2020
3.1.9 1,052 7/24/2020
3.1.8 965 7/24/2020
3.1.7 922 7/24/2020
3.1.6 933 7/24/2020
3.1.5 987 7/21/2020
3.1.4 962 7/20/2020
3.1.3 1,022 7/16/2020