次の方法で共有


2.2.4.2.2.17.1 LinguisticSchemas Annotation

The LinguisticSchemas annotation<107> is a predefined Annotation that is available on the Database object with Name = LinguisticSchemas.

The value of this annotation is the element LinguisticSchemas with the following complex type.

   <xsd:complexType name="LinguisticSchemas">
     <xsd:sequence>
       <xsd:element name="LinguisticSchema" type="LinguisticSchema" minOccurs="1" />
     </xsd:sequence>
   </xsd:complexType>

Element

Read-Only

Default value

Description

LinguisticSchemas

Empty

A collection of LinguisticSchema objects.

The following is an example of a LinguisticSchemas annotation.

   <Annotation>
     <Name>LinguisticSchemas</Name>
     <Value>
       <LinguisticSchemas xmlns="">
         <LinguisticSchema Language="en-US" xmlns="http://schemas.microsoft.com
 /sqlserver/2014/01/linguisticschema">
           <Entities>
             <Entity Name="my_table" EdmEntitySet="Sandbox.Table1">
               <Words>
                 <Word>my table</Word>
               </Words>
             </Entity>
             <Entity Name="my_table.A" EdmEntitySet="Sandbox.Table1" EdmProperty="A">
               <Words>
                 <Word>A</Word>
                 <Word>my table a</Word>
               </Words>
             </Entity>
             <Entity Name="my_table.B" EdmEntitySet="Sandbox.Table1" EdmProperty="B">
               <Words>
                 <Word>B</Word>
               </Words>
             </Entity>
             <Entity Name="my_table.XL_row_number" EdmEntitySet="Sandbox.Table1" 
 EdmProperty="v__XL_RowNumber">
               <Words>
                 <Word>XL row number</Word>
               </Words>
             </Entity>
           </Entities>
         </LinguisticSchema>
       </LinguisticSchemas>
     </Value>
   </Annotation>