123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901 |
- <?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="Car">
- <Key>
- <PropertyRef Name="CarID" />
- </Key>
- <Property Name="CarID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="CarNumber" Type="nvarchar" MaxLength="9" Nullable="false" />
- <Property Name="VolumeTank" Type="int" />
- <Property Name="IDClient" Type="int" />
- </EntityType>
- <EntityType Name="Card">
- <Key>
- <PropertyRef Name="CardID" />
- </Key>
- <Property Name="CardID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="NumberCard" Type="nvarchar" MaxLength="20" Nullable="false" />
- <Property Name="CardExpDate" Type="nvarchar" MaxLength="10" Nullable="false" />
- <Property Name="Balance" Type="money" Nullable="false" />
- <Property Name="IDCardType" Type="int" Nullable="false" />
- <Property Name="IDCardIssuer" Type="int" />
- <Property Name="IDHolder" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="CardIssuer">
- <Key>
- <PropertyRef Name="CardIssuerID" />
- </Key>
- <Property Name="CardIssuerID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="NameCardIssuer" Type="nvarchar" MaxLength="50" Nullable="false" />
- </EntityType>
- <EntityType Name="CardType">
- <Key>
- <PropertyRef Name="CardTypeID" />
- </Key>
- <Property Name="CardTypeID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="NameType" Type="nvarchar" MaxLength="50" Nullable="false" />
- </EntityType>
- <EntityType Name="Client">
- <Key>
- <PropertyRef Name="ClientID" />
- </Key>
- <Property Name="ClientID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="LastName" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Name" Type="nvarchar" MaxLength="50" Nullable="false" />
- </EntityType>
- <EntityType Name="DataOfCamera">
- <Key>
- <PropertyRef Name="DataOfCameraID" />
- </Key>
- <Property Name="DataOfCameraID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Date" Type="datetime" Nullable="false" />
- <Property Name="Status" Type="bit" Nullable="false" />
- <Property Name="CarNumber" Type="nvarchar" MaxLength="9" />
- <Property Name="NameImage" Type="nvarchar(max)" Nullable="false" />
- </EntityType>
- <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>
- <EntityType Name="Payment">
- <Key>
- <PropertyRef Name="PaymentID" />
- </Key>
- <Property Name="PaymentID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="IDRefueling" Type="int" Nullable="false" />
- <Property Name="PriceRefueling" Type="money" Nullable="false" />
- <Property Name="Status" Type="bit" Nullable="false" />
- <Property Name="TransactionCode" Type="nvarchar" MaxLength="17" Nullable="false" />
- <Property Name="IDCard" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="Refueling">
- <Key>
- <PropertyRef Name="RefuelingID" />
- </Key>
- <Property Name="RefuelingID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="IDCar" Type="int" />
- <Property Name="VolumeFuel" Type="int" Nullable="false" />
- <Property Name="IDDataOfCamera" Type="int" />
- <Property Name="KeySession" Type="nvarchar" MaxLength="12" Nullable="false" />
- <Property Name="IDRefulingGun" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="RefuelingColumn">
- <Key>
- <PropertyRef Name="RefuelingColumnID" />
- </Key>
- <Property Name="RefuelingColumnID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="IDGasStation" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="RefuelingGun">
- <Key>
- <PropertyRef Name="RefuelingGunID" />
- </Key>
- <Property Name="RefuelingGunID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="IDRefuelingColumn" Type="int" Nullable="false" />
- <Property Name="IDFuelType" Type="int" Nullable="false" />
- </EntityType>
- <Association Name="FK_Car_Client">
- <End Role="Client" Type="Self.Client" Multiplicity="0..1" />
- <End Role="Car" Type="Self.Car" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Client">
- <PropertyRef Name="ClientID" />
- </Principal>
- <Dependent Role="Car">
- <PropertyRef Name="IDClient" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Card_CardIssuer">
- <End Role="CardIssuer" Type="Self.CardIssuer" Multiplicity="0..1" />
- <End Role="Card" Type="Self.Card" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="CardIssuer">
- <PropertyRef Name="CardIssuerID" />
- </Principal>
- <Dependent Role="Card">
- <PropertyRef Name="IDCardIssuer" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Card_CardType">
- <End Role="CardType" Type="Self.CardType" Multiplicity="1" />
- <End Role="Card" Type="Self.Card" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="CardType">
- <PropertyRef Name="CardTypeID" />
- </Principal>
- <Dependent Role="Card">
- <PropertyRef Name="IDCardType" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Card_Client">
- <End Role="Client" Type="Self.Client" Multiplicity="1" />
- <End Role="Card" Type="Self.Card" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Client">
- <PropertyRef Name="ClientID" />
- </Principal>
- <Dependent Role="Card">
- <PropertyRef Name="IDHolder" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <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>
- <Association Name="FK_Payment_Card">
- <End Role="Card" Type="Self.Card" Multiplicity="1" />
- <End Role="Payment" Type="Self.Payment" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Card">
- <PropertyRef Name="CardID" />
- </Principal>
- <Dependent Role="Payment">
- <PropertyRef Name="IDCard" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Payment_Refueling">
- <End Role="Refueling" Type="Self.Refueling" Multiplicity="1" />
- <End Role="Payment" Type="Self.Payment" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Refueling">
- <PropertyRef Name="RefuelingID" />
- </Principal>
- <Dependent Role="Payment">
- <PropertyRef Name="IDRefueling" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Refueling_Car">
- <End Role="Car" Type="Self.Car" Multiplicity="0..1" />
- <End Role="Refueling" Type="Self.Refueling" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Car">
- <PropertyRef Name="CarID" />
- </Principal>
- <Dependent Role="Refueling">
- <PropertyRef Name="IDCar" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Refueling_DataOfCamera">
- <End Role="DataOfCamera" Type="Self.DataOfCamera" Multiplicity="0..1" />
- <End Role="Refueling" Type="Self.Refueling" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="DataOfCamera">
- <PropertyRef Name="DataOfCameraID" />
- </Principal>
- <Dependent Role="Refueling">
- <PropertyRef Name="IDDataOfCamera" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Refueling_RefuelingGun">
- <End Role="RefuelingGun" Type="Self.RefuelingGun" Multiplicity="1" />
- <End Role="Refueling" Type="Self.Refueling" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="RefuelingGun">
- <PropertyRef Name="RefuelingGunID" />
- </Principal>
- <Dependent Role="Refueling">
- <PropertyRef Name="IDRefulingGun" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_RefuelingColumn_GasStation">
- <End Role="GasStation" Type="Self.GasStation" Multiplicity="1" />
- <End Role="RefuelingColumn" Type="Self.RefuelingColumn" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="GasStation">
- <PropertyRef Name="GasStationID" />
- </Principal>
- <Dependent Role="RefuelingColumn">
- <PropertyRef Name="IDGasStation" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_RefuelingGun_FuelType">
- <End Role="FuelType" Type="Self.FuelType" Multiplicity="1" />
- <End Role="RefuelingGun" Type="Self.RefuelingGun" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="FuelType">
- <PropertyRef Name="FuelTypeID" />
- </Principal>
- <Dependent Role="RefuelingGun">
- <PropertyRef Name="IDFuelType" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_RefuelingGun_RefuelingColumn">
- <End Role="RefuelingColumn" Type="Self.RefuelingColumn" Multiplicity="1" />
- <End Role="RefuelingGun" Type="Self.RefuelingGun" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="RefuelingColumn">
- <PropertyRef Name="RefuelingColumnID" />
- </Principal>
- <Dependent Role="RefuelingGun">
- <PropertyRef Name="IDRefuelingColumn" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Хранилище gr672_pgvModelContainer">
- <EntitySet Name="Car" EntityType="Self.Car" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Card" EntityType="Self.Card" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="CardIssuer" EntityType="Self.CardIssuer" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="CardType" EntityType="Self.CardType" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Client" EntityType="Self.Client" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="DataOfCamera" EntityType="Self.DataOfCamera" Schema="dbo" store:Type="Tables" />
- <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" />
- <EntitySet Name="Payment" EntityType="Self.Payment" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Refueling" EntityType="Self.Refueling" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="RefuelingColumn" EntityType="Self.RefuelingColumn" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="RefuelingGun" EntityType="Self.RefuelingGun" Schema="dbo" store:Type="Tables" />
- <AssociationSet Name="FK_Car_Client" Association="Self.FK_Car_Client">
- <End Role="Client" EntitySet="Client" />
- <End Role="Car" EntitySet="Car" />
- </AssociationSet>
- <AssociationSet Name="FK_Card_CardIssuer" Association="Self.FK_Card_CardIssuer">
- <End Role="CardIssuer" EntitySet="CardIssuer" />
- <End Role="Card" EntitySet="Card" />
- </AssociationSet>
- <AssociationSet Name="FK_Card_CardType" Association="Self.FK_Card_CardType">
- <End Role="CardType" EntitySet="CardType" />
- <End Role="Card" EntitySet="Card" />
- </AssociationSet>
- <AssociationSet Name="FK_Card_Client" Association="Self.FK_Card_Client">
- <End Role="Client" EntitySet="Client" />
- <End Role="Card" EntitySet="Card" />
- </AssociationSet>
- <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>
- <AssociationSet Name="FK_Payment_Card" Association="Self.FK_Payment_Card">
- <End Role="Card" EntitySet="Card" />
- <End Role="Payment" EntitySet="Payment" />
- </AssociationSet>
- <AssociationSet Name="FK_Payment_Refueling" Association="Self.FK_Payment_Refueling">
- <End Role="Refueling" EntitySet="Refueling" />
- <End Role="Payment" EntitySet="Payment" />
- </AssociationSet>
- <AssociationSet Name="FK_Refueling_Car" Association="Self.FK_Refueling_Car">
- <End Role="Car" EntitySet="Car" />
- <End Role="Refueling" EntitySet="Refueling" />
- </AssociationSet>
- <AssociationSet Name="FK_Refueling_DataOfCamera" Association="Self.FK_Refueling_DataOfCamera">
- <End Role="DataOfCamera" EntitySet="DataOfCamera" />
- <End Role="Refueling" EntitySet="Refueling" />
- </AssociationSet>
- <AssociationSet Name="FK_Refueling_RefuelingGun" Association="Self.FK_Refueling_RefuelingGun">
- <End Role="RefuelingGun" EntitySet="RefuelingGun" />
- <End Role="Refueling" EntitySet="Refueling" />
- </AssociationSet>
- <AssociationSet Name="FK_RefuelingColumn_GasStation" Association="Self.FK_RefuelingColumn_GasStation">
- <End Role="GasStation" EntitySet="GasStation" />
- <End Role="RefuelingColumn" EntitySet="RefuelingColumn" />
- </AssociationSet>
- <AssociationSet Name="FK_RefuelingGun_FuelType" Association="Self.FK_RefuelingGun_FuelType">
- <End Role="FuelType" EntitySet="FuelType" />
- <End Role="RefuelingGun" EntitySet="RefuelingGun" />
- </AssociationSet>
- <AssociationSet Name="FK_RefuelingGun_RefuelingColumn" Association="Self.FK_RefuelingGun_RefuelingColumn">
- <End Role="RefuelingColumn" EntitySet="RefuelingColumn" />
- <End Role="RefuelingGun" EntitySet="RefuelingGun" />
- </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="Car" EntityType="gr672_pgvModel.Car" />
- <EntitySet Name="Card" EntityType="gr672_pgvModel.Card" />
- <EntitySet Name="CardIssuer" EntityType="gr672_pgvModel.CardIssuer" />
- <EntitySet Name="CardType" EntityType="gr672_pgvModel.CardType" />
- <EntitySet Name="Client" EntityType="gr672_pgvModel.Client" />
- <EntitySet Name="DataOfCamera" EntityType="gr672_pgvModel.DataOfCamera" />
- <EntitySet Name="FuelType" EntityType="gr672_pgvModel.FuelType" />
- <EntitySet Name="FuelTypeOnGasStation" EntityType="gr672_pgvModel.FuelTypeOnGasStation" />
- <EntitySet Name="GasStation" EntityType="gr672_pgvModel.GasStation" />
- <EntitySet Name="Payment" EntityType="gr672_pgvModel.Payment" />
- <EntitySet Name="Refueling" EntityType="gr672_pgvModel.Refueling" />
- <EntitySet Name="RefuelingColumn" EntityType="gr672_pgvModel.RefuelingColumn" />
- <EntitySet Name="RefuelingGun" EntityType="gr672_pgvModel.RefuelingGun" />
- <AssociationSet Name="FK_Car_Client" Association="gr672_pgvModel.FK_Car_Client">
- <End Role="Client" EntitySet="Client" />
- <End Role="Car" EntitySet="Car" />
- </AssociationSet>
- <AssociationSet Name="FK_Refueling_Car" Association="gr672_pgvModel.FK_Refueling_Car">
- <End Role="Car" EntitySet="Car" />
- <End Role="Refueling" EntitySet="Refueling" />
- </AssociationSet>
- <AssociationSet Name="FK_Card_CardIssuer" Association="gr672_pgvModel.FK_Card_CardIssuer">
- <End Role="CardIssuer" EntitySet="CardIssuer" />
- <End Role="Card" EntitySet="Card" />
- </AssociationSet>
- <AssociationSet Name="FK_Card_CardType" Association="gr672_pgvModel.FK_Card_CardType">
- <End Role="CardType" EntitySet="CardType" />
- <End Role="Card" EntitySet="Card" />
- </AssociationSet>
- <AssociationSet Name="FK_Card_Client" Association="gr672_pgvModel.FK_Card_Client">
- <End Role="Client" EntitySet="Client" />
- <End Role="Card" EntitySet="Card" />
- </AssociationSet>
- <AssociationSet Name="FK_Payment_Card" Association="gr672_pgvModel.FK_Payment_Card">
- <End Role="Card" EntitySet="Card" />
- <End Role="Payment" EntitySet="Payment" />
- </AssociationSet>
- <AssociationSet Name="FK_Refueling_DataOfCamera" Association="gr672_pgvModel.FK_Refueling_DataOfCamera">
- <End Role="DataOfCamera" EntitySet="DataOfCamera" />
- <End Role="Refueling" EntitySet="Refueling" />
- </AssociationSet>
- <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_RefuelingGun_FuelType" Association="gr672_pgvModel.FK_RefuelingGun_FuelType">
- <End Role="FuelType" EntitySet="FuelType" />
- <End Role="RefuelingGun" EntitySet="RefuelingGun" />
- </AssociationSet>
- <AssociationSet Name="FK_FuelInGasStation_GasStation" Association="gr672_pgvModel.FK_FuelInGasStation_GasStation">
- <End Role="GasStation" EntitySet="GasStation" />
- <End Role="FuelTypeOnGasStation" EntitySet="FuelTypeOnGasStation" />
- </AssociationSet>
- <AssociationSet Name="FK_RefuelingColumn_GasStation" Association="gr672_pgvModel.FK_RefuelingColumn_GasStation">
- <End Role="GasStation" EntitySet="GasStation" />
- <End Role="RefuelingColumn" EntitySet="RefuelingColumn" />
- </AssociationSet>
- <AssociationSet Name="FK_Payment_Refueling" Association="gr672_pgvModel.FK_Payment_Refueling">
- <End Role="Refueling" EntitySet="Refueling" />
- <End Role="Payment" EntitySet="Payment" />
- </AssociationSet>
- <AssociationSet Name="FK_Refueling_RefuelingGun" Association="gr672_pgvModel.FK_Refueling_RefuelingGun">
- <End Role="RefuelingGun" EntitySet="RefuelingGun" />
- <End Role="Refueling" EntitySet="Refueling" />
- </AssociationSet>
- <AssociationSet Name="FK_RefuelingGun_RefuelingColumn" Association="gr672_pgvModel.FK_RefuelingGun_RefuelingColumn">
- <End Role="RefuelingColumn" EntitySet="RefuelingColumn" />
- <End Role="RefuelingGun" EntitySet="RefuelingGun" />
- </AssociationSet>
- </EntityContainer>
- <EntityType Name="Car">
- <Key>
- <PropertyRef Name="CarID" />
- </Key>
- <Property Name="CarID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="CarNumber" Type="String" Nullable="false" MaxLength="9" FixedLength="false" Unicode="true" />
- <Property Name="VolumeTank" Type="Int32" />
- <Property Name="IDClient" Type="Int32" />
- <NavigationProperty Name="Client" Relationship="gr672_pgvModel.FK_Car_Client" FromRole="Car" ToRole="Client" />
- <NavigationProperty Name="Refueling" Relationship="gr672_pgvModel.FK_Refueling_Car" FromRole="Car" ToRole="Refueling" />
- </EntityType>
- <EntityType Name="Card">
- <Key>
- <PropertyRef Name="CardID" />
- </Key>
- <Property Name="CardID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="NumberCard" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="true" />
- <Property Name="CardExpDate" Type="String" Nullable="false" MaxLength="10" FixedLength="false" Unicode="true" />
- <Property Name="Balance" Type="Decimal" Nullable="false" Precision="19" Scale="4" />
- <Property Name="IDCardType" Type="Int32" Nullable="false" />
- <Property Name="IDCardIssuer" Type="Int32" />
- <Property Name="IDHolder" Type="Int32" Nullable="false" />
- <NavigationProperty Name="CardIssuer" Relationship="gr672_pgvModel.FK_Card_CardIssuer" FromRole="Card" ToRole="CardIssuer" />
- <NavigationProperty Name="CardType" Relationship="gr672_pgvModel.FK_Card_CardType" FromRole="Card" ToRole="CardType" />
- <NavigationProperty Name="Client" Relationship="gr672_pgvModel.FK_Card_Client" FromRole="Card" ToRole="Client" />
- <NavigationProperty Name="Payment" Relationship="gr672_pgvModel.FK_Payment_Card" FromRole="Card" ToRole="Payment" />
- </EntityType>
- <EntityType Name="CardIssuer">
- <Key>
- <PropertyRef Name="CardIssuerID" />
- </Key>
- <Property Name="CardIssuerID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="NameCardIssuer" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Card" Relationship="gr672_pgvModel.FK_Card_CardIssuer" FromRole="CardIssuer" ToRole="Card" />
- </EntityType>
- <EntityType Name="CardType">
- <Key>
- <PropertyRef Name="CardTypeID" />
- </Key>
- <Property Name="CardTypeID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="NameType" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Card" Relationship="gr672_pgvModel.FK_Card_CardType" FromRole="CardType" ToRole="Card" />
- </EntityType>
- <EntityType Name="Client">
- <Key>
- <PropertyRef Name="ClientID" />
- </Key>
- <Property Name="ClientID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="LastName" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="Name" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Car" Relationship="gr672_pgvModel.FK_Car_Client" FromRole="Client" ToRole="Car" />
- <NavigationProperty Name="Card" Relationship="gr672_pgvModel.FK_Card_Client" FromRole="Client" ToRole="Card" />
- </EntityType>
- <EntityType Name="DataOfCamera">
- <Key>
- <PropertyRef Name="DataOfCameraID" />
- </Key>
- <Property Name="DataOfCameraID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Date" Type="DateTime" Nullable="false" Precision="3" />
- <Property Name="Status" Type="Boolean" Nullable="false" />
- <Property Name="CarNumber" Type="String" MaxLength="9" FixedLength="false" Unicode="true" />
- <Property Name="NameImage" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Refueling" Relationship="gr672_pgvModel.FK_Refueling_DataOfCamera" FromRole="DataOfCamera" ToRole="Refueling" />
- </EntityType>
- <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" />
- <NavigationProperty Name="RefuelingGun" Relationship="gr672_pgvModel.FK_RefuelingGun_FuelType" FromRole="FuelType" ToRole="RefuelingGun" />
- </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" />
- <NavigationProperty Name="RefuelingColumn" Relationship="gr672_pgvModel.FK_RefuelingColumn_GasStation" FromRole="GasStation" ToRole="RefuelingColumn" />
- </EntityType>
- <EntityType Name="Payment">
- <Key>
- <PropertyRef Name="PaymentID" />
- </Key>
- <Property Name="PaymentID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="IDRefueling" Type="Int32" Nullable="false" />
- <Property Name="PriceRefueling" Type="Decimal" Nullable="false" Precision="19" Scale="4" />
- <Property Name="Status" Type="Boolean" Nullable="false" />
- <Property Name="TransactionCode" Type="String" Nullable="false" MaxLength="17" FixedLength="false" Unicode="true" />
- <Property Name="IDCard" Type="Int32" Nullable="false" />
- <NavigationProperty Name="Card" Relationship="gr672_pgvModel.FK_Payment_Card" FromRole="Payment" ToRole="Card" />
- <NavigationProperty Name="Refueling" Relationship="gr672_pgvModel.FK_Payment_Refueling" FromRole="Payment" ToRole="Refueling" />
- </EntityType>
- <EntityType Name="Refueling">
- <Key>
- <PropertyRef Name="RefuelingID" />
- </Key>
- <Property Name="RefuelingID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="IDCar" Type="Int32" />
- <Property Name="VolumeFuel" Type="Int32" Nullable="false" />
- <Property Name="IDDataOfCamera" Type="Int32" />
- <Property Name="KeySession" Type="String" Nullable="false" MaxLength="12" FixedLength="false" Unicode="true" />
- <Property Name="IDRefulingGun" Type="Int32" Nullable="false" />
- <NavigationProperty Name="Car" Relationship="gr672_pgvModel.FK_Refueling_Car" FromRole="Refueling" ToRole="Car" />
- <NavigationProperty Name="DataOfCamera" Relationship="gr672_pgvModel.FK_Refueling_DataOfCamera" FromRole="Refueling" ToRole="DataOfCamera" />
- <NavigationProperty Name="Payment" Relationship="gr672_pgvModel.FK_Payment_Refueling" FromRole="Refueling" ToRole="Payment" />
- <NavigationProperty Name="RefuelingGun" Relationship="gr672_pgvModel.FK_Refueling_RefuelingGun" FromRole="Refueling" ToRole="RefuelingGun" />
- </EntityType>
- <EntityType Name="RefuelingColumn">
- <Key>
- <PropertyRef Name="RefuelingColumnID" />
- </Key>
- <Property Name="RefuelingColumnID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="IDGasStation" Type="Int32" Nullable="false" />
- <NavigationProperty Name="GasStation" Relationship="gr672_pgvModel.FK_RefuelingColumn_GasStation" FromRole="RefuelingColumn" ToRole="GasStation" />
- <NavigationProperty Name="RefuelingGun" Relationship="gr672_pgvModel.FK_RefuelingGun_RefuelingColumn" FromRole="RefuelingColumn" ToRole="RefuelingGun" />
- </EntityType>
- <EntityType Name="RefuelingGun">
- <Key>
- <PropertyRef Name="RefuelingGunID" />
- </Key>
- <Property Name="RefuelingGunID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="IDRefuelingColumn" Type="Int32" Nullable="false" />
- <Property Name="IDFuelType" Type="Int32" Nullable="false" />
- <NavigationProperty Name="FuelType" Relationship="gr672_pgvModel.FK_RefuelingGun_FuelType" FromRole="RefuelingGun" ToRole="FuelType" />
- <NavigationProperty Name="Refueling" Relationship="gr672_pgvModel.FK_Refueling_RefuelingGun" FromRole="RefuelingGun" ToRole="Refueling" />
- <NavigationProperty Name="RefuelingColumn" Relationship="gr672_pgvModel.FK_RefuelingGun_RefuelingColumn" FromRole="RefuelingGun" ToRole="RefuelingColumn" />
- </EntityType>
- <Association Name="FK_Car_Client">
- <End Type="gr672_pgvModel.Client" Role="Client" Multiplicity="0..1" />
- <End Type="gr672_pgvModel.Car" Role="Car" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Client">
- <PropertyRef Name="ClientID" />
- </Principal>
- <Dependent Role="Car">
- <PropertyRef Name="IDClient" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Refueling_Car">
- <End Type="gr672_pgvModel.Car" Role="Car" Multiplicity="0..1" />
- <End Type="gr672_pgvModel.Refueling" Role="Refueling" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Car">
- <PropertyRef Name="CarID" />
- </Principal>
- <Dependent Role="Refueling">
- <PropertyRef Name="IDCar" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Card_CardIssuer">
- <End Type="gr672_pgvModel.CardIssuer" Role="CardIssuer" Multiplicity="0..1" />
- <End Type="gr672_pgvModel.Card" Role="Card" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="CardIssuer">
- <PropertyRef Name="CardIssuerID" />
- </Principal>
- <Dependent Role="Card">
- <PropertyRef Name="IDCardIssuer" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Card_CardType">
- <End Type="gr672_pgvModel.CardType" Role="CardType" Multiplicity="1" />
- <End Type="gr672_pgvModel.Card" Role="Card" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="CardType">
- <PropertyRef Name="CardTypeID" />
- </Principal>
- <Dependent Role="Card">
- <PropertyRef Name="IDCardType" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Card_Client">
- <End Type="gr672_pgvModel.Client" Role="Client" Multiplicity="1" />
- <End Type="gr672_pgvModel.Card" Role="Card" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Client">
- <PropertyRef Name="ClientID" />
- </Principal>
- <Dependent Role="Card">
- <PropertyRef Name="IDHolder" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Payment_Card">
- <End Type="gr672_pgvModel.Card" Role="Card" Multiplicity="1" />
- <End Type="gr672_pgvModel.Payment" Role="Payment" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Card">
- <PropertyRef Name="CardID" />
- </Principal>
- <Dependent Role="Payment">
- <PropertyRef Name="IDCard" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Refueling_DataOfCamera">
- <End Type="gr672_pgvModel.DataOfCamera" Role="DataOfCamera" Multiplicity="0..1" />
- <End Type="gr672_pgvModel.Refueling" Role="Refueling" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="DataOfCamera">
- <PropertyRef Name="DataOfCameraID" />
- </Principal>
- <Dependent Role="Refueling">
- <PropertyRef Name="IDDataOfCamera" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <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_RefuelingGun_FuelType">
- <End Type="gr672_pgvModel.FuelType" Role="FuelType" Multiplicity="1" />
- <End Type="gr672_pgvModel.RefuelingGun" Role="RefuelingGun" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="FuelType">
- <PropertyRef Name="FuelTypeID" />
- </Principal>
- <Dependent Role="RefuelingGun">
- <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>
- <Association Name="FK_RefuelingColumn_GasStation">
- <End Type="gr672_pgvModel.GasStation" Role="GasStation" Multiplicity="1" />
- <End Type="gr672_pgvModel.RefuelingColumn" Role="RefuelingColumn" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="GasStation">
- <PropertyRef Name="GasStationID" />
- </Principal>
- <Dependent Role="RefuelingColumn">
- <PropertyRef Name="IDGasStation" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Payment_Refueling">
- <End Type="gr672_pgvModel.Refueling" Role="Refueling" Multiplicity="1" />
- <End Type="gr672_pgvModel.Payment" Role="Payment" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Refueling">
- <PropertyRef Name="RefuelingID" />
- </Principal>
- <Dependent Role="Payment">
- <PropertyRef Name="IDRefueling" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Refueling_RefuelingGun">
- <End Type="gr672_pgvModel.RefuelingGun" Role="RefuelingGun" Multiplicity="1" />
- <End Type="gr672_pgvModel.Refueling" Role="Refueling" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="RefuelingGun">
- <PropertyRef Name="RefuelingGunID" />
- </Principal>
- <Dependent Role="Refueling">
- <PropertyRef Name="IDRefulingGun" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_RefuelingGun_RefuelingColumn">
- <End Type="gr672_pgvModel.RefuelingColumn" Role="RefuelingColumn" Multiplicity="1" />
- <End Type="gr672_pgvModel.RefuelingGun" Role="RefuelingGun" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="RefuelingColumn">
- <PropertyRef Name="RefuelingColumnID" />
- </Principal>
- <Dependent Role="RefuelingGun">
- <PropertyRef Name="IDRefuelingColumn" />
- </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="Car">
- <EntityTypeMapping TypeName="gr672_pgvModel.Car">
- <MappingFragment StoreEntitySet="Car">
- <ScalarProperty Name="IDClient" ColumnName="IDClient" />
- <ScalarProperty Name="VolumeTank" ColumnName="VolumeTank" />
- <ScalarProperty Name="CarNumber" ColumnName="CarNumber" />
- <ScalarProperty Name="CarID" ColumnName="CarID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Card">
- <EntityTypeMapping TypeName="gr672_pgvModel.Card">
- <MappingFragment StoreEntitySet="Card">
- <ScalarProperty Name="IDHolder" ColumnName="IDHolder" />
- <ScalarProperty Name="IDCardIssuer" ColumnName="IDCardIssuer" />
- <ScalarProperty Name="IDCardType" ColumnName="IDCardType" />
- <ScalarProperty Name="Balance" ColumnName="Balance" />
- <ScalarProperty Name="CardExpDate" ColumnName="CardExpDate" />
- <ScalarProperty Name="NumberCard" ColumnName="NumberCard" />
- <ScalarProperty Name="CardID" ColumnName="CardID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="CardIssuer">
- <EntityTypeMapping TypeName="gr672_pgvModel.CardIssuer">
- <MappingFragment StoreEntitySet="CardIssuer">
- <ScalarProperty Name="NameCardIssuer" ColumnName="NameCardIssuer" />
- <ScalarProperty Name="CardIssuerID" ColumnName="CardIssuerID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="CardType">
- <EntityTypeMapping TypeName="gr672_pgvModel.CardType">
- <MappingFragment StoreEntitySet="CardType">
- <ScalarProperty Name="NameType" ColumnName="NameType" />
- <ScalarProperty Name="CardTypeID" ColumnName="CardTypeID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Client">
- <EntityTypeMapping TypeName="gr672_pgvModel.Client">
- <MappingFragment StoreEntitySet="Client">
- <ScalarProperty Name="Name" ColumnName="Name" />
- <ScalarProperty Name="LastName" ColumnName="LastName" />
- <ScalarProperty Name="ClientID" ColumnName="ClientID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="DataOfCamera">
- <EntityTypeMapping TypeName="gr672_pgvModel.DataOfCamera">
- <MappingFragment StoreEntitySet="DataOfCamera">
- <ScalarProperty Name="NameImage" ColumnName="NameImage" />
- <ScalarProperty Name="CarNumber" ColumnName="CarNumber" />
- <ScalarProperty Name="Status" ColumnName="Status" />
- <ScalarProperty Name="Date" ColumnName="Date" />
- <ScalarProperty Name="DataOfCameraID" ColumnName="DataOfCameraID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <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>
- <EntitySetMapping Name="Payment">
- <EntityTypeMapping TypeName="gr672_pgvModel.Payment">
- <MappingFragment StoreEntitySet="Payment">
- <ScalarProperty Name="IDCard" ColumnName="IDCard" />
- <ScalarProperty Name="TransactionCode" ColumnName="TransactionCode" />
- <ScalarProperty Name="Status" ColumnName="Status" />
- <ScalarProperty Name="PriceRefueling" ColumnName="PriceRefueling" />
- <ScalarProperty Name="IDRefueling" ColumnName="IDRefueling" />
- <ScalarProperty Name="PaymentID" ColumnName="PaymentID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Refueling">
- <EntityTypeMapping TypeName="gr672_pgvModel.Refueling">
- <MappingFragment StoreEntitySet="Refueling">
- <ScalarProperty Name="IDRefulingGun" ColumnName="IDRefulingGun" />
- <ScalarProperty Name="KeySession" ColumnName="KeySession" />
- <ScalarProperty Name="IDDataOfCamera" ColumnName="IDDataOfCamera" />
- <ScalarProperty Name="VolumeFuel" ColumnName="VolumeFuel" />
- <ScalarProperty Name="IDCar" ColumnName="IDCar" />
- <ScalarProperty Name="RefuelingID" ColumnName="RefuelingID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="RefuelingColumn">
- <EntityTypeMapping TypeName="gr672_pgvModel.RefuelingColumn">
- <MappingFragment StoreEntitySet="RefuelingColumn">
- <ScalarProperty Name="IDGasStation" ColumnName="IDGasStation" />
- <ScalarProperty Name="RefuelingColumnID" ColumnName="RefuelingColumnID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="RefuelingGun">
- <EntityTypeMapping TypeName="gr672_pgvModel.RefuelingGun">
- <MappingFragment StoreEntitySet="RefuelingGun">
- <ScalarProperty Name="IDFuelType" ColumnName="IDFuelType" />
- <ScalarProperty Name="IDRefuelingColumn" ColumnName="IDRefuelingColumn" />
- <ScalarProperty Name="RefuelingGunID" ColumnName="RefuelingGunID" />
- </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>
|