Name 특성(EntityType CSDL)

EDM(엔터티 데이터 모델)에서 CSDL(개념 스키마 정의 언어)의 EntityType 요소에는 디자인할 개체 모델과 매핑 사양에서 형식을 식별하는 Name 특성이 포함됩니다.

Adventure Works 데이터베이스의 Human Resources 파티션에서 다음 선언은 Department 엔터티 선언을 보여 줍니다. Name 특성은 다음 방식으로 할당됩니다. Name="Department". Department 엔터티의 각 속성도 Name 특성을 가집니다.

  <EntityType Name="Department" 
    <Key>
        <PropertyRef Name="DepartmentID">
    </Key>
    <Property Name="DepartmentID" Type="Int16" Nullable="false" />
    <Property Name="Name" Type="String" Nullable="false" />
    <Property Name="GroupName" Type="String" Nullable="false" />
    <Property Name="ModifiedDate" Type="DateTime" Nullable="false" />
  </EntityType>

참고 항목

개념

Name 특성(EntityType SSDL)
TypeName 특성(EntityTypeMapping)
AdventureWorks 전체 모델(EDM)