OdbcFactory 类 |
命名空间: XSharp.Data
OdbcFactory 类型公开以下成员。
名称 | 说明 | |
---|---|---|
OdbcFactory | 初始化 OdbcFactory 类的一个新实例 |
名称 | 说明 | |
---|---|---|
CanCreateDataSourceEnumerator | Does the factory support datasource enumeration. (继承自 AbstractSqlFactory。) | |
Name | Return the name of the factory. (重写 Name.) | |
ParameterNameInQuery | Should the parameter name be included in the query. Defaults to FALSE for ODBC and OLEDB and TRUE for SQLServer (继承自 AbstractSqlFactory。) | |
ParameterPrefix | Define the character with which parameters are prefixed in queries. For example '?' (ODBC, OLEDB) or '@' (SQLServer) (继承自 AbstractSqlFactory。) | |
QuoteChar | (重写 QuoteChar.) |
名称 | 说明 | |
---|---|---|
AfterCommit | This method is called after a transaction was committed. (继承自 AbstractSqlFactory。) | |
AfterConnect | This method is called after a connection was opened. (继承自 AbstractSqlFactory。) | |
AfterDisConnect | This method is called after a connection was disconnected. (继承自 AbstractSqlFactory。) | |
AfterOpen | This method is called after a datareader was opened. (重写 AfterOpen(DbDataReader).) | |
AfterRollBack | This method is called after a transaction was rolled back. (继承自 AbstractSqlFactory。) | |
BeforeCommit | This method is called before a transaction is committed. (继承自 AbstractSqlFactory。) | |
BeforeConnect | This method gets called before connecting. This allows to adjust the connection string. (继承自 AbstractSqlFactory。) | |
BeforeDisConnect | This method is called before a connection is disconnected. (继承自 AbstractSqlFactory。) | |
BeforeRollBack | This method is called before a transaction is rolled back. (继承自 AbstractSqlFactory。) | |
CreateCommand | Returns a new instance of the provider's class that implements the DbCommand class. (继承自 AbstractSqlFactory。) | |
CreateCommandBuilder | Returns a new instance of the provider's class that implements the DbCommandBuilder class. (继承自 AbstractSqlFactory。) | |
CreateConnection | Returns a new instance of the provider's class that implements the DbConnection class. (继承自 AbstractSqlFactory。) | |
CreateConnectionStringBuilder | Returns a new instance of the provider's class that implements the DbConnectionStringBuilder class. (继承自 AbstractSqlFactory。) | |
CreateDataAdapter | Returns a new instance of the provider's class that implements the DbDataAdapter class. (继承自 AbstractSqlFactory。) | |
CreateDataSourceEnumerator | Returns a new instance of the provider's class that implements the DbDataSourceEnumerator class. (继承自 AbstractSqlFactory。) | |
CreateParameter | Returns a new instance of the provider's class that implements the DbParameter class. (继承自 AbstractSqlFactory。) | |
DriverConnect | This method is called to show an interactive dialog to select a connection. (重写 DriverConnect(IntPtr, Object, Object).) | |
EnhanceException | This method is called after a transaction was committed. (重写 EnhanceException(Exception).) | |
GetMetaDataColumnValues | Create an object array of column properties from the current datarow in the schema rowset (重写 GetMetaDataColumnValues(DataRow).) | |
GetMetaDataTableValues | Create an object array of table properties from the current datarow in the schema rowset (重写 GetMetaDataTableValues(DataRow).) | |
GetName | Return the name of the factory. (重写 GetName(DbConnection).) | |
HandleSpecialValue | This method is called to translate result values for a column. (重写 HandleSpecialValue(Object, Object, Boolean).) | |
TranslateStatement | This method is called before a statement is sent to the server. (重写 TranslateStatement(String).) |