--- myst: substitutions: class: |- ```{image} /img/code_reference/class.ico ``` enum: |- ```{image} /img/code_reference/enum.ico ``` interface: |- ```{image} /img/code_reference/interface.ico ``` --- # .NET Library ```{toctree} :glob: true :hidden: true net_library/* ``` The powerGate .NET library contains a set of classes, interfaces, and value types that provide the functionality to automate data synchronization with ERP systems. ```{image} /img/code_reference/utilities.png :align: right :width: 160px ``` The library supports: - .Net Framework 4.7 or higher - OData Version v1, v2, v3, v4. The library tries to perform **as less server requests as possible**, in order to keep a **high performance** when communicating over the network or the internet. :::{admonition} Metadata This means that e.g. the service **metadata** will be retrieved **only when required**, and only for the required services. After retrieving metadata once, **no further metadata request is required**, because powerGate caches the server results! ::: ## Classes | Class | Description | | ------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | {{class}} [ConnectionSettings]() | Settings used to connect with the ERP Service. | | {{class}} [ErpClientSettings]() | Settings used to manipulate requests, timeouts etc. send by the client. | | {{class}} [ErpClient]() | Class used to connect with ERP services. | | {{class}} [ErpObject]() | Provides the data for the ERP entity. | | {{class}} [MediaCreateOptions]() | Specifies options to use for creating Media Resources. | | {{class}} [MediaUpdateOptions]() | Specifies options to use for updating Media Resources. | | {{class}} [NavigationProperty]() | Provides metadata informations about the NavigationProperty. | | {{class}} [OrderBy]() | Specifies options to use for ordering ERP entities. | | {{class}} [Property]() | Provides metadata informations about the Property. | | {{class}} [QueryOptions]() | Specifies options to use for searching entities in ERP. | | {{class}} [SearchOptions]() | Specifies options to use for retrieving a single entity from ERP. | | {{class}} [SapConnect]() | Class which provides prepared connection to use for connecting with SAP services. | | {{class}} [WebRequestException]() | The exception that is thrown when an error occurs while sending a request. | ## Interfaces | Interface | Description | | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | | {{interface}} [IErpClient]() | Provides the base interface for the [ErpClient]() class. | | {{interface}} [IErpEntitySet]() | Provides the interface for working with an EntitySet: Adding, Getting, Updating and/or Removing -ErpEntities. | | {{interface}} [IErpEntitySets]() | Provides the interface for working with a list of EntitySets. | | {{interface}} [IErpEntityType]() | Provides the interface holding data about the EntityType. | | {{interface}} [IErpEntityTypes]() | Provides the interface for working with a list of EntityTypes. | | {{interface}} [IErpNavigationProperties]() | Provides the interface for working with a list of NavigationProperties. | | {{interface}} [IErpProperties]() | Provides the interface for working with a list of ERP Properties. | | {{interface}} [IErpService]() | Provides the interface for working with an ERP Service. | | {{interface}} [IErpServices]() | Provides the interface for working with a list of ERP Services. | | {{interface}} [IMediaResources]() | Provides the interface for working with MediaResources: Adding, Getting and/or Updating -ErpMedias. | ## Enumerations | Enumeration | Description | | ------------------------------------------------------- | ------------------------------------------------------------ | | {{enum}} [Multiplicity]() | Enumerates the multiplicities of navigation properties. | | {{enum}} [OrderDirection]() | Specifies the order of a sequence (ascending or descending). | | {{enum}} [UpdateMethod]() | Specifies the HTTP method used for updating. |