123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- <?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="Хранилище Smerdova_PPModel" 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="LoginedTable">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Login" Type="nvarchar(max)" Nullable="false" />
- <Property Name="Password" Type="int" Nullable="false" />
- <Property Name="IDRole" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="Roles">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Role" Type="nvarchar" MaxLength="50" Nullable="false" />
- </EntityType>
- <EntityType Name="UserTable">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="Surname" Type="nvarchar(max)" Nullable="false" />
- <Property Name="Name" Type="nvarchar(max)" Nullable="false" />
- </EntityType>
- <Association Name="FK_LoginedTable_Roles">
- <End Role="Roles" Type="Self.Roles" Multiplicity="1" />
- <End Role="LoginedTable" Type="Self.LoginedTable" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Roles">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="LoginedTable">
- <PropertyRef Name="IDRole" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_UserTable_LoginedTable">
- <End Role="LoginedTable" Type="Self.LoginedTable" Multiplicity="1" />
- <End Role="UserTable" Type="Self.UserTable" Multiplicity="0..1" />
- <ReferentialConstraint>
- <Principal Role="LoginedTable">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="UserTable">
- <PropertyRef Name="ID" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Хранилище Smerdova_PPModelContainer">
- <EntitySet Name="LoginedTable" EntityType="Self.LoginedTable" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Roles" EntityType="Self.Roles" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="UserTable" EntityType="Self.UserTable" Schema="dbo" store:Type="Tables" />
- <AssociationSet Name="FK_LoginedTable_Roles" Association="Self.FK_LoginedTable_Roles">
- <End Role="Roles" EntitySet="Roles" />
- <End Role="LoginedTable" EntitySet="LoginedTable" />
- </AssociationSet>
- <AssociationSet Name="FK_UserTable_LoginedTable" Association="Self.FK_UserTable_LoginedTable">
- <End Role="LoginedTable" EntitySet="LoginedTable" />
- <End Role="UserTable" EntitySet="UserTable" />
- </AssociationSet>
- </EntityContainer>
- </Schema></edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="Smerdova_PPModel" 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="Smerdova_PPEntities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="LoginedTable" EntityType="Smerdova_PPModel.LoginedTable" />
- <EntitySet Name="Roles" EntityType="Smerdova_PPModel.Roles" />
- <EntitySet Name="UserTable" EntityType="Smerdova_PPModel.UserTable" />
- <AssociationSet Name="FK_LoginedTable_Roles" Association="Smerdova_PPModel.FK_LoginedTable_Roles">
- <End Role="Roles" EntitySet="Roles" />
- <End Role="LoginedTable" EntitySet="LoginedTable" />
- </AssociationSet>
- <AssociationSet Name="FK_UserTable_LoginedTable" Association="Smerdova_PPModel.FK_UserTable_LoginedTable">
- <End Role="LoginedTable" EntitySet="LoginedTable" />
- <End Role="UserTable" EntitySet="UserTable" />
- </AssociationSet>
- </EntityContainer>
- <EntityType Name="LoginedTable">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Login" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="Password" Type="Int32" Nullable="false" />
- <Property Name="IDRole" Type="Int32" Nullable="false" />
- <NavigationProperty Name="Roles" Relationship="Smerdova_PPModel.FK_LoginedTable_Roles" FromRole="LoginedTable" ToRole="Roles" />
- <NavigationProperty Name="UserTable" Relationship="Smerdova_PPModel.FK_UserTable_LoginedTable" FromRole="LoginedTable" ToRole="UserTable" />
- </EntityType>
- <EntityType Name="Roles">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Role" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="LoginedTable" Relationship="Smerdova_PPModel.FK_LoginedTable_Roles" FromRole="Roles" ToRole="LoginedTable" />
- </EntityType>
- <EntityType Name="UserTable">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="Surname" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="Name" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="LoginedTable" Relationship="Smerdova_PPModel.FK_UserTable_LoginedTable" FromRole="UserTable" ToRole="LoginedTable" />
- </EntityType>
- <Association Name="FK_LoginedTable_Roles">
- <End Type="Smerdova_PPModel.Roles" Role="Roles" Multiplicity="1" />
- <End Type="Smerdova_PPModel.LoginedTable" Role="LoginedTable" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Roles">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="LoginedTable">
- <PropertyRef Name="IDRole" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_UserTable_LoginedTable">
- <End Type="Smerdova_PPModel.LoginedTable" Role="LoginedTable" Multiplicity="1" />
- <End Type="Smerdova_PPModel.UserTable" Role="UserTable" Multiplicity="0..1" />
- <ReferentialConstraint>
- <Principal Role="LoginedTable">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="UserTable">
- <PropertyRef Name="ID" />
- </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="Хранилище Smerdova_PPModelContainer" CdmEntityContainer="Smerdova_PPEntities">
- <EntitySetMapping Name="LoginedTable">
- <EntityTypeMapping TypeName="Smerdova_PPModel.LoginedTable">
- <MappingFragment StoreEntitySet="LoginedTable">
- <ScalarProperty Name="IDRole" ColumnName="IDRole" />
- <ScalarProperty Name="Password" ColumnName="Password" />
- <ScalarProperty Name="Login" ColumnName="Login" />
- <ScalarProperty Name="ID" ColumnName="ID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Roles">
- <EntityTypeMapping TypeName="Smerdova_PPModel.Roles">
- <MappingFragment StoreEntitySet="Roles">
- <ScalarProperty Name="Role" ColumnName="Role" />
- <ScalarProperty Name="ID" ColumnName="ID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="UserTable">
- <EntityTypeMapping TypeName="Smerdova_PPModel.UserTable">
- <MappingFragment StoreEntitySet="UserTable">
- <ScalarProperty Name="Name" ColumnName="Name" />
- <ScalarProperty Name="Surname" ColumnName="Surname" />
- <ScalarProperty Name="ID" ColumnName="ID" />
- </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="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>
|