C# 클래스 System.Data.Entity.Internal.CodeFirstCachedMetadataWorkspace

Implements ICachedMetadataWorkspace for a Code First model.
상속: ICachedMetadataWorkspace
파일 보기 프로젝트 열기: aspnet/EntityFramework6

공개 메소드들

메소드 설명
Create ( System.Data.Entity.Core.Metadata.Edm.DbDatabaseMapping databaseMapping ) : CodeFirstCachedMetadataWorkspace
Create ( System.Data.Entity.Core.Mapping.StorageMappingItemCollection mappingItemCollection, System.Data.Entity.Infrastructure.DbProviderInfo providerInfo ) : CodeFirstCachedMetadataWorkspace
GetMetadataWorkspace ( DbConnection connection ) : MetadataWorkspace

Gets the MetadataWorkspace. If the workspace is not compatible with the provider manifest obtained from the given connection then an exception is thrown.

비공개 메소드들

메소드 설명
CodeFirstCachedMetadataWorkspace ( MetadataWorkspace metadataWorkspace, IEnumerable assemblies, System.Data.Entity.Infrastructure.DbProviderInfo providerInfo, string defaultContainerName ) : System.Collections.Generic

메소드 상세

Create() 공개 정적인 메소드

public static Create ( System.Data.Entity.Core.Metadata.Edm.DbDatabaseMapping databaseMapping ) : CodeFirstCachedMetadataWorkspace
databaseMapping System.Data.Entity.Core.Metadata.Edm.DbDatabaseMapping
리턴 CodeFirstCachedMetadataWorkspace

Create() 공개 정적인 메소드

public static Create ( System.Data.Entity.Core.Mapping.StorageMappingItemCollection mappingItemCollection, System.Data.Entity.Infrastructure.DbProviderInfo providerInfo ) : CodeFirstCachedMetadataWorkspace
mappingItemCollection System.Data.Entity.Core.Mapping.StorageMappingItemCollection
providerInfo System.Data.Entity.Infrastructure.DbProviderInfo
리턴 CodeFirstCachedMetadataWorkspace

GetMetadataWorkspace() 공개 메소드

Gets the MetadataWorkspace. If the workspace is not compatible with the provider manifest obtained from the given connection then an exception is thrown.
public GetMetadataWorkspace ( DbConnection connection ) : MetadataWorkspace
connection System.Data.Common.DbConnection The connection to use to create or check SSDL provider info.
리턴 MetadataWorkspace