Generic IDbFactory implementation that may be used with most ADO.NET Data Providers.
Inheritance Hierarchy
NReco.Data DbFactory
Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax
The DbFactory type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DbFactory | Initializes a new instance of the DbFactory class |
Methods
| Name | Description | |
|---|---|---|
| AddCommandParameter | ||
| ApplyIdentifierFormat | ||
| CreateCommand | ||
| CreateConnection | ||
| CreateSqlBuilder | ||
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetCmdParameterPlaceholder | ||
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetInsertId | ||
| GetInsertIdAsync | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| DbPrvFactory |
Properties
| Name | Description | |
|---|---|---|
| CommandTimeout | ||
| IdentifierFormat | ||
| LastInsertIdSelectText |
Gets or sets SQL command for retrieving ID for last inserted row.
| |
| ParamNameFormat | ||
| ParamPlaceholderFormat |
Examples
See Also