DbModel Class

 

Represents an Entity Data Model (EDM) created by the DbModelBuilder. The Compile method can be used to go from this 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)

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

public class DbModel : IEdmModelAdapter

NameDescription
System_CAPS_pubpropertyConceptualModel

Gets the conceptual model.

System_CAPS_pubpropertyConceptualToStoreMapping

Gets the mapping model.

System_CAPS_pubpropertyProviderInfo

Gets the provider information.

System_CAPS_pubpropertyProviderManifest

Gets the provider manifest.

System_CAPS_pubpropertyStoreModel

Gets the store model.

NameDescription
System_CAPS_pubmethodCompile()

Creates a DbCompiledModel for this mode which is a compiled snapshot suitable for caching and creation of DbContext instances.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubmethodGetConceptualModel()

Obsolete.Gets the conceptual model from the specified DbModel.(Defined by DbModelExtensions.)

System_CAPS_pubmethodGetStoreModel()

Obsolete.Gets the store model from the specified DbModel.(Defined by DbModelExtensions.)

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