﻿<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="2.0" xmlns:edmx="http://schemas.microsoft.com/ado/2008/10/edmx">
  <!-- EF Runtime content -->
  <edmx:Runtime>
    <!-- SSDL content -->
    <edmx:StorageModels>
    <Schema Namespace="PersonalLaundryModel.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2008" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
        <EntityContainer Name="PersonalLaundryModelStoreContainer">
          <EntitySet Name="BillingProfiles" EntityType="PersonalLaundryModel.Store.BillingProfiles" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="CustomerInventory" EntityType="PersonalLaundryModel.Store.CustomerInventory" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="CustomerLogins" EntityType="PersonalLaundryModel.Store.CustomerLogins" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="Customers" EntityType="PersonalLaundryModel.Store.Customers" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="CustomerWorkloadBags" EntityType="PersonalLaundryModel.Store.CustomerWorkloadBags" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="Dispatches" EntityType="PersonalLaundryModel.Store.Dispatches" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="DispatchItems" EntityType="PersonalLaundryModel.Store.DispatchItems" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="DispatchStatus" EntityType="PersonalLaundryModel.Store.DispatchStatus" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="InventoryItems" EntityType="PersonalLaundryModel.Store.InventoryItems" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="InventoryItemTypeCategories" EntityType="PersonalLaundryModel.Store.InventoryItemTypeCategories" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="InventoryItemTypes" EntityType="PersonalLaundryModel.Store.InventoryItemTypes" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="InventoryItemTypeSize" EntityType="PersonalLaundryModel.Store.InventoryItemTypeSize" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="InvoiceItems" EntityType="PersonalLaundryModel.Store.InvoiceItems" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="Invoices" EntityType="PersonalLaundryModel.Store.Invoices" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="InvoiceStatus" EntityType="PersonalLaundryModel.Store.InvoiceStatus" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="OperatorLogins" EntityType="PersonalLaundryModel.Store.OperatorLogins" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="OperatorRoles" EntityType="PersonalLaundryModel.Store.OperatorRoles" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="Settings" EntityType="PersonalLaundryModel.Store.Settings" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="WorkloadItems" EntityType="PersonalLaundryModel.Store.WorkloadItems" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="Workloads" EntityType="PersonalLaundryModel.Store.Workloads" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="WorkloadStatus" EntityType="PersonalLaundryModel.Store.WorkloadStatus" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="WorkloadTypes" EntityType="PersonalLaundryModel.Store.WorkloadTypes" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="CustomerInventoryForWorkload" EntityType="PersonalLaundryModel.Store.CustomerInventoryForWorkload" store:Type="Views" store:Schema="dbo" store:Name="CustomerInventoryForWorkload">
            <DefiningQuery>SELECT 
      [CustomerInventoryForWorkload].[CustomerId] AS [CustomerId], 
      [CustomerInventoryForWorkload].[WorkloadId] AS [WorkloadId], 
      [CustomerInventoryForWorkload].[CustomerInventoryId] AS [CustomerInventoryId], 
      [CustomerInventoryForWorkload].[Category] AS [Category], 
      [CustomerInventoryForWorkload].[ItemType] AS [ItemType], 
      [CustomerInventoryForWorkload].[Size] AS [Size], 
      [CustomerInventoryForWorkload].[Count] AS [Count], 
      [CustomerInventoryForWorkload].[TCOrderPriority] AS [TCOrderPriority], 
      [CustomerInventoryForWorkload].[TSOrderPriority] AS [TSOrderPriority]
      FROM [dbo].[CustomerInventoryForWorkload] AS [CustomerInventoryForWorkload]</DefiningQuery>
          </EntitySet>
          <EntitySet Name="CustomerInventoryForWorkloadClosed" EntityType="PersonalLaundryModel.Store.CustomerInventoryForWorkloadClosed" store:Type="Views" store:Schema="dbo" store:Name="CustomerInventoryForWorkloadClosed">
            <DefiningQuery>SELECT 
      [CustomerInventoryForWorkloadClosed].[CustomerId] AS [CustomerId], 
      [CustomerInventoryForWorkloadClosed].[WorkloadId] AS [WorkloadId], 
      [CustomerInventoryForWorkloadClosed].[CustomerInventoryId] AS [CustomerInventoryId], 
      [CustomerInventoryForWorkloadClosed].[Category] AS [Category], 
      [CustomerInventoryForWorkloadClosed].[ItemType] AS [ItemType], 
      [CustomerInventoryForWorkloadClosed].[Size] AS [Size], 
      [CustomerInventoryForWorkloadClosed].[Count] AS [Count], 
      [CustomerInventoryForWorkloadClosed].[TCOrderPriority] AS [TCOrderPriority], 
      [CustomerInventoryForWorkloadClosed].[TSOrderPriority] AS [TSOrderPriority]
      FROM [dbo].[CustomerInventoryForWorkloadClosed] AS [CustomerInventoryForWorkloadClosed]</DefiningQuery>
          </EntitySet>
          <EntitySet Name="vwCustomerBagsWaitingCounting" EntityType="PersonalLaundryModel.Store.vwCustomerBagsWaitingCounting" store:Type="Views" store:Schema="dbo" store:Name="vwCustomerBagsWaitingCounting">
            <DefiningQuery>SELECT 
      [vwCustomerBagsWaitingCounting].[CustomerId] AS [CustomerId], 
      [vwCustomerBagsWaitingCounting].[Name] AS [Name], 
      [vwCustomerBagsWaitingCounting].[BagCount] AS [BagCount]
      FROM [dbo].[vwCustomerBagsWaitingCounting] AS [vwCustomerBagsWaitingCounting]</DefiningQuery>
          </EntitySet>
          <EntitySet Name="vwInventoryItemTypes" EntityType="PersonalLaundryModel.Store.vwInventoryItemTypes" store:Type="Views" store:Schema="dbo" store:Name="vwInventoryItemTypes">
            <DefiningQuery>SELECT 
      [vwInventoryItemTypes].[Category] AS [Category], 
      [vwInventoryItemTypes].[ItemType] AS [ItemType]
      FROM [dbo].[vwInventoryItemTypes] AS [vwInventoryItemTypes]</DefiningQuery>
          </EntitySet>
          <EntitySet Name="vwWorkloadCategoryTypeCounts" EntityType="PersonalLaundryModel.Store.vwWorkloadCategoryTypeCounts" store:Type="Views" store:Schema="dbo" store:Name="vwWorkloadCategoryTypeCounts">
            <DefiningQuery>SELECT 
      [vwWorkloadCategoryTypeCounts].[WorkloadId] AS [WorkloadId], 
      [vwWorkloadCategoryTypeCounts].[Category] AS [Category], 
      [vwWorkloadCategoryTypeCounts].[ItemType] AS [ItemType], 
      [vwWorkloadCategoryTypeCounts].[ItemCount] AS [ItemCount]
      FROM [dbo].[vwWorkloadCategoryTypeCounts] AS [vwWorkloadCategoryTypeCounts]</DefiningQuery>
          </EntitySet>
          <EntitySet Name="vwWorkloadStatusReport" EntityType="PersonalLaundryModel.Store.vwWorkloadStatusReport" store:Type="Views" store:Schema="dbo" store:Name="vwWorkloadStatusReport">
            <DefiningQuery>SELECT 
      [vwWorkloadStatusReport].[WorkloadStatusId] AS [WorkloadStatusId], 
      [vwWorkloadStatusReport].[Status] AS [Status], 
      [vwWorkloadStatusReport].[Customers] AS [Customers], 
      [vwWorkloadStatusReport].[TotalItems] AS [TotalItems]
      FROM [dbo].[vwWorkloadStatusReport] AS [vwWorkloadStatusReport]</DefiningQuery>
          </EntitySet>
          <AssociationSet Name="FK_CustomerInventory_Customer" Association="PersonalLaundryModel.Store.FK_CustomerInventory_Customer">
            <End Role="Customers" EntitySet="Customers" />
            <End Role="CustomerInventory" EntitySet="CustomerInventory" />
          </AssociationSet>
          <AssociationSet Name="FK_CustomerInventory_InventoryItemTypes" Association="PersonalLaundryModel.Store.FK_CustomerInventory_InventoryItemTypes">
            <End Role="InventoryItemTypes" EntitySet="InventoryItemTypes" />
            <End Role="CustomerInventory" EntitySet="CustomerInventory" />
          </AssociationSet>
          <AssociationSet Name="FK_CustomerInventory_OperatorLogins" Association="PersonalLaundryModel.Store.FK_CustomerInventory_OperatorLogins">
            <End Role="OperatorLogins" EntitySet="OperatorLogins" />
            <End Role="CustomerInventory" EntitySet="CustomerInventory" />
          </AssociationSet>
          <AssociationSet Name="FK_CustomerLogins_Customers" Association="PersonalLaundryModel.Store.FK_CustomerLogins_Customers">
            <End Role="Customers" EntitySet="Customers" />
            <End Role="CustomerLogins" EntitySet="CustomerLogins" />
          </AssociationSet>
          <AssociationSet Name="FK_Customers_BillingProfiles" Association="PersonalLaundryModel.Store.FK_Customers_BillingProfiles">
            <End Role="BillingProfiles" EntitySet="BillingProfiles" />
            <End Role="Customers" EntitySet="Customers" />
          </AssociationSet>
          <AssociationSet Name="FK_Customers_OperatorLogins" Association="PersonalLaundryModel.Store.FK_Customers_OperatorLogins">
            <End Role="OperatorLogins" EntitySet="OperatorLogins" />
            <End Role="Customers" EntitySet="Customers" />
          </AssociationSet>
          <AssociationSet Name="FK_Dispatches_DispatchStatus" Association="PersonalLaundryModel.Store.FK_Dispatches_DispatchStatus">
            <End Role="DispatchStatus" EntitySet="DispatchStatus" />
            <End Role="Dispatches" EntitySet="Dispatches" />
          </AssociationSet>
          <AssociationSet Name="FK_Dispatches_Invoices" Association="PersonalLaundryModel.Store.FK_Dispatches_Invoices">
            <End Role="Invoices" EntitySet="Invoices" />
            <End Role="Dispatches" EntitySet="Dispatches" />
          </AssociationSet>
          <AssociationSet Name="FK_Dispatches_OperatorLogins" Association="PersonalLaundryModel.Store.FK_Dispatches_OperatorLogins">
            <End Role="OperatorLogins" EntitySet="OperatorLogins" />
            <End Role="Dispatches" EntitySet="Dispatches" />
          </AssociationSet>
          <AssociationSet Name="FK_DispatchItems_Dispatches" Association="PersonalLaundryModel.Store.FK_DispatchItems_Dispatches">
            <End Role="Dispatches" EntitySet="Dispatches" />
            <End Role="DispatchItems" EntitySet="DispatchItems" />
          </AssociationSet>
          <AssociationSet Name="FK_DispatchItems_InvoiceItems" Association="PersonalLaundryModel.Store.FK_DispatchItems_InvoiceItems">
            <End Role="InvoiceItems" EntitySet="InvoiceItems" />
            <End Role="DispatchItems" EntitySet="DispatchItems" />
          </AssociationSet>
          <AssociationSet Name="FK_InventoryItems_Customers" Association="PersonalLaundryModel.Store.FK_InventoryItems_Customers">
            <End Role="Customers" EntitySet="Customers" />
            <End Role="InventoryItems" EntitySet="InventoryItems" />
          </AssociationSet>
          <AssociationSet Name="FK_InventoryItems_InventoryItemTypes" Association="PersonalLaundryModel.Store.FK_InventoryItems_InventoryItemTypes">
            <End Role="InventoryItemTypes" EntitySet="InventoryItemTypes" />
            <End Role="InventoryItems" EntitySet="InventoryItems" />
          </AssociationSet>
          <AssociationSet Name="FK_InventoryItemTypes_InventoryItemTypeCategories" Association="PersonalLaundryModel.Store.FK_InventoryItemTypes_InventoryItemTypeCategories">
            <End Role="InventoryItemTypeCategories" EntitySet="InventoryItemTypeCategories" />
            <End Role="InventoryItemTypes" EntitySet="InventoryItemTypes" />
          </AssociationSet>
          <AssociationSet Name="FK_InventoryItemTypes_InventoryItemTypeSize" Association="PersonalLaundryModel.Store.FK_InventoryItemTypes_InventoryItemTypeSize">
            <End Role="InventoryItemTypeSize" EntitySet="InventoryItemTypeSize" />
            <End Role="InventoryItemTypes" EntitySet="InventoryItemTypes" />
          </AssociationSet>
          <AssociationSet Name="FK_InvoiceItems_InventoryItemTypes" Association="PersonalLaundryModel.Store.FK_InvoiceItems_InventoryItemTypes">
            <End Role="InventoryItemTypes" EntitySet="InventoryItemTypes" />
            <End Role="InvoiceItems" EntitySet="InvoiceItems" />
          </AssociationSet>
          <AssociationSet Name="FK_InvoiceItems_Invoices" Association="PersonalLaundryModel.Store.FK_InvoiceItems_Invoices">
            <End Role="Invoices" EntitySet="Invoices" />
            <End Role="InvoiceItems" EntitySet="InvoiceItems" />
          </AssociationSet>
          <AssociationSet Name="FK_InvoiceItems_OperatorLogins" Association="PersonalLaundryModel.Store.FK_InvoiceItems_OperatorLogins">
            <End Role="OperatorLogins" EntitySet="OperatorLogins" />
            <End Role="InvoiceItems" EntitySet="InvoiceItems" />
          </AssociationSet>
          <AssociationSet Name="FK_Invoices_Customers" Association="PersonalLaundryModel.Store.FK_Invoices_Customers">
            <End Role="Customers" EntitySet="Customers" />
            <End Role="Invoices" EntitySet="Invoices" />
          </AssociationSet>
          <AssociationSet Name="FK_Invoices_InvoiceStatus" Association="PersonalLaundryModel.Store.FK_Invoices_InvoiceStatus">
            <End Role="InvoiceStatus" EntitySet="InvoiceStatus" />
            <End Role="Invoices" EntitySet="Invoices" />
          </AssociationSet>
          <AssociationSet Name="FK_Invoices_OperatorLogins" Association="PersonalLaundryModel.Store.FK_Invoices_OperatorLogins">
            <End Role="OperatorLogins" EntitySet="OperatorLogins" />
            <End Role="Invoices" EntitySet="Invoices" />
          </AssociationSet>
          <AssociationSet Name="FK_Invoices_Workloads" Association="PersonalLaundryModel.Store.FK_Invoices_Workloads">
            <End Role="Workloads" EntitySet="Workloads" />
            <End Role="Invoices" EntitySet="Invoices" />
          </AssociationSet>
          <AssociationSet Name="FK_OperatorLogins_OperatorRoles" Association="PersonalLaundryModel.Store.FK_OperatorLogins_OperatorRoles">
            <End Role="OperatorRoles" EntitySet="OperatorRoles" />
            <End Role="OperatorLogins" EntitySet="OperatorLogins" />
          </AssociationSet>
          <AssociationSet Name="FK_WorkloadBags_CustomerLogins" Association="PersonalLaundryModel.Store.FK_WorkloadBags_CustomerLogins">
            <End Role="CustomerLogins" EntitySet="CustomerLogins" />
            <End Role="CustomerWorkloadBags" EntitySet="CustomerWorkloadBags" />
          </AssociationSet>
          <AssociationSet Name="FK_WorkloadBags_Workloads" Association="PersonalLaundryModel.Store.FK_WorkloadBags_Workloads">
            <End Role="Workloads" EntitySet="Workloads" />
            <End Role="CustomerWorkloadBags" EntitySet="CustomerWorkloadBags" />
          </AssociationSet>
          <AssociationSet Name="FK_WorkloadItems_CustomerInventory" Association="PersonalLaundryModel.Store.FK_WorkloadItems_CustomerInventory">
            <End Role="CustomerInventory" EntitySet="CustomerInventory" />
            <End Role="WorkloadItems" EntitySet="WorkloadItems" />
          </AssociationSet>
          <AssociationSet Name="FK_WorkloadItems_CustomerLogins" Association="PersonalLaundryModel.Store.FK_WorkloadItems_CustomerLogins">
            <End Role="CustomerLogins" EntitySet="CustomerLogins" />
            <End Role="WorkloadItems" EntitySet="WorkloadItems" />
          </AssociationSet>
          <AssociationSet Name="FK_WorkloadItems_OperatorLogins" Association="PersonalLaundryModel.Store.FK_WorkloadItems_OperatorLogins">
            <End Role="OperatorLogins" EntitySet="OperatorLogins" />
            <End Role="WorkloadItems" EntitySet="WorkloadItems" />
          </AssociationSet>
          <AssociationSet Name="FK_WorkloadItems_Workloads" Association="PersonalLaundryModel.Store.FK_WorkloadItems_Workloads">
            <End Role="Workloads" EntitySet="Workloads" />
            <End Role="WorkloadItems" EntitySet="WorkloadItems" />
          </AssociationSet>
          <AssociationSet Name="FK_Workloads_CustomerLogins" Association="PersonalLaundryModel.Store.FK_Workloads_CustomerLogins">
            <End Role="CustomerLogins" EntitySet="CustomerLogins" />
            <End Role="Workloads" EntitySet="Workloads" />
          </AssociationSet>
          <AssociationSet Name="FK_Workloads_Customers" Association="PersonalLaundryModel.Store.FK_Workloads_Customers">
            <End Role="Customers" EntitySet="Customers" />
            <End Role="Workloads" EntitySet="Workloads" />
          </AssociationSet>
          <AssociationSet Name="FK_Workloads_OperatorLogins" Association="PersonalLaundryModel.Store.FK_Workloads_OperatorLogins">
            <End Role="OperatorLogins" EntitySet="OperatorLogins" />
            <End Role="Workloads" EntitySet="Workloads" />
          </AssociationSet>
          <AssociationSet Name="FK_Workloads_WorkloadStatus" Association="PersonalLaundryModel.Store.FK_Workloads_WorkloadStatus">
            <End Role="WorkloadStatus" EntitySet="WorkloadStatus" />
            <End Role="Workloads" EntitySet="Workloads" />
          </AssociationSet>
          <AssociationSet Name="FK_Workloads_WorkloadTypes" Association="PersonalLaundryModel.Store.FK_Workloads_WorkloadTypes">
            <End Role="WorkloadTypes" EntitySet="WorkloadTypes" />
            <End Role="Workloads" EntitySet="Workloads" />
          </AssociationSet>
        </EntityContainer>
        <EntityType Name="BillingProfiles">
          <Key>
            <PropertyRef Name="BillingProfileId" />
          </Key>
          <Property Name="BillingProfileId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="ProfileName" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="IncludeRewashInInvoice" Type="bit" Nullable="false" />
        </EntityType>
        <EntityType Name="CustomerInventory">
          <Key>
            <PropertyRef Name="CustomerInventoryId" />
          </Key>
          <Property Name="CustomerInventoryId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="CustomerId" Type="int" Nullable="false" />
          <Property Name="InventoryItemTypeId" Type="int" Nullable="false" />
          <Property Name="OperatorLoginId" Type="int" Nullable="false" />
          <Property Name="TimeStamp" Type="datetime" Nullable="false" />
          <Property Name="CostGeneralWash" Type="int" Nullable="false" />
          <Property Name="CostRepeatWash" Type="int" Nullable="false" />
          <Property Name="CostStainWash" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="CustomerLogins">
          <Key>
            <PropertyRef Name="CustomerLoginId" />
          </Key>
          <Property Name="CustomerLoginId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="GUID" Type="uniqueidentifier" Nullable="false" />
          <Property Name="CustomerId" Type="int" Nullable="false" />
          <Property Name="EmailAddress" Type="nvarchar" Nullable="false" MaxLength="100" />
          <Property Name="Password" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="IsActive" Type="bit" Nullable="false" />
          <Property Name="IsLockedOut" Type="bit" Nullable="false" />
        </EntityType>
        <EntityType Name="Customers">
          <Key>
            <PropertyRef Name="CustomerId" />
          </Key>
          <Property Name="CustomerId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="Name" Type="nvarchar" Nullable="false" MaxLength="100" />
          <Property Name="BillingProfileId" Type="int" Nullable="false" />
          <Property Name="OperatorLoginId" Type="int" Nullable="false" />
          <Property Name="EmailAddress" Type="nvarchar" Nullable="false" MaxLength="100" />
          <Property Name="ContactName" Type="nvarchar" MaxLength="50" />
          <Property Name="AddressLine1" Type="nvarchar" MaxLength="100" />
          <Property Name="AddressLine2" Type="nvarchar" MaxLength="100" />
          <Property Name="AddressCity" Type="nvarchar" MaxLength="100" />
          <Property Name="AddressPostCode" Type="nvarchar" MaxLength="100" />
          <Property Name="VATNumber" Type="nvarchar" MaxLength="50" />
        </EntityType>
        <EntityType Name="CustomerWorkloadBags">
          <Key>
            <PropertyRef Name="WorkloadBagId" />
          </Key>
          <Property Name="WorkloadBagId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="WorkloadId" Type="int" Nullable="false" />
          <Property Name="UniqueReference" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="TimeStamp" Type="datetime" Nullable="false" />
          <Property Name="CustomerLoginId" Type="int" Nullable="false" />
          <Property Name="TimeReceived" Type="datetime" Nullable="false" />
          <Property Name="OperatorLoginId" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="Dispatches">
          <Key>
            <PropertyRef Name="DispatchId" />
          </Key>
          <Property Name="DispatchId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="InvoiceId" Type="int" Nullable="false" />
          <Property Name="DateCreated" Type="datetime" Nullable="false" />
          <Property Name="OperatorLoginId" Type="int" Nullable="false" />
          <Property Name="DispatchStatusId" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="DispatchItems">
          <Key>
            <PropertyRef Name="DispatchItemId" />
          </Key>
          <Property Name="DispatchItemId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="DispatchId" Type="int" Nullable="false" />
          <Property Name="InvoiceItemId" Type="int" Nullable="false" />
          <Property Name="ItemCount" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="DispatchStatus">
          <Key>
            <PropertyRef Name="DispatchStatusId" />
          </Key>
          <Property Name="DispatchStatusId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="Status" Type="nvarchar" Nullable="false" MaxLength="50" />
        </EntityType>
        <EntityType Name="InventoryItems">
          <Key>
            <PropertyRef Name="InventoryItemId" />
          </Key>
          <Property Name="InventoryItemId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="InventoryItemTypeId" Type="int" Nullable="false" />
          <Property Name="CustomerId" Type="int" Nullable="false" />
          <Property Name="UniqueId" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="InventoryItemTypeCategories">
          <Key>
            <PropertyRef Name="InventoryItemTypeCategoryId" />
          </Key>
          <Property Name="InventoryItemTypeCategoryId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="Category" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="OrderPriority" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="InventoryItemTypes">
          <Key>
            <PropertyRef Name="InventoryItemTypeId" />
          </Key>
          <Property Name="InventoryItemTypeId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="InventoryItemTypeCategoryId" Type="int" Nullable="false" />
          <Property Name="InventoryItemTypeSizeId" Type="int" Nullable="false" />
          <Property Name="ItemType" Type="nvarchar" Nullable="false" MaxLength="100" />
        </EntityType>
        <EntityType Name="InventoryItemTypeSize">
          <Key>
            <PropertyRef Name="InventoryItemTypeSizeId" />
          </Key>
          <Property Name="InventoryItemTypeSizeId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="Size" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="OrderPriority" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="InvoiceItems">
          <Key>
            <PropertyRef Name="InvoiceItemId" />
          </Key>
          <Property Name="InvoiceItemId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="InvoiceId" Type="int" Nullable="false" />
          <Property Name="InventoryItemTypeId" Type="int" Nullable="false" />
          <Property Name="ItemCount" Type="int" Nullable="false" />
          <Property Name="Cost" Type="int" />
          <Property Name="OperatorLoginId" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="Invoices">
          <Key>
            <PropertyRef Name="InvoiceId" />
          </Key>
          <Property Name="InvoiceId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="CustomerId" Type="int" Nullable="false" />
          <Property Name="WorkloadId" Type="int" Nullable="false" />
          <Property Name="DateCreated" Type="datetime" Nullable="false" />
          <Property Name="OperatorLoginId" Type="int" Nullable="false" />
          <Property Name="InvoiceStatusId" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="InvoiceStatus">
          <Key>
            <PropertyRef Name="InvoiceStatusId" />
          </Key>
          <Property Name="InvoiceStatusId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="Status" Type="nvarchar" Nullable="false" MaxLength="50" />
        </EntityType>
        <EntityType Name="OperatorLogins">
          <Key>
            <PropertyRef Name="OperatorLoginId" />
          </Key>
          <Property Name="OperatorLoginId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="Username" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="Password" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="OperatorRoleId" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="OperatorRoles">
          <Key>
            <PropertyRef Name="OperatorRoleId" />
          </Key>
          <Property Name="OperatorRoleId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="RoleName" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="CanLogin" Type="bit" Nullable="false" />
        </EntityType>
        <EntityType Name="Settings">
          <Key>
            <PropertyRef Name="SettingId" />
          </Key>
          <Property Name="SettingId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="SettingName" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="SettingValue" Type="nvarchar(max)" />
        </EntityType>
        <EntityType Name="WorkloadItems">
          <Key>
            <PropertyRef Name="WorkloadItemId" />
          </Key>
          <Property Name="WorkloadItemId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="WorkloadId" Type="int" Nullable="false" />
          <Property Name="CustomerInventoryId" Type="int" Nullable="false" />
          <Property Name="ItemCount" Type="int" Nullable="false" />
          <Property Name="CustomerLoginId" Type="int" Nullable="false" />
          <Property Name="OperatorLoginId" Type="int" Nullable="false" />
          <Property Name="TimeStamp" Type="datetime" Nullable="false" />
        </EntityType>
        <EntityType Name="Workloads">
          <Key>
            <PropertyRef Name="WorkloadId" />
          </Key>
          <Property Name="WorkloadId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="CustomerId" Type="int" Nullable="false" />
          <Property Name="CustomerLoginId" Type="int" Nullable="false" />
          <Property Name="DateCreated" Type="datetime" Nullable="false" />
          <Property Name="WorkloadStatusId" Type="int" Nullable="false" />
          <Property Name="OperatorLoginId" Type="int" Nullable="false" />
          <Property Name="WorkloadTypeId" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="WorkloadStatus">
          <Key>
            <PropertyRef Name="WorkloadStatusId" />
          </Key>
          <Property Name="WorkloadStatusId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="Status" Type="nvarchar" Nullable="false" MaxLength="50" />
        </EntityType>
        <EntityType Name="WorkloadTypes">
          <Key>
            <PropertyRef Name="WorkloadTypeId" />
          </Key>
          <Property Name="WorkloadTypeId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="Type" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="CanStartCycle" Type="bit" Nullable="false" />
        </EntityType>
        <!--Errors Found During Generation:
      warning 6002: The table/view 'PersonalLaundry.dbo.CustomerInventoryForWorkload' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.
      -->
        <EntityType Name="CustomerInventoryForWorkload">
          <Key>
            <PropertyRef Name="CustomerId" />
            <PropertyRef Name="CustomerInventoryId" />
            <PropertyRef Name="Category" />
            <PropertyRef Name="ItemType" />
            <PropertyRef Name="Size" />
            <PropertyRef Name="TCOrderPriority" />
            <PropertyRef Name="TSOrderPriority" />
          </Key>
          <Property Name="CustomerId" Type="int" Nullable="false" />
          <Property Name="WorkloadId" Type="int" />
          <Property Name="CustomerInventoryId" Type="int" Nullable="false" />
          <Property Name="Category" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="ItemType" Type="nvarchar" Nullable="false" MaxLength="100" />
          <Property Name="Size" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="Count" Type="nvarchar" MaxLength="30" />
          <Property Name="TCOrderPriority" Type="int" Nullable="false" />
          <Property Name="TSOrderPriority" Type="int" Nullable="false" />
        </EntityType>
        <!--Errors Found During Generation:
      warning 6002: The table/view 'PersonalLaundry.dbo.CustomerInventoryForWorkloadClosed' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.
      -->
        <EntityType Name="CustomerInventoryForWorkloadClosed">
          <Key>
            <PropertyRef Name="CustomerId" />
            <PropertyRef Name="CustomerInventoryId" />
            <PropertyRef Name="Category" />
            <PropertyRef Name="ItemType" />
            <PropertyRef Name="Size" />
            <PropertyRef Name="TCOrderPriority" />
            <PropertyRef Name="TSOrderPriority" />
          </Key>
          <Property Name="CustomerId" Type="int" Nullable="false" />
          <Property Name="WorkloadId" Type="int" />
          <Property Name="CustomerInventoryId" Type="int" Nullable="false" />
          <Property Name="Category" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="ItemType" Type="nvarchar" Nullable="false" MaxLength="100" />
          <Property Name="Size" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="Count" Type="nvarchar" MaxLength="30" />
          <Property Name="TCOrderPriority" Type="int" Nullable="false" />
          <Property Name="TSOrderPriority" Type="int" Nullable="false" />
        </EntityType>
        <!--Errors Found During Generation:
      warning 6002: The table/view 'PersonalLaundry.dbo.vwCustomerBagsWaitingCounting' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.
      -->
        <EntityType Name="vwCustomerBagsWaitingCounting">
          <Key>
            <PropertyRef Name="CustomerId" />
            <PropertyRef Name="Name" />
          </Key>
          <Property Name="CustomerId" Type="int" Nullable="false" />
          <Property Name="Name" Type="nvarchar" Nullable="false" MaxLength="100" />
          <Property Name="BagCount" Type="int" />
        </EntityType>
        <!--Errors Found During Generation:
      warning 6002: The table/view 'PersonalLaundry.dbo.vwInventoryItemTypes' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.
      -->
        <EntityType Name="vwInventoryItemTypes">
          <Key>
            <PropertyRef Name="Category" />
            <PropertyRef Name="ItemType" />
          </Key>
          <Property Name="Category" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="ItemType" Type="nvarchar" Nullable="false" MaxLength="100" />
        </EntityType>
        <!--Errors Found During Generation:
      warning 6002: The table/view 'PersonalLaundry.dbo.vwWorkloadCategoryTypeCounts' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.
      -->
        <EntityType Name="vwWorkloadCategoryTypeCounts">
          <Key>
            <PropertyRef Name="WorkloadId" />
            <PropertyRef Name="Category" />
            <PropertyRef Name="ItemType" />
          </Key>
          <Property Name="WorkloadId" Type="int" Nullable="false" />
          <Property Name="Category" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="ItemType" Type="nvarchar" Nullable="false" MaxLength="100" />
          <Property Name="ItemCount" Type="int" />
        </EntityType>
        <!--Errors Found During Generation:
      warning 6002: The table/view 'PersonalLaundry.dbo.vwWorkloadStatusReport' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.
      -->
        <EntityType Name="vwWorkloadStatusReport">
          <Key>
            <PropertyRef Name="WorkloadStatusId" />
            <PropertyRef Name="Status" />
          </Key>
          <Property Name="WorkloadStatusId" Type="int" Nullable="false" />
          <Property Name="Status" Type="nvarchar" Nullable="false" MaxLength="50" />
          <Property Name="Customers" Type="int" />
          <Property Name="TotalItems" Type="int" />
        </EntityType>
        <Association Name="FK_CustomerInventory_Customer">
          <End Role="Customers" Type="PersonalLaundryModel.Store.Customers" Multiplicity="1" />
          <End Role="CustomerInventory" Type="PersonalLaundryModel.Store.CustomerInventory" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Customers">
              <PropertyRef Name="CustomerId" />
            </Principal>
            <Dependent Role="CustomerInventory">
              <PropertyRef Name="CustomerId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_CustomerInventory_InventoryItemTypes">
          <End Role="InventoryItemTypes" Type="PersonalLaundryModel.Store.InventoryItemTypes" Multiplicity="1" />
          <End Role="CustomerInventory" Type="PersonalLaundryModel.Store.CustomerInventory" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="InventoryItemTypes">
              <PropertyRef Name="InventoryItemTypeId" />
            </Principal>
            <Dependent Role="CustomerInventory">
              <PropertyRef Name="InventoryItemTypeId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_CustomerInventory_OperatorLogins">
          <End Role="OperatorLogins" Type="PersonalLaundryModel.Store.OperatorLogins" Multiplicity="1" />
          <End Role="CustomerInventory" Type="PersonalLaundryModel.Store.CustomerInventory" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorLogins">
              <PropertyRef Name="OperatorLoginId" />
            </Principal>
            <Dependent Role="CustomerInventory">
              <PropertyRef Name="OperatorLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_CustomerLogins_Customers">
          <End Role="Customers" Type="PersonalLaundryModel.Store.Customers" Multiplicity="1" />
          <End Role="CustomerLogins" Type="PersonalLaundryModel.Store.CustomerLogins" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Customers">
              <PropertyRef Name="CustomerId" />
            </Principal>
            <Dependent Role="CustomerLogins">
              <PropertyRef Name="CustomerId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Customers_BillingProfiles">
          <End Role="BillingProfiles" Type="PersonalLaundryModel.Store.BillingProfiles" Multiplicity="1" />
          <End Role="Customers" Type="PersonalLaundryModel.Store.Customers" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="BillingProfiles">
              <PropertyRef Name="BillingProfileId" />
            </Principal>
            <Dependent Role="Customers">
              <PropertyRef Name="BillingProfileId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Customers_OperatorLogins">
          <End Role="OperatorLogins" Type="PersonalLaundryModel.Store.OperatorLogins" Multiplicity="1" />
          <End Role="Customers" Type="PersonalLaundryModel.Store.Customers" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorLogins">
              <PropertyRef Name="OperatorLoginId" />
            </Principal>
            <Dependent Role="Customers">
              <PropertyRef Name="OperatorLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Dispatches_DispatchStatus">
          <End Role="DispatchStatus" Type="PersonalLaundryModel.Store.DispatchStatus" Multiplicity="1" />
          <End Role="Dispatches" Type="PersonalLaundryModel.Store.Dispatches" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="DispatchStatus">
              <PropertyRef Name="DispatchStatusId" />
            </Principal>
            <Dependent Role="Dispatches">
              <PropertyRef Name="DispatchStatusId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Dispatches_Invoices">
          <End Role="Invoices" Type="PersonalLaundryModel.Store.Invoices" Multiplicity="1" />
          <End Role="Dispatches" Type="PersonalLaundryModel.Store.Dispatches" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Invoices">
              <PropertyRef Name="InvoiceId" />
            </Principal>
            <Dependent Role="Dispatches">
              <PropertyRef Name="InvoiceId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Dispatches_OperatorLogins">
          <End Role="OperatorLogins" Type="PersonalLaundryModel.Store.OperatorLogins" Multiplicity="1" />
          <End Role="Dispatches" Type="PersonalLaundryModel.Store.Dispatches" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorLogins">
              <PropertyRef Name="OperatorLoginId" />
            </Principal>
            <Dependent Role="Dispatches">
              <PropertyRef Name="OperatorLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_DispatchItems_Dispatches">
          <End Role="Dispatches" Type="PersonalLaundryModel.Store.Dispatches" Multiplicity="1" />
          <End Role="DispatchItems" Type="PersonalLaundryModel.Store.DispatchItems" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Dispatches">
              <PropertyRef Name="DispatchId" />
            </Principal>
            <Dependent Role="DispatchItems">
              <PropertyRef Name="DispatchId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_DispatchItems_InvoiceItems">
          <End Role="InvoiceItems" Type="PersonalLaundryModel.Store.InvoiceItems" Multiplicity="1" />
          <End Role="DispatchItems" Type="PersonalLaundryModel.Store.DispatchItems" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="InvoiceItems">
              <PropertyRef Name="InvoiceItemId" />
            </Principal>
            <Dependent Role="DispatchItems">
              <PropertyRef Name="InvoiceItemId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_InventoryItems_Customers">
          <End Role="Customers" Type="PersonalLaundryModel.Store.Customers" Multiplicity="1" />
          <End Role="InventoryItems" Type="PersonalLaundryModel.Store.InventoryItems" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Customers">
              <PropertyRef Name="CustomerId" />
            </Principal>
            <Dependent Role="InventoryItems">
              <PropertyRef Name="CustomerId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_InventoryItems_InventoryItemTypes">
          <End Role="InventoryItemTypes" Type="PersonalLaundryModel.Store.InventoryItemTypes" Multiplicity="1" />
          <End Role="InventoryItems" Type="PersonalLaundryModel.Store.InventoryItems" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="InventoryItemTypes">
              <PropertyRef Name="InventoryItemTypeId" />
            </Principal>
            <Dependent Role="InventoryItems">
              <PropertyRef Name="InventoryItemTypeId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_InventoryItemTypes_InventoryItemTypeCategories">
          <End Role="InventoryItemTypeCategories" Type="PersonalLaundryModel.Store.InventoryItemTypeCategories" Multiplicity="1" />
          <End Role="InventoryItemTypes" Type="PersonalLaundryModel.Store.InventoryItemTypes" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="InventoryItemTypeCategories">
              <PropertyRef Name="InventoryItemTypeCategoryId" />
            </Principal>
            <Dependent Role="InventoryItemTypes">
              <PropertyRef Name="InventoryItemTypeCategoryId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_InventoryItemTypes_InventoryItemTypeSize">
          <End Role="InventoryItemTypeSize" Type="PersonalLaundryModel.Store.InventoryItemTypeSize" Multiplicity="1" />
          <End Role="InventoryItemTypes" Type="PersonalLaundryModel.Store.InventoryItemTypes" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="InventoryItemTypeSize">
              <PropertyRef Name="InventoryItemTypeSizeId" />
            </Principal>
            <Dependent Role="InventoryItemTypes">
              <PropertyRef Name="InventoryItemTypeSizeId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_InvoiceItems_InventoryItemTypes">
          <End Role="InventoryItemTypes" Type="PersonalLaundryModel.Store.InventoryItemTypes" Multiplicity="1" />
          <End Role="InvoiceItems" Type="PersonalLaundryModel.Store.InvoiceItems" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="InventoryItemTypes">
              <PropertyRef Name="InventoryItemTypeId" />
            </Principal>
            <Dependent Role="InvoiceItems">
              <PropertyRef Name="InventoryItemTypeId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_InvoiceItems_Invoices">
          <End Role="Invoices" Type="PersonalLaundryModel.Store.Invoices" Multiplicity="1" />
          <End Role="InvoiceItems" Type="PersonalLaundryModel.Store.InvoiceItems" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Invoices">
              <PropertyRef Name="InvoiceId" />
            </Principal>
            <Dependent Role="InvoiceItems">
              <PropertyRef Name="InvoiceId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_InvoiceItems_OperatorLogins">
          <End Role="OperatorLogins" Type="PersonalLaundryModel.Store.OperatorLogins" Multiplicity="1" />
          <End Role="InvoiceItems" Type="PersonalLaundryModel.Store.InvoiceItems" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorLogins">
              <PropertyRef Name="OperatorLoginId" />
            </Principal>
            <Dependent Role="InvoiceItems">
              <PropertyRef Name="OperatorLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Invoices_Customers">
          <End Role="Customers" Type="PersonalLaundryModel.Store.Customers" Multiplicity="1" />
          <End Role="Invoices" Type="PersonalLaundryModel.Store.Invoices" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Customers">
              <PropertyRef Name="CustomerId" />
            </Principal>
            <Dependent Role="Invoices">
              <PropertyRef Name="CustomerId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Invoices_InvoiceStatus">
          <End Role="InvoiceStatus" Type="PersonalLaundryModel.Store.InvoiceStatus" Multiplicity="1" />
          <End Role="Invoices" Type="PersonalLaundryModel.Store.Invoices" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="InvoiceStatus">
              <PropertyRef Name="InvoiceStatusId" />
            </Principal>
            <Dependent Role="Invoices">
              <PropertyRef Name="InvoiceStatusId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Invoices_OperatorLogins">
          <End Role="OperatorLogins" Type="PersonalLaundryModel.Store.OperatorLogins" Multiplicity="1" />
          <End Role="Invoices" Type="PersonalLaundryModel.Store.Invoices" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorLogins">
              <PropertyRef Name="OperatorLoginId" />
            </Principal>
            <Dependent Role="Invoices">
              <PropertyRef Name="OperatorLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Invoices_Workloads">
          <End Role="Workloads" Type="PersonalLaundryModel.Store.Workloads" Multiplicity="1" />
          <End Role="Invoices" Type="PersonalLaundryModel.Store.Invoices" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Workloads">
              <PropertyRef Name="WorkloadId" />
            </Principal>
            <Dependent Role="Invoices">
              <PropertyRef Name="WorkloadId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_OperatorLogins_OperatorRoles">
          <End Role="OperatorRoles" Type="PersonalLaundryModel.Store.OperatorRoles" Multiplicity="1" />
          <End Role="OperatorLogins" Type="PersonalLaundryModel.Store.OperatorLogins" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorRoles">
              <PropertyRef Name="OperatorRoleId" />
            </Principal>
            <Dependent Role="OperatorLogins">
              <PropertyRef Name="OperatorRoleId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_WorkloadBags_CustomerLogins">
          <End Role="CustomerLogins" Type="PersonalLaundryModel.Store.CustomerLogins" Multiplicity="1" />
          <End Role="CustomerWorkloadBags" Type="PersonalLaundryModel.Store.CustomerWorkloadBags" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="CustomerLogins">
              <PropertyRef Name="CustomerLoginId" />
            </Principal>
            <Dependent Role="CustomerWorkloadBags">
              <PropertyRef Name="CustomerLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_WorkloadBags_Workloads">
          <End Role="Workloads" Type="PersonalLaundryModel.Store.Workloads" Multiplicity="1" />
          <End Role="CustomerWorkloadBags" Type="PersonalLaundryModel.Store.CustomerWorkloadBags" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Workloads">
              <PropertyRef Name="WorkloadId" />
            </Principal>
            <Dependent Role="CustomerWorkloadBags">
              <PropertyRef Name="WorkloadId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_WorkloadItems_CustomerInventory">
          <End Role="CustomerInventory" Type="PersonalLaundryModel.Store.CustomerInventory" Multiplicity="1" />
          <End Role="WorkloadItems" Type="PersonalLaundryModel.Store.WorkloadItems" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="CustomerInventory">
              <PropertyRef Name="CustomerInventoryId" />
            </Principal>
            <Dependent Role="WorkloadItems">
              <PropertyRef Name="CustomerInventoryId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_WorkloadItems_CustomerLogins">
          <End Role="CustomerLogins" Type="PersonalLaundryModel.Store.CustomerLogins" Multiplicity="1" />
          <End Role="WorkloadItems" Type="PersonalLaundryModel.Store.WorkloadItems" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="CustomerLogins">
              <PropertyRef Name="CustomerLoginId" />
            </Principal>
            <Dependent Role="WorkloadItems">
              <PropertyRef Name="CustomerLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_WorkloadItems_OperatorLogins">
          <End Role="OperatorLogins" Type="PersonalLaundryModel.Store.OperatorLogins" Multiplicity="1" />
          <End Role="WorkloadItems" Type="PersonalLaundryModel.Store.WorkloadItems" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorLogins">
              <PropertyRef Name="OperatorLoginId" />
            </Principal>
            <Dependent Role="WorkloadItems">
              <PropertyRef Name="OperatorLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_WorkloadItems_Workloads">
          <End Role="Workloads" Type="PersonalLaundryModel.Store.Workloads" Multiplicity="1" />
          <End Role="WorkloadItems" Type="PersonalLaundryModel.Store.WorkloadItems" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Workloads">
              <PropertyRef Name="WorkloadId" />
            </Principal>
            <Dependent Role="WorkloadItems">
              <PropertyRef Name="WorkloadId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Workloads_CustomerLogins">
          <End Role="CustomerLogins" Type="PersonalLaundryModel.Store.CustomerLogins" Multiplicity="1" />
          <End Role="Workloads" Type="PersonalLaundryModel.Store.Workloads" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="CustomerLogins">
              <PropertyRef Name="CustomerLoginId" />
            </Principal>
            <Dependent Role="Workloads">
              <PropertyRef Name="CustomerLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Workloads_Customers">
          <End Role="Customers" Type="PersonalLaundryModel.Store.Customers" Multiplicity="1" />
          <End Role="Workloads" Type="PersonalLaundryModel.Store.Workloads" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Customers">
              <PropertyRef Name="CustomerId" />
            </Principal>
            <Dependent Role="Workloads">
              <PropertyRef Name="CustomerId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Workloads_OperatorLogins">
          <End Role="OperatorLogins" Type="PersonalLaundryModel.Store.OperatorLogins" Multiplicity="1" />
          <End Role="Workloads" Type="PersonalLaundryModel.Store.Workloads" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorLogins">
              <PropertyRef Name="OperatorLoginId" />
            </Principal>
            <Dependent Role="Workloads">
              <PropertyRef Name="OperatorLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Workloads_WorkloadStatus">
          <End Role="WorkloadStatus" Type="PersonalLaundryModel.Store.WorkloadStatus" Multiplicity="1" />
          <End Role="Workloads" Type="PersonalLaundryModel.Store.Workloads" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="WorkloadStatus">
              <PropertyRef Name="WorkloadStatusId" />
            </Principal>
            <Dependent Role="Workloads">
              <PropertyRef Name="WorkloadStatusId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Workloads_WorkloadTypes">
          <End Role="WorkloadTypes" Type="PersonalLaundryModel.Store.WorkloadTypes" Multiplicity="1" />
          <End Role="Workloads" Type="PersonalLaundryModel.Store.Workloads" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="WorkloadTypes">
              <PropertyRef Name="WorkloadTypeId" />
            </Principal>
            <Dependent Role="Workloads">
              <PropertyRef Name="WorkloadTypeId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Function Name="AcceptBag" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="CustomerId" Type="int" Mode="In" />
          <Parameter Name="UniqueReference" Type="nvarchar" Mode="In" />
          <Parameter Name="OperatorLoginId" Type="int" Mode="In" />
        </Function>
        <Function Name="CreateWorkload" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="CustomerLoginId" Type="int" Mode="In" />
          <Parameter Name="WorkloadTypeId" Type="int" Mode="In" />
        </Function>
        <Function Name="DispatchItem" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="InvoiceItemId" Type="int" Mode="In" />
          <Parameter Name="Count" Type="int" Mode="In" />
          <Parameter Name="OperatorLoginId" Type="int" Mode="In" />
        </Function>
        <Function Name="FinishCounting" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="WorkloadId" Type="int" Mode="In" />
          <Parameter Name="OperatorLoginId" Type="int" Mode="In" />
        </Function>
        <Function Name="GenerateInvoiceFromWorkloadCounts" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="WorkloadId" Type="int" Mode="In" />
          <Parameter Name="OperatorLoginId" Type="int" Mode="In" />
        </Function>
        <Function Name="GetCustomerInventory" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="CustomerId" Type="int" Mode="In" />
        </Function>
        <Function Name="GetCustomerLoginFromGuid" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="Guid" Type="nvarchar" Mode="In" />
        </Function>
        <Function Name="GetInvoiceForPrinter" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="InvoiceId" Type="int" Mode="In" />
        </Function>
        <Function Name="LoginCustomer" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="EmailAddress" Type="nvarchar" Mode="In" />
          <Parameter Name="Password" Type="nvarchar" Mode="In" />
          <Parameter Name="IPAddress" Type="nvarchar" Mode="In" />
        </Function>
        <Function Name="LoginOperator" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="Username" Type="nvarchar" Mode="In" />
          <Parameter Name="Password" Type="nvarchar" Mode="In" />
        </Function>
        <Function Name="UpdateCustomerInventory" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="CustomerId" Type="int" Mode="In" />
          <Parameter Name="InventoryItemTypeId" Type="int" Mode="In" />
          <Parameter Name="CostGeneralWash" Type="int" Mode="In" />
          <Parameter Name="CostRepeatWash" Type="int" Mode="In" />
          <Parameter Name="CostStainWash" Type="int" Mode="In" />
          <Parameter Name="OperatorLoginId" Type="int" Mode="In" />
        </Function>
        <Function Name="UpdateCustomerLogin" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="CustomerId" Type="int" Mode="In" />
          <Parameter Name="EmailAddress" Type="nvarchar" Mode="In" />
          <Parameter Name="Password" Type="nvarchar" Mode="In" />
          <Parameter Name="IsActive" Type="bit" Mode="In" />
          <Parameter Name="IsLockedOut" Type="bit" Mode="In" />
        </Function>
        <Function Name="UpdateCustomerWorkloadBag" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="CustomerLoginId" Type="int" Mode="In" />
          <Parameter Name="WorkloadId" Type="int" Mode="In" />
          <Parameter Name="UniqueReference" Type="nvarchar" Mode="In" />
        </Function>
        <Function Name="UpdateInvoiceItemCount" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="InvoiceId" Type="int" Mode="In" />
          <Parameter Name="InventoryItemTypeId" Type="int" Mode="In" />
          <Parameter Name="Count" Type="int" Mode="In" />
          <Parameter Name="OperatorLoginId" Type="int" Mode="In" />
        </Function>
        <Function Name="UpdateOperatorLogin" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="Username" Type="nvarchar" Mode="In" />
          <Parameter Name="Password" Type="nvarchar" Mode="In" />
          <Parameter Name="OperatorRoleId" Type="int" Mode="In" />
        </Function>
        <Function Name="UpdateWorkloadItem" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
          <Parameter Name="WorkloadId" Type="int" Mode="In" />
          <Parameter Name="CustomerInventoryId" Type="int" Mode="In" />
          <Parameter Name="Count" Type="int" Mode="In" />
          <Parameter Name="CustomerLoginId" Type="int" Mode="In" />
          <Parameter Name="OperatorLoginId" Type="int" Mode="In" />
        </Function>
      </Schema></edmx:StorageModels>
    <!-- CSDL content -->
    <edmx:ConceptualModels>
      <Schema Namespace="PersonalLaundryModel" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
        <EntityContainer Name="PersonalLaundryEntities" annotation:LazyLoadingEnabled="true">
          <FunctionImport Name="LoginOperator" EntitySet="OperatorLogins" ReturnType="Collection(PersonalLaundryModel.OperatorLogin)">
            <Parameter Name="Username" Mode="In" Type="String" />
            <Parameter Name="Password" Mode="In" Type="String" />
          </FunctionImport>
          <FunctionImport Name="UpdateOperatorLogin" EntitySet="OperatorLogins" ReturnType="Collection(PersonalLaundryModel.OperatorLogin)">
            <Parameter Name="Username" Mode="In" Type="String" />
            <Parameter Name="Password" Mode="In" Type="String" />
            <Parameter Name="OperatorRoleId" Mode="In" Type="Int32" />
          </FunctionImport>
          <FunctionImport Name="UpdateCustomerLogin" EntitySet="CustomerLogins" ReturnType="Collection(PersonalLaundryModel.CustomerLogin)">
            <Parameter Name="CustomerId" Mode="In" Type="Int32" />
            <Parameter Name="EmailAddress" Mode="In" Type="String" />
            <Parameter Name="Password" Mode="In" Type="String" />
            <Parameter Name="IsActive" Mode="In" Type="Boolean" />
            <Parameter Name="IsLockedOut" Mode="In" Type="Boolean" />
          </FunctionImport>
          <FunctionImport Name="GetCustomerInventory" ReturnType="Collection(PersonalLaundryModel.GetCustomerInventory_Result)">
          <Parameter Name="CustomerId" Mode="In" Type="Int32" />
          </FunctionImport>
          <FunctionImport Name="UpdateCustomerInventory" EntitySet="CustomerInventories" ReturnType="Collection(PersonalLaundryModel.CustomerInventory)">
            <Parameter Name="CustomerId" Mode="In" Type="Int32" />
            <Parameter Name="InventoryItemTypeId" Mode="In" Type="Int32" />
            <Parameter Name="CostGeneralWash" Mode="In" Type="Int32" />
            <Parameter Name="CostRepeatWash" Mode="In" Type="Int32" />
            <Parameter Name="CostStainWash" Mode="In" Type="Int32" />
            <Parameter Name="OperatorLoginId" Mode="In" Type="Int32" />
          </FunctionImport>
          <FunctionImport Name="LoginCustomer" EntitySet="CustomerLogins" ReturnType="Collection(PersonalLaundryModel.CustomerLogin)">
            <Parameter Name="EmailAddress" Mode="In" Type="String" />
            <Parameter Name="Password" Mode="In" Type="String" />
            <Parameter Name="IPAddress" Mode="In" Type="String" />
          </FunctionImport>
          <FunctionImport Name="CreateWorkload" EntitySet="Workloads" ReturnType="Collection(PersonalLaundryModel.Workload)">
            <Parameter Name="CustomerLoginId" Mode="In" Type="Int32" />
            <Parameter Name="WorkloadTypeId" Mode="In" Type="Int32" />
          </FunctionImport>
          <FunctionImport Name="GetCustomerLoginFromGuid" EntitySet="CustomerLogins" ReturnType="Collection(PersonalLaundryModel.CustomerLogin)">
          <Parameter Name="Guid" Mode="In" Type="String" />
          </FunctionImport>
          <FunctionImport Name="UpdateCustomerWorkloadBag" EntitySet="CustomerWorkloadBags" ReturnType="Collection(PersonalLaundryModel.CustomerWorkloadBag)">
            <Parameter Name="CustomerLoginId" Mode="In" Type="Int32" />
            <Parameter Name="WorkloadId" Mode="In" Type="Int32" />
            <Parameter Name="UniqueReference" Mode="In" Type="String" />
          </FunctionImport>
          <EntitySet Name="BillingProfiles" EntityType="PersonalLaundryModel.BillingProfile" />
          <EntitySet Name="CustomerInventories" EntityType="PersonalLaundryModel.CustomerInventory" />
          <EntitySet Name="CustomerLogins" EntityType="PersonalLaundryModel.CustomerLogin" />
          <EntitySet Name="Customers" EntityType="PersonalLaundryModel.Customer" />
          <EntitySet Name="CustomerWorkloadBags" EntityType="PersonalLaundryModel.CustomerWorkloadBag" />
          <EntitySet Name="InventoryItems" EntityType="PersonalLaundryModel.InventoryItem" />
          <EntitySet Name="InventoryItemTypeCategories" EntityType="PersonalLaundryModel.InventoryItemTypeCategory" />
          <EntitySet Name="InventoryItemTypes" EntityType="PersonalLaundryModel.InventoryItemType" />
          <EntitySet Name="InventoryItemTypeSizes" EntityType="PersonalLaundryModel.InventoryItemTypeSize" />
          <EntitySet Name="OperatorLogins" EntityType="PersonalLaundryModel.OperatorLogin" />
          <EntitySet Name="OperatorRoles" EntityType="PersonalLaundryModel.OperatorRole" />
          <EntitySet Name="Workloads" EntityType="PersonalLaundryModel.Workload" />
          <EntitySet Name="WorkloadStatuses" EntityType="PersonalLaundryModel.WorkloadStatus" />
          <EntitySet Name="WorkloadTypes" EntityType="PersonalLaundryModel.WorkloadType" />
          <EntitySet Name="vwCustomerBagsWaitingCountings" EntityType="PersonalLaundryModel.vwCustomerBagsWaitingCounting" />
          <EntitySet Name="vwWorkloadStatusReports" EntityType="PersonalLaundryModel.vwWorkloadStatusReport" />
          <AssociationSet Name="FK_Customers_BillingProfiles" Association="PersonalLaundryModel.FK_Customers_BillingProfiles">
            <End Role="BillingProfile" EntitySet="BillingProfiles" />
            <End Role="Customer" EntitySet="Customers" />
          </AssociationSet>
          <AssociationSet Name="FK_CustomerInventory_Customer" Association="PersonalLaundryModel.FK_CustomerInventory_Customer">
            <End Role="Customer" EntitySet="Customers" />
            <End Role="CustomerInventory" EntitySet="CustomerInventories" />
          </AssociationSet>
          <AssociationSet Name="FK_CustomerInventory_InventoryItemTypes" Association="PersonalLaundryModel.FK_CustomerInventory_InventoryItemTypes">
            <End Role="InventoryItemType" EntitySet="InventoryItemTypes" />
            <End Role="CustomerInventory" EntitySet="CustomerInventories" />
          </AssociationSet>
          <AssociationSet Name="FK_CustomerInventory_OperatorLogins" Association="PersonalLaundryModel.FK_CustomerInventory_OperatorLogins">
            <End Role="OperatorLogin" EntitySet="OperatorLogins" />
            <End Role="CustomerInventory" EntitySet="CustomerInventories" />
          </AssociationSet>
          <AssociationSet Name="FK_CustomerLogins_Customers" Association="PersonalLaundryModel.FK_CustomerLogins_Customers">
            <End Role="Customer" EntitySet="Customers" />
            <End Role="CustomerLogin" EntitySet="CustomerLogins" />
          </AssociationSet>
          <AssociationSet Name="FK_WorkloadBags_CustomerLogins" Association="PersonalLaundryModel.FK_WorkloadBags_CustomerLogins">
            <End Role="CustomerLogin" EntitySet="CustomerLogins" />
            <End Role="CustomerWorkloadBag" EntitySet="CustomerWorkloadBags" />
          </AssociationSet>
          <AssociationSet Name="FK_Workloads_CustomerLogins" Association="PersonalLaundryModel.FK_Workloads_CustomerLogins">
            <End Role="CustomerLogin" EntitySet="CustomerLogins" />
            <End Role="Workload" EntitySet="Workloads" />
          </AssociationSet>
          <AssociationSet Name="FK_Customers_OperatorLogins" Association="PersonalLaundryModel.FK_Customers_OperatorLogins">
            <End Role="OperatorLogin" EntitySet="OperatorLogins" />
            <End Role="Customer" EntitySet="Customers" />
          </AssociationSet>
          <AssociationSet Name="FK_InventoryItems_Customers" Association="PersonalLaundryModel.FK_InventoryItems_Customers">
            <End Role="Customer" EntitySet="Customers" />
            <End Role="InventoryItem" EntitySet="InventoryItems" />
          </AssociationSet>
          <AssociationSet Name="FK_Workloads_Customers" Association="PersonalLaundryModel.FK_Workloads_Customers">
            <End Role="Customer" EntitySet="Customers" />
            <End Role="Workload" EntitySet="Workloads" />
          </AssociationSet>
          <AssociationSet Name="FK_WorkloadBags_Workloads" Association="PersonalLaundryModel.FK_WorkloadBags_Workloads">
            <End Role="Workload" EntitySet="Workloads" />
            <End Role="CustomerWorkloadBag" EntitySet="CustomerWorkloadBags" />
          </AssociationSet>
          <AssociationSet Name="FK_InventoryItems_InventoryItemTypes" Association="PersonalLaundryModel.FK_InventoryItems_InventoryItemTypes">
            <End Role="InventoryItemType" EntitySet="InventoryItemTypes" />
            <End Role="InventoryItem" EntitySet="InventoryItems" />
          </AssociationSet>
          <AssociationSet Name="FK_InventoryItemTypes_InventoryItemTypeCategories" Association="PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeCategories">
            <End Role="InventoryItemTypeCategory" EntitySet="InventoryItemTypeCategories" />
            <End Role="InventoryItemType" EntitySet="InventoryItemTypes" />
          </AssociationSet>
          <AssociationSet Name="FK_InventoryItemTypes_InventoryItemTypeSize" Association="PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeSize">
            <End Role="InventoryItemTypeSize" EntitySet="InventoryItemTypeSizes" />
            <End Role="InventoryItemType" EntitySet="InventoryItemTypes" />
          </AssociationSet>
          <AssociationSet Name="FK_OperatorLogins_OperatorRoles" Association="PersonalLaundryModel.FK_OperatorLogins_OperatorRoles">
            <End Role="OperatorRole" EntitySet="OperatorRoles" />
            <End Role="OperatorLogin" EntitySet="OperatorLogins" />
          </AssociationSet>
          <AssociationSet Name="FK_Workloads_OperatorLogins" Association="PersonalLaundryModel.FK_Workloads_OperatorLogins">
            <End Role="OperatorLogin" EntitySet="OperatorLogins" />
            <End Role="Workload" EntitySet="Workloads" />
          </AssociationSet>
          <AssociationSet Name="FK_Workloads_WorkloadStatus" Association="PersonalLaundryModel.FK_Workloads_WorkloadStatus">
            <End Role="WorkloadStatu" EntitySet="WorkloadStatuses" />
            <End Role="Workload" EntitySet="Workloads" />
          </AssociationSet>
          <AssociationSet Name="FK_Workloads_WorkloadTypes" Association="PersonalLaundryModel.FK_Workloads_WorkloadTypes">
            <End Role="WorkloadType" EntitySet="WorkloadTypes" />
            <End Role="Workload" EntitySet="Workloads" />
          </AssociationSet>
          <FunctionImport Name="AcceptCustomerBag" EntitySet="CustomerWorkloadBags" ReturnType="Collection(PersonalLaundryModel.CustomerWorkloadBag)">
            <Parameter Name="CustomerId" Mode="In" Type="Int32" />
            <Parameter Name="UniqueReference" Mode="In" Type="String" />
            <Parameter Name="OperatorLoginId" Mode="In" Type="Int32" />
          </FunctionImport>
          <EntitySet Name="vwWorkloadCategoryTypeCounts" EntityType="PersonalLaundryModel.vwWorkloadCategoryTypeCount" />
          <EntitySet Name="vwInventoryItemTypes" EntityType="PersonalLaundryModel.vwInventoryItemType" />
          <EntitySet Name="InvoiceItems" EntityType="PersonalLaundryModel.InvoiceItem" />
          <EntitySet Name="Invoices" EntityType="PersonalLaundryModel.Invoice" />
          <EntitySet Name="InvoiceStatuses" EntityType="PersonalLaundryModel.InvoiceStatus" />
          <AssociationSet Name="FK_Invoices_Customers" Association="PersonalLaundryModel.FK_Invoices_Customers">
            <End Role="Customer" EntitySet="Customers" />
            <End Role="Invoice" EntitySet="Invoices" />
          </AssociationSet>
          <AssociationSet Name="FK_InvoiceItems_InventoryItemTypes" Association="PersonalLaundryModel.FK_InvoiceItems_InventoryItemTypes">
            <End Role="InventoryItemType" EntitySet="InventoryItemTypes" />
            <End Role="InvoiceItem" EntitySet="InvoiceItems" />
          </AssociationSet>
          <AssociationSet Name="FK_InvoiceItems_Invoices" Association="PersonalLaundryModel.FK_InvoiceItems_Invoices">
            <End Role="Invoice" EntitySet="Invoices" />
            <End Role="InvoiceItem" EntitySet="InvoiceItems" />
          </AssociationSet>
          <AssociationSet Name="FK_InvoiceItems_OperatorLogins" Association="PersonalLaundryModel.FK_InvoiceItems_OperatorLogins">
            <End Role="OperatorLogin" EntitySet="OperatorLogins" />
            <End Role="InvoiceItem" EntitySet="InvoiceItems" />
          </AssociationSet>
          <AssociationSet Name="FK_Invoices_InvoiceStatus" Association="PersonalLaundryModel.FK_Invoices_InvoiceStatus">
            <End Role="InvoiceStatu" EntitySet="InvoiceStatuses" />
            <End Role="Invoice" EntitySet="Invoices" />
          </AssociationSet>
          <AssociationSet Name="FK_Invoices_OperatorLogins" Association="PersonalLaundryModel.FK_Invoices_OperatorLogins">
            <End Role="OperatorLogin" EntitySet="OperatorLogins" />
            <End Role="Invoice" EntitySet="Invoices" />
          </AssociationSet>
          <AssociationSet Name="FK_Invoices_Workloads" Association="PersonalLaundryModel.FK_Invoices_Workloads">
            <End Role="Workload" EntitySet="Workloads" />
            <End Role="Invoice" EntitySet="Invoices" />
          </AssociationSet>
          <FunctionImport Name="GenerateInvoiceFromWorkloadCounts" EntitySet="Invoices" ReturnType="Collection(PersonalLaundryModel.Invoice)">
            <Parameter Name="WorkloadId" Mode="In" Type="Int32" />
            <Parameter Name="OperatorLoginId" Mode="In" Type="Int32" />
          </FunctionImport>
          <FunctionImport Name="UpdateInvoiceItemCount" EntitySet="InvoiceItems" ReturnType="Collection(PersonalLaundryModel.InvoiceItem)">
            <Parameter Name="InvoiceId" Mode="In" Type="Int32" />
            <Parameter Name="InventoryItemTypeId" Mode="In" Type="Int32" />
            <Parameter Name="Count" Mode="In" Type="Int32" />
            <Parameter Name="OperatorLoginId" Mode="In" Type="Int32" />
          </FunctionImport>
          <FunctionImport Name="FinishCounting" EntitySet="Invoices" ReturnType="Collection(PersonalLaundryModel.Invoice)">
            <Parameter Name="WorkloadId" Mode="In" Type="Int32" />
            <Parameter Name="OperatorLoginId" Mode="In" Type="Int32" />
          </FunctionImport>
          <EntitySet Name="Settings" EntityType="PersonalLaundryModel.Setting" />
          <FunctionImport Name="GetInvoiceForPrinter" ReturnType="Collection(PersonalLaundryModel.GetInvoiceForPrinter_Result)">
          <Parameter Name="InvoiceId" Mode="In" Type="Int32" />
          </FunctionImport>
          <EntitySet Name="CustomerInventoryForWorkloads" EntityType="PersonalLaundryModel.CustomerInventoryForWorkload" />
          <EntitySet Name="CustomerInventoryForWorkloadCloseds" EntityType="PersonalLaundryModel.CustomerInventoryForWorkloadClosed" />
          <EntitySet Name="Dispatches" EntityType="PersonalLaundryModel.Dispatch" />
          <EntitySet Name="DispatchItems" EntityType="PersonalLaundryModel.DispatchItem" />
          <EntitySet Name="DispatchStatus" EntityType="PersonalLaundryModel.DispatchStatu" />
          <AssociationSet Name="FK_Dispatches_DispatchStatus" Association="PersonalLaundryModel.FK_Dispatches_DispatchStatus">
            <End Role="DispatchStatu" EntitySet="DispatchStatus" />
            <End Role="Dispatch" EntitySet="Dispatches" />
          </AssociationSet>
          <AssociationSet Name="FK_Dispatches_Invoices" Association="PersonalLaundryModel.FK_Dispatches_Invoices">
            <End Role="Invoice" EntitySet="Invoices" />
            <End Role="Dispatch" EntitySet="Dispatches" />
          </AssociationSet>
          <AssociationSet Name="FK_Dispatches_OperatorLogins" Association="PersonalLaundryModel.FK_Dispatches_OperatorLogins">
            <End Role="OperatorLogin" EntitySet="OperatorLogins" />
            <End Role="Dispatch" EntitySet="Dispatches" />
          </AssociationSet>
          <AssociationSet Name="FK_DispatchItems_Dispatches" Association="PersonalLaundryModel.FK_DispatchItems_Dispatches">
            <End Role="Dispatch" EntitySet="Dispatches" />
            <End Role="DispatchItem" EntitySet="DispatchItems" />
          </AssociationSet>
          <AssociationSet Name="FK_DispatchItems_InvoiceItems" Association="PersonalLaundryModel.FK_DispatchItems_InvoiceItems">
            <End Role="InvoiceItem" EntitySet="InvoiceItems" />
            <End Role="DispatchItem" EntitySet="DispatchItems" />
          </AssociationSet>
          <FunctionImport Name="DispatchItem" EntitySet="Dispatches" ReturnType="Collection(PersonalLaundryModel.Dispatch)">
            <Parameter Name="InvoiceItemId" Mode="In" Type="Int32" />
            <Parameter Name="Count" Mode="In" Type="Int32" />
            <Parameter Name="OperatorLoginId" Mode="In" Type="Int32" />
          </FunctionImport>
          <EntitySet Name="WorkloadItems" EntityType="PersonalLaundryModel.WorkloadItem" />
          <AssociationSet Name="FK_WorkloadItems_CustomerInventory" Association="PersonalLaundryModel.FK_WorkloadItems_CustomerInventory">
            <End Role="CustomerInventory" EntitySet="CustomerInventories" />
            <End Role="WorkloadItem" EntitySet="WorkloadItems" />
          </AssociationSet>
          <AssociationSet Name="FK_WorkloadItems_CustomerLogins" Association="PersonalLaundryModel.FK_WorkloadItems_CustomerLogins">
            <End Role="CustomerLogin" EntitySet="CustomerLogins" />
            <End Role="WorkloadItem" EntitySet="WorkloadItems" />
          </AssociationSet>
          <AssociationSet Name="FK_WorkloadItems_OperatorLogins" Association="PersonalLaundryModel.FK_WorkloadItems_OperatorLogins">
            <End Role="OperatorLogin" EntitySet="OperatorLogins" />
            <End Role="WorkloadItem" EntitySet="WorkloadItems" />
          </AssociationSet>
          <AssociationSet Name="FK_WorkloadItems_Workloads" Association="PersonalLaundryModel.FK_WorkloadItems_Workloads">
            <End Role="Workload" EntitySet="Workloads" />
            <End Role="WorkloadItem" EntitySet="WorkloadItems" />
          </AssociationSet>
          <FunctionImport Name="UpdateWorkloadItem" EntitySet="WorkloadItems" ReturnType="Collection(PersonalLaundryModel.WorkloadItem)">
            <Parameter Name="WorkloadId" Mode="In" Type="Int32" />
            <Parameter Name="CustomerInventoryId" Mode="In" Type="Int32" />
            <Parameter Name="Count" Mode="In" Type="Int32" />
            <Parameter Name="CustomerLoginId" Mode="In" Type="Int32" />
            <Parameter Name="OperatorLoginId" Mode="In" Type="Int32" />
          </FunctionImport>
          </EntityContainer>
        <ComplexType Name="GetCustomerInventory_Result">
          <Property Type="Int32" Name="InventoryItemTypeId" Nullable="false" />
          <Property Type="String" Name="Category" Nullable="false" MaxLength="50" />
          <Property Type="String" Name="ItemType" Nullable="false" MaxLength="100" />
          <Property Type="String" Name="Size" Nullable="false" MaxLength="50" />
          <Property Type="Int32" Name="CostGeneralWash" Nullable="true" />
          <Property Type="Int32" Name="CostRepeatWash" Nullable="true" />
          <Property Type="Int32" Name="CostStainWash" Nullable="true" />
        </ComplexType>
        <EntityType Name="BillingProfile">
          <Key>
            <PropertyRef Name="BillingProfileId" />
          </Key>
          <Property Type="Int32" Name="BillingProfileId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="String" Name="ProfileName" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="Boolean" Name="IncludeRewashInInvoice" Nullable="false" />
          <NavigationProperty Name="Customers" Relationship="PersonalLaundryModel.FK_Customers_BillingProfiles" FromRole="BillingProfile" ToRole="Customer" />
        </EntityType>
        <EntityType Name="CustomerInventory">
          <Key>
            <PropertyRef Name="CustomerInventoryId" />
          </Key>
          <Property Type="Int32" Name="CustomerInventoryId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="Int32" Name="CustomerId" Nullable="false" />
          <Property Type="Int32" Name="InventoryItemTypeId" Nullable="false" />
          <Property Type="Int32" Name="OperatorLoginId" Nullable="false" />
          <Property Type="DateTime" Name="TimeStamp" Nullable="false" />
          <Property Type="Int32" Name="CostGeneralWash" Nullable="false" />
          <Property Type="Int32" Name="CostRepeatWash" Nullable="false" />
          <Property Type="Int32" Name="CostStainWash" Nullable="false" />
          <NavigationProperty Name="Customer" Relationship="PersonalLaundryModel.FK_CustomerInventory_Customer" FromRole="CustomerInventory" ToRole="Customer" />
          <NavigationProperty Name="InventoryItemType" Relationship="PersonalLaundryModel.FK_CustomerInventory_InventoryItemTypes" FromRole="CustomerInventory" ToRole="InventoryItemType" />
          <NavigationProperty Name="OperatorLogin" Relationship="PersonalLaundryModel.FK_CustomerInventory_OperatorLogins" FromRole="CustomerInventory" ToRole="OperatorLogin" />
          <NavigationProperty Name="WorkloadItems" Relationship="PersonalLaundryModel.FK_WorkloadItems_CustomerInventory" FromRole="CustomerInventory" ToRole="WorkloadItem" />
        </EntityType>
        <EntityType Name="CustomerLogin">
          <Key>
            <PropertyRef Name="CustomerLoginId" />
          </Key>
          <Property Type="Int32" Name="CustomerLoginId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="Guid" Name="GUID" Nullable="false" />
          <Property Type="Int32" Name="CustomerId" Nullable="false" />
          <Property Type="String" Name="EmailAddress" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="Password" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="Boolean" Name="IsActive" Nullable="false" />
          <Property Type="Boolean" Name="IsLockedOut" Nullable="false" />
          <NavigationProperty Name="Customer" Relationship="PersonalLaundryModel.FK_CustomerLogins_Customers" FromRole="CustomerLogin" ToRole="Customer" />
          <NavigationProperty Name="CustomerWorkloadBags" Relationship="PersonalLaundryModel.FK_WorkloadBags_CustomerLogins" FromRole="CustomerLogin" ToRole="CustomerWorkloadBag" />
          <NavigationProperty Name="Workloads" Relationship="PersonalLaundryModel.FK_Workloads_CustomerLogins" FromRole="CustomerLogin" ToRole="Workload" />
          <NavigationProperty Name="WorkloadItems" Relationship="PersonalLaundryModel.FK_WorkloadItems_CustomerLogins" FromRole="CustomerLogin" ToRole="WorkloadItem" />
        </EntityType>
        <EntityType Name="Customer">
          <Key>
            <PropertyRef Name="CustomerId" />
          </Key>
          <Property Type="Int32" Name="CustomerId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="String" Name="Name" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
          <Property Type="Int32" Name="BillingProfileId" Nullable="false" />
          <Property Type="Int32" Name="OperatorLoginId" Nullable="false" />
          <Property Type="String" Name="EmailAddress" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="ContactName" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="AddressLine1" MaxLength="100" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="AddressLine2" MaxLength="100" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="AddressCity" MaxLength="100" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="AddressPostCode" MaxLength="100" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="VATNumber" MaxLength="50" FixedLength="false" Unicode="true" />
          <NavigationProperty Name="BillingProfile" Relationship="PersonalLaundryModel.FK_Customers_BillingProfiles" FromRole="Customer" ToRole="BillingProfile" />
          <NavigationProperty Name="CustomerInventories" Relationship="PersonalLaundryModel.FK_CustomerInventory_Customer" FromRole="Customer" ToRole="CustomerInventory" />
          <NavigationProperty Name="CustomerLogins" Relationship="PersonalLaundryModel.FK_CustomerLogins_Customers" FromRole="Customer" ToRole="CustomerLogin" />
          <NavigationProperty Name="OperatorLogin" Relationship="PersonalLaundryModel.FK_Customers_OperatorLogins" FromRole="Customer" ToRole="OperatorLogin" />
          <NavigationProperty Name="InventoryItems" Relationship="PersonalLaundryModel.FK_InventoryItems_Customers" FromRole="Customer" ToRole="InventoryItem" />
          <NavigationProperty Name="Workloads" Relationship="PersonalLaundryModel.FK_Workloads_Customers" FromRole="Customer" ToRole="Workload" />
          <NavigationProperty Name="Invoices" Relationship="PersonalLaundryModel.FK_Invoices_Customers" FromRole="Customer" ToRole="Invoice" />
        </EntityType>
        <EntityType Name="CustomerWorkloadBag">
          <Key>
            <PropertyRef Name="WorkloadBagId" />
          </Key>
          <Property Type="Int32" Name="WorkloadBagId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="Int32" Name="WorkloadId" Nullable="false" />
          <Property Type="String" Name="UniqueReference" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="DateTime" Name="TimeStamp" Nullable="false" />
          <Property Type="Int32" Name="CustomerLoginId" Nullable="false" />
          <NavigationProperty Name="CustomerLogin" Relationship="PersonalLaundryModel.FK_WorkloadBags_CustomerLogins" FromRole="CustomerWorkloadBag" ToRole="CustomerLogin" />
          <NavigationProperty Name="Workload" Relationship="PersonalLaundryModel.FK_WorkloadBags_Workloads" FromRole="CustomerWorkloadBag" ToRole="Workload" />
          <Property Type="DateTime" Name="TimeReceived" Nullable="false" />
          <Property Type="Int32" Name="OperatorLoginId" Nullable="false" />
        </EntityType>
        <EntityType Name="InventoryItem">
          <Key>
            <PropertyRef Name="InventoryItemId" />
          </Key>
          <Property Type="Int32" Name="InventoryItemId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="Int32" Name="InventoryItemTypeId" Nullable="false" />
          <Property Type="Int32" Name="CustomerId" Nullable="false" />
          <Property Type="Int32" Name="UniqueId" Nullable="false" />
          <NavigationProperty Name="Customer" Relationship="PersonalLaundryModel.FK_InventoryItems_Customers" FromRole="InventoryItem" ToRole="Customer" />
          <NavigationProperty Name="InventoryItemType" Relationship="PersonalLaundryModel.FK_InventoryItems_InventoryItemTypes" FromRole="InventoryItem" ToRole="InventoryItemType" />
        </EntityType>
        <EntityType Name="InventoryItemTypeCategory">
          <Key>
            <PropertyRef Name="InventoryItemTypeCategoryId" />
          </Key>
          <Property Type="Int32" Name="InventoryItemTypeCategoryId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="String" Name="Category" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="Int32" Name="OrderPriority" Nullable="false" />
          <NavigationProperty Name="InventoryItemTypes" Relationship="PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeCategories" FromRole="InventoryItemTypeCategory" ToRole="InventoryItemType" />
        </EntityType>
        <EntityType Name="InventoryItemType">
          <Key>
            <PropertyRef Name="InventoryItemTypeId" />
          </Key>
          <Property Type="Int32" Name="InventoryItemTypeId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="Int32" Name="InventoryItemTypeCategoryId" Nullable="false" />
          <Property Type="Int32" Name="InventoryItemTypeSizeId" Nullable="false" />
          <Property Type="String" Name="ItemType" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
          <NavigationProperty Name="CustomerInventories" Relationship="PersonalLaundryModel.FK_CustomerInventory_InventoryItemTypes" FromRole="InventoryItemType" ToRole="CustomerInventory" />
          <NavigationProperty Name="InventoryItems" Relationship="PersonalLaundryModel.FK_InventoryItems_InventoryItemTypes" FromRole="InventoryItemType" ToRole="InventoryItem" />
          <NavigationProperty Name="InventoryItemTypeCategory" Relationship="PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeCategories" FromRole="InventoryItemType" ToRole="InventoryItemTypeCategory" />
          <NavigationProperty Name="InventoryItemTypeSize" Relationship="PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeSize" FromRole="InventoryItemType" ToRole="InventoryItemTypeSize" />
          <NavigationProperty Name="InvoiceItems" Relationship="PersonalLaundryModel.FK_InvoiceItems_InventoryItemTypes" FromRole="InventoryItemType" ToRole="InvoiceItem" />
        </EntityType>
        <EntityType Name="InventoryItemTypeSize">
          <Key>
            <PropertyRef Name="InventoryItemTypeSizeId" />
          </Key>
          <Property Type="Int32" Name="InventoryItemTypeSizeId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="String" Name="Size" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="Int32" Name="OrderPriority" Nullable="false" />
          <NavigationProperty Name="InventoryItemTypes" Relationship="PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeSize" FromRole="InventoryItemTypeSize" ToRole="InventoryItemType" />
        </EntityType>
        <EntityType Name="OperatorLogin">
          <Key>
            <PropertyRef Name="OperatorLoginId" />
          </Key>
          <Property Type="Int32" Name="OperatorLoginId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="String" Name="Username" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="Password" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="Int32" Name="OperatorRoleId" Nullable="false" />
          <NavigationProperty Name="CustomerInventories" Relationship="PersonalLaundryModel.FK_CustomerInventory_OperatorLogins" FromRole="OperatorLogin" ToRole="CustomerInventory" />
          <NavigationProperty Name="Customers" Relationship="PersonalLaundryModel.FK_Customers_OperatorLogins" FromRole="OperatorLogin" ToRole="Customer" />
          <NavigationProperty Name="OperatorRole" Relationship="PersonalLaundryModel.FK_OperatorLogins_OperatorRoles" FromRole="OperatorLogin" ToRole="OperatorRole" />
          <NavigationProperty Name="Workloads" Relationship="PersonalLaundryModel.FK_Workloads_OperatorLogins" FromRole="OperatorLogin" ToRole="Workload" />
          <NavigationProperty Name="InvoiceItems" Relationship="PersonalLaundryModel.FK_InvoiceItems_OperatorLogins" FromRole="OperatorLogin" ToRole="InvoiceItem" />
          <NavigationProperty Name="Invoices" Relationship="PersonalLaundryModel.FK_Invoices_OperatorLogins" FromRole="OperatorLogin" ToRole="Invoice" />
          <NavigationProperty Name="Dispatches" Relationship="PersonalLaundryModel.FK_Dispatches_OperatorLogins" FromRole="OperatorLogin" ToRole="Dispatch" />
          <NavigationProperty Name="WorkloadItems" Relationship="PersonalLaundryModel.FK_WorkloadItems_OperatorLogins" FromRole="OperatorLogin" ToRole="WorkloadItem" />
        </EntityType>
        <EntityType Name="OperatorRole">
          <Key>
            <PropertyRef Name="OperatorRoleId" />
          </Key>
          <Property Type="Int32" Name="OperatorRoleId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="String" Name="RoleName" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="Boolean" Name="CanLogin" Nullable="false" />
          <NavigationProperty Name="OperatorLogins" Relationship="PersonalLaundryModel.FK_OperatorLogins_OperatorRoles" FromRole="OperatorRole" ToRole="OperatorLogin" />
        </EntityType>
        <EntityType Name="Workload">
          <Key>
            <PropertyRef Name="WorkloadId" />
          </Key>
          <Property Type="Int32" Name="WorkloadId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="Int32" Name="CustomerId" Nullable="false" />
          <Property Type="Int32" Name="CustomerLoginId" Nullable="false" />
          <Property Type="DateTime" Name="DateCreated" Nullable="false" />
          <Property Type="Int32" Name="WorkloadStatusId" Nullable="false" />
          <Property Type="Int32" Name="OperatorLoginId" Nullable="false" />
          <Property Type="Int32" Name="WorkloadTypeId" Nullable="false" />
          <NavigationProperty Name="CustomerLogin" Relationship="PersonalLaundryModel.FK_Workloads_CustomerLogins" FromRole="Workload" ToRole="CustomerLogin" />
          <NavigationProperty Name="Customer" Relationship="PersonalLaundryModel.FK_Workloads_Customers" FromRole="Workload" ToRole="Customer" />
          <NavigationProperty Name="CustomerWorkloadBags" Relationship="PersonalLaundryModel.FK_WorkloadBags_Workloads" FromRole="Workload" ToRole="CustomerWorkloadBag" />
          <NavigationProperty Name="OperatorLogin" Relationship="PersonalLaundryModel.FK_Workloads_OperatorLogins" FromRole="Workload" ToRole="OperatorLogin" />
          <NavigationProperty Name="WorkloadStatus" Relationship="PersonalLaundryModel.FK_Workloads_WorkloadStatus" FromRole="Workload" ToRole="WorkloadStatu" />
          <NavigationProperty Name="WorkloadType" Relationship="PersonalLaundryModel.FK_Workloads_WorkloadTypes" FromRole="Workload" ToRole="WorkloadType" />
          <NavigationProperty Name="Invoices" Relationship="PersonalLaundryModel.FK_Invoices_Workloads" FromRole="Workload" ToRole="Invoice" />
          <NavigationProperty Name="WorkloadItems" Relationship="PersonalLaundryModel.FK_WorkloadItems_Workloads" FromRole="Workload" ToRole="WorkloadItem" />
        </EntityType>
        <EntityType Name="WorkloadStatus">
          <Key>
            <PropertyRef Name="WorkloadStatusId" />
          </Key>
          <Property Type="Int32" Name="WorkloadStatusId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="String" Name="Status" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <NavigationProperty Name="Workloads" Relationship="PersonalLaundryModel.FK_Workloads_WorkloadStatus" FromRole="WorkloadStatu" ToRole="Workload" />
        </EntityType>
        <EntityType Name="WorkloadType">
          <Key>
            <PropertyRef Name="WorkloadTypeId" />
          </Key>
          <Property Type="Int32" Name="WorkloadTypeId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="String" Name="Type" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="Boolean" Name="CanStartCycle" Nullable="false" />
          <NavigationProperty Name="Workloads" Relationship="PersonalLaundryModel.FK_Workloads_WorkloadTypes" FromRole="WorkloadType" ToRole="Workload" />
        </EntityType>
        <EntityType Name="vwCustomerBagsWaitingCounting">
          <Key>
            <PropertyRef Name="CustomerId" />
            <PropertyRef Name="Name" />
          </Key>
          <Property Type="Int32" Name="CustomerId" Nullable="false" />
          <Property Type="String" Name="Name" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
          <Property Type="Int32" Name="BagCount" />
        </EntityType>
        <EntityType Name="vwWorkloadStatusReport">
          <Key>
            <PropertyRef Name="WorkloadStatusId" />
            <PropertyRef Name="Status" />
          </Key>
          <Property Type="Int32" Name="WorkloadStatusId" Nullable="false" />
          <Property Type="String" Name="Status" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="Int32" Name="Customers" />
          <Property Type="Int32" Name="TotalItems" />
        </EntityType>
        <Association Name="FK_Customers_BillingProfiles">
          <End Type="PersonalLaundryModel.BillingProfile" Role="BillingProfile" Multiplicity="1" />
          <End Type="PersonalLaundryModel.Customer" Role="Customer" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="BillingProfile">
              <PropertyRef Name="BillingProfileId" />
            </Principal>
            <Dependent Role="Customer">
              <PropertyRef Name="BillingProfileId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_CustomerInventory_Customer">
          <End Type="PersonalLaundryModel.Customer" Role="Customer" Multiplicity="1" />
          <End Type="PersonalLaundryModel.CustomerInventory" Role="CustomerInventory" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Customer">
              <PropertyRef Name="CustomerId" />
            </Principal>
            <Dependent Role="CustomerInventory">
              <PropertyRef Name="CustomerId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_CustomerInventory_InventoryItemTypes">
          <End Type="PersonalLaundryModel.InventoryItemType" Role="InventoryItemType" Multiplicity="1" />
          <End Type="PersonalLaundryModel.CustomerInventory" Role="CustomerInventory" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="InventoryItemType">
              <PropertyRef Name="InventoryItemTypeId" />
            </Principal>
            <Dependent Role="CustomerInventory">
              <PropertyRef Name="InventoryItemTypeId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_CustomerInventory_OperatorLogins">
          <End Type="PersonalLaundryModel.OperatorLogin" Role="OperatorLogin" Multiplicity="1" />
          <End Type="PersonalLaundryModel.CustomerInventory" Role="CustomerInventory" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorLogin">
              <PropertyRef Name="OperatorLoginId" />
            </Principal>
            <Dependent Role="CustomerInventory">
              <PropertyRef Name="OperatorLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_CustomerLogins_Customers">
          <End Type="PersonalLaundryModel.Customer" Role="Customer" Multiplicity="1" />
          <End Type="PersonalLaundryModel.CustomerLogin" Role="CustomerLogin" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Customer">
              <PropertyRef Name="CustomerId" />
            </Principal>
            <Dependent Role="CustomerLogin">
              <PropertyRef Name="CustomerId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_WorkloadBags_CustomerLogins">
          <End Type="PersonalLaundryModel.CustomerLogin" Role="CustomerLogin" Multiplicity="1" />
          <End Type="PersonalLaundryModel.CustomerWorkloadBag" Role="CustomerWorkloadBag" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="CustomerLogin">
              <PropertyRef Name="CustomerLoginId" />
            </Principal>
            <Dependent Role="CustomerWorkloadBag">
              <PropertyRef Name="CustomerLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Workloads_CustomerLogins">
          <End Type="PersonalLaundryModel.CustomerLogin" Role="CustomerLogin" Multiplicity="1" />
          <End Type="PersonalLaundryModel.Workload" Role="Workload" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="CustomerLogin">
              <PropertyRef Name="CustomerLoginId" />
            </Principal>
            <Dependent Role="Workload">
              <PropertyRef Name="CustomerLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Customers_OperatorLogins">
          <End Type="PersonalLaundryModel.OperatorLogin" Role="OperatorLogin" Multiplicity="1" />
          <End Type="PersonalLaundryModel.Customer" Role="Customer" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorLogin">
              <PropertyRef Name="OperatorLoginId" />
            </Principal>
            <Dependent Role="Customer">
              <PropertyRef Name="OperatorLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_InventoryItems_Customers">
          <End Type="PersonalLaundryModel.Customer" Role="Customer" Multiplicity="1" />
          <End Type="PersonalLaundryModel.InventoryItem" Role="InventoryItem" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Customer">
              <PropertyRef Name="CustomerId" />
            </Principal>
            <Dependent Role="InventoryItem">
              <PropertyRef Name="CustomerId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Workloads_Customers">
          <End Type="PersonalLaundryModel.Customer" Role="Customer" Multiplicity="1" />
          <End Type="PersonalLaundryModel.Workload" Role="Workload" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Customer">
              <PropertyRef Name="CustomerId" />
            </Principal>
            <Dependent Role="Workload">
              <PropertyRef Name="CustomerId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_WorkloadBags_Workloads">
          <End Type="PersonalLaundryModel.Workload" Role="Workload" Multiplicity="1" />
          <End Type="PersonalLaundryModel.CustomerWorkloadBag" Role="CustomerWorkloadBag" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Workload">
              <PropertyRef Name="WorkloadId" />
            </Principal>
            <Dependent Role="CustomerWorkloadBag">
              <PropertyRef Name="WorkloadId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_InventoryItems_InventoryItemTypes">
          <End Type="PersonalLaundryModel.InventoryItemType" Role="InventoryItemType" Multiplicity="1" />
          <End Type="PersonalLaundryModel.InventoryItem" Role="InventoryItem" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="InventoryItemType">
              <PropertyRef Name="InventoryItemTypeId" />
            </Principal>
            <Dependent Role="InventoryItem">
              <PropertyRef Name="InventoryItemTypeId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_InventoryItemTypes_InventoryItemTypeCategories">
          <End Type="PersonalLaundryModel.InventoryItemTypeCategory" Role="InventoryItemTypeCategory" Multiplicity="1" />
          <End Type="PersonalLaundryModel.InventoryItemType" Role="InventoryItemType" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="InventoryItemTypeCategory">
              <PropertyRef Name="InventoryItemTypeCategoryId" />
            </Principal>
            <Dependent Role="InventoryItemType">
              <PropertyRef Name="InventoryItemTypeCategoryId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_InventoryItemTypes_InventoryItemTypeSize">
          <End Type="PersonalLaundryModel.InventoryItemTypeSize" Role="InventoryItemTypeSize" Multiplicity="1" />
          <End Type="PersonalLaundryModel.InventoryItemType" Role="InventoryItemType" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="InventoryItemTypeSize">
              <PropertyRef Name="InventoryItemTypeSizeId" />
            </Principal>
            <Dependent Role="InventoryItemType">
              <PropertyRef Name="InventoryItemTypeSizeId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_OperatorLogins_OperatorRoles">
          <End Type="PersonalLaundryModel.OperatorRole" Role="OperatorRole" Multiplicity="1" />
          <End Type="PersonalLaundryModel.OperatorLogin" Role="OperatorLogin" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorRole">
              <PropertyRef Name="OperatorRoleId" />
            </Principal>
            <Dependent Role="OperatorLogin">
              <PropertyRef Name="OperatorRoleId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Workloads_OperatorLogins">
          <End Type="PersonalLaundryModel.OperatorLogin" Role="OperatorLogin" Multiplicity="1" />
          <End Type="PersonalLaundryModel.Workload" Role="Workload" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorLogin">
              <PropertyRef Name="OperatorLoginId" />
            </Principal>
            <Dependent Role="Workload">
              <PropertyRef Name="OperatorLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Workloads_WorkloadStatus">
          <End Type="PersonalLaundryModel.WorkloadStatus" Role="WorkloadStatu" Multiplicity="1" />
          <End Type="PersonalLaundryModel.Workload" Role="Workload" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="WorkloadStatu">
              <PropertyRef Name="WorkloadStatusId" />
            </Principal>
            <Dependent Role="Workload">
              <PropertyRef Name="WorkloadStatusId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Workloads_WorkloadTypes">
          <End Type="PersonalLaundryModel.WorkloadType" Role="WorkloadType" Multiplicity="1" />
          <End Type="PersonalLaundryModel.Workload" Role="Workload" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="WorkloadType">
              <PropertyRef Name="WorkloadTypeId" />
            </Principal>
            <Dependent Role="Workload">
              <PropertyRef Name="WorkloadTypeId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <EntityType Name="vwWorkloadCategoryTypeCount">
          <Key>
            <PropertyRef Name="WorkloadId" />
            <PropertyRef Name="Category" />
            <PropertyRef Name="ItemType" />
          </Key>
          <Property Type="Int32" Name="WorkloadId" Nullable="false" />
          <Property Type="String" Name="Category" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="ItemType" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
          <Property Type="Int32" Name="ItemCount" />
        </EntityType>
        <EntityType Name="vwInventoryItemType">
          <Key>
            <PropertyRef Name="Category" />
            <PropertyRef Name="ItemType" />
          </Key>
          <Property Type="String" Name="Category" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="ItemType" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
        </EntityType>
        <EntityType Name="InvoiceItem">
          <Key>
            <PropertyRef Name="InvoiceItemId" />
          </Key>
          <Property Type="Int32" Name="InvoiceItemId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="Int32" Name="InvoiceId" Nullable="false" />
          <Property Type="Int32" Name="InventoryItemTypeId" Nullable="false" />
          <Property Type="Int32" Name="Cost" />
          <Property Type="Int32" Name="OperatorLoginId" Nullable="false" />
          <NavigationProperty Name="InventoryItemType" Relationship="PersonalLaundryModel.FK_InvoiceItems_InventoryItemTypes" FromRole="InvoiceItem" ToRole="InventoryItemType" />
          <NavigationProperty Name="Invoice" Relationship="PersonalLaundryModel.FK_InvoiceItems_Invoices" FromRole="InvoiceItem" ToRole="Invoice" />
          <NavigationProperty Name="OperatorLogin" Relationship="PersonalLaundryModel.FK_InvoiceItems_OperatorLogins" FromRole="InvoiceItem" ToRole="OperatorLogin" />
          <NavigationProperty Name="DispatchItems" Relationship="PersonalLaundryModel.FK_DispatchItems_InvoiceItems" FromRole="InvoiceItem" ToRole="DispatchItem" />
          <Property Type="Int32" Name="ItemCount" Nullable="false" />
        </EntityType>
        <EntityType Name="Invoice">
          <Key>
            <PropertyRef Name="InvoiceId" />
          </Key>
          <Property Type="Int32" Name="InvoiceId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="Int32" Name="CustomerId" Nullable="false" />
          <Property Type="Int32" Name="WorkloadId" Nullable="false" />
          <Property Type="DateTime" Name="DateCreated" Nullable="false" />
          <Property Type="Int32" Name="OperatorLoginId" Nullable="false" />
          <Property Type="Int32" Name="InvoiceStatusId" Nullable="false" />
          <NavigationProperty Name="Customer" Relationship="PersonalLaundryModel.FK_Invoices_Customers" FromRole="Invoice" ToRole="Customer" />
          <NavigationProperty Name="InvoiceItems" Relationship="PersonalLaundryModel.FK_InvoiceItems_Invoices" FromRole="Invoice" ToRole="InvoiceItem" />
          <NavigationProperty Name="InvoiceStatu" Relationship="PersonalLaundryModel.FK_Invoices_InvoiceStatus" FromRole="Invoice" ToRole="InvoiceStatu" />
          <NavigationProperty Name="OperatorLogin" Relationship="PersonalLaundryModel.FK_Invoices_OperatorLogins" FromRole="Invoice" ToRole="OperatorLogin" />
          <NavigationProperty Name="Workload" Relationship="PersonalLaundryModel.FK_Invoices_Workloads" FromRole="Invoice" ToRole="Workload" />
          <NavigationProperty Name="Dispatches" Relationship="PersonalLaundryModel.FK_Dispatches_Invoices" FromRole="Invoice" ToRole="Dispatch" />
        </EntityType>
        <EntityType Name="InvoiceStatus">
          <Key>
            <PropertyRef Name="InvoiceStatusId" />
          </Key>
          <Property Type="Int32" Name="InvoiceStatusId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="String" Name="Status" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <NavigationProperty Name="Invoices" Relationship="PersonalLaundryModel.FK_Invoices_InvoiceStatus" FromRole="InvoiceStatu" ToRole="Invoice" />
        </EntityType>
        <Association Name="FK_Invoices_Customers">
          <End Type="PersonalLaundryModel.Customer" Role="Customer" Multiplicity="1" />
          <End Type="PersonalLaundryModel.Invoice" Role="Invoice" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Customer">
              <PropertyRef Name="CustomerId" />
            </Principal>
            <Dependent Role="Invoice">
              <PropertyRef Name="CustomerId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_InvoiceItems_InventoryItemTypes">
          <End Type="PersonalLaundryModel.InventoryItemType" Role="InventoryItemType" Multiplicity="1" />
          <End Type="PersonalLaundryModel.InvoiceItem" Role="InvoiceItem" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="InventoryItemType">
              <PropertyRef Name="InventoryItemTypeId" />
            </Principal>
            <Dependent Role="InvoiceItem">
              <PropertyRef Name="InventoryItemTypeId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_InvoiceItems_Invoices">
          <End Type="PersonalLaundryModel.Invoice" Role="Invoice" Multiplicity="1" />
          <End Type="PersonalLaundryModel.InvoiceItem" Role="InvoiceItem" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Invoice">
              <PropertyRef Name="InvoiceId" />
            </Principal>
            <Dependent Role="InvoiceItem">
              <PropertyRef Name="InvoiceId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_InvoiceItems_OperatorLogins">
          <End Type="PersonalLaundryModel.OperatorLogin" Role="OperatorLogin" Multiplicity="1" />
          <End Type="PersonalLaundryModel.InvoiceItem" Role="InvoiceItem" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorLogin">
              <PropertyRef Name="OperatorLoginId" />
            </Principal>
            <Dependent Role="InvoiceItem">
              <PropertyRef Name="OperatorLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Invoices_InvoiceStatus">
          <End Type="PersonalLaundryModel.InvoiceStatus" Role="InvoiceStatu" Multiplicity="1" />
          <End Type="PersonalLaundryModel.Invoice" Role="Invoice" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="InvoiceStatu">
              <PropertyRef Name="InvoiceStatusId" />
            </Principal>
            <Dependent Role="Invoice">
              <PropertyRef Name="InvoiceStatusId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Invoices_OperatorLogins">
          <End Type="PersonalLaundryModel.OperatorLogin" Role="OperatorLogin" Multiplicity="1" />
          <End Type="PersonalLaundryModel.Invoice" Role="Invoice" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorLogin">
              <PropertyRef Name="OperatorLoginId" />
            </Principal>
            <Dependent Role="Invoice">
              <PropertyRef Name="OperatorLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Invoices_Workloads">
          <End Type="PersonalLaundryModel.Workload" Role="Workload" Multiplicity="1" />
          <End Type="PersonalLaundryModel.Invoice" Role="Invoice" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Workload">
              <PropertyRef Name="WorkloadId" />
            </Principal>
            <Dependent Role="Invoice">
              <PropertyRef Name="WorkloadId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <EntityType Name="Setting">
          <Key>
            <PropertyRef Name="SettingId" />
          </Key>
          <Property Type="Int32" Name="SettingId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="String" Name="SettingName" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="SettingValue" MaxLength="200" FixedLength="false" Unicode="true" />
        </EntityType>
        <ComplexType Name="GetInvoiceForPrinter_Result">
          <Property Type="String" Name="Category" Nullable="false" MaxLength="50" />
          <Property Type="String" Name="ItemType" Nullable="false" MaxLength="100" />
          <Property Type="String" Name="Size" Nullable="false" MaxLength="50" />
          <Property Type="Int32" Name="Count" Nullable="false" />
          <Property Type="Int32" Name="Cost" Nullable="true" />
        </ComplexType>
        <EntityType Name="CustomerInventoryForWorkload">
          <Key>
            <PropertyRef Name="CustomerId" />
            <PropertyRef Name="CustomerInventoryId" />
            <PropertyRef Name="Category" />
            <PropertyRef Name="ItemType" />
            <PropertyRef Name="Size" />
            <PropertyRef Name="TCOrderPriority" />
            <PropertyRef Name="TSOrderPriority" />
          </Key>
          <Property Type="Int32" Name="CustomerId" Nullable="false" />
          <Property Type="Int32" Name="CustomerInventoryId" Nullable="false" />
          <Property Type="String" Name="Category" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="ItemType" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="Size" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="Count" MaxLength="30" FixedLength="false" Unicode="true" />
          <Property Type="Int32" Name="TCOrderPriority" Nullable="false" />
          <Property Type="Int32" Name="TSOrderPriority" Nullable="false" />
          <Property Type="Int32" Name="WorkloadId" />
        </EntityType>
        <EntityType Name="CustomerInventoryForWorkloadClosed">
          <Key>
            <PropertyRef Name="CustomerId" />
            <PropertyRef Name="CustomerInventoryId" />
            <PropertyRef Name="Category" />
            <PropertyRef Name="ItemType" />
            <PropertyRef Name="Size" />
            <PropertyRef Name="TCOrderPriority" />
            <PropertyRef Name="TSOrderPriority" />
          </Key>
          <Property Type="Int32" Name="CustomerId" Nullable="false" />
          <Property Type="Int32" Name="CustomerInventoryId" Nullable="false" />
          <Property Type="String" Name="Category" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="ItemType" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="Size" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="Count" MaxLength="30" FixedLength="false" Unicode="true" />
          <Property Type="Int32" Name="TCOrderPriority" Nullable="false" />
          <Property Type="Int32" Name="TSOrderPriority" Nullable="false" />
          <Property Type="Int32" Name="WorkloadId" />
        </EntityType>
        <EntityType Name="Dispatch">
          <Key>
            <PropertyRef Name="DispatchId" />
          </Key>
          <Property Type="Int32" Name="DispatchId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="Int32" Name="InvoiceId" Nullable="false" />
          <Property Type="DateTime" Name="DateCreated" Nullable="false" />
          <Property Type="Int32" Name="OperatorLoginId" Nullable="false" />
          <Property Type="Int32" Name="DispatchStatusId" Nullable="false" />
          <NavigationProperty Name="DispatchStatu" Relationship="PersonalLaundryModel.FK_Dispatches_DispatchStatus" FromRole="Dispatch" ToRole="DispatchStatu" />
          <NavigationProperty Name="Invoice" Relationship="PersonalLaundryModel.FK_Dispatches_Invoices" FromRole="Dispatch" ToRole="Invoice" />
          <NavigationProperty Name="OperatorLogin" Relationship="PersonalLaundryModel.FK_Dispatches_OperatorLogins" FromRole="Dispatch" ToRole="OperatorLogin" />
          <NavigationProperty Name="DispatchItems" Relationship="PersonalLaundryModel.FK_DispatchItems_Dispatches" FromRole="Dispatch" ToRole="DispatchItem" />
        </EntityType>
        <EntityType Name="DispatchItem">
          <Key>
            <PropertyRef Name="DispatchItemId" />
          </Key>
          <Property Type="Int32" Name="DispatchItemId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="Int32" Name="DispatchId" Nullable="false" />
          <Property Type="Int32" Name="InvoiceItemId" Nullable="false" />
          <Property Type="Int32" Name="ItemCount" Nullable="false" />
          <NavigationProperty Name="Dispatch" Relationship="PersonalLaundryModel.FK_DispatchItems_Dispatches" FromRole="DispatchItem" ToRole="Dispatch" />
          <NavigationProperty Name="InvoiceItem" Relationship="PersonalLaundryModel.FK_DispatchItems_InvoiceItems" FromRole="DispatchItem" ToRole="InvoiceItem" />
        </EntityType>
        <EntityType Name="DispatchStatu">
          <Key>
            <PropertyRef Name="DispatchStatusId" />
          </Key>
          <Property Type="Int32" Name="DispatchStatusId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="String" Name="Status" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <NavigationProperty Name="Dispatches" Relationship="PersonalLaundryModel.FK_Dispatches_DispatchStatus" FromRole="DispatchStatu" ToRole="Dispatch" />
        </EntityType>
        <Association Name="FK_Dispatches_DispatchStatus">
          <End Type="PersonalLaundryModel.DispatchStatu" Role="DispatchStatu" Multiplicity="1" />
          <End Type="PersonalLaundryModel.Dispatch" Role="Dispatch" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="DispatchStatu">
              <PropertyRef Name="DispatchStatusId" />
            </Principal>
            <Dependent Role="Dispatch">
              <PropertyRef Name="DispatchStatusId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Dispatches_Invoices">
          <End Type="PersonalLaundryModel.Invoice" Role="Invoice" Multiplicity="1" />
          <End Type="PersonalLaundryModel.Dispatch" Role="Dispatch" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Invoice">
              <PropertyRef Name="InvoiceId" />
            </Principal>
            <Dependent Role="Dispatch">
              <PropertyRef Name="InvoiceId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Dispatches_OperatorLogins">
          <End Type="PersonalLaundryModel.OperatorLogin" Role="OperatorLogin" Multiplicity="1" />
          <End Type="PersonalLaundryModel.Dispatch" Role="Dispatch" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorLogin">
              <PropertyRef Name="OperatorLoginId" />
            </Principal>
            <Dependent Role="Dispatch">
              <PropertyRef Name="OperatorLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_DispatchItems_Dispatches">
          <End Type="PersonalLaundryModel.Dispatch" Role="Dispatch" Multiplicity="1" />
          <End Type="PersonalLaundryModel.DispatchItem" Role="DispatchItem" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Dispatch">
              <PropertyRef Name="DispatchId" />
            </Principal>
            <Dependent Role="DispatchItem">
              <PropertyRef Name="DispatchId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_DispatchItems_InvoiceItems">
          <End Type="PersonalLaundryModel.InvoiceItem" Role="InvoiceItem" Multiplicity="1" />
          <End Type="PersonalLaundryModel.DispatchItem" Role="DispatchItem" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="InvoiceItem">
              <PropertyRef Name="InvoiceItemId" />
            </Principal>
            <Dependent Role="DispatchItem">
              <PropertyRef Name="InvoiceItemId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <EntityType Name="WorkloadItem">
          <Key>
            <PropertyRef Name="WorkloadItemId" />
          </Key>
          <Property Type="Int32" Name="WorkloadItemId" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="Int32" Name="WorkloadId" Nullable="false" />
          <Property Type="Int32" Name="CustomerInventoryId" Nullable="false" />
          <Property Type="Int32" Name="ItemCount" Nullable="false" />
          <Property Type="Int32" Name="CustomerLoginId" Nullable="false" />
          <Property Type="Int32" Name="OperatorLoginId" Nullable="false" />
          <Property Type="DateTime" Name="TimeStamp" Nullable="false" />
          <NavigationProperty Name="CustomerInventory" Relationship="PersonalLaundryModel.FK_WorkloadItems_CustomerInventory" FromRole="WorkloadItem" ToRole="CustomerInventory" />
          <NavigationProperty Name="CustomerLogin" Relationship="PersonalLaundryModel.FK_WorkloadItems_CustomerLogins" FromRole="WorkloadItem" ToRole="CustomerLogin" />
          <NavigationProperty Name="OperatorLogin" Relationship="PersonalLaundryModel.FK_WorkloadItems_OperatorLogins" FromRole="WorkloadItem" ToRole="OperatorLogin" />
          <NavigationProperty Name="Workload" Relationship="PersonalLaundryModel.FK_WorkloadItems_Workloads" FromRole="WorkloadItem" ToRole="Workload" />
        </EntityType>
        <Association Name="FK_WorkloadItems_CustomerInventory">
          <End Type="PersonalLaundryModel.CustomerInventory" Role="CustomerInventory" Multiplicity="1" />
          <End Type="PersonalLaundryModel.WorkloadItem" Role="WorkloadItem" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="CustomerInventory">
              <PropertyRef Name="CustomerInventoryId" />
            </Principal>
            <Dependent Role="WorkloadItem">
              <PropertyRef Name="CustomerInventoryId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_WorkloadItems_CustomerLogins">
          <End Type="PersonalLaundryModel.CustomerLogin" Role="CustomerLogin" Multiplicity="1" />
          <End Type="PersonalLaundryModel.WorkloadItem" Role="WorkloadItem" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="CustomerLogin">
              <PropertyRef Name="CustomerLoginId" />
            </Principal>
            <Dependent Role="WorkloadItem">
              <PropertyRef Name="CustomerLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_WorkloadItems_OperatorLogins">
          <End Type="PersonalLaundryModel.OperatorLogin" Role="OperatorLogin" Multiplicity="1" />
          <End Type="PersonalLaundryModel.WorkloadItem" Role="WorkloadItem" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="OperatorLogin">
              <PropertyRef Name="OperatorLoginId" />
            </Principal>
            <Dependent Role="WorkloadItem">
              <PropertyRef Name="OperatorLoginId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_WorkloadItems_Workloads">
          <End Type="PersonalLaundryModel.Workload" Role="Workload" Multiplicity="1" />
          <End Type="PersonalLaundryModel.WorkloadItem" Role="WorkloadItem" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Workload">
              <PropertyRef Name="WorkloadId" />
            </Principal>
            <Dependent Role="WorkloadItem">
              <PropertyRef Name="WorkloadId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        </Schema>
    </edmx:ConceptualModels>
    <!-- C-S mapping content -->
    <edmx:Mappings>
      <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs">
        <EntityContainerMapping StorageEntityContainer="PersonalLaundryModelStoreContainer" CdmEntityContainer="PersonalLaundryEntities">
          <FunctionImportMapping FunctionImportName="LoginOperator" FunctionName="PersonalLaundryModel.Store.LoginOperator" />
          <FunctionImportMapping FunctionImportName="UpdateOperatorLogin" FunctionName="PersonalLaundryModel.Store.UpdateOperatorLogin" />
          <FunctionImportMapping FunctionImportName="UpdateCustomerLogin" FunctionName="PersonalLaundryModel.Store.UpdateCustomerLogin" />
          <FunctionImportMapping FunctionImportName="GetCustomerInventory" FunctionName="PersonalLaundryModel.Store.GetCustomerInventory">
            <ResultMapping>
              <ComplexTypeMapping TypeName="PersonalLaundryModel.GetCustomerInventory_Result">
                <ScalarProperty Name="InventoryItemTypeId" ColumnName="InventoryItemTypeId" />
                <ScalarProperty Name="Category" ColumnName="Category" />
                <ScalarProperty Name="ItemType" ColumnName="ItemType" />
                <ScalarProperty Name="Size" ColumnName="Size" />
                <ScalarProperty Name="CostGeneralWash" ColumnName="CostGeneralWash" />
                <ScalarProperty Name="CostRepeatWash" ColumnName="CostRepeatWash" />
                <ScalarProperty Name="CostStainWash" ColumnName="CostStainWash" />
              </ComplexTypeMapping>
            </ResultMapping>
          </FunctionImportMapping>
          <FunctionImportMapping FunctionImportName="UpdateCustomerInventory" FunctionName="PersonalLaundryModel.Store.UpdateCustomerInventory" />
          <FunctionImportMapping FunctionImportName="LoginCustomer" FunctionName="PersonalLaundryModel.Store.LoginCustomer" />
          <FunctionImportMapping FunctionImportName="CreateWorkload" FunctionName="PersonalLaundryModel.Store.CreateWorkload" />
          <FunctionImportMapping FunctionImportName="GetCustomerLoginFromGuid" FunctionName="PersonalLaundryModel.Store.GetCustomerLoginFromGuid" />
          <FunctionImportMapping FunctionImportName="UpdateCustomerWorkloadBag" FunctionName="PersonalLaundryModel.Store.UpdateCustomerWorkloadBag" />
          <EntitySetMapping Name="BillingProfiles">
            <EntityTypeMapping TypeName="PersonalLaundryModel.BillingProfile">
              <MappingFragment StoreEntitySet="BillingProfiles">
                <ScalarProperty Name="IncludeRewashInInvoice" ColumnName="IncludeRewashInInvoice" />
                <ScalarProperty Name="ProfileName" ColumnName="ProfileName" />
                <ScalarProperty Name="BillingProfileId" ColumnName="BillingProfileId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="CustomerInventories">
            <EntityTypeMapping TypeName="PersonalLaundryModel.CustomerInventory">
              <MappingFragment StoreEntitySet="CustomerInventory">
                <ScalarProperty Name="CostStainWash" ColumnName="CostStainWash" />
                <ScalarProperty Name="CostRepeatWash" ColumnName="CostRepeatWash" />
                <ScalarProperty Name="CostGeneralWash" ColumnName="CostGeneralWash" />
                <ScalarProperty Name="TimeStamp" ColumnName="TimeStamp" />
                <ScalarProperty Name="OperatorLoginId" ColumnName="OperatorLoginId" />
                <ScalarProperty Name="InventoryItemTypeId" ColumnName="InventoryItemTypeId" />
                <ScalarProperty Name="CustomerId" ColumnName="CustomerId" />
                <ScalarProperty Name="CustomerInventoryId" ColumnName="CustomerInventoryId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="CustomerLogins">
            <EntityTypeMapping TypeName="PersonalLaundryModel.CustomerLogin">
              <MappingFragment StoreEntitySet="CustomerLogins">
                <ScalarProperty Name="IsLockedOut" ColumnName="IsLockedOut" />
                <ScalarProperty Name="IsActive" ColumnName="IsActive" />
                <ScalarProperty Name="Password" ColumnName="Password" />
                <ScalarProperty Name="EmailAddress" ColumnName="EmailAddress" />
                <ScalarProperty Name="CustomerId" ColumnName="CustomerId" />
                <ScalarProperty Name="GUID" ColumnName="GUID" />
                <ScalarProperty Name="CustomerLoginId" ColumnName="CustomerLoginId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Customers">
            <EntityTypeMapping TypeName="PersonalLaundryModel.Customer">
              <MappingFragment StoreEntitySet="Customers">
                <ScalarProperty Name="VATNumber" ColumnName="VATNumber" />
                <ScalarProperty Name="AddressPostCode" ColumnName="AddressPostCode" />
                <ScalarProperty Name="AddressCity" ColumnName="AddressCity" />
                <ScalarProperty Name="AddressLine2" ColumnName="AddressLine2" />
                <ScalarProperty Name="AddressLine1" ColumnName="AddressLine1" />
                <ScalarProperty Name="ContactName" ColumnName="ContactName" />
                <ScalarProperty Name="EmailAddress" ColumnName="EmailAddress" />
                <ScalarProperty Name="OperatorLoginId" ColumnName="OperatorLoginId" />
                <ScalarProperty Name="BillingProfileId" ColumnName="BillingProfileId" />
                <ScalarProperty Name="Name" ColumnName="Name" />
                <ScalarProperty Name="CustomerId" ColumnName="CustomerId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="CustomerWorkloadBags">
            <EntityTypeMapping TypeName="PersonalLaundryModel.CustomerWorkloadBag">
              <MappingFragment StoreEntitySet="CustomerWorkloadBags">
                <ScalarProperty Name="OperatorLoginId" ColumnName="OperatorLoginId" />
                <ScalarProperty Name="TimeReceived" ColumnName="TimeReceived" />
                <ScalarProperty Name="CustomerLoginId" ColumnName="CustomerLoginId" />
                <ScalarProperty Name="TimeStamp" ColumnName="TimeStamp" />
                <ScalarProperty Name="UniqueReference" ColumnName="UniqueReference" />
                <ScalarProperty Name="WorkloadId" ColumnName="WorkloadId" />
                <ScalarProperty Name="WorkloadBagId" ColumnName="WorkloadBagId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="InventoryItems">
            <EntityTypeMapping TypeName="PersonalLaundryModel.InventoryItem">
              <MappingFragment StoreEntitySet="InventoryItems">
                <ScalarProperty Name="UniqueId" ColumnName="UniqueId" />
                <ScalarProperty Name="CustomerId" ColumnName="CustomerId" />
                <ScalarProperty Name="InventoryItemTypeId" ColumnName="InventoryItemTypeId" />
                <ScalarProperty Name="InventoryItemId" ColumnName="InventoryItemId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="InventoryItemTypeCategories">
            <EntityTypeMapping TypeName="PersonalLaundryModel.InventoryItemTypeCategory">
              <MappingFragment StoreEntitySet="InventoryItemTypeCategories">
                <ScalarProperty Name="OrderPriority" ColumnName="OrderPriority" />
                <ScalarProperty Name="Category" ColumnName="Category" />
                <ScalarProperty Name="InventoryItemTypeCategoryId" ColumnName="InventoryItemTypeCategoryId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="InventoryItemTypes">
            <EntityTypeMapping TypeName="PersonalLaundryModel.InventoryItemType">
              <MappingFragment StoreEntitySet="InventoryItemTypes">
                <ScalarProperty Name="ItemType" ColumnName="ItemType" />
                <ScalarProperty Name="InventoryItemTypeSizeId" ColumnName="InventoryItemTypeSizeId" />
                <ScalarProperty Name="InventoryItemTypeCategoryId" ColumnName="InventoryItemTypeCategoryId" />
                <ScalarProperty Name="InventoryItemTypeId" ColumnName="InventoryItemTypeId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="InventoryItemTypeSizes">
            <EntityTypeMapping TypeName="PersonalLaundryModel.InventoryItemTypeSize">
              <MappingFragment StoreEntitySet="InventoryItemTypeSize">
                <ScalarProperty Name="OrderPriority" ColumnName="OrderPriority" />
                <ScalarProperty Name="Size" ColumnName="Size" />
                <ScalarProperty Name="InventoryItemTypeSizeId" ColumnName="InventoryItemTypeSizeId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="OperatorLogins">
            <EntityTypeMapping TypeName="PersonalLaundryModel.OperatorLogin">
              <MappingFragment StoreEntitySet="OperatorLogins">
                <ScalarProperty Name="OperatorRoleId" ColumnName="OperatorRoleId" />
                <ScalarProperty Name="Password" ColumnName="Password" />
                <ScalarProperty Name="Username" ColumnName="Username" />
                <ScalarProperty Name="OperatorLoginId" ColumnName="OperatorLoginId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="OperatorRoles">
            <EntityTypeMapping TypeName="PersonalLaundryModel.OperatorRole">
              <MappingFragment StoreEntitySet="OperatorRoles">
                <ScalarProperty Name="CanLogin" ColumnName="CanLogin" />
                <ScalarProperty Name="RoleName" ColumnName="RoleName" />
                <ScalarProperty Name="OperatorRoleId" ColumnName="OperatorRoleId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Workloads">
            <EntityTypeMapping TypeName="PersonalLaundryModel.Workload">
              <MappingFragment StoreEntitySet="Workloads">
                <ScalarProperty Name="WorkloadTypeId" ColumnName="WorkloadTypeId" />
                <ScalarProperty Name="OperatorLoginId" ColumnName="OperatorLoginId" />
                <ScalarProperty Name="WorkloadStatusId" ColumnName="WorkloadStatusId" />
                <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
                <ScalarProperty Name="CustomerLoginId" ColumnName="CustomerLoginId" />
                <ScalarProperty Name="CustomerId" ColumnName="CustomerId" />
                <ScalarProperty Name="WorkloadId" ColumnName="WorkloadId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="WorkloadStatuses">
            <EntityTypeMapping TypeName="PersonalLaundryModel.WorkloadStatus">
              <MappingFragment StoreEntitySet="WorkloadStatus">
                <ScalarProperty Name="Status" ColumnName="Status" />
                <ScalarProperty Name="WorkloadStatusId" ColumnName="WorkloadStatusId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="WorkloadTypes">
            <EntityTypeMapping TypeName="PersonalLaundryModel.WorkloadType">
              <MappingFragment StoreEntitySet="WorkloadTypes">
                <ScalarProperty Name="CanStartCycle" ColumnName="CanStartCycle" />
                <ScalarProperty Name="Type" ColumnName="Type" />
                <ScalarProperty Name="WorkloadTypeId" ColumnName="WorkloadTypeId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="vwCustomerBagsWaitingCountings">
            <EntityTypeMapping TypeName="PersonalLaundryModel.vwCustomerBagsWaitingCounting">
              <MappingFragment StoreEntitySet="vwCustomerBagsWaitingCounting">
                <ScalarProperty Name="BagCount" ColumnName="BagCount" />
                <ScalarProperty Name="Name" ColumnName="Name" />
                <ScalarProperty Name="CustomerId" ColumnName="CustomerId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="vwWorkloadStatusReports">
            <EntityTypeMapping TypeName="PersonalLaundryModel.vwWorkloadStatusReport">
              <MappingFragment StoreEntitySet="vwWorkloadStatusReport">
                <ScalarProperty Name="TotalItems" ColumnName="TotalItems" />
                <ScalarProperty Name="Customers" ColumnName="Customers" />
                <ScalarProperty Name="Status" ColumnName="Status" />
                <ScalarProperty Name="WorkloadStatusId" ColumnName="WorkloadStatusId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <FunctionImportMapping FunctionImportName="AcceptCustomerBag" FunctionName="PersonalLaundryModel.Store.AcceptBag" />
          <EntitySetMapping Name="vwWorkloadCategoryTypeCounts">
            <EntityTypeMapping TypeName="PersonalLaundryModel.vwWorkloadCategoryTypeCount">
              <MappingFragment StoreEntitySet="vwWorkloadCategoryTypeCounts">
                <ScalarProperty Name="ItemCount" ColumnName="ItemCount" />
                <ScalarProperty Name="ItemType" ColumnName="ItemType" />
                <ScalarProperty Name="Category" ColumnName="Category" />
                <ScalarProperty Name="WorkloadId" ColumnName="WorkloadId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="vwInventoryItemTypes">
            <EntityTypeMapping TypeName="PersonalLaundryModel.vwInventoryItemType">
              <MappingFragment StoreEntitySet="vwInventoryItemTypes">
                <ScalarProperty Name="ItemType" ColumnName="ItemType" />
                <ScalarProperty Name="Category" ColumnName="Category" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="InvoiceItems">
            <EntityTypeMapping TypeName="PersonalLaundryModel.InvoiceItem">
              <MappingFragment StoreEntitySet="InvoiceItems">
                <ScalarProperty Name="ItemCount" ColumnName="ItemCount" />
                <ScalarProperty Name="OperatorLoginId" ColumnName="OperatorLoginId" />
                <ScalarProperty Name="Cost" ColumnName="Cost" />
                <ScalarProperty Name="InventoryItemTypeId" ColumnName="InventoryItemTypeId" />
                <ScalarProperty Name="InvoiceId" ColumnName="InvoiceId" />
                <ScalarProperty Name="InvoiceItemId" ColumnName="InvoiceItemId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Invoices">
            <EntityTypeMapping TypeName="PersonalLaundryModel.Invoice">
              <MappingFragment StoreEntitySet="Invoices">
                <ScalarProperty Name="InvoiceStatusId" ColumnName="InvoiceStatusId" />
                <ScalarProperty Name="OperatorLoginId" ColumnName="OperatorLoginId" />
                <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
                <ScalarProperty Name="WorkloadId" ColumnName="WorkloadId" />
                <ScalarProperty Name="CustomerId" ColumnName="CustomerId" />
                <ScalarProperty Name="InvoiceId" ColumnName="InvoiceId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="InvoiceStatuses">
            <EntityTypeMapping TypeName="PersonalLaundryModel.InvoiceStatus">
              <MappingFragment StoreEntitySet="InvoiceStatus">
                <ScalarProperty Name="Status" ColumnName="Status" />
                <ScalarProperty Name="InvoiceStatusId" ColumnName="InvoiceStatusId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <FunctionImportMapping FunctionImportName="GenerateInvoiceFromWorkloadCounts" FunctionName="PersonalLaundryModel.Store.GenerateInvoiceFromWorkloadCounts" />
          <FunctionImportMapping FunctionImportName="UpdateInvoiceItemCount" FunctionName="PersonalLaundryModel.Store.UpdateInvoiceItemCount" />
          <FunctionImportMapping FunctionImportName="FinishCounting" FunctionName="PersonalLaundryModel.Store.FinishCounting" />
          <EntitySetMapping Name="Settings">
            <EntityTypeMapping TypeName="PersonalLaundryModel.Setting">
              <MappingFragment StoreEntitySet="Settings">
                <ScalarProperty Name="SettingValue" ColumnName="SettingValue" />
                <ScalarProperty Name="SettingName" ColumnName="SettingName" />
                <ScalarProperty Name="SettingId" ColumnName="SettingId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <FunctionImportMapping FunctionImportName="GetInvoiceForPrinter" FunctionName="PersonalLaundryModel.Store.GetInvoiceForPrinter">
            <ResultMapping>
              <ComplexTypeMapping TypeName="PersonalLaundryModel.GetInvoiceForPrinter_Result">
                <ScalarProperty Name="Category" ColumnName="Category" />
                <ScalarProperty Name="ItemType" ColumnName="ItemType" />
                <ScalarProperty Name="Size" ColumnName="Size" />
                <ScalarProperty Name="Count" ColumnName="Count" />
                <ScalarProperty Name="Cost" ColumnName="Cost" />
              </ComplexTypeMapping>
            </ResultMapping>
          </FunctionImportMapping>
          <EntitySetMapping Name="CustomerInventoryForWorkloads">
            <EntityTypeMapping TypeName="PersonalLaundryModel.CustomerInventoryForWorkload">
              <MappingFragment StoreEntitySet="CustomerInventoryForWorkload">
                <ScalarProperty Name="WorkloadId" ColumnName="WorkloadId" />
                <ScalarProperty Name="TSOrderPriority" ColumnName="TSOrderPriority" />
                <ScalarProperty Name="TCOrderPriority" ColumnName="TCOrderPriority" />
                <ScalarProperty Name="Count" ColumnName="Count" />
                <ScalarProperty Name="Size" ColumnName="Size" />
                <ScalarProperty Name="ItemType" ColumnName="ItemType" />
                <ScalarProperty Name="Category" ColumnName="Category" />
                <ScalarProperty Name="CustomerInventoryId" ColumnName="CustomerInventoryId" />
                <ScalarProperty Name="CustomerId" ColumnName="CustomerId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="CustomerInventoryForWorkloadCloseds">
            <EntityTypeMapping TypeName="PersonalLaundryModel.CustomerInventoryForWorkloadClosed">
              <MappingFragment StoreEntitySet="CustomerInventoryForWorkloadClosed">
                <ScalarProperty Name="WorkloadId" ColumnName="WorkloadId" />
                <ScalarProperty Name="TSOrderPriority" ColumnName="TSOrderPriority" />
                <ScalarProperty Name="TCOrderPriority" ColumnName="TCOrderPriority" />
                <ScalarProperty Name="Count" ColumnName="Count" />
                <ScalarProperty Name="Size" ColumnName="Size" />
                <ScalarProperty Name="ItemType" ColumnName="ItemType" />
                <ScalarProperty Name="Category" ColumnName="Category" />
                <ScalarProperty Name="CustomerInventoryId" ColumnName="CustomerInventoryId" />
                <ScalarProperty Name="CustomerId" ColumnName="CustomerId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Dispatches">
            <EntityTypeMapping TypeName="PersonalLaundryModel.Dispatch">
              <MappingFragment StoreEntitySet="Dispatches">
                <ScalarProperty Name="DispatchStatusId" ColumnName="DispatchStatusId" />
                <ScalarProperty Name="OperatorLoginId" ColumnName="OperatorLoginId" />
                <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
                <ScalarProperty Name="InvoiceId" ColumnName="InvoiceId" />
                <ScalarProperty Name="DispatchId" ColumnName="DispatchId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="DispatchItems">
            <EntityTypeMapping TypeName="PersonalLaundryModel.DispatchItem">
              <MappingFragment StoreEntitySet="DispatchItems">
                <ScalarProperty Name="ItemCount" ColumnName="ItemCount" />
                <ScalarProperty Name="InvoiceItemId" ColumnName="InvoiceItemId" />
                <ScalarProperty Name="DispatchId" ColumnName="DispatchId" />
                <ScalarProperty Name="DispatchItemId" ColumnName="DispatchItemId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="DispatchStatus">
            <EntityTypeMapping TypeName="PersonalLaundryModel.DispatchStatu">
              <MappingFragment StoreEntitySet="DispatchStatus">
                <ScalarProperty Name="Status" ColumnName="Status" />
                <ScalarProperty Name="DispatchStatusId" ColumnName="DispatchStatusId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <FunctionImportMapping FunctionImportName="DispatchItem" FunctionName="PersonalLaundryModel.Store.DispatchItem" />
          <EntitySetMapping Name="WorkloadItems">
            <EntityTypeMapping TypeName="PersonalLaundryModel.WorkloadItem">
              <MappingFragment StoreEntitySet="WorkloadItems">
                <ScalarProperty Name="TimeStamp" ColumnName="TimeStamp" />
                <ScalarProperty Name="OperatorLoginId" ColumnName="OperatorLoginId" />
                <ScalarProperty Name="CustomerLoginId" ColumnName="CustomerLoginId" />
                <ScalarProperty Name="ItemCount" ColumnName="ItemCount" />
                <ScalarProperty Name="CustomerInventoryId" ColumnName="CustomerInventoryId" />
                <ScalarProperty Name="WorkloadId" ColumnName="WorkloadId" />
                <ScalarProperty Name="WorkloadItemId" ColumnName="WorkloadItemId" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <FunctionImportMapping FunctionImportName="UpdateWorkloadItem" FunctionName="PersonalLaundryModel.Store.UpdateWorkloadItem" />
        </EntityContainerMapping>
      </Mapping>
    </edmx:Mappings>
  </edmx:Runtime>
  <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  <Designer xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
    <Connection>
      <DesignerInfoPropertySet>
        <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
      </DesignerInfoPropertySet>
    </Connection>
    <Options>
      <DesignerInfoPropertySet>
        <DesignerProperty Name="ValidateOnBuild" Value="true" />
        <DesignerProperty Name="EnablePluralization" Value="True" />
        <DesignerProperty Name="IncludeForeignKeysInModel" Value="True" />
      </DesignerInfoPropertySet>
    </Options>
    <!-- Diagram content (shape and connector positions) -->
    <Diagrams>
      <Diagram Name="PLModel" ZoomLevel="83">
        <EntityTypeShape EntityType="PersonalLaundryModel.BillingProfile" Width="1.5" PointX="3" PointY="13.25" Height="1.7879850260416674" />
        <EntityTypeShape EntityType="PersonalLaundryModel.CustomerInventory" Width="1.5" PointX="7.5" PointY="8.5" Height="3.3263964843750031" />
        <EntityTypeShape EntityType="PersonalLaundryModel.CustomerLogin" Width="1.5" PointX="7.5" PointY="13.5" Height="3.13409505208333" />
        <EntityTypeShape EntityType="PersonalLaundryModel.Customer" Width="1.5" PointX="5.25" PointY="7.875" Height="4.4802050781250031" />
        <EntityTypeShape EntityType="PersonalLaundryModel.CustomerWorkloadBag" Width="1.5" PointX="15" PointY="12.125" Height="2.7494921874999996" />
        <EntityTypeShape EntityType="PersonalLaundryModel.InventoryItem" Width="1.5" PointX="10.5" PointY="8" Height="2.1725878906250102" />
        <EntityTypeShape EntityType="PersonalLaundryModel.InventoryItemTypeCategory" Width="1.5" PointX="3" PointY="2.75" Height="1.7879850260416674" />
        <EntityTypeShape EntityType="PersonalLaundryModel.InventoryItemType" Width="1.5" PointX="5.25" PointY="3.5" Height="2.7494921874999996" />
        <EntityTypeShape EntityType="PersonalLaundryModel.InventoryItemTypeSize" Width="1.5" PointX="3" PointY="5.25" Height="1.7879850260416674" />
        <EntityTypeShape EntityType="PersonalLaundryModel.OperatorLogin" Width="1.5" PointX="3" PointY="8.5" Height="3.3263964843749996" />
        <EntityTypeShape EntityType="PersonalLaundryModel.OperatorRole" Width="1.5" PointX="0.75" PointY="9.25" Height="1.7879850260416674" />
        <EntityTypeShape EntityType="PersonalLaundryModel.Workload" Width="1.5" PointX="12.75" PointY="10.375" Height="3.9033007812499996" />
        <EntityTypeShape EntityType="PersonalLaundryModel.WorkloadStatus" Width="1.5" PointX="10.5" PointY="15.75" Height="1.595683593749996" />
        <EntityTypeShape EntityType="PersonalLaundryModel.WorkloadType" Width="1.5" PointX="10.5" PointY="5.25" Height="1.7879850260416674" />
        <EntityTypeShape EntityType="PersonalLaundryModel.vwCustomerBagsWaitingCounting" Width="1.5" PointX="5.75" PointY="0.75" Height="1.5956835937500102" />
        <EntityTypeShape EntityType="PersonalLaundryModel.vwWorkloadStatusReport" Width="1.5" PointX="7.75" PointY="0.75" Height="1.7879850260416674" />
        <AssociationConnector Association="PersonalLaundryModel.FK_Customers_BillingProfiles" >
          <ConnectorPoint PointX="4.5" PointY="14.143992513020834" />
          <ConnectorPoint PointX="6" PointY="14.143992513020834" />
          <ConnectorPoint PointX="6" PointY="12.355205078125003" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_CustomerInventory_Customer" >
          <ConnectorPoint PointX="6.75" PointY="10.1631982421875" />
          <ConnectorPoint PointX="7.5" PointY="10.1631982421875" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_CustomerInventory_InventoryItemTypes" >
          <ConnectorPoint PointX="6.75" PointY="5.8937361067708327" />
          <ConnectorPoint PointX="7.59375" PointY="5.8937361067708327" />
          <ConnectorPoint PointX="7.59375" PointY="8.5" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_CustomerInventory_OperatorLogins" >
          <ConnectorPoint PointX="4.5" PointY="10.538958107493347" />
          <ConnectorPoint PointX="4.916666666666667" PointY="10.538958107493347" />
          <ConnectorPoint PointX="5.083333333333333" PointY="10.538958107493347" />
          <ConnectorPoint PointX="5.125" PointY="10.538958107493347" />
          <ConnectorPoint PointX="5.125" PointY="12.620830078125003" />
          <ConnectorPoint PointX="5.916666666666667" PointY="12.620830078125003" />
          <ConnectorPoint PointX="6.083333333333333" PointY="12.620830078125003" />
          <ConnectorPoint PointX="6.3229191666666669" PointY="12.620830078125003" />
          <ConnectorPoint PointX="6.4895858333333329" PointY="12.620830078125003" />
          <ConnectorPoint PointX="8.25" PointY="12.620830078125003" />
          <ConnectorPoint PointX="8.25" PointY="11.826396484375" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_CustomerLogins_Customers" >
          <ConnectorPoint PointX="6.4062525" PointY="12.355205078125003" />
          <ConnectorPoint PointX="6.4062525" PointY="15.389043782552085" />
          <ConnectorPoint PointX="7.5" PointY="15.389043782552085" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_WorkloadBags_CustomerLogins" >
          <ConnectorPoint PointX="9" PointY="14.607646484375" />
          <ConnectorPoint PointX="11.166666666666666" PointY="14.607646484375" />
          <ConnectorPoint PointX="11.333333333333334" PointY="14.607646484375" />
          <ConnectorPoint PointX="12.416666666666666" PointY="14.607646484375" />
          <ConnectorPoint PointX="12.583333333333334" PointY="14.607646484375" />
          <ConnectorPoint PointX="15" PointY="14.607646484375" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_Workloads_CustomerLogins" >
          <ConnectorPoint PointX="9" PointY="13.889150390625" />
          <ConnectorPoint PointX="11.166666666666666" PointY="13.889150390625" />
          <ConnectorPoint PointX="11.333333333333334" PointY="13.889150390625" />
          <ConnectorPoint PointX="12.416666666666666" PointY="13.889150390625" />
          <ConnectorPoint PointX="12.583333333333334" PointY="13.889150390625" />
          <ConnectorPoint PointX="12.75" PointY="13.889150390625" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_Customers_OperatorLogins" >
          <ConnectorPoint PointX="4.5" PointY="9.175135006683508" />
          <ConnectorPoint PointX="4.854166666666667" PointY="9.175135006683508" />
          <ConnectorPoint PointX="5.083333333333333" PointY="9.175135006683508" />
          <ConnectorPoint PointX="5.25" PointY="9.175135006683508" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_InventoryItems_Customers" >
          <ConnectorPoint PointX="6.75" PointY="8.2500025" />
          <ConnectorPoint PointX="7.510416666666667" PointY="8.2500025" />
          <ConnectorPoint PointX="7.677083333333333" PointY="8.2500025" />
          <ConnectorPoint PointX="10.5" PointY="8.2500025" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_Workloads_Customers" >
          <ConnectorPoint PointX="6.75" PointY="12.122050781250001" />
          <ConnectorPoint PointX="8.1666666666666661" PointY="12.122050781250001" />
          <ConnectorPoint PointX="8.3333333333333339" PointY="12.122050781250001" />
          <ConnectorPoint PointX="12.166666666666666" PointY="12.12205078125" />
          <ConnectorPoint PointX="12.458333333333334" PointY="12.122050781250001" />
          <ConnectorPoint PointX="12.75" PointY="12.122050781250001" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_WorkloadBags_Workloads" >
          <ConnectorPoint PointX="14.25" PointY="13.201650390625" />
          <ConnectorPoint PointX="15" PointY="13.201650390625" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_InventoryItems_InventoryItemTypes" >
          <ConnectorPoint PointX="6.75" PointY="6.2494921875" />
          <ConnectorPoint PointX="7.125" PointY="6.6244921875" />
          <ConnectorPoint PointX="7.125" PointY="7.375" />
          <ConnectorPoint PointX="7.510416666666667" PointY="7.3749999999999991" />
          <ConnectorPoint PointX="7.677083333333333" PointY="7.375" />
          <ConnectorPoint PointX="9.875" PointY="7.375" />
          <ConnectorPoint PointX="10.5" PointY="8" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeCategories" >
          <ConnectorPoint PointX="4.5" PointY="4.0189925130208337" />
          <ConnectorPoint PointX="5.25" PointY="4.0189925130208337" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeSize" >
          <ConnectorPoint PointX="4.5" PointY="5.74974609375" />
          <ConnectorPoint PointX="5.25" PointY="5.74974609375" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_OperatorLogins_OperatorRoles" >
          <ConnectorPoint PointX="2.25" PointY="10.143992513020834" />
          <ConnectorPoint PointX="3" PointY="10.143992513020834" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_Workloads_OperatorLogins" >
          <ConnectorPoint PointX="3.75" PointY="11.826396484375" />
          <ConnectorPoint PointX="3.75" PointY="12.605205078125003" />
          <ConnectorPoint PointX="4.0729186666666672" PointY="12.605205078125003" />
          <ConnectorPoint PointX="4.2395853333333333" PointY="12.605205078125003" />
          <ConnectorPoint PointX="5.916666666666667" PointY="12.605205078125003" />
          <ConnectorPoint PointX="6.083333333333333" PointY="12.605205078125003" />
          <ConnectorPoint PointX="6.3229191666666669" PointY="12.605205078125003" />
          <ConnectorPoint PointX="6.4895858333333329" PointY="12.605205078125003" />
          <ConnectorPoint PointX="12.25" PointY="12.605205078125003" />
          <ConnectorPoint PointX="12.25" PointY="11.217273390625007" />
          <ConnectorPoint PointX="12.291666666666666" PointY="11.217273390625007" />
          <ConnectorPoint PointX="12.458333333333334" PointY="11.217273390625007" />
          <ConnectorPoint PointX="12.75" PointY="11.217273390625007" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_Workloads_WorkloadStatus" >
          <ConnectorPoint PointX="11.25" PointY="15.75" />
          <ConnectorPoint PointX="11.25" PointY="13.215925234375007" />
          <ConnectorPoint PointX="12.416666666666666" PointY="13.215925234375007" />
          <ConnectorPoint PointX="12.583333333333334" PointY="13.215925234375007" />
          <ConnectorPoint PointX="12.75" PointY="13.215925234375007" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_Workloads_WorkloadTypes" >
          <ConnectorPoint PointX="12" PointY="7.0368301798878212" />
          <ConnectorPoint PointX="12.375" PointY="7.4118301798878212" />
          <ConnectorPoint PointX="12.375" PointY="12.668988007812505" />
          <ConnectorPoint PointX="12.75" PointY="12.668988007812505" />
        </AssociationConnector>
        <EntityTypeShape EntityType="PersonalLaundryModel.vwWorkloadCategoryTypeCount" Width="1.5" PointX="7.75" PointY="3.75" Height="1.7879850260416674" />
        <EntityTypeShape EntityType="PersonalLaundryModel.vwInventoryItemType" Width="1.5" PointX="9.75" PointY="0.75" Height="1.4033821614583388" />
        <EntityTypeShape EntityType="PersonalLaundryModel.InvoiceItem" Width="1.5" PointX="20.25" PointY="8.125" Height="2.9417936197916656" />
        <EntityTypeShape EntityType="PersonalLaundryModel.Invoice" Width="1.5" PointX="15" PointY="7.375" Height="3.3263964843749996" />
        <EntityTypeShape EntityType="PersonalLaundryModel.InvoiceStatus" Width="1.5" PointX="12.75" PointY="7.25" Height="1.595683593749996" />
        <AssociationConnector Association="PersonalLaundryModel.FK_Invoices_Customers" >
          <ConnectorPoint PointX="6" PointY="7.875" />
          <ConnectorPoint PointX="6" PointY="7.625" />
          <ConnectorPoint PointX="7.510416666666667" PointY="7.6249999999999991" />
          <ConnectorPoint PointX="7.677083333333333" PointY="7.625" />
          <ConnectorPoint PointX="10.041666666666666" PointY="7.6249999999999991" />
          <ConnectorPoint PointX="10.208333333333334" PointY="7.625" />
          <ConnectorPoint PointX="12.291666666666666" PointY="7.6249999999999991" />
          <ConnectorPoint PointX="12.458333333333334" PointY="7.625" />
          <ConnectorPoint PointX="12.625" PointY="7.625" />
          <ConnectorPoint PointX="12.625" PointY="9.7077575976562454" />
          <ConnectorPoint PointX="15" PointY="9.7077575976562454" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_InvoiceItems_InventoryItemTypes" >
          <ConnectorPoint PointX="6.75" PointY="3.59375" />
          <ConnectorPoint PointX="21" PointY="3.59375" />
          <ConnectorPoint PointX="21" PointY="8.125" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_InvoiceItems_Invoices" >
          <ConnectorPoint PointX="16.5" PointY="8.15625" />
          <ConnectorPoint PointX="17.916666666666668" PointY="8.15625" />
          <ConnectorPoint PointX="18.083333333333332" PointY="8.15625" />
          <ConnectorPoint PointX="20.25" PointY="8.15625" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_InvoiceItems_OperatorLogins" >
          <ConnectorPoint PointX="4.5" PointY="11.213929295934175" />
          <ConnectorPoint PointX="5" PointY="11.213929295934175" />
          <ConnectorPoint PointX="5" PointY="7.609375" />
          <ConnectorPoint PointX="7.510416666666667" PointY="7.6093749999999991" />
          <ConnectorPoint PointX="7.677083333333333" PointY="7.609375" />
          <ConnectorPoint PointX="10.026041666666666" PointY="7.6093749999999991" />
          <ConnectorPoint PointX="10.192708333333334" PointY="7.609375" />
          <ConnectorPoint PointX="12.291666666666666" PointY="7.6093749999999991" />
          <ConnectorPoint PointX="12.458333333333334" PointY="7.609375" />
          <ConnectorPoint PointX="12.5" PointY="7.609375" />
          <ConnectorPoint PointX="12.5" PointY="7" />
          <ConnectorPoint PointX="17.916666666666668" PointY="6.9999999999999991" />
          <ConnectorPoint PointX="18.083333333333332" PointY="7" />
          <ConnectorPoint PointX="21" PointY="7" />
          <ConnectorPoint PointX="21" PointY="8.125" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_Invoices_InvoiceStatus" >
          <ConnectorPoint PointX="14.25" PointY="8.110341796874998" />
          <ConnectorPoint PointX="15" PointY="8.110341796874998" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_Invoices_OperatorLogins" >
          <ConnectorPoint PointX="3.75" PointY="8.5" />
          <ConnectorPoint PointX="3.75" PointY="7.59375" />
          <ConnectorPoint PointX="7.510416666666667" PointY="7.5937499999999991" />
          <ConnectorPoint PointX="7.677083333333333" PointY="7.59375" />
          <ConnectorPoint PointX="10.010416666666666" PointY="7.5937499999999991" />
          <ConnectorPoint PointX="10.177083333333334" PointY="7.59375" />
          <ConnectorPoint PointX="12.25" PointY="7.59375" />
          <ConnectorPoint PointX="12.25" PointY="9.2767180957031279" />
          <ConnectorPoint PointX="12.291666666666666" PointY="9.2767180957031279" />
          <ConnectorPoint PointX="12.458333333333334" PointY="9.2767180957031279" />
          <ConnectorPoint PointX="12.541666666666666" PointY="9.2767180957031279" />
          <ConnectorPoint PointX="12.708333333333334" PointY="9.2767180957031279" />
          <ConnectorPoint PointX="15" PointY="9.2767180957031279" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_Invoices_Workloads" >
          <ConnectorPoint PointX="14.25" PointY="10.538198242187498" />
          <ConnectorPoint PointX="14.666666666666666" PointY="10.538198242187498" />
          <ConnectorPoint PointX="14.833333333333334" PointY="10.538198242187498" />
          <ConnectorPoint PointX="15" PointY="10.538198242187498" />
        </AssociationConnector>
        <EntityTypeShape EntityType="PersonalLaundryModel.Setting" Width="1.5" PointX="11.75" PointY="0.75" Height="1.5956835937500102" />
        <EntityTypeShape EntityType="PersonalLaundryModel.CustomerInventoryForWorkload" Width="3.25" PointX="13.75" PointY="0.75" Height="2.7494921875000031" />
        <EntityTypeShape EntityType="PersonalLaundryModel.CustomerInventoryForWorkloadClosed" Width="1.5" PointX="12.75" PointY="15.75" Height="2.7494921875000031" />
        <EntityTypeShape EntityType="PersonalLaundryModel.Dispatch" Width="1.5" PointX="17.25" PointY="8.25" Height="2.749492187499996" />
        <EntityTypeShape EntityType="PersonalLaundryModel.DispatchItem" Width="1.5" PointX="22.5" PointY="8.5" Height="2.1725878906250102" />
        <EntityTypeShape EntityType="PersonalLaundryModel.DispatchStatu" Width="1.5" PointX="15" PointY="4.75" Height="1.595683593749996" />
        <AssociationConnector Association="PersonalLaundryModel.FK_Dispatches_DispatchStatus" >
          <ConnectorPoint PointX="16.5" PointY="5.547841796874998" />
          <ConnectorPoint PointX="18" PointY="5.547841796874998" />
          <ConnectorPoint PointX="18" PointY="8.25" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_Dispatches_Invoices" >
          <ConnectorPoint PointX="16.5" PointY="9.4756982421875" />
          <ConnectorPoint PointX="16.916666666666668" PointY="9.4756982421875" />
          <ConnectorPoint PointX="17.083333333333332" PointY="9.4756982421875" />
          <ConnectorPoint PointX="17.25" PointY="9.4756982421875" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_Dispatches_OperatorLogins" >
          <ConnectorPoint PointX="4.5" PointY="9.8570465570884274" />
          <ConnectorPoint PointX="4.9375" PointY="9.8570465570884274" />
          <ConnectorPoint PointX="4.9375" PointY="7.578125" />
          <ConnectorPoint PointX="7.510416666666667" PointY="7.5781249999999991" />
          <ConnectorPoint PointX="7.677083333333333" PointY="7.578125" />
          <ConnectorPoint PointX="9.9947916666666661" PointY="7.5781249999999991" />
          <ConnectorPoint PointX="10.161458333333334" PointY="7.578125" />
          <ConnectorPoint PointX="12.291666666666666" PointY="7.5781249999999991" />
          <ConnectorPoint PointX="12.458333333333334" PointY="7.578125" />
          <ConnectorPoint PointX="12.5625" PointY="7.578125" />
          <ConnectorPoint PointX="12.5625" PointY="6.75" />
          <ConnectorPoint PointX="18" PointY="6.75" />
          <ConnectorPoint PointX="18" PointY="8.25" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_DispatchItems_Dispatches" >
          <ConnectorPoint PointX="18" PointY="10.999492187499996" />
          <ConnectorPoint PointX="18" PointY="11.249492187499996" />
          <ConnectorPoint PointX="22.125" PointY="11.249492187499996" />
          <ConnectorPoint PointX="22.125" PointY="9.8578694316406263" />
          <ConnectorPoint PointX="22.5" PointY="9.8578694316406263" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_DispatchItems_InvoiceItems" >
          <ConnectorPoint PointX="21.75" PointY="9.1164347158203132" />
          <ConnectorPoint PointX="22.5" PointY="9.1164347158203132" />
        </AssociationConnector>
        <EntityTypeShape EntityType="PersonalLaundryModel.WorkloadItem" Width="1.5" PointX="18" PointY="12" Height="3.1340950520833246" />
        <AssociationConnector Association="PersonalLaundryModel.FK_WorkloadItems_CustomerInventory" >
          <ConnectorPoint PointX="9" PointY="10.1631982421875" />
          <ConnectorPoint PointX="10.25" PointY="10.1631982421875" />
          <ConnectorPoint PointX="10.25" PointY="10.42258789062501" />
          <ConnectorPoint PointX="12.291666666666666" PointY="10.42258789062501" />
          <ConnectorPoint PointX="12.458333333333334" PointY="10.42258789062501" />
          <ConnectorPoint PointX="12.5" PointY="10.42258789062501" />
          <ConnectorPoint PointX="12.5" PointY="10.125" />
          <ConnectorPoint PointX="14.75" PointY="10.125" />
          <ConnectorPoint PointX="14.75" PointY="11.265117187499996" />
          <ConnectorPoint PointX="18.75" PointY="11.265117187499996" />
          <ConnectorPoint PointX="18.75" PointY="12" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_WorkloadItems_CustomerLogins" >
          <ConnectorPoint PointX="9" PointY="15.035543619791662" />
          <ConnectorPoint PointX="11.166666666666666" PointY="15.035543619791662" />
          <ConnectorPoint PointX="11.333333333333334" PointY="15.035543619791662" />
          <ConnectorPoint PointX="12.416666666666666" PointY="15.035543619791662" />
          <ConnectorPoint PointX="12.583333333333334" PointY="15.035543619791662" />
          <ConnectorPoint PointX="17.541666666666668" PointY="15.035543619791662" />
          <ConnectorPoint PointX="17.708333333333332" PointY="15.035543619791662" />
          <ConnectorPoint PointX="18" PointY="15.035543619791662" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_WorkloadItems_OperatorLogins" >
          <ConnectorPoint PointX="4.156252" PointY="11.826396484375" />
          <ConnectorPoint PointX="4.156252" PointY="13" />
          <ConnectorPoint PointX="5.916666666666667" PointY="13" />
          <ConnectorPoint PointX="6.083333333333333" PointY="13" />
          <ConnectorPoint PointX="6.3229191666666669" PointY="13" />
          <ConnectorPoint PointX="6.4895858333333329" PointY="13" />
          <ConnectorPoint PointX="12.5" PointY="13" />
          <ConnectorPoint PointX="12.5" PointY="15.3744921875" />
          <ConnectorPoint PointX="17.625" PointY="15.3744921875" />
          <ConnectorPoint PointX="17.625" PointY="13.486519809895837" />
          <ConnectorPoint PointX="18" PointY="13.486519809895837" />
        </AssociationConnector>
        <AssociationConnector Association="PersonalLaundryModel.FK_WorkloadItems_Workloads" >
          <ConnectorPoint PointX="14.25" PointY="12.03125" />
          <ConnectorPoint PointX="18" PointY="12.03125" />
        </AssociationConnector>
      </Diagram>
    </Diagrams>
  </Designer>
</edmx:Edmx>