The DriverBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DriverBase | Initializes a new instance of the DriverBase class |
Methods
Name | Description | |
---|---|---|
AdjustCommand |
Override to make any adjustments to each IDbCommand object before it added to the batcher.
| |
CloneParameter | ||
Configure | ||
CreateCommand | ||
CreateConnection | ||
Equals | (Inherited from Object.) | |
ExpandQueryParameters | ||
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
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
| |
GenerateCommand | ||
GenerateOutputParameter | ||
GenerateParameter |
Generates an IDbDataParameter for the IDbCommand. It does not add the IDbDataParameter to the IDbCommand's
Parameter collection.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetResultSetsCommand | ||
GetSqlStringFormatter | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeParameter | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnBeforePrepare |
Override to make any adjustments to the IDbCommand object. (e.g., Oracle custom OUT parameter)
Parameters have been bound by this point, so their order can be adjusted too.
This is analagous to the RegisterResultSetOutParameter() function in Hibernate.
| |
PrepareCommand | ||
RemoveUnusedCommandParameters | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) | |
IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
IsProxy | (Defined by NHibernateProxyHelper.) | |
ToTypeParameters | (Defined by ReflectHelper.) |
Properties
Name | Description | |
---|---|---|
IsPrepareSqlEnabled | ||
NamedPrefix |
The Named Prefix for parameters.
| |
SupportsMultipleOpenReaders | ||
SupportsMultipleQueries | ||
SupportsPreparingCommands |
Does this Driver support IDbCommand.Prepare().
| |
UseNamedPrefixInParameter |
Does this Driver require the use of the Named Prefix when trying
to reference the Parameter in the Command's Parameter collection.
| |
UseNamedPrefixInSql |
Does this Driver require the use of a Named Prefix in the SQL statement.
|