EntityContainerMapping 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
CS 공간의 EntityContainer 맵에 대한 매핑 메타데이터를 나타냅니다. CS 매핑을 위해 MSL 파일에서 하나의 EntityContainerMapping 요소만 허용됩니다.
public class EntityContainerMapping : System.Data.Entity.Core.Mapping.MappingBase
type EntityContainerMapping = class
inherit MappingBase
Public Class EntityContainerMapping
Inherits MappingBase
- 상속
예제
예를 들어 개념적으로 CS MSL 파일을 다음과 같이 나타낼 수 있는 경우---Mapping --EntityContainerMapping ( CNorthwind-->SNorthwind ) --EntitySetMapping --AssociationSetMapping 형식은 위의 예제에서 EntityContainerMapping 요소에 대한 메타데이터를 나타냅니다. EntityContainerMapping 요소의 자식인 EntitySetBaseMapping 요소는 이 형식의 속성을 통해 액세스할 수 있습니다.
설명
현재 C 쪽의 엔터티 컨테이너가 S - 공간의 단일 엔터티 컨테이너에 매핑되어 있다고 가정합니다.
생성자
| EntityContainerMapping(EntityContainer, EntityContainer, StorageMappingItemCollection, Boolean) |
새 EntityContainerMapping instance 초기화합니다. |
속성
| AssociationSetMappings |
연결 집합 매핑을 가져옵니다. |
| BuiltInTypeKind |
이 항목의 형식 종류를 가져옵니다. |
| ConceptualEntityContainer |
개념 엔터티 컨테이너를 가져옵니다. |
| Documentation |
이 형식과 관련된 설명서를 가져오거나 설정합니다. (다음에서 상속됨 MetadataItem) |
| EntitySetMappings |
엔터티 집합 매핑을 가져옵니다. |
| FunctionImportMappings |
함수 가져오기 매핑을 가져옵니다. |
| GenerateUpdateViews |
업데이트 뷰를 생성할지 여부를 나타내는 플래그를 가져옵니다. |
| MappingItemCollection |
부모 매핑 항목 컬렉션을 가져옵니다. |
| MetadataProperties |
현재 형식의 속성 목록을 가져옵니다. (다음에서 상속됨 MetadataItem) |
| StoreEntityContainer |
저장소 엔터티 컨테이너를 가져옵니다. |
메서드
| AddAnnotation(String, Object) |
주석을 지정된 이름과 값으로 추가하거나 업데이트합니다. (다음에서 상속됨 MetadataItem) |
| AddFunctionImportMapping(FunctionImportMapping) |
함수 가져오기 매핑을 추가합니다. |
| AddSetMapping(AssociationSetMapping) |
연결 집합 매핑을 추가합니다. |
| AddSetMapping(EntitySetMapping) |
엔터티 집합 매핑을 추가합니다. |
| RemoveAnnotation(String) |
지정된 이름의 주석을 제거합니다. (다음에서 상속됨 MetadataItem) |
| RemoveFunctionImportMapping(FunctionImportMapping) |
함수 가져오기 매핑을 제거합니다. |
| RemoveSetMapping(AssociationSetMapping) |
연결 집합 매핑을 제거합니다. |
| RemoveSetMapping(EntitySetMapping) |
연결 집합 매핑을 제거합니다. |