-
-
Save JScharloo/1c3e8225ba95e5210e4a to your computer and use it in GitHub Desktop.
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx"> | |
<edmx:DataServices> | |
<Schema Namespace="allovertravel.Data.Models" xmlns="http://docs.oasis-open.org/odata/ns/edm"> | |
<EntityType Name="Vacations"> | |
<Key> | |
<PropertyRef Name="VacationId" /> | |
</Key> | |
<Property Name="VacationId" Type="Edm.Int32" Nullable="false" /> | |
<Property Name="ProductId" Type="Edm.String" /> | |
<Property Name="Name" Type="Edm.String" /> | |
<Property Name="Price" Type="Edm.Int32" /> | |
<NavigationProperty Name="Categories" Type="Collection(allovertravel.Data.Models.Category)" /> | |
<NavigationProperty Name="TransportType" Type="Collection(allovertravel.Data.Models.TransportType)" /> | |
<NavigationProperty Name="Cities" Type="Collection(allovertravel.Data.Models.City)" /> | |
</EntityType> | |
<EntityType Name="Category"> | |
<Key> | |
<PropertyRef Name="CategoryID" /> | |
</Key> | |
<Property Name="CategoryID" Type="Edm.Int32" Nullable="false" /> | |
<Property Name="CategoryName" Type="Edm.String" /> | |
<NavigationProperty Name="Vacations" Type="Collection(allovertravel.Data.Models.Vacations)" /> | |
</EntityType> | |
<EntityType Name="City"> | |
<Key> | |
<PropertyRef Name="CityID" /> | |
</Key> | |
<Property Name="CityID" Type="Edm.Int32" Nullable="false" /> | |
<Property Name="CityName" Type="Edm.String" /> | |
<NavigationProperty Name="Vacations" Type="Collection(allovertravel.Data.Models.Vacations)" /> | |
</EntityType> | |
<EntityType Name="TransportType"> | |
<Key> | |
<PropertyRef Name="ttID" /> | |
</Key> | |
<Property Name="ttID" Type="Edm.Int32" Nullable="false" /> | |
<Property Name="ttName" Type="Edm.String" /> | |
<NavigationProperty Name="Vacations" Type="Collection(allovertravel.Data.Models.Vacations)" /> | |
</EntityType> | |
</Schema> | |
<Schema Namespace="allovertravel.WebApi" xmlns="http://docs.oasis-open.org/odata/ns/edm"> | |
<EntityContainer Name="Container"> | |
<EntitySet Name="Vacations" EntityType="allovertravel.Data.Models.Vacations"> | |
<NavigationPropertyBinding Path="Categories" Target="Categories" /> | |
<NavigationPropertyBinding Path="TransportType" Target="TransportTypes" /> | |
<NavigationPropertyBinding Path="Cities" Target="Cities" /> | |
</EntitySet> | |
<EntitySet Name="Categories" EntityType="allovertravel.Data.Models.Category"> | |
<NavigationPropertyBinding Path="Vacations" Target="Vacations" /> | |
</EntitySet> | |
<EntitySet Name="Cities" EntityType="allovertravel.Data.Models.City"> | |
<NavigationPropertyBinding Path="Vacations" Target="Vacations" /> | |
</EntitySet> | |
<EntitySet Name="TransportTypes" EntityType="allovertravel.Data.Models.TransportType"> | |
<NavigationPropertyBinding Path="Vacations" Target="Vacations" /> | |
</EntitySet> | |
</EntityContainer> | |
</Schema> | |
</edmx:DataServices> | |
</edmx:Edmx> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment