EdmMetadata Class

 
Note: This API is now obsolete.

Represents an entity used to store metadata about an EDM in the database.

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

System.Object
  System.Data.Entity.Infrastructure.EdmMetadata

[ObsoleteAttribute("EdmMetadata is no longer used. The Code First Migrations <see cref=\"EdmModelDiffer\" /> is used instead.")]
public class EdmMetadata

NameDescription
System_CAPS_pubmethodEdmMetadata()

Initializes a new instance of the EdmMetadata class.

NameDescription
System_CAPS_pubpropertyId

Gets or sets the ID of the metadata entity, which is currently always 1.

System_CAPS_pubpropertyModelHash

Gets or sets the model hash which is used to check whether the model has changed since the database was created from it.

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

System_CAPS_pubmethodSystem_CAPS_staticTryGetModelHash(DbContext)

Attempts to get the model hash calculated by Code First for the given context. This method will return null if the context is not being used in Code First mode.

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