Click or drag to resize

SqlServerFactory Class

X#
This is the class that implements a Factory to access data through the Ado.Net Microsoft SQL Server classes.
Inheritance Hierarchy
Object
  AbstractSqlFactory
    SqlServerFactory

Namespace:  XSharp.Data
Assembly:  XSharp.Data (in XSharp.Data.dll) Version: 2.9
Syntax
 CLASS SqlServerFactory INHERIT AbstractSqlFactory
Request Example View Source

The SqlServerFactory type exposes the following members.

Constructors
  NameDescription
Public methodSqlServerFactory
Initializes a new instance of the SqlServerFactory class
Top
Properties
  NameDescription
Public propertyName
Return the name of the factory.
(Overrides Name.)
Public propertyParameterNameInQuery
Should the parameter name be included in the query. Defaults to FALSE for ODBC and OLEDB and TRUE for SQLServer
(Overrides ParameterNameInQuery.)
Public propertyParameterPrefix
Define the character with which parameters are prefixed in queries. For example '?' (ODBC, OLEDB) or '@' (SQLServer)
(Overrides ParameterPrefix.)
Public propertyQuoteChar
Return the quote character for table and column names.
(Overrides QuoteChar.)
Top
Methods
  NameDescription
Public methodDriverConnect
This method is called to show an interactive dialog to select a connection.
(Overrides DriverConnect(IntPtr, Object, Object).)
Public methodGetMetaDataColumnValues
Create an object array of column properties from the current datarow in the schema rowset
(Overrides GetMetaDataColumnValues(DataRow).)
Public methodGetMetaDataTableValues
Create an object array of table properties from the current datarow in the schema rowset
(Overrides GetMetaDataTableValues(DataRow).)
Public methodGetName
Return the name of the factory.
(Overrides GetName(DbConnection).)
Top
See Also