123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- <?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="Хранилище gr672_pgvModel" 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="FuelType">
- <Key>
- <PropertyRef Name="FuelTypeID" />
- </Key>
- <Property Name="FuelTypeID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="NameFuelType" Type="nvarchar" MaxLength="2" Nullable="false" />
- </EntityType>
- <EntityType Name="FuelTypeOnGasStation">
- <Key>
- <PropertyRef Name="IDGasStation" />
- <PropertyRef Name="IDFuelType" />
- </Key>
- <Property Name="IDGasStation" Type="int" Nullable="false" />
- <Property Name="IDFuelType" Type="int" Nullable="false" />
- <Property Name="Price" Type="float" Nullable="false" />
- <Property Name="AmountOfFuel" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="GasStation">
- <Key>
- <PropertyRef Name="GasStationID" />
- </Key>
- <Property Name="GasStationID" Type="int" Nullable="false" />
- <Property Name="Address" Type="nvarchar(max)" Nullable="false" />
- </EntityType>
- <Association Name="FK_FuelInGasStation_GasStation">
- <End Role="GasStation" Type="Self.GasStation" Multiplicity="1" />
- <End Role="FuelTypeOnGasStation" Type="Self.FuelTypeOnGasStation" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="GasStation">
- <PropertyRef Name="GasStationID" />
- </Principal>
- <Dependent Role="FuelTypeOnGasStation">
- <PropertyRef Name="IDGasStation" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_FuelInGasStation_TypeOfFuel">
- <End Role="FuelType" Type="Self.FuelType" Multiplicity="1" />
- <End Role="FuelTypeOnGasStation" Type="Self.FuelTypeOnGasStation" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="FuelType">
- <PropertyRef Name="FuelTypeID" />
- </Principal>
- <Dependent Role="FuelTypeOnGasStation">
- <PropertyRef Name="IDFuelType" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Хранилище gr672_pgvModelContainer">
- <EntitySet Name="FuelType" EntityType="Self.FuelType" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="FuelTypeOnGasStation" EntityType="Self.FuelTypeOnGasStation" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="GasStation" EntityType="Self.GasStation" Schema="dbo" store:Type="Tables" />
- <AssociationSet Name="FK_FuelInGasStation_GasStation" Association="Self.FK_FuelInGasStation_GasStation">
- <End Role="GasStation" EntitySet="GasStation" />
- <End Role="FuelTypeOnGasStation" EntitySet="FuelTypeOnGasStation" />
- </AssociationSet>
- <AssociationSet Name="FK_FuelInGasStation_TypeOfFuel" Association="Self.FK_FuelInGasStation_TypeOfFuel">
- <End Role="FuelType" EntitySet="FuelType" />
- <End Role="FuelTypeOnGasStation" EntitySet="FuelTypeOnGasStation" />
- </AssociationSet>
- </EntityContainer>
- </Schema></edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="gr672_pgvModel" 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="gr672_pgvEntities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="FuelType" EntityType="gr672_pgvModel.FuelType" />
- <EntitySet Name="FuelTypeOnGasStation" EntityType="gr672_pgvModel.FuelTypeOnGasStation" />
- <EntitySet Name="GasStation" EntityType="gr672_pgvModel.GasStation" />
- <AssociationSet Name="FK_FuelInGasStation_TypeOfFuel" Association="gr672_pgvModel.FK_FuelInGasStation_TypeOfFuel">
- <End Role="FuelType" EntitySet="FuelType" />
- <End Role="FuelTypeOnGasStation" EntitySet="FuelTypeOnGasStation" />
- </AssociationSet>
- <AssociationSet Name="FK_FuelInGasStation_GasStation" Association="gr672_pgvModel.FK_FuelInGasStation_GasStation">
- <End Role="GasStation" EntitySet="GasStation" />
- <End Role="FuelTypeOnGasStation" EntitySet="FuelTypeOnGasStation" />
- </AssociationSet>
- </EntityContainer>
- <EntityType Name="FuelType">
- <Key>
- <PropertyRef Name="FuelTypeID" />
- </Key>
- <Property Name="FuelTypeID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="NameFuelType" Type="String" Nullable="false" MaxLength="2" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="FuelTypeOnGasStation" Relationship="gr672_pgvModel.FK_FuelInGasStation_TypeOfFuel" FromRole="FuelType" ToRole="FuelTypeOnGasStation" />
- </EntityType>
- <EntityType Name="FuelTypeOnGasStation">
- <Key>
- <PropertyRef Name="IDGasStation" />
- <PropertyRef Name="IDFuelType" />
- </Key>
- <Property Name="IDGasStation" Type="Int32" Nullable="false" />
- <Property Name="IDFuelType" Type="Int32" Nullable="false" />
- <Property Name="Price" Type="Double" Nullable="false" />
- <Property Name="AmountOfFuel" Type="Int32" Nullable="false" />
- <NavigationProperty Name="FuelType" Relationship="gr672_pgvModel.FK_FuelInGasStation_TypeOfFuel" FromRole="FuelTypeOnGasStation" ToRole="FuelType" />
- <NavigationProperty Name="GasStation" Relationship="gr672_pgvModel.FK_FuelInGasStation_GasStation" FromRole="FuelTypeOnGasStation" ToRole="GasStation" />
- </EntityType>
- <EntityType Name="GasStation">
- <Key>
- <PropertyRef Name="GasStationID" />
- </Key>
- <Property Name="GasStationID" Type="Int32" Nullable="false" />
- <Property Name="Address" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="FuelTypeOnGasStation" Relationship="gr672_pgvModel.FK_FuelInGasStation_GasStation" FromRole="GasStation" ToRole="FuelTypeOnGasStation" />
- </EntityType>
- <Association Name="FK_FuelInGasStation_TypeOfFuel">
- <End Type="gr672_pgvModel.FuelType" Role="FuelType" Multiplicity="1" />
- <End Type="gr672_pgvModel.FuelTypeOnGasStation" Role="FuelTypeOnGasStation" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="FuelType">
- <PropertyRef Name="FuelTypeID" />
- </Principal>
- <Dependent Role="FuelTypeOnGasStation">
- <PropertyRef Name="IDFuelType" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_FuelInGasStation_GasStation">
- <End Type="gr672_pgvModel.GasStation" Role="GasStation" Multiplicity="1" />
- <End Type="gr672_pgvModel.FuelTypeOnGasStation" Role="FuelTypeOnGasStation" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="GasStation">
- <PropertyRef Name="GasStationID" />
- </Principal>
- <Dependent Role="FuelTypeOnGasStation">
- <PropertyRef Name="IDGasStation" />
- </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="Хранилище gr672_pgvModelContainer" CdmEntityContainer="gr672_pgvEntities">
- <EntitySetMapping Name="FuelType">
- <EntityTypeMapping TypeName="gr672_pgvModel.FuelType">
- <MappingFragment StoreEntitySet="FuelType">
- <ScalarProperty Name="NameFuelType" ColumnName="NameFuelType" />
- <ScalarProperty Name="FuelTypeID" ColumnName="FuelTypeID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="FuelTypeOnGasStation">
- <EntityTypeMapping TypeName="gr672_pgvModel.FuelTypeOnGasStation">
- <MappingFragment StoreEntitySet="FuelTypeOnGasStation">
- <ScalarProperty Name="AmountOfFuel" ColumnName="AmountOfFuel" />
- <ScalarProperty Name="Price" ColumnName="Price" />
- <ScalarProperty Name="IDFuelType" ColumnName="IDFuelType" />
- <ScalarProperty Name="IDGasStation" ColumnName="IDGasStation" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="GasStation">
- <EntityTypeMapping TypeName="gr672_pgvModel.GasStation">
- <MappingFragment StoreEntitySet="GasStation">
- <ScalarProperty Name="Address" ColumnName="Address" />
- <ScalarProperty Name="GasStationID" ColumnName="GasStationID" />
- </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>
|