다음을 통해 공유


EdmMetadata 클래스

정의

주의

EdmMetadata is no longer used. The Code First Migrations <see cref="EdmModelDiffer" /> is used instead.

EDM에 대한 메타데이터를 데이터베이스에 저장하는 데 사용되는 엔터티를 나타냅니다.

[System.Obsolete("EdmMetadata is no longer used. The Code First Migrations <see cref="EdmModelDiffer" /> is used instead.")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Edm")]
public class EdmMetadata
[System.Obsolete("EdmMetadata is no longer used. The Code First Migrations <see cref="EdmModelDiffer" /> is used instead.")]
public class EdmMetadata
type EdmMetadata = class
Public Class EdmMetadata
상속
EdmMetadata
특성

생성자

EdmMetadata()
사용되지 않음.

EDM에 대한 메타데이터를 데이터베이스에 저장하는 데 사용되는 엔터티를 나타냅니다.

속성

Id
사용되지 않음.

현재 항상 1인 메타데이터 엔터티의 ID를 가져오거나 설정합니다.

ModelHash
사용되지 않음.

데이터베이스가 모델에서 만들어진 후 모델이 변경되었는지 여부를 확인하는 데 사용되는 모델 해시를 가져오거나 설정합니다.

메서드

TryGetModelHash(DbContext)
사용되지 않음.

지정된 컨텍스트에 대해 Code First에서 계산된 모델 해시를 가져오려고 시도합니다. 컨텍스트가 Code First 모드에서 사용되지 않는 경우 이 메서드는 null을 반환합니다.

적용 대상