DMF Metadata sample

<?xml version=”1.0″?>

-<edmx:Edmx Version=”4.0″ xmlns:edmx=”http://docs.oasis-open.org/odata/ns/edmx”>

-<edmx:DataServices>

-<Schema Namespace=”Microsoft.Dynamics.DataEntities” xmlns=”http://docs.oasis-open.org/odata/ns/edm”>

-<EntityType Name=”Customer”>

-<Key>

<PropertyRef Name=”CustId”/>

</Key>

-<Property Name=”CustId” Nullable=”false” Type=”Edm.Int32″>

<Annotation String=”Customer Id” Term=”Microsoft.Dynamics.OData.Core.V1.LabelId”/>

-<Annotation Term=”Microsoft.Dynamics.OData.Core.V1.AXType”>

<EnumMember>Microsoft.Dynamics.OData.Core.V1.AXType/Int32</EnumMember>

</Annotation>

</Property>

-<Property Name=”LocationName” Type=”Edm.String”>

<Annotation String=”Location Name” Term=”Microsoft.Dynamics.OData.Core.V1.LabelId”/>

-<Annotation Term=”Microsoft.Dynamics.OData.Core.V1.AXType”>

<EnumMember>Microsoft.Dynamics.OData.Core.V1.AXType/String</EnumMember>

</Annotation>

</Property>

-<Property Name=”State” Type=”Edm.String”>

<Annotation String=”State” Term=”Microsoft.Dynamics.OData.Core.V1.LabelId”/>

-<Annotation Term=”Microsoft.Dynamics.OData.Core.V1.AXType”>

<EnumMember>Microsoft.Dynamics.OData.Core.V1.AXType/String</EnumMember>

</Annotation>

</Property>

-<Property Name=”CustGroup” Type=”Edm.String”>

<Annotation String=”Customer Group” Term=”Microsoft.Dynamics.OData.Core.V1.LabelId”/>

-<Annotation Term=”Microsoft.Dynamics.OData.Core.V1.AXType”>

<EnumMember>Microsoft.Dynamics.OData.Core.V1.AXType/String</EnumMember>

</Annotation>

</Property>

-<Property Name=”City” Type=”Edm.String”>

<Annotation String=”City” Term=”Microsoft.Dynamics.OData.Core.V1.LabelId”/>

-<Annotation Term=”Microsoft.Dynamics.OData.Core.V1.AXType”>

<EnumMember>Microsoft.Dynamics.OData.Core.V1.AXType/String</EnumMember>

</Annotation>

</Property>

-<Property Name=”CountryRegId” Type=”Edm.String”>

<Annotation String=”Country Reg Id” Term=”Microsoft.Dynamics.OData.Core.V1.LabelId”/>

-<Annotation Term=”Microsoft.Dynamics.OData.Core.V1.AXType”>

<EnumMember>Microsoft.Dynamics.OData.Core.V1.AXType/String</EnumMember>

</Annotation>

</Property>

-<Property Name=”Locator” Type=”Edm.String”>

<Annotation String=”Locator” Term=”Microsoft.Dynamics.OData.Core.V1.LabelId”/>

-<Annotation Term=”Microsoft.Dynamics.OData.Core.V1.AXType”>

<EnumMember>Microsoft.Dynamics.OData.Core.V1.AXType/String</EnumMember>

</Annotation>

</Property>

-<Property Name=”PaymMode” Type=”Edm.String”>

<Annotation String=”Payment Method” Term=”Microsoft.Dynamics.OData.Core.V1.LabelId”/>

-<Annotation Term=”Microsoft.Dynamics.OData.Core.V1.AXType”>

<EnumMember>Microsoft.Dynamics.OData.Core.V1.AXType/String</EnumMember>

</Annotation>

</Property>

-<Property Name=”Currency” Type=”Edm.String”>

<Annotation String=”Currency” Term=”Microsoft.Dynamics.OData.Core.V1.LabelId”/>

-<Annotation Term=”Microsoft.Dynamics.OData.Core.V1.AXType”>

<EnumMember>Microsoft.Dynamics.OData.Core.V1.AXType/String</EnumMember>

</Annotation>

</Property>

-<Property Name=”StreetNum” Nullable=”false” Type=”Edm.Int32″>

<Annotation String=”Street Number” Term=”Microsoft.Dynamics.OData.Core.V1.LabelId”/>

-<Annotation Term=”Microsoft.Dynamics.OData.Core.V1.AXType”>

<EnumMember>Microsoft.Dynamics.OData.Core.V1.AXType/Int32</EnumMember>

</Annotation>

</Property>

-<Property Name=”CustName” Type=”Edm.String”>

<Annotation String=”Customer Name” Term=”Microsoft.Dynamics.OData.Core.V1.LabelId”/>

-<Annotation Term=”Microsoft.Dynamics.OData.Core.V1.AXType”>

<EnumMember>Microsoft.Dynamics.OData.Core.V1.AXType/String</EnumMember>

</Annotation>

</Property>

-<Property Name=”PaymTermId” Type=”Edm.String”>

<Annotation String=”Payment Term” Term=”Microsoft.Dynamics.OData.Core.V1.LabelId”/>

-<Annotation Term=”Microsoft.Dynamics.OData.Core.V1.AXType”>

<EnumMember>Microsoft.Dynamics.OData.Core.V1.AXType/String</EnumMember>

</Annotation>

</Property>

-<Property Name=”Street” Type=”Edm.String”>

<Annotation String=”Street” Term=”Microsoft.Dynamics.OData.Core.V1.LabelId”/>

-<Annotation Term=”Microsoft.Dynamics.OData.Core.V1.AXType”>

<EnumMember>Microsoft.Dynamics.OData.Core.V1.AXType/String</EnumMember>

</Annotation>

</Property>

</EntityType>

-<EntityContainer Name=”Resources”>

<EntitySet Name=”Custmers” EntityType=”Microsoft.Dynamics.DataEntities.Custmer”/>

</EntityContainer>

</Schema>

-<Schema Namespace=”Microsoft.Dynamics.OData.Core.V1″ xmlns=”http://docs.oasis-open.org/odata/ns/edm”>

-<EnumType Name=”AXType”>

<Member Name=”Container” Value=”0″/>

<Member Name=”Date” Value=”1″/>

<Member Name=”Enum” Value=”2″/>

<Member Name=”Guid” Value=”3″/>

<Member Name=”Int32″ Value=”4″/>

<Member Name=”Int64″ Value=”5″/>

<Member Name=”Real” Value=”6″/>

<Member Name=”Record” Value=”7″/>

<Member Name=”String” Value=”8″/>

<Member Name=”Time” Value=”9″/>

<Member Name=”UtcDateTime” Value=”10″/>

<Member Name=”Void” Value=”11″/>

</EnumType>

</Schema>

</edmx:DataServices>

</edmx:Edmx>

Leave Comment

Your email address will not be published. Required fields are marked *