iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

DbProvider Members

DbProvider overview

Public Instance Constructors

DbProvider Constructor Do not use direclty, only for serialization.

Public Instance Properties

AllowMARS Tell us if this provider allows having multiple open IDataReader with the same IDbConnection.
AssemblyName The name of the assembly which conatins the definition of the provider.
CommandBuilderClass The commandBuilder class name to use.
CommandBuilderType Get the CommandBuilder Type for this provider.
DataAdapterClass The dataAdapter class name to use.
DbCommandClass The command class name to use.
DbConnectionClass The connection class name to use.
Description Description.
IsDefault Tell us if it is the default data source. Default false.
IsEnabled Tell us if this provider is enabled. Default true.
IsObdc Check if this provider is Odbc ?
Name Name used to identify the provider amongst the others.
ParameterDbType Get the ParameterDb Type for this provider.
ParameterDbTypeClass The ParameterDbType class name to use.
ParameterDbTypeProperty The ParameterDbTypeProperty class name to use.
ParameterPrefix Parameter prefix use in store procedure.
SetDbParameterPrecision Used to indicate whether or not the provider supports parameter precision.
SetDbParameterScale Used to indicate whether or not the provider supports a parameter scale.
SetDbParameterSize Used to indicate whether or not the provider supports parameter size.
UseDeriveParameters Used to indicate whether or not the provider supports DeriveParameters method for procedure.
UseParameterPrefixInParameter Does this ConnectionProvider require the use of the Named Prefix when trying to reference the Parameter in the Command's Parameter collection.
UseParameterPrefixInSql Does this ConnectionProvider require the use of a Named Prefix in the SQL statement.
UsePositionalParameters The OLE DB/OBDC .NET Provider uses positional parameters that are marked with a question mark (?) instead of named parameters.

Public Instance Methods

CreateCommand Create a command object for this provider.
CreateConnection Create a connection object for this provider.
CreateDataAdapter Create a dataAdapter object for this provider.
CreateDataParameter Create a IDbDataParameter object for this provider.
Equals Equals implemantation.
FormatNameForParameter Changes the parameterName into the correct format for an IDbParameter for the Driver.
FormatNameForSql Change the parameterName into the correct format IDbCommand.CommandText for the ConnectionProvider
GetHashCode A hashcode for the provider.
GetType (inherited from Object)Gets the Type of the current instance.
Initialize Init the provider.
ToString ToString implementation.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

DbProvider Class | IBatisNet.Common Namespace