ISqlFactory Interface |
|
Namespace: XSharp.Data
The ISqlFactory type exposes the following members.
| Name | Description | |
|---|---|---|
| CanCreateDataSourceEnumerator | Does the factory support datasource enumeration. | |
| Name | Return the name of the factory. | |
| ParameterNameInQuery | Should the parameter name be included in the query. Defaults to FALSE for ODBC and OLEDB and TRUE for SQLServer | |
| ParameterPrefix | Define the character with which parameters are prefixed in queries. For example '?' (ODBC, OLEDB) or '@' (SQLServer) | |
| QuoteChar | Return the quote character for table and column names. |
| Name | Description | |
|---|---|---|
| AfterCommit | This method is called after a transaction was committed. | |
| AfterConnect | This method is called after a connection was opened. | |
| AfterDisConnect | This method is called after a connection was disconnected. | |
| AfterOpen | This method is called after a datareader was opened. | |
| AfterRollBack | This method is called after a transaction was rolled back. | |
| BeforeCommit | This method is called before a transaction is committed. | |
| BeforeConnect | This method gets called before connecting. This allows to adjust the connection string. | |
| BeforeDisConnect | This method is called before a connection is disconnected. | |
| BeforeRollBack | This method is called before a transaction is rolled back. | |
| CreateCommand | Returns a new instance of the provider's class that implements the DbCommand class. | |
| CreateCommandBuilder | Returns a new instance of the provider's class that implements the DbCommandBuilder class. | |
| CreateConnection | Returns a new instance of the provider's class that implements the DbConnection class. | |
| CreateConnectionStringBuilder | Returns a new instance of the provider's class that implements the DbConnectionStringBuilder class. | |
| CreateDataAdapter | Returns a new instance of the provider's class that implements the DbDataAdapter class. | |
| CreateDataSourceEnumerator | Returns a new instance of the provider's class that implements the DbDataSourceEnumerator class. | |
| CreateParameter | Returns a new instance of the provider's class that implements the DbParameter class. | |
| DriverConnect | This method is called to show an interactive dialog to select a connection. | |
| EnhanceException | This method is called after a transaction was committed. | |
| GetMetaDataColumnValues | Create an object array of column properties from the current datarow in the schema rowset | |
| GetMetaDataTableValues | Create an object array of table properties from the current datarow in the schema rowset | |
| GetName | Return the name of the factory. | |
| HandleSpecialValue | This method is called to translate result values for a column. | |
| TranslateStatement | This method is called before a statement is sent to the server. |