Click or drag to resize

ISqlFactory Interface

X#
This interface declares the common behavior for all XSharp Data Factory classes.

Namespace:  XSharp.Data
Assembly:  XSharp.Data (in XSharp.Data.dll) Version: 2.19
Syntax
 INTERFACE ISqlFactory
Request Example View Source

The ISqlFactory type exposes the following members.

Properties
  NameDescription
Public propertyCanCreateDataSourceEnumerator
Does the factory support datasource enumeration.
Public propertyName
Return the name of the factory.
Public propertyParameterNameInQuery
Should the parameter name be included in the query. Defaults to FALSE for ODBC and OLEDB and TRUE for SQLServer
Public propertyParameterPrefix
Define the character with which parameters are prefixed in queries. For example '?' (ODBC, OLEDB) or '@' (SQLServer)
Public propertyQuoteChar
Return the quote character for table and column names.
Top
Methods
  NameDescription
Public methodAfterCommit
This method is called after a transaction was committed.
Public methodAfterConnect
This method is called after a connection was opened.
Public methodAfterDisConnect
This method is called after a connection was disconnected.
Public methodAfterOpen
This method is called after a datareader was opened.
Public methodAfterRollBack
This method is called after a transaction was rolled back.
Public methodBeforeCommit
This method is called before a transaction is committed.
Public methodBeforeConnect
This method gets called before connecting. This allows to adjust the connection string.
Public methodBeforeDisConnect
This method is called before a connection is disconnected.
Public methodBeforeRollBack
This method is called before a transaction is rolled back.
Public methodCreateCommand
Returns a new instance of the provider's class that implements the DbCommand class.
Public methodCreateCommandBuilder
Returns a new instance of the provider's class that implements the DbCommandBuilder class.
Public methodCreateConnection
Returns a new instance of the provider's class that implements the DbConnection class.
Public methodCreateConnectionStringBuilder
Returns a new instance of the provider's class that implements the DbConnectionStringBuilder class.
Public methodCreateDataAdapter
Returns a new instance of the provider's class that implements the DbDataAdapter class.
Public methodCreateDataSourceEnumerator
Returns a new instance of the provider's class that implements the DbDataSourceEnumerator class.
Public methodCreateParameter
Returns a new instance of the provider's class that implements the DbParameter class.
Public methodDriverConnect
This method is called to show an interactive dialog to select a connection.
Public methodEnhanceException
This method is called after a transaction was committed.
Public methodGetMetaDataColumnValues
Create an object array of column properties from the current datarow in the schema rowset
Public methodGetMetaDataTableValues
Create an object array of table properties from the current datarow in the schema rowset
Public methodGetName
Return the name of the factory.
Public methodHandleSpecialValue
This method is called to translate result values for a column.
Public methodTranslateStatement
This method is called before a statement is sent to the server.
Top
See Also