다음을 통해 공유


DbModel 클래스

정의

에서 만든 EDM(엔터티 데이터 모델)을 DbModelBuilder나타냅니다. Compile 메서드는 이 EDM 표현 DbCompiledModel 에서 또는 ObjectContext 인스턴스의 캐싱 및 생성 DbContext 에 적합한 모델의 컴파일된 스냅샷 로 이동하는 데 사용할 수 있습니다.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId="Db")]
public class DbModel : System.Data.Entity.Core.Metadata.Edm.IEdmModelAdapter
public class DbModel : System.Data.Entity.Core.Metadata.Edm.IEdmModelAdapter
type DbModel = class
    interface IEdmModelAdapter
Public Class DbModel
Implements IEdmModelAdapter
상속
DbModel
특성
구현

속성

ConceptualModel

개념적 모델을 가져옵니다.

ConceptualToStoreMapping

매핑 모델을 가져옵니다.

ProviderInfo

공급자 정보를 가져옵니다.

ProviderManifest

공급자 매니페스트를 가져옵니다.

StoreModel

저장소 모델을 가져옵니다.

메서드

Compile()

DbCompiledModel 인스턴스 캐싱 및 생성에 적합한 컴파일된 스냅샷 이 모드에 DbContext 대한 을 만듭니다.

확장 메서드

GetConceptualModel(IEdmModelAdapter)
사용되지 않음.

지정된 DbModel에서 개념적 모델을 가져옵니다.

GetStoreModel(IEdmModelAdapter)
사용되지 않음.

지정된 DbModel에서 저장소 모델을 가져옵니다.

적용 대상