Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Database Properties

Entity Framework 5.0

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.
© 2015 Microsoft