123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- <?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="Хранилище user7Model" 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="Table_1">
- <Key>
- <PropertyRef Name="Id" />
- </Key>
- <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Title" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Description" Type="nvarchar" MaxLength="50" />
- </EntityType>
- <EntityType Name="Table_2">
- <Key>
- <PropertyRef Name="Id" />
- </Key>
- <Property Name="Id" Type="int" Nullable="false" />
- <Property Name="IdTable1" Type="int" Nullable="false" />
- <Property Name="Title" Type="nchar" MaxLength="10" />
- <Property Name="Type" Type="int" />
- </EntityType>
- <EntityType Name="Table_3">
- <Key>
- <PropertyRef Name="IDType" />
- </Key>
- <Property Name="IDType" Type="int" Nullable="false" />
- <Property Name="Name" Type="nvarchar" MaxLength="50" />
- </EntityType>
- <Association Name="FK_Table_2_Table_1">
- <End Role="Table_1" Type="Self.Table_1" Multiplicity="1" />
- <End Role="Table_2" Type="Self.Table_2" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Table_1">
- <PropertyRef Name="Id" />
- </Principal>
- <Dependent Role="Table_2">
- <PropertyRef Name="IdTable1" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Table_2_Table_3">
- <End Role="Table_3" Type="Self.Table_3" Multiplicity="0..1" />
- <End Role="Table_2" Type="Self.Table_2" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Table_3">
- <PropertyRef Name="IDType" />
- </Principal>
- <Dependent Role="Table_2">
- <PropertyRef Name="Type" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Хранилище user7ModelContainer">
- <EntitySet Name="Table_1" EntityType="Self.Table_1" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Table_2" EntityType="Self.Table_2" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Table_3" EntityType="Self.Table_3" Schema="dbo" store:Type="Tables" />
- <AssociationSet Name="FK_Table_2_Table_1" Association="Self.FK_Table_2_Table_1">
- <End Role="Table_1" EntitySet="Table_1" />
- <End Role="Table_2" EntitySet="Table_2" />
- </AssociationSet>
- <AssociationSet Name="FK_Table_2_Table_3" Association="Self.FK_Table_2_Table_3">
- <End Role="Table_3" EntitySet="Table_3" />
- <End Role="Table_2" EntitySet="Table_2" />
- </AssociationSet>
- </EntityContainer>
- </Schema>
- </edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="user7Model" 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="Table_1">
- <Key>
- <PropertyRef Name="Id" />
- </Key>
- <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Title" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Description" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Table_2" Relationship="Self.FK_Table_2_Table_1" FromRole="Table_1" ToRole="Table_2" />
- </EntityType>
- <EntityType Name="Table_2">
- <Key>
- <PropertyRef Name="Id" />
- </Key>
- <Property Name="Id" Type="Int32" Nullable="false" />
- <Property Name="IdTable1" Type="Int32" Nullable="false" />
- <Property Name="Title" Type="String" MaxLength="10" FixedLength="true" Unicode="true" />
- <Property Name="Type" Type="Int32" />
- <NavigationProperty Name="Table_1" Relationship="Self.FK_Table_2_Table_1" FromRole="Table_2" ToRole="Table_1" />
- <NavigationProperty Name="Table_3" Relationship="Self.FK_Table_2_Table_3" FromRole="Table_2" ToRole="Table_3" />
- </EntityType>
- <EntityType Name="Table_3">
- <Key>
- <PropertyRef Name="IDType" />
- </Key>
- <Property Name="IDType" Type="Int32" Nullable="false" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Table_2" Relationship="Self.FK_Table_2_Table_3" FromRole="Table_3" ToRole="Table_2" />
- </EntityType>
- <Association Name="FK_Table_2_Table_1">
- <End Role="Table_1" Type="Self.Table_1" Multiplicity="1" />
- <End Role="Table_2" Type="Self.Table_2" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Table_1">
- <PropertyRef Name="Id" />
- </Principal>
- <Dependent Role="Table_2">
- <PropertyRef Name="IdTable1" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Table_2_Table_3">
- <End Role="Table_3" Type="Self.Table_3" Multiplicity="0..1" />
- <End Role="Table_2" Type="Self.Table_2" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Table_3">
- <PropertyRef Name="IDType" />
- </Principal>
- <Dependent Role="Table_2">
- <PropertyRef Name="Type" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="user7Entities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="Table_1" EntityType="Self.Table_1" />
- <EntitySet Name="Table_2" EntityType="Self.Table_2" />
- <EntitySet Name="Table_3" EntityType="Self.Table_3" />
- <AssociationSet Name="FK_Table_2_Table_1" Association="Self.FK_Table_2_Table_1">
- <End Role="Table_1" EntitySet="Table_1" />
- <End Role="Table_2" EntitySet="Table_2" />
- </AssociationSet>
- <AssociationSet Name="FK_Table_2_Table_3" Association="Self.FK_Table_2_Table_3">
- <End Role="Table_3" EntitySet="Table_3" />
- <End Role="Table_2" EntitySet="Table_2" />
- </AssociationSet>
- </EntityContainer>
- </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="Хранилище user7ModelContainer" CdmEntityContainer="user7Entities">
- <EntitySetMapping Name="Table_1">
- <EntityTypeMapping TypeName="user7Model.Table_1">
- <MappingFragment StoreEntitySet="Table_1">
- <ScalarProperty Name="Id" ColumnName="Id" />
- <ScalarProperty Name="Title" ColumnName="Title" />
- <ScalarProperty Name="Description" ColumnName="Description" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Table_2">
- <EntityTypeMapping TypeName="user7Model.Table_2">
- <MappingFragment StoreEntitySet="Table_2">
- <ScalarProperty Name="Id" ColumnName="Id" />
- <ScalarProperty Name="IdTable1" ColumnName="IdTable1" />
- <ScalarProperty Name="Title" ColumnName="Title" />
- <ScalarProperty Name="Type" ColumnName="Type" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Table_3">
- <EntityTypeMapping TypeName="user7Model.Table_3">
- <MappingFragment StoreEntitySet="Table_3">
- <ScalarProperty Name="IDType" ColumnName="IDType" />
- <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="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>
|