<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
  <!-- EF Runtime content -->
  <edmx:Runtime>
    <!-- SSDL content -->
    <edmx:StorageModels>
      <Schema Namespace="Хранилище KafeDBModel" Provider="System.Data.SqlClient" ProviderManifestToken="2012" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
        <EntityType Name="CookStatus">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="Title" Type="nvarchar" MaxLength="50" Nullable="false" />
        </EntityType>
        <EntityType Name="Dishes">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="Title" Type="nvarchar" MaxLength="50" Nullable="false" />
          <Property Name="Cost" Type="float" Nullable="false" />
          <Property Name="CookTime" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="Employee">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="LastName" Type="nvarchar" MaxLength="50" Nullable="false" />
          <Property Name="FirstName" Type="nvarchar" MaxLength="50" Nullable="false" />
          <Property Name="MiddleName" Type="nvarchar" MaxLength="50" />
          <Property Name="PositionID" Type="int" Nullable="false" />
          <Property Name="Login" Type="nvarchar" MaxLength="50" Nullable="false" />
          <Property Name="Password" Type="nvarchar" MaxLength="50" Nullable="false" />
          <Property Name="StatusID" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="Order">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="TableNumber" Type="int" Nullable="false" />
          <Property Name="ClientCount" Type="int" Nullable="false" />
          <Property Name="EmployeeID" Type="int" Nullable="false" />
          <Property Name="PayStatusID" Type="int" Nullable="false" />
          <Property Name="CookStatusID" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="OrderDishes">
          <Key>
            <PropertyRef Name="OrderID" />
            <PropertyRef Name="DishID" />
          </Key>
          <Property Name="OrderID" Type="int" Nullable="false" />
          <Property Name="DishID" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="PayStatus">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="Title" Type="nvarchar" MaxLength="50" Nullable="false" />
        </EntityType>
        <EntityType Name="Position">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="Title" Type="nvarchar" MaxLength="50" Nullable="false" />
        </EntityType>
        <EntityType Name="Shift">
          <Key>
            <PropertyRef Name="EmployeeID" />
            <PropertyRef Name="DateShift" />
          </Key>
          <Property Name="EmployeeID" Type="int" Nullable="false" />
          <Property Name="DateShift" Type="date" Nullable="false" />
        </EntityType>
        <EntityType Name="Status">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="Title" Type="nvarchar" MaxLength="50" Nullable="false" />
        </EntityType>
        <Association Name="FK_Employee_Position">
          <End Role="Position" Type="Self.Position" Multiplicity="1">
            <OnDelete Action="Cascade" />
          </End>
          <End Role="Employee" Type="Self.Employee" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Position">
              <PropertyRef Name="ID" />
            </Principal>
            <Dependent Role="Employee">
              <PropertyRef Name="PositionID" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Employee_Status">
          <End Role="Status" Type="Self.Status" Multiplicity="1">
            <OnDelete Action="Cascade" />
          </End>
          <End Role="Employee" Type="Self.Employee" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Status">
              <PropertyRef Name="ID" />
            </Principal>
            <Dependent Role="Employee">
              <PropertyRef Name="StatusID" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Order_CookStatus">
          <End Role="CookStatus" Type="Self.CookStatus" Multiplicity="1">
            <OnDelete Action="Cascade" />
          </End>
          <End Role="Order" Type="Self.Order" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="CookStatus">
              <PropertyRef Name="ID" />
            </Principal>
            <Dependent Role="Order">
              <PropertyRef Name="CookStatusID" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Order_Employee">
          <End Role="Employee" Type="Self.Employee" Multiplicity="1" />
          <End Role="Order" Type="Self.Order" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Employee">
              <PropertyRef Name="ID" />
            </Principal>
            <Dependent Role="Order">
              <PropertyRef Name="EmployeeID" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Order_PayStatus">
          <End Role="PayStatus" Type="Self.PayStatus" Multiplicity="1">
            <OnDelete Action="Cascade" />
          </End>
          <End Role="Order" Type="Self.Order" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="PayStatus">
              <PropertyRef Name="ID" />
            </Principal>
            <Dependent Role="Order">
              <PropertyRef Name="PayStatusID" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_OrderDishes_Dishes">
          <End Role="Dishes" Type="Self.Dishes" Multiplicity="1">
            <OnDelete Action="Cascade" />
          </End>
          <End Role="OrderDishes" Type="Self.OrderDishes" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Dishes">
              <PropertyRef Name="ID" />
            </Principal>
            <Dependent Role="OrderDishes">
              <PropertyRef Name="DishID" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_OrderDishes_Order">
          <End Role="Order" Type="Self.Order" Multiplicity="1">
            <OnDelete Action="Cascade" />
          </End>
          <End Role="OrderDishes" Type="Self.OrderDishes" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Order">
              <PropertyRef Name="ID" />
            </Principal>
            <Dependent Role="OrderDishes">
              <PropertyRef Name="OrderID" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Shift_Employee">
          <End Role="Employee" Type="Self.Employee" Multiplicity="1">
            <OnDelete Action="Cascade" />
          </End>
          <End Role="Shift" Type="Self.Shift" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Employee">
              <PropertyRef Name="ID" />
            </Principal>
            <Dependent Role="Shift">
              <PropertyRef Name="EmployeeID" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <EntityContainer Name="Хранилище KafeDBModelContainer">
          <EntitySet Name="CookStatus" EntityType="Self.CookStatus" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="Dishes" EntityType="Self.Dishes" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="Employee" EntityType="Self.Employee" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="Order" EntityType="Self.Order" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="OrderDishes" EntityType="Self.OrderDishes" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="PayStatus" EntityType="Self.PayStatus" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="Position" EntityType="Self.Position" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="Shift" EntityType="Self.Shift" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="Status" EntityType="Self.Status" Schema="dbo" store:Type="Tables" />
          <AssociationSet Name="FK_Employee_Position" Association="Self.FK_Employee_Position">
            <End Role="Position" EntitySet="Position" />
            <End Role="Employee" EntitySet="Employee" />
          </AssociationSet>
          <AssociationSet Name="FK_Employee_Status" Association="Self.FK_Employee_Status">
            <End Role="Status" EntitySet="Status" />
            <End Role="Employee" EntitySet="Employee" />
          </AssociationSet>
          <AssociationSet Name="FK_Order_CookStatus" Association="Self.FK_Order_CookStatus">
            <End Role="CookStatus" EntitySet="CookStatus" />
            <End Role="Order" EntitySet="Order" />
          </AssociationSet>
          <AssociationSet Name="FK_Order_Employee" Association="Self.FK_Order_Employee">
            <End Role="Employee" EntitySet="Employee" />
            <End Role="Order" EntitySet="Order" />
          </AssociationSet>
          <AssociationSet Name="FK_Order_PayStatus" Association="Self.FK_Order_PayStatus">
            <End Role="PayStatus" EntitySet="PayStatus" />
            <End Role="Order" EntitySet="Order" />
          </AssociationSet>
          <AssociationSet Name="FK_OrderDishes_Dishes" Association="Self.FK_OrderDishes_Dishes">
            <End Role="Dishes" EntitySet="Dishes" />
            <End Role="OrderDishes" EntitySet="OrderDishes" />
          </AssociationSet>
          <AssociationSet Name="FK_OrderDishes_Order" Association="Self.FK_OrderDishes_Order">
            <End Role="Order" EntitySet="Order" />
            <End Role="OrderDishes" EntitySet="OrderDishes" />
          </AssociationSet>
          <AssociationSet Name="FK_Shift_Employee" Association="Self.FK_Shift_Employee">
            <End Role="Employee" EntitySet="Employee" />
            <End Role="Shift" EntitySet="Shift" />
          </AssociationSet>
        </EntityContainer>
      </Schema>
    </edmx:StorageModels>
    <!-- CSDL content -->
    <edmx:ConceptualModels>
      <Schema Namespace="KafeDBModel" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
        <EntityType Name="CookStatus">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="Title" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
          <NavigationProperty Name="Order" Relationship="Self.FK_Order_CookStatus" FromRole="CookStatus" ToRole="Order" />
        </EntityType>
        <EntityType Name="Dishes">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="Title" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
          <Property Name="Cost" Type="Double" Nullable="false" />
          <Property Name="CookTime" Type="Int32" Nullable="false" />
          <NavigationProperty Name="Order" Relationship="Self.OrderDishes" FromRole="Dishes" ToRole="Order" />
        </EntityType>
        <EntityType Name="Employee">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="LastName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
          <Property Name="FirstName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
          <Property Name="MiddleName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Name="PositionID" Type="Int32" Nullable="false" />
          <Property Name="Login" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
          <Property Name="Password" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
          <Property Name="StatusID" Type="Int32" Nullable="false" />
          <NavigationProperty Name="Position" Relationship="Self.FK_Employee_Position" FromRole="Employee" ToRole="Position" />
          <NavigationProperty Name="Status" Relationship="Self.FK_Employee_Status" FromRole="Employee" ToRole="Status" />
          <NavigationProperty Name="Order" Relationship="Self.FK_Order_Employee" FromRole="Employee" ToRole="Order" />
          <NavigationProperty Name="Shift" Relationship="Self.FK_Shift_Employee" FromRole="Employee" ToRole="Shift" />
        </EntityType>
        <EntityType Name="Order">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="TableNumber" Type="Int32" Nullable="false" />
          <Property Name="ClientCount" Type="Int32" Nullable="false" />
          <Property Name="EmployeeID" Type="Int32" Nullable="false" />
          <Property Name="PayStatusID" Type="Int32" Nullable="false" />
          <Property Name="CookStatusID" Type="Int32" Nullable="false" />
          <NavigationProperty Name="CookStatus" Relationship="Self.FK_Order_CookStatus" FromRole="Order" ToRole="CookStatus" />
          <NavigationProperty Name="Employee" Relationship="Self.FK_Order_Employee" FromRole="Order" ToRole="Employee" />
          <NavigationProperty Name="PayStatus" Relationship="Self.FK_Order_PayStatus" FromRole="Order" ToRole="PayStatus" />
          <NavigationProperty Name="Dishes" Relationship="Self.OrderDishes" FromRole="Order" ToRole="Dishes" />
        </EntityType>
        <EntityType Name="PayStatus">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="Title" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
          <NavigationProperty Name="Order" Relationship="Self.FK_Order_PayStatus" FromRole="PayStatus" ToRole="Order" />
        </EntityType>
        <EntityType Name="Position">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="Title" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
          <NavigationProperty Name="Employee" Relationship="Self.FK_Employee_Position" FromRole="Position" ToRole="Employee" />
        </EntityType>
        <EntityType Name="Shift">
          <Key>
            <PropertyRef Name="EmployeeID" />
            <PropertyRef Name="DateShift" />
          </Key>
          <Property Name="EmployeeID" Type="Int32" Nullable="false" />
          <Property Name="DateShift" Type="DateTime" Nullable="false" Precision="0" />
          <NavigationProperty Name="Employee" Relationship="Self.FK_Shift_Employee" FromRole="Shift" ToRole="Employee" />
        </EntityType>
        <EntityType Name="Status">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="Title" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
          <NavigationProperty Name="Employee" Relationship="Self.FK_Employee_Status" FromRole="Status" ToRole="Employee" />
        </EntityType>
        <Association Name="FK_Order_CookStatus">
          <End Role="CookStatus" Type="Self.CookStatus" Multiplicity="1">
            <OnDelete Action="Cascade" />
          </End>
          <End Role="Order" Type="Self.Order" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="CookStatus">
              <PropertyRef Name="ID" />
            </Principal>
            <Dependent Role="Order">
              <PropertyRef Name="CookStatusID" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Employee_Position">
          <End Role="Position" Type="Self.Position" Multiplicity="1">
            <OnDelete Action="Cascade" />
          </End>
          <End Role="Employee" Type="Self.Employee" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Position">
              <PropertyRef Name="ID" />
            </Principal>
            <Dependent Role="Employee">
              <PropertyRef Name="PositionID" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Employee_Status">
          <End Role="Status" Type="Self.Status" Multiplicity="1">
            <OnDelete Action="Cascade" />
          </End>
          <End Role="Employee" Type="Self.Employee" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Status">
              <PropertyRef Name="ID" />
            </Principal>
            <Dependent Role="Employee">
              <PropertyRef Name="StatusID" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Order_Employee">
          <End Role="Employee" Type="Self.Employee" Multiplicity="1" />
          <End Role="Order" Type="Self.Order" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Employee">
              <PropertyRef Name="ID" />
            </Principal>
            <Dependent Role="Order">
              <PropertyRef Name="EmployeeID" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Shift_Employee">
          <End Role="Employee" Type="Self.Employee" Multiplicity="1">
            <OnDelete Action="Cascade" />
          </End>
          <End Role="Shift" Type="Self.Shift" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Employee">
              <PropertyRef Name="ID" />
            </Principal>
            <Dependent Role="Shift">
              <PropertyRef Name="EmployeeID" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Order_PayStatus">
          <End Role="PayStatus" Type="Self.PayStatus" Multiplicity="1">
            <OnDelete Action="Cascade" />
          </End>
          <End Role="Order" Type="Self.Order" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="PayStatus">
              <PropertyRef Name="ID" />
            </Principal>
            <Dependent Role="Order">
              <PropertyRef Name="PayStatusID" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="OrderDishes">
          <End Role="Dishes" Type="Self.Dishes" Multiplicity="*" />
          <End Role="Order" Type="Self.Order" Multiplicity="*" />
        </Association>
        <EntityContainer Name="KafeDBEntities" annotation:LazyLoadingEnabled="true">
          <EntitySet Name="CookStatus" EntityType="Self.CookStatus" />
          <EntitySet Name="Dishes" EntityType="Self.Dishes" />
          <EntitySet Name="Employee" EntityType="Self.Employee" />
          <EntitySet Name="Order" EntityType="Self.Order" />
          <EntitySet Name="PayStatus" EntityType="Self.PayStatus" />
          <EntitySet Name="Position" EntityType="Self.Position" />
          <EntitySet Name="Shift" EntityType="Self.Shift" />
          <EntitySet Name="Status" EntityType="Self.Status" />
          <AssociationSet Name="FK_Order_CookStatus" Association="Self.FK_Order_CookStatus">
            <End Role="CookStatus" EntitySet="CookStatus" />
            <End Role="Order" EntitySet="Order" />
          </AssociationSet>
          <AssociationSet Name="FK_Employee_Position" Association="Self.FK_Employee_Position">
            <End Role="Position" EntitySet="Position" />
            <End Role="Employee" EntitySet="Employee" />
          </AssociationSet>
          <AssociationSet Name="FK_Employee_Status" Association="Self.FK_Employee_Status">
            <End Role="Status" EntitySet="Status" />
            <End Role="Employee" EntitySet="Employee" />
          </AssociationSet>
          <AssociationSet Name="FK_Order_Employee" Association="Self.FK_Order_Employee">
            <End Role="Employee" EntitySet="Employee" />
            <End Role="Order" EntitySet="Order" />
          </AssociationSet>
          <AssociationSet Name="FK_Shift_Employee" Association="Self.FK_Shift_Employee">
            <End Role="Employee" EntitySet="Employee" />
            <End Role="Shift" EntitySet="Shift" />
          </AssociationSet>
          <AssociationSet Name="FK_Order_PayStatus" Association="Self.FK_Order_PayStatus">
            <End Role="PayStatus" EntitySet="PayStatus" />
            <End Role="Order" EntitySet="Order" />
          </AssociationSet>
          <AssociationSet Name="OrderDishes" Association="Self.OrderDishes">
            <End Role="Dishes" EntitySet="Dishes" />
            <End Role="Order" EntitySet="Order" />
          </AssociationSet>
        </EntityContainer>
      </Schema>
    </edmx:ConceptualModels>
    <!-- C-S mapping content -->
    <edmx:Mappings>
      <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
        <EntityContainerMapping StorageEntityContainer="Хранилище KafeDBModelContainer" CdmEntityContainer="KafeDBEntities">
          <EntitySetMapping Name="CookStatus">
            <EntityTypeMapping TypeName="KafeDBModel.CookStatus">
              <MappingFragment StoreEntitySet="CookStatus">
                <ScalarProperty Name="ID" ColumnName="ID" />
                <ScalarProperty Name="Title" ColumnName="Title" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Dishes">
            <EntityTypeMapping TypeName="KafeDBModel.Dishes">
              <MappingFragment StoreEntitySet="Dishes">
                <ScalarProperty Name="ID" ColumnName="ID" />
                <ScalarProperty Name="Title" ColumnName="Title" />
                <ScalarProperty Name="Cost" ColumnName="Cost" />
                <ScalarProperty Name="CookTime" ColumnName="CookTime" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Employee">
            <EntityTypeMapping TypeName="KafeDBModel.Employee">
              <MappingFragment StoreEntitySet="Employee">
                <ScalarProperty Name="ID" ColumnName="ID" />
                <ScalarProperty Name="LastName" ColumnName="LastName" />
                <ScalarProperty Name="FirstName" ColumnName="FirstName" />
                <ScalarProperty Name="MiddleName" ColumnName="MiddleName" />
                <ScalarProperty Name="PositionID" ColumnName="PositionID" />
                <ScalarProperty Name="Login" ColumnName="Login" />
                <ScalarProperty Name="Password" ColumnName="Password" />
                <ScalarProperty Name="StatusID" ColumnName="StatusID" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Order">
            <EntityTypeMapping TypeName="KafeDBModel.Order">
              <MappingFragment StoreEntitySet="Order">
                <ScalarProperty Name="ID" ColumnName="ID" />
                <ScalarProperty Name="TableNumber" ColumnName="TableNumber" />
                <ScalarProperty Name="ClientCount" ColumnName="ClientCount" />
                <ScalarProperty Name="EmployeeID" ColumnName="EmployeeID" />
                <ScalarProperty Name="PayStatusID" ColumnName="PayStatusID" />
                <ScalarProperty Name="CookStatusID" ColumnName="CookStatusID" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="PayStatus">
            <EntityTypeMapping TypeName="KafeDBModel.PayStatus">
              <MappingFragment StoreEntitySet="PayStatus">
                <ScalarProperty Name="ID" ColumnName="ID" />
                <ScalarProperty Name="Title" ColumnName="Title" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Position">
            <EntityTypeMapping TypeName="KafeDBModel.Position">
              <MappingFragment StoreEntitySet="Position">
                <ScalarProperty Name="ID" ColumnName="ID" />
                <ScalarProperty Name="Title" ColumnName="Title" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Shift">
            <EntityTypeMapping TypeName="KafeDBModel.Shift">
              <MappingFragment StoreEntitySet="Shift">
                <ScalarProperty Name="EmployeeID" ColumnName="EmployeeID" />
                <ScalarProperty Name="DateShift" ColumnName="DateShift" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Status">
            <EntityTypeMapping TypeName="KafeDBModel.Status">
              <MappingFragment StoreEntitySet="Status">
                <ScalarProperty Name="ID" ColumnName="ID" />
                <ScalarProperty Name="Title" ColumnName="Title" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <AssociationSetMapping Name="OrderDishes" TypeName="KafeDBModel.OrderDishes" StoreEntitySet="OrderDishes">
            <EndProperty Name="Dishes">
              <ScalarProperty Name="ID" ColumnName="DishID" />
            </EndProperty>
            <EndProperty Name="Order">
              <ScalarProperty Name="ID" ColumnName="OrderID" />
            </EndProperty>
          </AssociationSetMapping>
        </EntityContainerMapping>
      </Mapping>
    </edmx:Mappings>
  </edmx:Runtime>
  <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
    <Connection>
      <DesignerInfoPropertySet>
        <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
      </DesignerInfoPropertySet>
    </Connection>
    <Options>
      <DesignerInfoPropertySet>
        <DesignerProperty Name="ValidateOnBuild" Value="true" />
        <DesignerProperty Name="EnablePluralization" Value="false" />
        <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
        <DesignerProperty Name="UseLegacyProvider" Value="false" />
        <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
      </DesignerInfoPropertySet>
    </Options>
    <!-- Diagram content (shape and connector positions) -->
    <Diagrams></Diagrams>
  </Designer>
</edmx:Edmx>