Created
June 30, 2014 08:29
-
-
Save ODataTeam/92759b53832a5ee17b16 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> | |
<edmx:DataServices> | |
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SampleCode.ReferencedModel"> | |
<ComplexType Name="Address"> | |
<Property Type="Edm.String" Name="Street" Nullable="false"/> | |
<Property Type="Edm.String" Name="City" Nullable="false"/> | |
<Property Type="Edm.String" Name="PostalCode" Nullable="false"/> | |
</ComplexType> | |
<EntityType Name="Person"> | |
<Key> | |
<PropertyRef Name="ID"/> | |
</Key> | |
<Property Type="Edm.Int32" Name="ID" Nullable="false"/> | |
<Property Type="Edm.String" Name="Name" Nullable="false"/> | |
</EntityType> | |
<Function Name="GetName" IsBound="true"> | |
<Parameter Name="targetPerson" Type="SampleCode.ReferencedModel.Person" Nullable="false"/> | |
<ReturnType Type="Edm.String" Nullable="false"/> | |
</Function> | |
<EntityContainer Name="ReferencedContainer"> | |
<EntitySet Name="People" EntityType="SampleCode.ReferencedModel.Person" /> | |
</EntityContainer> | |
</Schema> | |
</edmx:DataServices> | |
</edmx:Edmx> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment