123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <?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="Хранилище user4Model" 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="Role">
- <Key>
- <PropertyRef Name="Id_Role" />
- </Key>
- <Property Name="Id_Role" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Discription" Type="varchar" MaxLength="50" />
- <Property Name="Id_user" Type="int" />
- </EntityType>
- <EntityType Name="User">
- <Key>
- <PropertyRef Name="Id_user" />
- </Key>
- <Property Name="Id_user" Type="int" Nullable="false" />
- <Property Name="Ssss" Type="varchar" MaxLength="50" />
- </EntityType>
- <Association Name="FK_Role_User">
- <End Role="User" Type="Self.User" Multiplicity="0..1" />
- <End Role="Role" Type="Self.Role" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="User">
- <PropertyRef Name="Id_user" />
- </Principal>
- <Dependent Role="Role">
- <PropertyRef Name="Id_user" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Хранилище user4ModelContainer">
- <EntitySet Name="Role" EntityType="Self.Role" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="User" EntityType="Self.User" Schema="dbo" store:Type="Tables" />
- <AssociationSet Name="FK_Role_User" Association="Self.FK_Role_User">
- <End Role="User" EntitySet="User" />
- <End Role="Role" EntitySet="Role" />
- </AssociationSet>
- </EntityContainer>
- </Schema></edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="user4Model" 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="user4Entities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="Role" EntityType="user4Model.Role" />
- <EntitySet Name="User" EntityType="user4Model.User" />
- <AssociationSet Name="FK_Role_User" Association="user4Model.FK_Role_User">
- <End Role="User" EntitySet="User" />
- <End Role="Role" EntitySet="Role" />
- </AssociationSet>
- </EntityContainer>
- <EntityType Name="Role">
- <Key>
- <PropertyRef Name="Id_Role" />
- </Key>
- <Property Name="Id_Role" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Discription" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Id_user" Type="Int32" />
- <NavigationProperty Name="User" Relationship="user4Model.FK_Role_User" FromRole="Role" ToRole="User" />
- </EntityType>
- <EntityType Name="User">
- <Key>
- <PropertyRef Name="Id_user" />
- </Key>
- <Property Name="Id_user" Type="Int32" Nullable="false" />
- <Property Name="Ssss" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <NavigationProperty Name="Role" Relationship="user4Model.FK_Role_User" FromRole="User" ToRole="Role" />
- </EntityType>
- <Association Name="FK_Role_User">
- <End Type="user4Model.User" Role="User" Multiplicity="0..1" />
- <End Type="user4Model.Role" Role="Role" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="User">
- <PropertyRef Name="Id_user" />
- </Principal>
- <Dependent Role="Role">
- <PropertyRef Name="Id_user" />
- </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="Хранилище user4ModelContainer" CdmEntityContainer="user4Entities">
- <EntitySetMapping Name="Role">
- <EntityTypeMapping TypeName="user4Model.Role">
- <MappingFragment StoreEntitySet="Role">
- <ScalarProperty Name="Id_user" ColumnName="Id_user" />
- <ScalarProperty Name="Discription" ColumnName="Discription" />
- <ScalarProperty Name="Id_Role" ColumnName="Id_Role" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="User">
- <EntityTypeMapping TypeName="user4Model.User">
- <MappingFragment StoreEntitySet="User">
- <ScalarProperty Name="Ssss" ColumnName="Ssss" />
- <ScalarProperty Name="Id_user" ColumnName="Id_user" />
- </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>
|