Export (0) Print
Expand All

EdmMetadata Class

Entity Framework 5.0

Note: This API is now obsolete.

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

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

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

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

The EdmMetadata type exposes the following members.

  NameDescription
Public methodEdmMetadataInitializes a new instance of the EdmMetadata class.
Top

  NameDescription
Public propertyIdGets or sets the Identifier of the metadata entity, which is currently always 1.
Public propertyModelHashGets or sets the model hash which is used to check whether the model has changed since the database was created from it.
Top

  NameDescription
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.)
Public methodStatic memberTryGetModelHashAttempts 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.
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