123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011 |
- <?xml version="1.0" encoding="utf-8"?>
- <edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
- <!-- EF Runtime content -->
- <edmx:Runtime>
- <!-- SSDL content -->
- <edmx:StorageModels>
- <Schema Namespace="Хранилище 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>
- </edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="KadroviYshotModel" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
- <EntityType Name="Childrens">
- <Key>
- <PropertyRef Name="IdChildren" />
- </Key>
- <Property Name="IdChildren" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="IdEmployee" Type="Int32" />
- <Property Name="Type" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="FullName" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="DateBirth" Type="DateTime" Precision="0" />
- <NavigationProperty Name="Employees" Relationship="Self.FK_Childrens_Employees" FromRole="Childrens" ToRole="Employees" />
- </EntityType>
- <EntityType Name="Dolzhnosts">
- <Key>
- <PropertyRef Name="IdDolzhnost" />
- </Key>
- <Property Name="IdDolzhnost" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="NameDolzhnost" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="Salary" Type="Decimal" Precision="19" Scale="4" />
- <NavigationProperty Name="Employees" Relationship="Self.FK_Employees_Dolzhnosts" FromRole="Dolzhnosts" ToRole="Employees" />
- <NavigationProperty Name="OrdersEmployment" Relationship="Self.FK_OrdersEmployment_Dolzhnosts" FromRole="Dolzhnosts" ToRole="OrdersEmployment" />
- </EntityType>
- <EntityType Name="Educations">
- <Key>
- <PropertyRef Name="IdEducation" />
- </Key>
- <Property Name="IdEducation" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Establishment" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="YearEnding" Type="Int32" />
- <Property Name="Qualification" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="Speciality" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Employees" Relationship="Self.FK_Employees_Educations" FromRole="Educations" ToRole="Employees" />
- </EntityType>
- <EntityType Name="Employees">
- <Key>
- <PropertyRef Name="IdEmployee" />
- </Key>
- <Property Name="IdEmployee" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Surname" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="Otchestvo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="DateBirth" Type="DateTime" Precision="0" />
- <Property Name="IdDolzhnost" Type="Int32" />
- <Property Name="IdFamilyStatus" Type="Int32" />
- <Property Name="AddressResidence" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="Telephone" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="DateReceipt" Type="DateTime" Precision="0" />
- <Property Name="IdEducation" Type="Int32" />
- <Property Name="IdChildren" Type="Int32" />
- <Property Name="IdMilitaryDuty" Type="Int32" />
- <NavigationProperty Name="Childrens" Relationship="Self.FK_Childrens_Employees" FromRole="Employees" ToRole="Childrens" />
- <NavigationProperty Name="Dolzhnosts" Relationship="Self.FK_Employees_Dolzhnosts" FromRole="Employees" ToRole="Dolzhnosts" />
- <NavigationProperty Name="Educations" Relationship="Self.FK_Employees_Educations" FromRole="Employees" ToRole="Educations" />
- <NavigationProperty Name="FamilyStatuses" Relationship="Self.FK_Employees_FamilyStatuses" FromRole="Employees" ToRole="FamilyStatuses" />
- <NavigationProperty Name="MilitaryDuties" Relationship="Self.FK_Employees_MilitaryDuties" FromRole="Employees" ToRole="MilitaryDuties" />
- <NavigationProperty Name="OrdersDismissal" Relationship="Self.FK_OrdersDismissal_Employees" FromRole="Employees" ToRole="OrdersDismissal" />
- <NavigationProperty Name="OrdersEmployment" Relationship="Self.FK_OrdersEmployment_Employees1" FromRole="Employees" ToRole="OrdersEmployment" />
- </EntityType>
- <EntityType Name="FamilyStatuses">
- <Key>
- <PropertyRef Name="IdFamilyStatus" />
- </Key>
- <Property Name="IdFamilyStatus" Type="Int32" Nullable="false" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Employees" Relationship="Self.FK_Employees_FamilyStatuses" FromRole="FamilyStatuses" ToRole="Employees" />
- </EntityType>
- <EntityType Name="MilitaryDuties">
- <Key>
- <PropertyRef Name="IdMilitaryDuty" />
- </Key>
- <Property Name="IdMilitaryDuty" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="MilitaryIdNumber" Type="Int32" />
- <Property Name="AccountingGroup" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="MilitaryRank" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="Profile" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="ReserveRank" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="DateReceipt" Type="DateTime" Precision="0" />
- <Property Name="DateWithdrawal" Type="DateTime" Precision="0" />
- <Property Name="Base" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="SpecialAccount" Type="Boolean" />
- <Property Name="MilitaryRegistrationNumber" Type="Int32" />
- <Property Name="MilitaryPositionCode" Type="Int32" />
- <NavigationProperty Name="Employees" Relationship="Self.FK_Employees_MilitaryDuties" FromRole="MilitaryDuties" ToRole="Employees" />
- </EntityType>
- <EntityType Name="OrdersDismissal">
- <Key>
- <PropertyRef Name="IdDismissal" />
- </Key>
- <Property Name="IdDismissal" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="IdEmployee" Type="Int32" />
- <Property Name="DateApproval" Type="DateTime" Precision="0" />
- <Property Name="Grounds" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Employees" Relationship="Self.FK_OrdersDismissal_Employees" FromRole="OrdersDismissal" ToRole="Employees" />
- </EntityType>
- <EntityType Name="OrdersEmployment">
- <Key>
- <PropertyRef Name="IdAcceptanceWork" />
- </Key>
- <Property Name="IdAcceptanceWork" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="IdEmployee" Type="Int32" />
- <Property Name="IdStaffingTable" Type="Int32" />
- <Property Name="IdDolzhnost" Type="Int32" />
- <Property Name="DateApproval" Type="DateTime" Precision="0" />
- <NavigationProperty Name="Dolzhnosts" Relationship="Self.FK_OrdersEmployment_Dolzhnosts" FromRole="OrdersEmployment" ToRole="Dolzhnosts" />
- <NavigationProperty Name="Employees" Relationship="Self.FK_OrdersEmployment_Employees1" FromRole="OrdersEmployment" ToRole="Employees" />
- <NavigationProperty Name="StaffingTables" Relationship="Self.FK_OrdersEmployment_StaffingTables" FromRole="OrdersEmployment" ToRole="StaffingTables" />
- </EntityType>
- <EntityType Name="Roles">
- <Key>
- <PropertyRef Name="IdRole" />
- </Key>
- <Property Name="IdRole" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Users" Relationship="Self.FK_Users_Roles" FromRole="Roles" ToRole="Users" />
- </EntityType>
- <EntityType Name="StaffingTables">
- <Key>
- <PropertyRef Name="IdStaffingTable" />
- </Key>
- <Property Name="IdStaffingTable" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="IdEmployee" Type="Int32" />
- <Property Name="IdSubdivision" Type="Int32" />
- <NavigationProperty Name="OrdersEmployment" Relationship="Self.FK_OrdersEmployment_StaffingTables" FromRole="StaffingTables" ToRole="OrdersEmployment" />
- <NavigationProperty Name="Subdivisions" Relationship="Self.FK_StaffingTables_Subdivisions" FromRole="StaffingTables" ToRole="Subdivisions" />
- </EntityType>
- <EntityType Name="Subdivisions">
- <Key>
- <PropertyRef Name="IdSubdivision" />
- </Key>
- <Property Name="IdSubdivision" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="NameSubdivision" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="StaffingTables" Relationship="Self.FK_StaffingTables_Subdivisions" FromRole="Subdivisions" ToRole="StaffingTables" />
- </EntityType>
- <EntityType Name="sysdiagrams">
- <Key>
- <PropertyRef Name="diagram_id" />
- </Key>
- <Property Name="name" Type="String" MaxLength="128" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="principal_id" Type="Int32" Nullable="false" />
- <Property Name="diagram_id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="version" Type="Int32" />
- <Property Name="definition" Type="Binary" MaxLength="Max" FixedLength="false" />
- </EntityType>
- <EntityType Name="Users">
- <Key>
- <PropertyRef Name="IdUser" />
- </Key>
- <Property Name="IdUser" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="Login" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="Password" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="IdRole" Type="Int32" />
- <NavigationProperty Name="Roles" Relationship="Self.FK_Users_Roles" FromRole="Users" ToRole="Roles" />
- </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_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_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_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_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>
- <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>
- <EntityContainer Name="KadroviYshotEntities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="Childrens" EntityType="Self.Childrens" />
- <EntitySet Name="Dolzhnosts" EntityType="Self.Dolzhnosts" />
- <EntitySet Name="Educations" EntityType="Self.Educations" />
- <EntitySet Name="Employees" EntityType="Self.Employees" />
- <EntitySet Name="FamilyStatuses" EntityType="Self.FamilyStatuses" />
- <EntitySet Name="MilitaryDuties" EntityType="Self.MilitaryDuties" />
- <EntitySet Name="OrdersDismissal" EntityType="Self.OrdersDismissal" />
- <EntitySet Name="OrdersEmployment" EntityType="Self.OrdersEmployment" />
- <EntitySet Name="Roles" EntityType="Self.Roles" />
- <EntitySet Name="StaffingTables" EntityType="Self.StaffingTables" />
- <EntitySet Name="Subdivisions" EntityType="Self.Subdivisions" />
- <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" />
- <EntitySet Name="Users" EntityType="Self.Users" />
- <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_OrdersEmployment_Dolzhnosts" Association="Self.FK_OrdersEmployment_Dolzhnosts">
- <End Role="Dolzhnosts" EntitySet="Dolzhnosts" />
- <End Role="OrdersEmployment" EntitySet="OrdersEmployment" />
- </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_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_Users_Roles" Association="Self.FK_Users_Roles">
- <End Role="Roles" EntitySet="Roles" />
- <End Role="Users" EntitySet="Users" />
- </AssociationSet>
- <AssociationSet Name="FK_StaffingTables_Subdivisions" Association="Self.FK_StaffingTables_Subdivisions">
- <End Role="Subdivisions" EntitySet="Subdivisions" />
- <End Role="StaffingTables" EntitySet="StaffingTables" />
- </AssociationSet>
- <FunctionImport Name="sp_alterdiagram">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- <Parameter Name="version" Mode="In" Type="Int32" />
- <Parameter Name="definition" Mode="In" Type="Binary" />
- </FunctionImport>
- <FunctionImport Name="sp_creatediagram">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- <Parameter Name="version" Mode="In" Type="Int32" />
- <Parameter Name="definition" Mode="In" Type="Binary" />
- </FunctionImport>
- <FunctionImport Name="sp_dropdiagram">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- </FunctionImport>
- <FunctionImport Name="sp_helpdiagramdefinition" ReturnType="Collection(KadroviYshotModel.sp_helpdiagramdefinition_Result)">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- </FunctionImport>
- <FunctionImport Name="sp_helpdiagrams" ReturnType="Collection(KadroviYshotModel.sp_helpdiagrams_Result)">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- </FunctionImport>
- <FunctionImport Name="sp_renamediagram">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- <Parameter Name="new_diagramname" Mode="In" Type="String" />
- </FunctionImport>
- <FunctionImport Name="sp_upgraddiagrams" />
- </EntityContainer>
- <ComplexType Name="sp_helpdiagramdefinition_Result">
- <Property Type="Int32" Name="version" Nullable="true" />
- <Property Type="Binary" Name="definition" Nullable="true" />
- </ComplexType>
- <ComplexType Name="sp_helpdiagrams_Result">
- <Property Type="String" Name="Database" Nullable="true" MaxLength="128" />
- <Property Type="String" Name="Name" Nullable="false" MaxLength="128" />
- <Property Type="Int32" Name="ID" Nullable="false" />
- <Property Type="String" Name="Owner" Nullable="true" MaxLength="128" />
- <Property Type="Int32" Name="OwnerID" Nullable="false" />
- </ComplexType>
- </Schema>
- </edmx:ConceptualModels>
- <!-- C-S mapping content -->
- <edmx:Mappings>
- <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
- <EntityContainerMapping StorageEntityContainer="Хранилище KadroviYshotModelContainer" CdmEntityContainer="KadroviYshotEntities">
- <EntitySetMapping Name="Childrens">
- <EntityTypeMapping TypeName="KadroviYshotModel.Childrens">
- <MappingFragment StoreEntitySet="Childrens">
- <ScalarProperty Name="IdChildren" ColumnName="IdChildren" />
- <ScalarProperty Name="IdEmployee" ColumnName="IdEmployee" />
- <ScalarProperty Name="Type" ColumnName="Type" />
- <ScalarProperty Name="FullName" ColumnName="FullName" />
- <ScalarProperty Name="DateBirth" ColumnName="DateBirth" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Dolzhnosts">
- <EntityTypeMapping TypeName="KadroviYshotModel.Dolzhnosts">
- <MappingFragment StoreEntitySet="Dolzhnosts">
- <ScalarProperty Name="IdDolzhnost" ColumnName="IdDolzhnost" />
- <ScalarProperty Name="NameDolzhnost" ColumnName="NameDolzhnost" />
- <ScalarProperty Name="Salary" ColumnName="Salary" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Educations">
- <EntityTypeMapping TypeName="KadroviYshotModel.Educations">
- <MappingFragment StoreEntitySet="Educations">
- <ScalarProperty Name="IdEducation" ColumnName="IdEducation" />
- <ScalarProperty Name="Establishment" ColumnName="Establishment" />
- <ScalarProperty Name="YearEnding" ColumnName="YearEnding" />
- <ScalarProperty Name="Qualification" ColumnName="Qualification" />
- <ScalarProperty Name="Speciality" ColumnName="Speciality" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Employees">
- <EntityTypeMapping TypeName="KadroviYshotModel.Employees">
- <MappingFragment StoreEntitySet="Employees">
- <ScalarProperty Name="IdEmployee" ColumnName="IdEmployee" />
- <ScalarProperty Name="Surname" ColumnName="Surname" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- <ScalarProperty Name="Otchestvo" ColumnName="Otchestvo" />
- <ScalarProperty Name="DateBirth" ColumnName="DateBirth" />
- <ScalarProperty Name="IdDolzhnost" ColumnName="IdDolzhnost" />
- <ScalarProperty Name="IdFamilyStatus" ColumnName="IdFamilyStatus" />
- <ScalarProperty Name="AddressResidence" ColumnName="AddressResidence" />
- <ScalarProperty Name="Telephone" ColumnName="Telephone" />
- <ScalarProperty Name="DateReceipt" ColumnName="DateReceipt" />
- <ScalarProperty Name="IdEducation" ColumnName="IdEducation" />
- <ScalarProperty Name="IdChildren" ColumnName="IdChildren" />
- <ScalarProperty Name="IdMilitaryDuty" ColumnName="IdMilitaryDuty" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="FamilyStatuses">
- <EntityTypeMapping TypeName="KadroviYshotModel.FamilyStatuses">
- <MappingFragment StoreEntitySet="FamilyStatuses">
- <ScalarProperty Name="IdFamilyStatus" ColumnName="IdFamilyStatus" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="MilitaryDuties">
- <EntityTypeMapping TypeName="KadroviYshotModel.MilitaryDuties">
- <MappingFragment StoreEntitySet="MilitaryDuties">
- <ScalarProperty Name="IdMilitaryDuty" ColumnName="IdMilitaryDuty" />
- <ScalarProperty Name="MilitaryIdNumber" ColumnName="MilitaryIdNumber" />
- <ScalarProperty Name="AccountingGroup" ColumnName="AccountingGroup" />
- <ScalarProperty Name="MilitaryRank" ColumnName="MilitaryRank" />
- <ScalarProperty Name="Profile" ColumnName="Profile" />
- <ScalarProperty Name="ReserveRank" ColumnName="ReserveRank" />
- <ScalarProperty Name="DateReceipt" ColumnName="DateReceipt" />
- <ScalarProperty Name="DateWithdrawal" ColumnName="DateWithdrawal" />
- <ScalarProperty Name="Base" ColumnName="Base" />
- <ScalarProperty Name="SpecialAccount" ColumnName="SpecialAccount" />
- <ScalarProperty Name="MilitaryRegistrationNumber" ColumnName="MilitaryRegistrationNumber" />
- <ScalarProperty Name="MilitaryPositionCode" ColumnName="MilitaryPositionCode" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="OrdersDismissal">
- <EntityTypeMapping TypeName="KadroviYshotModel.OrdersDismissal">
- <MappingFragment StoreEntitySet="OrdersDismissal">
- <ScalarProperty Name="IdDismissal" ColumnName="IdDismissal" />
- <ScalarProperty Name="IdEmployee" ColumnName="IdEmployee" />
- <ScalarProperty Name="DateApproval" ColumnName="DateApproval" />
- <ScalarProperty Name="Grounds" ColumnName="Grounds" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="OrdersEmployment">
- <EntityTypeMapping TypeName="KadroviYshotModel.OrdersEmployment">
- <MappingFragment StoreEntitySet="OrdersEmployment">
- <ScalarProperty Name="IdAcceptanceWork" ColumnName="IdAcceptanceWork" />
- <ScalarProperty Name="IdEmployee" ColumnName="IdEmployee" />
- <ScalarProperty Name="IdStaffingTable" ColumnName="IdStaffingTable" />
- <ScalarProperty Name="IdDolzhnost" ColumnName="IdDolzhnost" />
- <ScalarProperty Name="DateApproval" ColumnName="DateApproval" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Roles">
- <EntityTypeMapping TypeName="KadroviYshotModel.Roles">
- <MappingFragment StoreEntitySet="Roles">
- <ScalarProperty Name="IdRole" ColumnName="IdRole" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="StaffingTables">
- <EntityTypeMapping TypeName="KadroviYshotModel.StaffingTables">
- <MappingFragment StoreEntitySet="StaffingTables">
- <ScalarProperty Name="IdStaffingTable" ColumnName="IdStaffingTable" />
- <ScalarProperty Name="IdEmployee" ColumnName="IdEmployee" />
- <ScalarProperty Name="IdSubdivision" ColumnName="IdSubdivision" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Subdivisions">
- <EntityTypeMapping TypeName="KadroviYshotModel.Subdivisions">
- <MappingFragment StoreEntitySet="Subdivisions">
- <ScalarProperty Name="IdSubdivision" ColumnName="IdSubdivision" />
- <ScalarProperty Name="NameSubdivision" ColumnName="NameSubdivision" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="sysdiagrams">
- <EntityTypeMapping TypeName="KadroviYshotModel.sysdiagrams">
- <MappingFragment StoreEntitySet="sysdiagrams">
- <ScalarProperty Name="name" ColumnName="name" />
- <ScalarProperty Name="principal_id" ColumnName="principal_id" />
- <ScalarProperty Name="diagram_id" ColumnName="diagram_id" />
- <ScalarProperty Name="version" ColumnName="version" />
- <ScalarProperty Name="definition" ColumnName="definition" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Users">
- <EntityTypeMapping TypeName="KadroviYshotModel.Users">
- <MappingFragment StoreEntitySet="Users">
- <ScalarProperty Name="IdUser" ColumnName="IdUser" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- <ScalarProperty Name="Login" ColumnName="Login" />
- <ScalarProperty Name="Password" ColumnName="Password" />
- <ScalarProperty Name="IdRole" ColumnName="IdRole" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <FunctionImportMapping FunctionImportName="sp_alterdiagram" FunctionName="Хранилище KadroviYshotModel.sp_alterdiagram" />
- <FunctionImportMapping FunctionImportName="sp_creatediagram" FunctionName="Хранилище KadroviYshotModel.sp_creatediagram" />
- <FunctionImportMapping FunctionImportName="sp_dropdiagram" FunctionName="Хранилище KadroviYshotModel.sp_dropdiagram" />
- <FunctionImportMapping FunctionImportName="sp_helpdiagramdefinition" FunctionName="Хранилище KadroviYshotModel.sp_helpdiagramdefinition">
- <ResultMapping>
- <ComplexTypeMapping TypeName="KadroviYshotModel.sp_helpdiagramdefinition_Result">
- <ScalarProperty Name="version" ColumnName="version" />
- <ScalarProperty Name="definition" ColumnName="definition" />
- </ComplexTypeMapping>
- </ResultMapping>
- </FunctionImportMapping>
- <FunctionImportMapping FunctionImportName="sp_helpdiagrams" FunctionName="Хранилище KadroviYshotModel.sp_helpdiagrams">
- <ResultMapping>
- <ComplexTypeMapping TypeName="KadroviYshotModel.sp_helpdiagrams_Result">
- <ScalarProperty Name="Database" ColumnName="Database" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Owner" ColumnName="Owner" />
- <ScalarProperty Name="OwnerID" ColumnName="OwnerID" />
- </ComplexTypeMapping>
- </ResultMapping>
- </FunctionImportMapping>
- <FunctionImportMapping FunctionImportName="sp_renamediagram" FunctionName="Хранилище KadroviYshotModel.sp_renamediagram" />
- <FunctionImportMapping FunctionImportName="sp_upgraddiagrams" FunctionName="Хранилище KadroviYshotModel.sp_upgraddiagrams" />
- </EntityContainerMapping>
- </Mapping>
- </edmx:Mappings>
- </edmx:Runtime>
- <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
- <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
- <Connection>
- <DesignerInfoPropertySet>
- <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
- </DesignerInfoPropertySet>
- </Connection>
- <Options>
- <DesignerInfoPropertySet>
- <DesignerProperty Name="ValidateOnBuild" Value="true" />
- <DesignerProperty Name="EnablePluralization" Value="false" />
- <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
- <DesignerProperty Name="UseLegacyProvider" Value="false" />
- <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
- </DesignerInfoPropertySet>
- </Options>
- <!-- Diagram content (shape and connector positions) -->
- <Diagrams></Diagrams>
- </Designer>
- </edmx:Edmx>
|