<?xml version="1.0" encoding="utf-8"?>
<Schema Namespace="Хранилище KadroviYshotModel" Provider="System.Data.SqlClient" ProviderManifestToken="2012" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
  <EntityType Name="Childrens">
    <Key>
      <PropertyRef Name="IdChildren" />
    </Key>
    <Property Name="IdChildren" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="IdEmployee" Type="int" />
    <Property Name="Type" Type="nvarchar" MaxLength="50" />
    <Property Name="FullName" Type="nvarchar(max)" />
    <Property Name="DateBirth" Type="date" />
  </EntityType>
  <EntityType Name="Dolzhnosts">
    <Key>
      <PropertyRef Name="IdDolzhnost" />
    </Key>
    <Property Name="IdDolzhnost" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="NameDolzhnost" Type="nvarchar" MaxLength="50" />
    <Property Name="Salary" Type="money" />
  </EntityType>
  <EntityType Name="Educations">
    <Key>
      <PropertyRef Name="IdEducation" />
    </Key>
    <Property Name="IdEducation" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="Establishment" Type="nvarchar" MaxLength="50" />
    <Property Name="YearEnding" Type="int" />
    <Property Name="Qualification" Type="nvarchar" MaxLength="50" />
    <Property Name="Speciality" Type="nvarchar" MaxLength="50" />
  </EntityType>
  <EntityType Name="Employees">
    <Key>
      <PropertyRef Name="IdEmployee" />
    </Key>
    <Property Name="IdEmployee" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="Surname" Type="nvarchar" MaxLength="50" />
    <Property Name="Name" Type="nvarchar" MaxLength="50" />
    <Property Name="Otchestvo" Type="nvarchar" MaxLength="50" />
    <Property Name="DateBirth" Type="date" />
    <Property Name="IdDolzhnost" Type="int" />
    <Property Name="IdFamilyStatus" Type="int" />
    <Property Name="AddressResidence" Type="nvarchar(max)" />
    <Property Name="Telephone" Type="nvarchar" MaxLength="50" />
    <Property Name="DateReceipt" Type="date" />
    <Property Name="IdEducation" Type="int" />
    <Property Name="IdChildren" Type="int" />
    <Property Name="IdMilitaryDuty" Type="int" />
  </EntityType>
  <EntityType Name="FamilyStatuses">
    <Key>
      <PropertyRef Name="IdFamilyStatus" />
    </Key>
    <Property Name="IdFamilyStatus" Type="int" Nullable="false" />
    <Property Name="Name" Type="nvarchar" MaxLength="50" />
  </EntityType>
  <EntityType Name="MilitaryDuties">
    <Key>
      <PropertyRef Name="IdMilitaryDuty" />
    </Key>
    <Property Name="IdMilitaryDuty" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="MilitaryIdNumber" Type="int" />
    <Property Name="AccountingGroup" Type="nvarchar" MaxLength="50" />
    <Property Name="MilitaryRank" Type="nvarchar" MaxLength="50" />
    <Property Name="Profile" Type="nvarchar" MaxLength="50" />
    <Property Name="ReserveRank" Type="nvarchar" MaxLength="50" />
    <Property Name="DateReceipt" Type="date" />
    <Property Name="DateWithdrawal" Type="date" />
    <Property Name="Base" Type="nvarchar" MaxLength="50" />
    <Property Name="SpecialAccount" Type="bit" />
    <Property Name="MilitaryRegistrationNumber" Type="int" />
    <Property Name="MilitaryPositionCode" Type="int" />
  </EntityType>
  <EntityType Name="OrdersDismissal">
    <Key>
      <PropertyRef Name="IdDismissal" />
    </Key>
    <Property Name="IdDismissal" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="IdEmployee" Type="int" />
    <Property Name="DateApproval" Type="date" />
    <Property Name="Grounds" Type="nvarchar" MaxLength="50" />
  </EntityType>
  <EntityType Name="OrdersEmployment">
    <Key>
      <PropertyRef Name="IdAcceptanceWork" />
    </Key>
    <Property Name="IdAcceptanceWork" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="IdEmployee" Type="int" />
    <Property Name="IdStaffingTable" Type="int" />
    <Property Name="IdDolzhnost" Type="int" />
    <Property Name="DateApproval" Type="date" />
  </EntityType>
  <EntityType Name="Roles">
    <Key>
      <PropertyRef Name="IdRole" />
    </Key>
    <Property Name="IdRole" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="Name" Type="nvarchar" MaxLength="50" />
  </EntityType>
  <EntityType Name="StaffingTables">
    <Key>
      <PropertyRef Name="IdStaffingTable" />
    </Key>
    <Property Name="IdStaffingTable" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="IdEmployee" Type="int" />
    <Property Name="IdSubdivision" Type="int" />
  </EntityType>
  <EntityType Name="Subdivisions">
    <Key>
      <PropertyRef Name="IdSubdivision" />
    </Key>
    <Property Name="IdSubdivision" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="NameSubdivision" Type="nvarchar" MaxLength="50" />
  </EntityType>
  <EntityType Name="sysdiagrams">
    <Key>
      <PropertyRef Name="diagram_id" />
    </Key>
    <Property Name="name" Type="nvarchar" MaxLength="128" Nullable="false" />
    <Property Name="principal_id" Type="int" Nullable="false" />
    <Property Name="diagram_id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="version" Type="int" />
    <Property Name="definition" Type="varbinary(max)" />
  </EntityType>
  <EntityType Name="Users">
    <Key>
      <PropertyRef Name="IdUser" />
    </Key>
    <Property Name="IdUser" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="Name" Type="nvarchar" MaxLength="50" />
    <Property Name="Login" Type="nvarchar" MaxLength="50" />
    <Property Name="Password" Type="nvarchar" MaxLength="50" />
    <Property Name="IdRole" Type="int" />
  </EntityType>
  <!--Ошибки, обнаруженные при создании:
предупреждение 6013: Первичный ключ в таблице или представлении "KadroviYshot.dbo.Dolzhnost" не определен, его не удалось вывести. Эта таблица или представление исключены. Чтобы использовать сущность, необходимо проверить схему, добавить правильные ключи и раскомментировать ее.
        <EntityType Name="Dolzhnost">
          <Property Name="Должность" Type="nvarchar" MaxLength="50" />
          <Property Name="Оклад" Type="money" />
        </EntityType>-->
  <!--Ошибки, обнаруженные при создании:
предупреждение 6013: Первичный ключ в таблице или представлении "KadroviYshot.dbo.EmployeeInformation" не определен, его не удалось вывести. Эта таблица или представление исключены. Чтобы использовать сущность, необходимо проверить схему, добавить правильные ключи и раскомментировать ее.
        <EntityType Name="EmployeeInformation">
          <Property Name="Фамилия" Type="nvarchar" MaxLength="50" />
          <Property Name="Имя" Type="nvarchar" MaxLength="50" />
          <Property Name="Отчество" Type="nvarchar" MaxLength="50" />
          <Property Name="Дата рождение" Type="date" />
          <Property Name="Должность" Type="nvarchar" MaxLength="50" />
          <Property Name="Адресс" Type="nvarchar(max)" />
          <Property Name="Телефон" Type="nvarchar" MaxLength="50" />
          <Property Name="Дата принятия" Type="date" />
          <Property Name="Дети" Type="nvarchar(max)" />
          <Property Name="Семейный статус" Type="nvarchar" MaxLength="50" />
          <Property Name="Учебное учереждение" Type="nvarchar" MaxLength="50" />
          <Property Name="Номер военника" Type="int" />
        </EntityType>-->
  <!--Ошибки, обнаруженные при создании:
предупреждение 6013: Первичный ключ в таблице или представлении "KadroviYshot.dbo.EmployeesFired" не определен, его не удалось вывести. Эта таблица или представление исключены. Чтобы использовать сущность, необходимо проверить схему, добавить правильные ключи и раскомментировать ее.
        <EntityType Name="EmployeesFired">
          <Property Name="Фамилия" Type="nvarchar" MaxLength="50" />
          <Property Name="Имя" Type="nvarchar" MaxLength="50" />
          <Property Name="Отчество" Type="nvarchar" MaxLength="50" />
          <Property Name="Дата рождения" Type="date" />
          <Property Name="Дата утверждения" Type="date" />
          <Property Name="Основания" Type="nvarchar" MaxLength="50" />
        </EntityType>-->
  <!--Ошибки, обнаруженные при создании:
предупреждение 6013: Первичный ключ в таблице или представлении "KadroviYshot.dbo.EmploymentAgreement" не определен, его не удалось вывести. Эта таблица или представление исключены. Чтобы использовать сущность, необходимо проверить схему, добавить правильные ключи и раскомментировать ее.
        <EntityType Name="EmploymentAgreement">
          <Property Name="Фамилия" Type="nvarchar" MaxLength="50" />
          <Property Name="Имя" Type="nvarchar" MaxLength="50" />
          <Property Name="Отчество" Type="nvarchar" MaxLength="50" />
          <Property Name="Дата рождения" Type="date" />
          <Property Name="Адрес проживания" Type="nvarchar(max)" />
          <Property Name="Телефон" Type="nvarchar" MaxLength="50" />
          <Property Name="Дата принятия на работу" Type="date" />
          <Property Name="Подразделение" Type="nvarchar" MaxLength="50" />
          <Property Name="Должность" Type="nvarchar" MaxLength="50" />
          <Property Name="Оклад" Type="money" />
        </EntityType>-->
  <!--Ошибки, обнаруженные при создании:
предупреждение 6013: Первичный ключ в таблице или представлении "KadroviYshot.dbo.StaffingTable" не определен, его не удалось вывести. Эта таблица или представление исключены. Чтобы использовать сущность, необходимо проверить схему, добавить правильные ключи и раскомментировать ее.
        <EntityType Name="StaffingTable">
          <Property Name="Подразделение" Type="nvarchar" MaxLength="50" />
          <Property Name="Фамилия" Type="nvarchar" MaxLength="50" />
          <Property Name="Имя" Type="nvarchar" MaxLength="50" />
          <Property Name="Отчество" Type="nvarchar" MaxLength="50" />
          <Property Name="Дата рождения" Type="date" />
          <Property Name="Адрес проживания" Type="nvarchar(max)" />
          <Property Name="Телефон" Type="nvarchar" MaxLength="50" />
          <Property Name="Принят на работу" Type="date" />
        </EntityType>-->
  <!--Ошибки, обнаруженные при создании:
предупреждение 6013: Первичный ключ в таблице или представлении "KadroviYshot.dbo.Subdivision" не определен, его не удалось вывести. Эта таблица или представление исключены. Чтобы использовать сущность, необходимо проверить схему, добавить правильные ключи и раскомментировать ее.
        <EntityType Name="Subdivision">
          <Property Name="Подразделение" Type="nvarchar" MaxLength="50" />
        </EntityType>-->
  <Association Name="FK_Childrens_Employees">
    <End Role="Employees" Type="Self.Employees" Multiplicity="0..1" />
    <End Role="Childrens" Type="Self.Childrens" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="Employees">
        <PropertyRef Name="IdEmployee" />
      </Principal>
      <Dependent Role="Childrens">
        <PropertyRef Name="IdEmployee" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
  <Association Name="FK_Employees_Dolzhnosts">
    <End Role="Dolzhnosts" Type="Self.Dolzhnosts" Multiplicity="0..1" />
    <End Role="Employees" Type="Self.Employees" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="Dolzhnosts">
        <PropertyRef Name="IdDolzhnost" />
      </Principal>
      <Dependent Role="Employees">
        <PropertyRef Name="IdDolzhnost" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
  <Association Name="FK_Employees_Educations">
    <End Role="Educations" Type="Self.Educations" Multiplicity="0..1" />
    <End Role="Employees" Type="Self.Employees" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="Educations">
        <PropertyRef Name="IdEducation" />
      </Principal>
      <Dependent Role="Employees">
        <PropertyRef Name="IdEducation" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
  <Association Name="FK_Employees_FamilyStatuses">
    <End Role="FamilyStatuses" Type="Self.FamilyStatuses" Multiplicity="0..1" />
    <End Role="Employees" Type="Self.Employees" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="FamilyStatuses">
        <PropertyRef Name="IdFamilyStatus" />
      </Principal>
      <Dependent Role="Employees">
        <PropertyRef Name="IdFamilyStatus" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
  <Association Name="FK_Employees_MilitaryDuties">
    <End Role="MilitaryDuties" Type="Self.MilitaryDuties" Multiplicity="0..1" />
    <End Role="Employees" Type="Self.Employees" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="MilitaryDuties">
        <PropertyRef Name="IdMilitaryDuty" />
      </Principal>
      <Dependent Role="Employees">
        <PropertyRef Name="IdMilitaryDuty" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
  <Association Name="FK_OrdersDismissal_Employees">
    <End Role="Employees" Type="Self.Employees" Multiplicity="0..1" />
    <End Role="OrdersDismissal" Type="Self.OrdersDismissal" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="Employees">
        <PropertyRef Name="IdEmployee" />
      </Principal>
      <Dependent Role="OrdersDismissal">
        <PropertyRef Name="IdEmployee" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
  <Association Name="FK_OrdersEmployment_Dolzhnosts">
    <End Role="Dolzhnosts" Type="Self.Dolzhnosts" Multiplicity="0..1" />
    <End Role="OrdersEmployment" Type="Self.OrdersEmployment" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="Dolzhnosts">
        <PropertyRef Name="IdDolzhnost" />
      </Principal>
      <Dependent Role="OrdersEmployment">
        <PropertyRef Name="IdDolzhnost" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
  <Association Name="FK_OrdersEmployment_Employees1">
    <End Role="Employees" Type="Self.Employees" Multiplicity="0..1" />
    <End Role="OrdersEmployment" Type="Self.OrdersEmployment" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="Employees">
        <PropertyRef Name="IdEmployee" />
      </Principal>
      <Dependent Role="OrdersEmployment">
        <PropertyRef Name="IdEmployee" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
  <Association Name="FK_OrdersEmployment_StaffingTables">
    <End Role="StaffingTables" Type="Self.StaffingTables" Multiplicity="0..1" />
    <End Role="OrdersEmployment" Type="Self.OrdersEmployment" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="StaffingTables">
        <PropertyRef Name="IdStaffingTable" />
      </Principal>
      <Dependent Role="OrdersEmployment">
        <PropertyRef Name="IdStaffingTable" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
  <Association Name="FK_StaffingTables_Subdivisions">
    <End Role="Subdivisions" Type="Self.Subdivisions" Multiplicity="0..1" />
    <End Role="StaffingTables" Type="Self.StaffingTables" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="Subdivisions">
        <PropertyRef Name="IdSubdivision" />
      </Principal>
      <Dependent Role="StaffingTables">
        <PropertyRef Name="IdSubdivision" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
  <Association Name="FK_Users_Roles">
    <End Role="Roles" Type="Self.Roles" Multiplicity="0..1" />
    <End Role="Users" Type="Self.Users" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="Roles">
        <PropertyRef Name="IdRole" />
      </Principal>
      <Dependent Role="Users">
        <PropertyRef Name="IdRole" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
  <Function Name="fn_diagramobjects" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="true" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" ReturnType="int" />
  <Function Name="sp_alterdiagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
    <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
    <Parameter Name="owner_id" Type="int" Mode="In" />
    <Parameter Name="version" Type="int" Mode="In" />
    <Parameter Name="definition" Type="varbinary(max)" Mode="In" />
  </Function>
  <Function Name="sp_creatediagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
    <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
    <Parameter Name="owner_id" Type="int" Mode="In" />
    <Parameter Name="version" Type="int" Mode="In" />
    <Parameter Name="definition" Type="varbinary(max)" Mode="In" />
  </Function>
  <Function Name="sp_dropdiagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
    <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
    <Parameter Name="owner_id" Type="int" Mode="In" />
  </Function>
  <Function Name="sp_helpdiagramdefinition" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
    <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
    <Parameter Name="owner_id" Type="int" Mode="In" />
  </Function>
  <Function Name="sp_helpdiagrams" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
    <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
    <Parameter Name="owner_id" Type="int" Mode="In" />
  </Function>
  <Function Name="sp_renamediagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
    <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
    <Parameter Name="owner_id" Type="int" Mode="In" />
    <Parameter Name="new_diagramname" Type="nvarchar" Mode="In" />
  </Function>
  <Function Name="sp_upgraddiagrams" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" />
  <EntityContainer Name="Хранилище KadroviYshotModelContainer">
    <EntitySet Name="Childrens" EntityType="Self.Childrens" Schema="dbo" store:Type="Tables" />
    <EntitySet Name="Dolzhnosts" EntityType="Self.Dolzhnosts" Schema="dbo" store:Type="Tables" />
    <EntitySet Name="Educations" EntityType="Self.Educations" Schema="dbo" store:Type="Tables" />
    <EntitySet Name="Employees" EntityType="Self.Employees" Schema="dbo" store:Type="Tables" />
    <EntitySet Name="FamilyStatuses" EntityType="Self.FamilyStatuses" Schema="dbo" store:Type="Tables" />
    <EntitySet Name="MilitaryDuties" EntityType="Self.MilitaryDuties" Schema="dbo" store:Type="Tables" />
    <EntitySet Name="OrdersDismissal" EntityType="Self.OrdersDismissal" Schema="dbo" store:Type="Tables" />
    <EntitySet Name="OrdersEmployment" EntityType="Self.OrdersEmployment" Schema="dbo" store:Type="Tables" />
    <EntitySet Name="Roles" EntityType="Self.Roles" Schema="dbo" store:Type="Tables" />
    <EntitySet Name="StaffingTables" EntityType="Self.StaffingTables" Schema="dbo" store:Type="Tables" />
    <EntitySet Name="Subdivisions" EntityType="Self.Subdivisions" Schema="dbo" store:Type="Tables" />
    <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
    <EntitySet Name="Users" EntityType="Self.Users" Schema="dbo" store:Type="Tables" />
    <AssociationSet Name="FK_Childrens_Employees" Association="Self.FK_Childrens_Employees">
      <End Role="Employees" EntitySet="Employees" />
      <End Role="Childrens" EntitySet="Childrens" />
    </AssociationSet>
    <AssociationSet Name="FK_Employees_Dolzhnosts" Association="Self.FK_Employees_Dolzhnosts">
      <End Role="Dolzhnosts" EntitySet="Dolzhnosts" />
      <End Role="Employees" EntitySet="Employees" />
    </AssociationSet>
    <AssociationSet Name="FK_Employees_Educations" Association="Self.FK_Employees_Educations">
      <End Role="Educations" EntitySet="Educations" />
      <End Role="Employees" EntitySet="Employees" />
    </AssociationSet>
    <AssociationSet Name="FK_Employees_FamilyStatuses" Association="Self.FK_Employees_FamilyStatuses">
      <End Role="FamilyStatuses" EntitySet="FamilyStatuses" />
      <End Role="Employees" EntitySet="Employees" />
    </AssociationSet>
    <AssociationSet Name="FK_Employees_MilitaryDuties" Association="Self.FK_Employees_MilitaryDuties">
      <End Role="MilitaryDuties" EntitySet="MilitaryDuties" />
      <End Role="Employees" EntitySet="Employees" />
    </AssociationSet>
    <AssociationSet Name="FK_OrdersDismissal_Employees" Association="Self.FK_OrdersDismissal_Employees">
      <End Role="Employees" EntitySet="Employees" />
      <End Role="OrdersDismissal" EntitySet="OrdersDismissal" />
    </AssociationSet>
    <AssociationSet Name="FK_OrdersEmployment_Dolzhnosts" Association="Self.FK_OrdersEmployment_Dolzhnosts">
      <End Role="Dolzhnosts" EntitySet="Dolzhnosts" />
      <End Role="OrdersEmployment" EntitySet="OrdersEmployment" />
    </AssociationSet>
    <AssociationSet Name="FK_OrdersEmployment_Employees1" Association="Self.FK_OrdersEmployment_Employees1">
      <End Role="Employees" EntitySet="Employees" />
      <End Role="OrdersEmployment" EntitySet="OrdersEmployment" />
    </AssociationSet>
    <AssociationSet Name="FK_OrdersEmployment_StaffingTables" Association="Self.FK_OrdersEmployment_StaffingTables">
      <End Role="StaffingTables" EntitySet="StaffingTables" />
      <End Role="OrdersEmployment" EntitySet="OrdersEmployment" />
    </AssociationSet>
    <AssociationSet Name="FK_StaffingTables_Subdivisions" Association="Self.FK_StaffingTables_Subdivisions">
      <End Role="Subdivisions" EntitySet="Subdivisions" />
      <End Role="StaffingTables" EntitySet="StaffingTables" />
    </AssociationSet>
    <AssociationSet Name="FK_Users_Roles" Association="Self.FK_Users_Roles">
      <End Role="Roles" EntitySet="Roles" />
      <End Role="Users" EntitySet="Users" />
    </AssociationSet>
  </EntityContainer>
</Schema>