The ConnectionProvider type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ConnectionProvider | Initializes a new instance of the ConnectionProvider class |
Methods
| Name | Description | |
|---|---|---|
| CloseConnection |
Closes the IDbConnection.
| |
| Configure |
Configures the ConnectionProvider with the Driver and the ConnectionString.
| |
| ConfigureDriver |
Configures the driver for the ConnectionProvider.
| |
| Dispose()()()() |
Takes care of freeing the managed and unmanaged resources that
this class is responsible for.
| |
| Dispose(Boolean) |
Takes care of freeing the managed and unmanaged resources that
this class is responsible for.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Finalizer that ensures the object is correctly disposed of.
(Overrides Object..::..Finalize()()()().) | |
| GetConnection |
Get an open IDbConnection.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetNamedConnectionString |
Get the .NET 2.0 named connection string
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| 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 | |
|---|---|---|
| ConnectionString |
Gets the String for the IDbConnection
to connect to the database.
| |
| Driver |
Gets the IDriver that can create the IDbConnection object.
|