<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx">
  <edmx:DataServices xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" m:DataServiceVersion="1.0">
    <Schema Namespace="CinemaOnlineModel" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
      <EntityType Name="MovieSchedule">
        <Key>
          <PropertyRef Name="CinemaID" />
          <PropertyRef Name="MovieID" />
          <PropertyRef Name="MovieShowTime" />
        </Key>
        <Property Name="CinemaID" Type="Edm.Int32" Nullable="false" />
        <Property Name="CinemaName" Type="Edm.String" Nullable="false" />
        <Property Name="MovieID" Type="Edm.Int32" Nullable="false" />
        <Property Name="MovieName" Type="Edm.String" Nullable="false" m:FC_TargetPath="SyndicationTitle" />
        <Property Name="MovieShowTime" Type="Edm.DateTime" Nullable="false" />
        <Property Name="Summary" Type="Edm.String" Nullable="true" m:FC_TargetPath="SyndicationSummary" />
        <Property Name="CreateDate" Type="Edm.DateTime" Nullable="false" />
        <Property Name="Latitude" Type="Edm.Double" Nullable="false" m:FC_TargetPath="lat" m:FC_NsUri="http://www.georss.org/georss" m:FC_NsPrefix="geo" m:FC_KeepContent="true" />
        <Property Name="Longitude" Type="Edm.Double" Nullable="false" m:FC_TargetPath="long" m:FC_NsUri="http://www.georss.org/georss" m:FC_NsPrefix="geo" m:FC_KeepContent="true" />
        <Property Name="Distance" Type="Edm.Double" Nullable="true" />
      </EntityType>
      <EntityType Name="Movie">
        <Key>
          <PropertyRef Name="MovieID" />
        </Key>
        <Property Name="MovieID" Type="Edm.Int32" Nullable="false" />
        <Property Name="Name" Type="Edm.String" Nullable="false" m:FC_TargetPath="SyndicationTitle" />
        <Property Name="Synopsis" Type="Edm.String" Nullable="false" />
        <Property Name="ImageURL" Type="Edm.String" Nullable="true" />
        <Property Name="ReleaseDate" Type="Edm.DateTime" Nullable="false" />
        <Property Name="CurrentlyShowing" Type="Edm.Boolean" Nullable="true" />
        <Property Name="Summary" Type="Edm.String" Nullable="true" m:FC_TargetPath="SyndicationSummary" />
        <Property Name="CreateDate" Type="Edm.DateTime" Nullable="false" />
      </EntityType>
      <EntityType Name="Cinema">
        <Key>
          <PropertyRef Name="CinemaID" />
        </Key>
        <Property Name="CinemaID" Type="Edm.Int32" Nullable="false" />
        <Property Name="Name" Type="Edm.String" Nullable="false" m:FC_TargetPath="SyndicationTitle" />
        <Property Name="Address" Type="Edm.String" Nullable="false" />
        <Property Name="ChainName" Type="Edm.String" Nullable="false" />
        <Property Name="Latitude" Type="Edm.Double" Nullable="false" />
        <Property Name="Longitude" Type="Edm.Double" Nullable="false" />
        <Property Name="Distance" Type="Edm.Double" Nullable="true" />
        <Property Name="Summary" Type="Edm.String" Nullable="true" m:FC_TargetPath="SyndicationSummary" />
        <Property Name="CreateDate" Type="Edm.DateTime" Nullable="false" />
      </EntityType>
    </Schema>
    <Schema Namespace="ServicesWebRole.EntityDataModels.CinemaOnline" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
      <EntityContainer Name="CinemaOnlineEntities" m:IsDefaultEntityContainer="true">
        <FunctionImport Name="MovieSet" EntitySet="MovieSet" ReturnType="Collection(CinemaOnlineModel.Movie)" m:HttpMethod="GET" />
        <FunctionImport Name="MovieScheduleSet" EntitySet="MovieScheduleSet" ReturnType="Collection(CinemaOnlineModel.MovieSchedule)" m:HttpMethod="GET" />
        <FunctionImport Name="CinemaSet" EntitySet="CinemaSet" ReturnType="Collection(CinemaOnlineModel.Cinema)" m:HttpMethod="GET" />
        <EntitySet Name="MovieScheduleSet" EntityType="CinemaOnlineModel.MovieSchedule" />
        <EntitySet Name="MovieSet" EntityType="CinemaOnlineModel.Movie" />
        <EntitySet Name="CinemaSet" EntityType="CinemaOnlineModel.Cinema" />
      </EntityContainer>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>
