0 out of 1 rated this helpful - Rate this topic

DbContext Constructor (DbCompiledModel)

Entity Framework 5.0

Constructs a new context instance using conventions to create the name of the database to which a connection will be made, and initializes it from the given model. By convention the name is the full name (namespace + class name) of the derived context class. For more information on how this is used to create a connection, see the remarks section for DbContext.

Namespace:  System.Data.Entity
Assembly:  EntityFramework (in EntityFramework.dll)
protected DbContext(
	DbCompiledModel model
)

Parameters

model
Type: System.Data.Entity.Infrastructure.DbCompiledModel

The model that will back this context.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.