点击或拖拽改变大小

OleDbFactory 类

X#
This is the class that implements a Factory to access data through the Ado.Net Microsoft SQL Server classes.
继承层次
Object
  AbstractSqlFactory
    OleDbFactory

命名空间:  XSharp.Data
程序集:  XSharp.Data (在 XSharp.Data.dll 中) 版本:2.22 GA
语法
 CLASS OleDbFactory INHERIT AbstractSqlFactory
查看代码

OleDbFactory 类型公开以下成员。

构造函数
  名称说明
公共方法OleDbFactory
初始化 OleDbFactory 类的一个新实例
Top
属性
  名称说明
公共属性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.)
Top
方法
  名称说明
公共方法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.
(继承自 AbstractSqlFactory。)
公共方法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.
(继承自 AbstractSqlFactory。)
公共方法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.
(继承自 AbstractSqlFactory。)
公共方法TranslateStatement
This method is called before a statement is sent to the server.
(继承自 AbstractSqlFactory。)
Top
参见