Database Properties

The Database type exposes the following members.

  Name Description
Public property Connection Returns the connection being used by this context. This may cause the context to be initialized and the connection to be created if it does not already exist.
Public property Static member DefaultConnectionFactory The connection factory to use when creating a DbConnection from just a database name or a connection string.