<?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="ODataSamples.WebApiService.Models" xmlns="http://docs.oasis-open.org/odata/ns/edm"><EntityType Name="Person"><Key><PropertyRef Name="UserName" /></Key><Property Name="UserName" Type="Edm.String" Nullable="false" /><Property Name="FirstName" Type="Edm.String" Nullable="false" /><Property Name="LastName" Type="Edm.String" Nullable="false" /><Property Name="Gender" Type="ODataSamples.WebApiService.Models.PersonGender" Nullable="false" /><Property Name="Introduction" Type="Edm.String" /><Property Name="Emails" Type="Collection(Edm.String)" /><Property Name="AddressInfo" Type="Collection(ODataSamples.WebApiService.Models.Location)" /><Property Name="Concurrency" Type="Edm.Int64" Nullable="false" /><NavigationProperty Name="Trips" Type="Collection(ODataSamples.WebApiService.Models.Trip)" ContainsTarget="true" /><NavigationProperty Name="Friends" Type="Collection(ODataSamples.WebApiService.Models.Person)" /></EntityType><EntityType Name="Airport"><Key><PropertyRef Name="IcaoCode" /></Key><Property Name="IcaoCode" Type="Edm.String" Nullable="false" /><Property Name="Name" Type="Edm.String" Nullable="false" /><Property Name="Location" Type="ODataSamples.WebApiService.Models.AirportLocation" Nullable="false" /><Property Name="IataCode" Type="Edm.String" Nullable="false" /></EntityType><EntityType Name="Airline"><Key><PropertyRef Name="AirlineCode" /></Key><Property Name="AirlineCode" Type="Edm.String" Nullable="false" /><Property Name="Name" Type="Edm.String" Nullable="false" /></EntityType><EntityType Name="Customer"><Key><PropertyRef Name="CustomerId" /></Key><Property Name="CustomerId" Type="Edm.Int32" Nullable="false" /><Property Name="Name" Type="Edm.String" /><Property Name="Token" Type="Edm.Guid" Nullable="false" /><Property Name="Email" Type="Edm.String" /><Property Name="Addresses" Type="Collection(ODataSamples.WebApiService.Models.Address)" /><Property Name="FavoriteColors" Type="Collection(ODataSamples.WebApiService.Models.Color)" Nullable="false" /><NavigationProperty Name="Orders" Type="Collection(ODataSamples.WebApiService.Models.Order)" /></EntityType><EntityType Name="Order"><Key><PropertyRef Name="OrderId" /></Key><Property Name="OrderId" Type="Edm.Int32" Nullable="false" /><Property Name="Price" Type="Edm.Double" Nullable="false" /></EntityType><EntityType Name="Trip"><Key><PropertyRef Name="TripId" /></Key><Property Name="TripId" Type="Edm.Int32" Nullable="false" /><Property Name="ShareId" Type="Edm.Guid" /><Property Name="Name" Type="Edm.String" Nullable="false" /><Property Name="Budget" Type="Edm.Single" Nullable="false" /><Property Name="Description" Type="Edm.String" /><Property Name="Tags" Type="Collection(Edm.String)" /><Property Name="StartsAt" Type="Edm.DateTimeOffset" Nullable="false" /><Property Name="EndsAt" Type="Edm.DateTimeOffset" Nullable="false" /><NavigationProperty Name="PlanItems" Type="Collection(ODataSamples.WebApiService.Models.PlanItem)" ContainsTarget="true" /></EntityType><ComplexType Name="Location" OpenType="true"><Property Name="Address" Type="Edm.String" Nullable="false" /><Property Name="City" Type="ODataSamples.WebApiService.Models.City" Nullable="false" /></ComplexType><ComplexType Name="City"><Property Name="Name" Type="Edm.String" Nullable="false" /><Property Name="CountryRegion" Type="Edm.String" Nullable="false" /><Property Name="Region" Type="Edm.String" Nullable="false" /></ComplexType><ComplexType Name="EventLocation" BaseType="ODataSamples.WebApiService.Models.Location" OpenType="true"><Property Name="BuildingInfo" Type="Edm.String" /></ComplexType><ComplexType Name="AirportLocation" BaseType="ODataSamples.WebApiService.Models.Location" OpenType="true"><Property Name="Loc" Type="Edm.GeographyPoint" Nullable="false" /></ComplexType><EntityType Name="PlanItem"><Key><PropertyRef Name="PlanItemId" /></Key><Property Name="PlanItemId" Type="Edm.Int32" Nullable="false" /><Property Name="ConfirmationCode" Type="Edm.String" /><Property Name="StartsAt" Type="Edm.DateTimeOffset" /><Property Name="EndsAt" Type="Edm.DateTimeOffset" /><Property Name="Duration" Type="Edm.Duration" /></EntityType><EntityType Name="PublicTransportation" BaseType="ODataSamples.WebApiService.Models.PlanItem"><Property Name="SeatNumber" Type="Edm.String" /></EntityType><EntityType Name="Flight" BaseType="ODataSamples.WebApiService.Models.PublicTransportation"><Property Name="FlightNumber" Type="Edm.String" Nullable="false" /><NavigationProperty Name="Airline" Type="ODataSamples.WebApiService.Models.Airline" Nullable="false" /><NavigationProperty Name="From" Type="ODataSamples.WebApiService.Models.Airport" Nullable="false" /><NavigationProperty Name="To" Type="ODataSamples.WebApiService.Models.Airport" Nullable="false" /></EntityType><EntityType Name="Event" BaseType="ODataSamples.WebApiService.Models.PlanItem"><Property Name="OccursAt" Type="ODataSamples.WebApiService.Models.EventLocation" Nullable="false" /><Property Name="Description" Type="Edm.String" /></EntityType><ComplexType Name="Address"><Property Name="City" Type="Edm.String" /><Property Name="Street" Type="Edm.String" /></ComplexType><EnumType Name="PersonGender"><Member Name="Male" Value="0" /><Member Name="Female" Value="1" /><Member Name="Unknown" Value="2" /></EnumType><EnumType Name="Color"><Member Name="Red" Value="0" /><Member Name="Green" Value="1" /><Member Name="Blue" Value="2" /><Member Name="Yellow" Value="3" /><Member Name="Pink" Value="4" /><Member Name="Purple" Value="5" /></EnumType><Action Name="ResetDataSource" /><Function Name="GetNearestAirport"><Parameter Name="lat" Type="Edm.Double" Nullable="false" /><Parameter Name="lon" Type="Edm.Double" Nullable="false" /><ReturnType Type="ODataSamples.WebApiService.Models.Airport" /></Function><Function Name="GetFavoriteAirline" IsBound="true"><Parameter Name="bindingParameter" Type="ODataSamples.WebApiService.Models.Person" /><ReturnType Type="ODataSamples.WebApiService.Models.Airline" /></Function><Function Name="GetFriendsTrips" IsBound="true"><Parameter Name="bindingParameter" Type="ODataSamples.WebApiService.Models.Person" /><Parameter Name="userName" Type="Edm.String" /><ReturnType Type="Collection(ODataSamples.WebApiService.Models.Airline)" /></Function><Action Name="ShareTrip" IsBound="true"><Parameter Name="bindingParameter" Type="ODataSamples.WebApiService.Models.Person" /><Parameter Name="userName" Type="Edm.String" /><Parameter Name="tripId" Type="Edm.Int32" Nullable="false" /></Action><Function Name="GetInvolvedPeople" IsBound="true"><Parameter Name="bindingParameter" Type="ODataSamples.WebApiService.Models.Trip" /><ReturnType Type="Collection(ODataSamples.WebApiService.Models.Person)" /></Function><EntityContainer Name="DefaultContainer"><EntitySet Name="People" EntityType="ODataSamples.WebApiService.Models.Person"><NavigationPropertyBinding Path="Friends" Target="People" /><NavigationPropertyBinding Path="Trips/PlanItems/ODataSamples.WebApiService.Models.Flight/Airline" Target="Airlines" /><NavigationPropertyBinding Path="Trips/PlanItems/ODataSamples.WebApiService.Models.Flight/From" Target="Airports" /><NavigationPropertyBinding Path="Trips/PlanItems/ODataSamples.WebApiService.Models.Flight/To" Target="Airports" /><Annotation Term="Org.OData.Core.V1.OptimisticConcurrency"><Collection><PropertyPath>Concurrency</PropertyPath></Collection></Annotation></EntitySet><EntitySet Name="Airports" EntityType="ODataSamples.WebApiService.Models.Airport" /><EntitySet Name="Airlines" EntityType="ODataSamples.WebApiService.Models.Airline" /><EntitySet Name="Customers" EntityType="ODataSamples.WebApiService.Models.Customer"><NavigationPropertyBinding Path="Orders" Target="Orders" /><Annotation Term="Org.OData.Capabilities.V1.CountRestrictions"><Record><PropertyValue Property="Countable" Bool="true" /><PropertyValue Property="NonCountableProperties"><Collection><PropertyPath>Addresses</PropertyPath><PropertyPath>FavoriteColors</PropertyPath></Collection></PropertyValue><PropertyValue Property="NonCountableNavigationProperties"><Collection /></PropertyValue></Record></Annotation><Annotation Term="Org.OData.Capabilities.V1.NavigationRestrictions"><Record><PropertyValue Property="Navigability"><EnumMember>Org.OData.Capabilities.V1.NavigationType/Recursive</EnumMember></PropertyValue><PropertyValue Property="RestrictedProperties"><Collection><Record><PropertyValue Property="NavigationProperty" NavigationPropertyPath="Orders" /><PropertyValue Property="Navigability"><EnumMember>Org.OData.Capabilities.V1.NavigationType/Recursive</EnumMember></PropertyValue></Record></Collection></PropertyValue></Record></Annotation><Annotation Term="Org.OData.Capabilities.V1.FilterRestrictions"><Record><PropertyValue Property="Filterable" Bool="true" /><PropertyValue Property="RequiresFilter" Bool="true" /><PropertyValue Property="RequiredProperties"><Collection /></PropertyValue><PropertyValue Property="NonFilterableProperties"><Collection><PropertyPath>Token</PropertyPath><PropertyPath>Orders</PropertyPath></Collection></PropertyValue></Record></Annotation><Annotation Term="Org.OData.Capabilities.V1.SortRestrictions"><Record><PropertyValue Property="Sortable" Bool="true" /><PropertyValue Property="AscendingOnlyProperties"><Collection /></PropertyValue><PropertyValue Property="DescendingOnlyProperties"><Collection /></PropertyValue><PropertyValue Property="NonSortableProperties"><Collection><PropertyPath>Email</PropertyPath><PropertyPath>Orders</PropertyPath></Collection></PropertyValue></Record></Annotation><Annotation Term="Org.OData.Capabilities.V1.ExpandRestrictions"><Record><PropertyValue Property="Expandable" Bool="true" /><PropertyValue Property="NonExpandableProperties"><Collection><NavigationPropertyPath>Orders</NavigationPropertyPath></Collection></PropertyValue></Record></Annotation></EntitySet><EntitySet Name="Orders" EntityType="ODataSamples.WebApiService.Models.Order" /><Singleton Name="Me" Type="ODataSamples.WebApiService.Models.Person"><NavigationPropertyBinding Path="Friends" Target="People" /><NavigationPropertyBinding Path="Trips/PlanItems/ODataSamples.WebApiService.Models.Flight/Airline" Target="Airlines" /><NavigationPropertyBinding Path="Trips/PlanItems/ODataSamples.WebApiService.Models.Flight/From" Target="Airports" /><NavigationPropertyBinding Path="Trips/PlanItems/ODataSamples.WebApiService.Models.Flight/To" Target="Airports" /><Annotation Term="Org.OData.Core.V1.OptimisticConcurrency"><Collection><PropertyPath>Concurrency</PropertyPath></Collection></Annotation></Singleton><ActionImport Name="ResetDataSource" Action="ODataSamples.WebApiService.Models.ResetDataSource" /><FunctionImport Name="GetNearestAirport" Function="ODataSamples.WebApiService.Models.GetNearestAirport" EntitySet="Airports" IncludeInServiceDocument="true" /></EntityContainer></Schema></edmx:DataServices></edmx:Edmx>