123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291 |
- <?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="Хранилище Exam19Model" 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="EarningsDeductions">
- <Key>
- <PropertyRef Name="Tab_number" />
- </Key>
- <Property Name="Tab_number" Type="int" Nullable="false" />
- <Property Name="Earning_deduction_code" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="EarningsDiductionsDirectory">
- <Key>
- <PropertyRef Name="Earning_deduction_code" />
- </Key>
- <Property Name="Earning_deduction_code" Type="int" Nullable="false" />
- <Property Name="Percentage" Type="decimal" Precision="5" Scale="2" Nullable="false" />
- </EntityType>
- <EntityType Name="PersonalInfo">
- <Key>
- <PropertyRef Name="Tab_number" />
- </Key>
- <Property Name="Tab_number" Type="int" Nullable="false" />
- <Property Name="Surname" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Name" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Patronymic" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Position_code" Type="int" Nullable="false" />
- <Property Name="Salary" Type="decimal" Precision="10" Scale="2" Nullable="false" />
- <Property Name="Worked_hours" Type="decimal" Precision="5" Scale="2" Nullable="false" />
- </EntityType>
- <EntityType Name="Positions">
- <Key>
- <PropertyRef Name="Positin_code" />
- </Key>
- <Property Name="Positin_code" Type="int" Nullable="false" />
- <Property Name="Position_name" Type="nvarchar" MaxLength="50" Nullable="false" />
- </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>
- <Association Name="FK_EarningsDeductions_EarningsDiductionsDirectory">
- <End Role="EarningsDiductionsDirectory" Type="Self.EarningsDiductionsDirectory" Multiplicity="1" />
- <End Role="EarningsDeductions" Type="Self.EarningsDeductions" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="EarningsDiductionsDirectory">
- <PropertyRef Name="Earning_deduction_code" />
- </Principal>
- <Dependent Role="EarningsDeductions">
- <PropertyRef Name="Earning_deduction_code" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_EarningsDeductions_PersonalInfo">
- <End Role="PersonalInfo" Type="Self.PersonalInfo" Multiplicity="1" />
- <End Role="EarningsDeductions" Type="Self.EarningsDeductions" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="PersonalInfo">
- <PropertyRef Name="Tab_number" />
- </Principal>
- <Dependent Role="EarningsDeductions">
- <PropertyRef Name="Earning_deduction_code" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_PersonalInfo_Positions">
- <End Role="Positions" Type="Self.Positions" Multiplicity="1" />
- <End Role="PersonalInfo" Type="Self.PersonalInfo" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Positions">
- <PropertyRef Name="Positin_code" />
- </Principal>
- <Dependent Role="PersonalInfo">
- <PropertyRef Name="Position_code" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Хранилище Exam19ModelContainer">
- <EntitySet Name="EarningsDeductions" EntityType="Self.EarningsDeductions" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="EarningsDiductionsDirectory" EntityType="Self.EarningsDiductionsDirectory" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="PersonalInfo" EntityType="Self.PersonalInfo" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Positions" EntityType="Self.Positions" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
- <AssociationSet Name="FK_EarningsDeductions_EarningsDiductionsDirectory" Association="Self.FK_EarningsDeductions_EarningsDiductionsDirectory">
- <End Role="EarningsDiductionsDirectory" EntitySet="EarningsDiductionsDirectory" />
- <End Role="EarningsDeductions" EntitySet="EarningsDeductions" />
- </AssociationSet>
- <AssociationSet Name="FK_EarningsDeductions_PersonalInfo" Association="Self.FK_EarningsDeductions_PersonalInfo">
- <End Role="PersonalInfo" EntitySet="PersonalInfo" />
- <End Role="EarningsDeductions" EntitySet="EarningsDeductions" />
- </AssociationSet>
- <AssociationSet Name="FK_PersonalInfo_Positions" Association="Self.FK_PersonalInfo_Positions">
- <End Role="Positions" EntitySet="Positions" />
- <End Role="PersonalInfo" EntitySet="PersonalInfo" />
- </AssociationSet>
- </EntityContainer>
- </Schema></edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="Exam19Model" 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">
- <EntityContainer Name="Exam19Entities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="EarningsDeductions" EntityType="Exam19Model.EarningsDeduction" />
- <EntitySet Name="EarningsDiductionsDirectories" EntityType="Exam19Model.EarningsDiductionsDirectory" />
- <EntitySet Name="PersonalInfoes" EntityType="Exam19Model.PersonalInfo" />
- <EntitySet Name="Positions" EntityType="Exam19Model.Position" />
- <EntitySet Name="sysdiagrams" EntityType="Exam19Model.sysdiagram" />
- <AssociationSet Name="FK_EarningsDeductions_EarningsDiductionsDirectory" Association="Exam19Model.FK_EarningsDeductions_EarningsDiductionsDirectory">
- <End Role="EarningsDiductionsDirectory" EntitySet="EarningsDiductionsDirectories" />
- <End Role="EarningsDeduction" EntitySet="EarningsDeductions" />
- </AssociationSet>
- <AssociationSet Name="FK_EarningsDeductions_PersonalInfo" Association="Exam19Model.FK_EarningsDeductions_PersonalInfo">
- <End Role="PersonalInfo" EntitySet="PersonalInfoes" />
- <End Role="EarningsDeduction" EntitySet="EarningsDeductions" />
- </AssociationSet>
- <AssociationSet Name="FK_PersonalInfo_Positions" Association="Exam19Model.FK_PersonalInfo_Positions">
- <End Role="Position" EntitySet="Positions" />
- <End Role="PersonalInfo" EntitySet="PersonalInfoes" />
- </AssociationSet>
- </EntityContainer>
- <EntityType Name="EarningsDeduction">
- <Key>
- <PropertyRef Name="Tab_number" />
- </Key>
- <Property Name="Tab_number" Type="Int32" Nullable="false" />
- <Property Name="Earning_deduction_code" Type="Int32" Nullable="false" />
- <NavigationProperty Name="EarningsDiductionsDirectory" Relationship="Exam19Model.FK_EarningsDeductions_EarningsDiductionsDirectory" FromRole="EarningsDeduction" ToRole="EarningsDiductionsDirectory" />
- <NavigationProperty Name="PersonalInfo" Relationship="Exam19Model.FK_EarningsDeductions_PersonalInfo" FromRole="EarningsDeduction" ToRole="PersonalInfo" />
- </EntityType>
- <EntityType Name="EarningsDiductionsDirectory">
- <Key>
- <PropertyRef Name="Earning_deduction_code" />
- </Key>
- <Property Name="Earning_deduction_code" Type="Int32" Nullable="false" />
- <Property Name="Percentage" Type="Decimal" Nullable="false" Precision="5" Scale="2" />
- <NavigationProperty Name="EarningsDeductions" Relationship="Exam19Model.FK_EarningsDeductions_EarningsDiductionsDirectory" FromRole="EarningsDiductionsDirectory" ToRole="EarningsDeduction" />
- </EntityType>
- <EntityType Name="PersonalInfo">
- <Key>
- <PropertyRef Name="Tab_number" />
- </Key>
- <Property Name="Tab_number" Type="Int32" Nullable="false" />
- <Property Name="Surname" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="Name" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="Patronymic" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="Position_code" Type="Int32" Nullable="false" />
- <Property Name="Salary" Type="Decimal" Nullable="false" Precision="10" Scale="2" />
- <Property Name="Worked_hours" Type="Decimal" Nullable="false" Precision="5" Scale="2" />
- <NavigationProperty Name="EarningsDeductions" Relationship="Exam19Model.FK_EarningsDeductions_PersonalInfo" FromRole="PersonalInfo" ToRole="EarningsDeduction" />
- <NavigationProperty Name="Position" Relationship="Exam19Model.FK_PersonalInfo_Positions" FromRole="PersonalInfo" ToRole="Position" />
- </EntityType>
- <EntityType Name="Position">
- <Key>
- <PropertyRef Name="Positin_code" />
- </Key>
- <Property Name="Positin_code" Type="Int32" Nullable="false" />
- <Property Name="Position_name" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="PersonalInfoes" Relationship="Exam19Model.FK_PersonalInfo_Positions" FromRole="Position" ToRole="PersonalInfo" />
- </EntityType>
- <EntityType Name="sysdiagram">
- <Key>
- <PropertyRef Name="diagram_id" />
- </Key>
- <Property Name="name" Type="String" Nullable="false" MaxLength="128" FixedLength="false" Unicode="true" />
- <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>
- <Association Name="FK_EarningsDeductions_EarningsDiductionsDirectory">
- <End Type="Exam19Model.EarningsDiductionsDirectory" Role="EarningsDiductionsDirectory" Multiplicity="1" />
- <End Type="Exam19Model.EarningsDeduction" Role="EarningsDeduction" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="EarningsDiductionsDirectory">
- <PropertyRef Name="Earning_deduction_code" />
- </Principal>
- <Dependent Role="EarningsDeduction">
- <PropertyRef Name="Earning_deduction_code" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_EarningsDeductions_PersonalInfo">
- <End Type="Exam19Model.PersonalInfo" Role="PersonalInfo" Multiplicity="1" />
- <End Type="Exam19Model.EarningsDeduction" Role="EarningsDeduction" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="PersonalInfo">
- <PropertyRef Name="Tab_number" />
- </Principal>
- <Dependent Role="EarningsDeduction">
- <PropertyRef Name="Earning_deduction_code" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_PersonalInfo_Positions">
- <End Type="Exam19Model.Position" Role="Position" Multiplicity="1" />
- <End Type="Exam19Model.PersonalInfo" Role="PersonalInfo" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Position">
- <PropertyRef Name="Positin_code" />
- </Principal>
- <Dependent Role="PersonalInfo">
- <PropertyRef Name="Position_code" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- </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="Хранилище Exam19ModelContainer" CdmEntityContainer="Exam19Entities">
- <EntitySetMapping Name="EarningsDeductions">
- <EntityTypeMapping TypeName="Exam19Model.EarningsDeduction">
- <MappingFragment StoreEntitySet="EarningsDeductions">
- <ScalarProperty Name="Earning_deduction_code" ColumnName="Earning_deduction_code" />
- <ScalarProperty Name="Tab_number" ColumnName="Tab_number" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="EarningsDiductionsDirectories">
- <EntityTypeMapping TypeName="Exam19Model.EarningsDiductionsDirectory">
- <MappingFragment StoreEntitySet="EarningsDiductionsDirectory">
- <ScalarProperty Name="Percentage" ColumnName="Percentage" />
- <ScalarProperty Name="Earning_deduction_code" ColumnName="Earning_deduction_code" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="PersonalInfoes">
- <EntityTypeMapping TypeName="Exam19Model.PersonalInfo">
- <MappingFragment StoreEntitySet="PersonalInfo">
- <ScalarProperty Name="Worked_hours" ColumnName="Worked_hours" />
- <ScalarProperty Name="Salary" ColumnName="Salary" />
- <ScalarProperty Name="Position_code" ColumnName="Position_code" />
- <ScalarProperty Name="Patronymic" ColumnName="Patronymic" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- <ScalarProperty Name="Surname" ColumnName="Surname" />
- <ScalarProperty Name="Tab_number" ColumnName="Tab_number" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Positions">
- <EntityTypeMapping TypeName="Exam19Model.Position">
- <MappingFragment StoreEntitySet="Positions">
- <ScalarProperty Name="Position_name" ColumnName="Position_name" />
- <ScalarProperty Name="Positin_code" ColumnName="Positin_code" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="sysdiagrams">
- <EntityTypeMapping TypeName="Exam19Model.sysdiagram">
- <MappingFragment StoreEntitySet="sysdiagrams">
- <ScalarProperty Name="definition" ColumnName="definition" />
- <ScalarProperty Name="version" ColumnName="version" />
- <ScalarProperty Name="diagram_id" ColumnName="diagram_id" />
- <ScalarProperty Name="principal_id" ColumnName="principal_id" />
- <ScalarProperty Name="name" ColumnName="name" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- </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="True" />
- <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>
|