The ConnectionProvider type exposes the following members.

Constructors

  NameDescription
Protected methodConnectionProvider
Initializes a new instance of the ConnectionProvider class

Methods

  NameDescription
Public methodCloseConnection
Closes the IDbConnection.
Public methodConfigure
Configures the ConnectionProvider with the Driver and the ConnectionString.
Protected methodConfigureDriver
Configures the driver for the ConnectionProvider.
Public methodDispose()()()()
Takes care of freeing the managed and unmanaged resources that this class is responsible for.
Protected methodDispose(Boolean)
Takes care of freeing the managed and unmanaged resources that this class is responsible for.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Finalizer that ensures the object is correctly disposed of.
(Overrides Object..::..Finalize()()()().)
Public methodGetConnection
Get an open IDbConnection.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetNamedConnectionString
Get the .NET 2.0 named connection string
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Extension Methods

  NameDescription
Public Extension MethodAs<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
Public Extension MethodIsBetween
Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(array<Object>[]()[][])Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(ICollection)Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsProxy (Defined by NHibernateProxyHelper.)
Public Extension MethodToTypeParameters (Defined by ReflectHelper.)

Properties

  NameDescription
Protected propertyConnectionString
Gets the String for the IDbConnection to connect to the database.
Public propertyDriver
Gets the IDriver that can create the IDbConnection object.

See Also