123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- <?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="Хранилище NobelLaureatesModel" 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="Areas">
- <Key>
- <PropertyRef Name="Id" />
- </Key>
- <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Name" Type="nvarchar" MaxLength="100" />
- </EntityType>
- <EntityType Name="Laureates">
- <Key>
- <PropertyRef Name="Id" />
- </Key>
- <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="FIO" Type="nvarchar" MaxLength="100" />
- <Property Name="Country" Type="nvarchar" MaxLength="50" />
- <Property Name="IsAlive" Type="bit" />
- </EntityType>
- <EntityType Name="Prizes">
- <Key>
- <PropertyRef Name="Id" />
- </Key>
- <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="LaureateId" Type="int" />
- <Property Name="AreaId" Type="int" />
- <Property Name="Year" Type="int" />
- </EntityType>
- <Association Name="FK__Prizes__AreaId__3C69FB99">
- <End Role="Areas" Type="Self.Areas" Multiplicity="0..1" />
- <End Role="Prizes" Type="Self.Prizes" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Areas">
- <PropertyRef Name="Id" />
- </Principal>
- <Dependent Role="Prizes">
- <PropertyRef Name="AreaId" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK__Prizes__Laureate__3B75D760">
- <End Role="Laureates" Type="Self.Laureates" Multiplicity="0..1" />
- <End Role="Prizes" Type="Self.Prizes" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Laureates">
- <PropertyRef Name="Id" />
- </Principal>
- <Dependent Role="Prizes">
- <PropertyRef Name="LaureateId" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Хранилище NobelLaureatesModelContainer">
- <EntitySet Name="Areas" EntityType="Self.Areas" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Laureates" EntityType="Self.Laureates" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Prizes" EntityType="Self.Prizes" Schema="dbo" store:Type="Tables" />
- <AssociationSet Name="FK__Prizes__AreaId__3C69FB99" Association="Self.FK__Prizes__AreaId__3C69FB99">
- <End Role="Areas" EntitySet="Areas" />
- <End Role="Prizes" EntitySet="Prizes" />
- </AssociationSet>
- <AssociationSet Name="FK__Prizes__Laureate__3B75D760" Association="Self.FK__Prizes__Laureate__3B75D760">
- <End Role="Laureates" EntitySet="Laureates" />
- <End Role="Prizes" EntitySet="Prizes" />
- </AssociationSet>
- </EntityContainer>
- </Schema>
- </edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="NobelLaureatesModel" 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="Areas">
- <Key>
- <PropertyRef Name="Id" />
- </Key>
- <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Prizes" Relationship="Self.FK__Prizes__AreaId__3C69FB99" FromRole="Areas" ToRole="Prizes" />
- </EntityType>
- <EntityType Name="Laureates">
- <Key>
- <PropertyRef Name="Id" />
- </Key>
- <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="FIO" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
- <Property Name="Country" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="IsAlive" Type="Boolean" />
- <NavigationProperty Name="Prizes" Relationship="Self.FK__Prizes__Laureate__3B75D760" FromRole="Laureates" ToRole="Prizes" />
- </EntityType>
- <EntityType Name="Prizes">
- <Key>
- <PropertyRef Name="Id" />
- </Key>
- <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="LaureateId" Type="Int32" />
- <Property Name="AreaId" Type="Int32" />
- <Property Name="Year" Type="Int32" />
- <NavigationProperty Name="Areas" Relationship="Self.FK__Prizes__AreaId__3C69FB99" FromRole="Prizes" ToRole="Areas" />
- <NavigationProperty Name="Laureates" Relationship="Self.FK__Prizes__Laureate__3B75D760" FromRole="Prizes" ToRole="Laureates" />
- </EntityType>
- <Association Name="FK__Prizes__AreaId__3C69FB99">
- <End Role="Areas" Type="Self.Areas" Multiplicity="0..1" />
- <End Role="Prizes" Type="Self.Prizes" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Areas">
- <PropertyRef Name="Id" />
- </Principal>
- <Dependent Role="Prizes">
- <PropertyRef Name="AreaId" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK__Prizes__Laureate__3B75D760">
- <End Role="Laureates" Type="Self.Laureates" Multiplicity="0..1" />
- <End Role="Prizes" Type="Self.Prizes" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Laureates">
- <PropertyRef Name="Id" />
- </Principal>
- <Dependent Role="Prizes">
- <PropertyRef Name="LaureateId" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="NobelLaureatesEntities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="Areas" EntityType="Self.Areas" />
- <EntitySet Name="Laureates" EntityType="Self.Laureates" />
- <EntitySet Name="Prizes" EntityType="Self.Prizes" />
- <AssociationSet Name="FK__Prizes__AreaId__3C69FB99" Association="Self.FK__Prizes__AreaId__3C69FB99">
- <End Role="Areas" EntitySet="Areas" />
- <End Role="Prizes" EntitySet="Prizes" />
- </AssociationSet>
- <AssociationSet Name="FK__Prizes__Laureate__3B75D760" Association="Self.FK__Prizes__Laureate__3B75D760">
- <End Role="Laureates" EntitySet="Laureates" />
- <End Role="Prizes" EntitySet="Prizes" />
- </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="Хранилище NobelLaureatesModelContainer" CdmEntityContainer="NobelLaureatesEntities">
- <EntitySetMapping Name="Areas">
- <EntityTypeMapping TypeName="NobelLaureatesModel.Areas">
- <MappingFragment StoreEntitySet="Areas">
- <ScalarProperty Name="Id" ColumnName="Id" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Laureates">
- <EntityTypeMapping TypeName="NobelLaureatesModel.Laureates">
- <MappingFragment StoreEntitySet="Laureates">
- <ScalarProperty Name="Id" ColumnName="Id" />
- <ScalarProperty Name="FIO" ColumnName="FIO" />
- <ScalarProperty Name="Country" ColumnName="Country" />
- <ScalarProperty Name="IsAlive" ColumnName="IsAlive" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Prizes">
- <EntityTypeMapping TypeName="NobelLaureatesModel.Prizes">
- <MappingFragment StoreEntitySet="Prizes">
- <ScalarProperty Name="Id" ColumnName="Id" />
- <ScalarProperty Name="LaureateId" ColumnName="LaureateId" />
- <ScalarProperty Name="AreaId" ColumnName="AreaId" />
- <ScalarProperty Name="Year" ColumnName="Year" />
- </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>
|