Share via


Documentation 要素 (SSDL)

ストア スキーマ定義言語 (SSDL) の Documentation 要素は、親要素で定義されたオブジェクトに関する情報の提供に使用できます。

The Documentation element can have the following child elements (in the order listed):

  • Summary: 親要素の簡単な説明 (0 個または 1 個の要素)。

  • LongDescription: 親要素の詳細な説明 (0 個または 1 個の要素)。

適用可能な属性

Documentation 要素には、任意の数の annotation 属性 (カスタム XML 属性) を適用できます。 However, custom attributes may not belong to any XML namespace that is reserved for CSDL. カスタム属性の完全修飾名は一意である必要があります。

The following example shows the Documentation element as a child element of an EntityType element.

<EntityType Name="Customers">
  <Documentation>
    <Summary>Summary here.</Summary>
    <LongDescription>Long description here.</LongDescription>
  </Documentation>
  <Key>
    <PropertyRef Name="CustomerId" />
  </Key>
  <Property Name="CustomerId" Type="int" Nullable="false" />
  <Property Name="Name" Type="nvarchar(max)" Nullable="false" />
</EntityType>

参照

概念

エンティティ フレームワークの概要
SSDL 仕様

その他のリソース

CSDL、SSDL、および MSL 仕様
ADO.NET Entity Data Model Tools