Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

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.


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.

Public methodEdmMetadataInitializes a new instance of the EdmMetadata class.
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.
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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.