Export (0) Print
Expand All

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.

System.Object
  System.Data.Entity.Infrastructure.DbModel

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

public class DbModel

The DbModel type exposes the following members.

  NameDescription
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.)
Top

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