EdmMetadata.TryGetModelHash Method (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.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- context
-
Type:
System.Data.Entity.DbContext
The context.