[]
Represents a connection to a D365S service, which can be used for querying or modifying the data hosted there.
public sealed class C1D365SConnection : DbConnectionWrap<C1ODataConnection, C1ODataCommand, C1DbParameter>, IComponent, IDbConnection, IAsyncDisposable, IDisposable
Name | Description |
---|---|
C1D365SConnection() | Create a C1D365SConnection instance. |
C1D365SConnection(C1D365SConnectionStringBuilder) | Creates a C1D365SConnection instance, specifying its connection string expressed in a C1D365SConnectionStringBuilder. |
C1D365SConnection(string) | Creates a C1D365SConnection instance, specifying the string to be used for opening it. |
Name | Description |
---|---|
DataSource | Gets the name of the database server to which to connect. |
Database | Gets the name of the current database after a connection is opened, or the database name specified in the connection string before the connection is opened. |
DbProviderFactory | Gets the DbProviderFactory for this connection. |
ServerVersion | Gets a string that represents the version of the server to which the object is connected. |
Name | Description |
---|---|
CreateDbCommandWrap() | Create a new C1D365SCommand. |
CreateInnerConnection() | Create the inner connection to be used by this C1D365SConnection. |
CreateInnerConnection(string) | Create the inner connection to be used by this C1D365SConnection. |
Open() | Opens a database connection with the settings specified by the connection string. |
OpenAsync(CancellationToken) | An asynchronous version of Open(). |