[]
DB data source - allows to connect through custom database providers.
public class DbDataSource : IDbConnectionProperties
| Name | Description |
|---|---|
| DbDataSource(DataProviderInfo) | Creates new DbDataSource out of DataProviderInfo |
| DbDataSource(DbProviderFactory) | Creates new DbDataSource out of DbProviderFactory |
| DbDataSource(string) | Initializes a new instance of the DbDataSource class based on the specified provider name. |
| Name | Description |
|---|---|
| DefaultTimeout | The number of seconds to wait for a connection to open, before cancelling an attempt and generate an error. |
| Name | Description |
|---|---|
| CommandText | Specifies a valid SQL statement used to retrieve records from the data source. |
| CommandTimeout | Sets or returns the amount of time to wait while executing a command before terminating the attempt and generating an error. |
| ConnectionString | Specifies the string used to open a connection to the data source. |
| CredentialsMode | Get or sets the value indicating whether the credentials dialog should be called or not. |
| Factory | Gets data source's DbProviderFactory. |
| ParamQuery | |
| ProviderName | Returns provider's invariant name |
| SQL | Specifies a valid SQL statement used to retrieve records from the data source. |
| Name | Description |
|---|---|
| CreateConnection() | |
| NeedsToSetCredentials(string, string) | |
| OnConnectionStringChanging(string) | Allows to edit the connection string when its current value is about to change. |
| SetCredentials(string, string) | Sets credentials. |
| XmlRead(XmlNode) | |
| XmlWrite(XmlDocument, XmlElement) |