DbModel Class
Collapse the table of content
Expand the table of content

DbModel Class

Entity Framework 5.0

Represents an Entity Data Model (EDM) created by the DbModelBuilder. The Compile() method can be used to convert from an EDM representation to a DbCompiledModel which is a compiled snapshot of the model suitable for caching and creation of DbContext or ObjectContext instances.


Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public class DbModel

The DbModel type exposes the following members.

Public methodCompileCreates a DbCompiledModel for this mode which is a compiled snapshot suitable for caching and creation of DbContext instances.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft