123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588 |
- <?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="Хранилище Model" 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="id_Car" />
- </Key>
- <Property Name="id_Car" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="id_Teem" Type="int" Nullable="false" />
- <Property Name="id_Service" Type="int" Nullable="false" />
- <Property Name="id_Client" Type="int" Nullable="false" />
- <Property Name="id_CarBrand" Type="int" Nullable="false" />
- <Property Name="Car_mileage" Type="int" />
- </EntityType>
- <EntityType Name="CarBrand">
- <Key>
- <PropertyRef Name="id_CarBrand" />
- </Key>
- <Property Name="id_CarBrand" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="CarBrand" Type="text" Nullable="false" />
- </EntityType>
- <EntityType Name="Client">
- <Key>
- <PropertyRef Name="id_Client" />
- </Key>
- <Property Name="id_Client" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Surname" Type="varchar" MaxLength="50" />
- <Property Name="Name" Type="varchar" MaxLength="50" />
- <Property Name="Patronymic" Type="varchar" MaxLength="50" />
- <Property Name="Login" Type="varchar" MaxLength="50" />
- <Property Name="Password" Type="varchar" MaxLength="256" />
- <Property Name="id_Gender" Type="int" />
- <Property Name="BirthDate" Type="date" />
- <Property Name="id_Role" Type="int" />
- </EntityType>
- <EntityType Name="Gender">
- <Key>
- <PropertyRef Name="id_Gender" />
- </Key>
- <Property Name="id_Gender" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Gender" Type="varchar" MaxLength="50" />
- </EntityType>
- <EntityType Name="Post">
- <Key>
- <PropertyRef Name="id_Post" />
- </Key>
- <Property Name="id_Post" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Name_Post" Type="varchar" MaxLength="50" Nullable="false" />
- </EntityType>
- <!--Ошибки, обнаруженные при создании:
- предупреждение 6002: В таблице или представлении "43П-МДК0101-Смирнов.dbo.Record" не определен первичный ключ. Ключ был выведен, а определение таблицы или представления было создано в режиме только для чтения.-->
- <EntityType Name="Record">
- <Key>
- <PropertyRef Name="id_Record" />
- <PropertyRef Name="id_Client" />
- </Key>
- <Property Name="id_Record" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="id_Car" Type="int" />
- <Property Name="id_Client" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="Role">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Role" Type="varchar" MaxLength="50" />
- </EntityType>
- <EntityType Name="Service">
- <Key>
- <PropertyRef Name="id_Service" />
- </Key>
- <Property Name="id_Service" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="name_Service" Type="text" Nullable="false" />
- <Property Name="Prise" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="Teem">
- <Key>
- <PropertyRef Name="id_Teem" />
- </Key>
- <Property Name="id_Teem" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Surname_Teem" Type="varchar" MaxLength="50" Nullable="false" />
- <Property Name="Neme_Teem" Type="varchar" MaxLength="50" Nullable="false" />
- <Property Name="id_Post" Type="int" Nullable="false" />
- </EntityType>
- <Association Name="FK_Car_CarBrand">
- <End Role="CarBrand" Type="Self.CarBrand" Multiplicity="1" />
- <End Role="Car" Type="Self.Car" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="CarBrand">
- <PropertyRef Name="id_CarBrand" />
- </Principal>
- <Dependent Role="Car">
- <PropertyRef Name="id_CarBrand" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Car_Service">
- <End Role="Service" Type="Self.Service" Multiplicity="1" />
- <End Role="Car" Type="Self.Car" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Service">
- <PropertyRef Name="id_Service" />
- </Principal>
- <Dependent Role="Car">
- <PropertyRef Name="id_Service" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Car_Teem">
- <End Role="Teem" Type="Self.Teem" Multiplicity="1" />
- <End Role="Car" Type="Self.Car" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Teem">
- <PropertyRef Name="id_Teem" />
- </Principal>
- <Dependent Role="Car">
- <PropertyRef Name="id_Teem" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Record_Car">
- <End Role="Car" Type="Self.Car" Multiplicity="0..1" />
- <End Role="Record" Type="Self.Record" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Car">
- <PropertyRef Name="id_Car" />
- </Principal>
- <Dependent Role="Record">
- <PropertyRef Name="id_Car" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Record_Client">
- <End Role="Client" Type="Self.Client" Multiplicity="1" />
- <End Role="Record" Type="Self.Record" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Client">
- <PropertyRef Name="id_Client" />
- </Principal>
- <Dependent Role="Record">
- <PropertyRef Name="id_Client" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Table_1_Table_2">
- <End Role="Gender" Type="Self.Gender" Multiplicity="0..1" />
- <End Role="Client" Type="Self.Client" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Gender">
- <PropertyRef Name="id_Gender" />
- </Principal>
- <Dependent Role="Client">
- <PropertyRef Name="id_Gender" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Table_1_Table_3">
- <End Role="Role" Type="Self.Role" Multiplicity="0..1" />
- <End Role="Client" Type="Self.Client" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Role">
- <PropertyRef Name="id" />
- </Principal>
- <Dependent Role="Client">
- <PropertyRef Name="id_Role" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Teem_Post">
- <End Role="Post" Type="Self.Post" Multiplicity="1" />
- <End Role="Teem" Type="Self.Teem" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Post">
- <PropertyRef Name="id_Post" />
- </Principal>
- <Dependent Role="Teem">
- <PropertyRef Name="id_Post" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Хранилище ModelContainer">
- <EntitySet Name="Car" EntityType="Self.Car" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="CarBrand" EntityType="Self.CarBrand" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Client" EntityType="Self.Client" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Gender" EntityType="Self.Gender" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Post" EntityType="Self.Post" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Role" EntityType="Self.Role" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Service" EntityType="Self.Service" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Teem" EntityType="Self.Teem" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Record" EntityType="Self.Record" store:Type="Tables" store:Schema="dbo">
- <DefiningQuery>SELECT
- [Record].[id_Record] AS [id_Record],
- [Record].[id_Car] AS [id_Car],
- [Record].[id_Client] AS [id_Client]
- FROM [dbo].[Record] AS [Record]</DefiningQuery>
- </EntitySet>
- <AssociationSet Name="FK_Car_CarBrand" Association="Self.FK_Car_CarBrand">
- <End Role="CarBrand" EntitySet="CarBrand" />
- <End Role="Car" EntitySet="Car" />
- </AssociationSet>
- <AssociationSet Name="FK_Car_Service" Association="Self.FK_Car_Service">
- <End Role="Service" EntitySet="Service" />
- <End Role="Car" EntitySet="Car" />
- </AssociationSet>
- <AssociationSet Name="FK_Car_Teem" Association="Self.FK_Car_Teem">
- <End Role="Teem" EntitySet="Teem" />
- <End Role="Car" EntitySet="Car" />
- </AssociationSet>
- <AssociationSet Name="FK_Record_Car" Association="Self.FK_Record_Car">
- <End Role="Car" EntitySet="Car" />
- <End Role="Record" EntitySet="Record" />
- </AssociationSet>
- <AssociationSet Name="FK_Record_Client" Association="Self.FK_Record_Client">
- <End Role="Client" EntitySet="Client" />
- <End Role="Record" EntitySet="Record" />
- </AssociationSet>
- <AssociationSet Name="FK_Table_1_Table_2" Association="Self.FK_Table_1_Table_2">
- <End Role="Gender" EntitySet="Gender" />
- <End Role="Client" EntitySet="Client" />
- </AssociationSet>
- <AssociationSet Name="FK_Table_1_Table_3" Association="Self.FK_Table_1_Table_3">
- <End Role="Role" EntitySet="Role" />
- <End Role="Client" EntitySet="Client" />
- </AssociationSet>
- <AssociationSet Name="FK_Teem_Post" Association="Self.FK_Teem_Post">
- <End Role="Post" EntitySet="Post" />
- <End Role="Teem" EntitySet="Teem" />
- </AssociationSet>
- </EntityContainer>
- </Schema></edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="Model" 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="Entities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="Car" EntityType="Model.Car" />
- <EntitySet Name="CarBrand" EntityType="Model.CarBrand" />
- <EntitySet Name="Client" EntityType="Model.Client" />
- <EntitySet Name="Gender" EntityType="Model.Gender" />
- <EntitySet Name="Post" EntityType="Model.Post" />
- <EntitySet Name="Role" EntityType="Model.Role" />
- <EntitySet Name="Service" EntityType="Model.Service" />
- <EntitySet Name="Teem" EntityType="Model.Teem" />
- <EntitySet Name="Record" EntityType="Model.Record" />
- <AssociationSet Name="FK_Car_CarBrand" Association="Model.FK_Car_CarBrand">
- <End Role="CarBrand" EntitySet="CarBrand" />
- <End Role="Car" EntitySet="Car" />
- </AssociationSet>
- <AssociationSet Name="FK_Car_Service" Association="Model.FK_Car_Service">
- <End Role="Service" EntitySet="Service" />
- <End Role="Car" EntitySet="Car" />
- </AssociationSet>
- <AssociationSet Name="FK_Car_Teem" Association="Model.FK_Car_Teem">
- <End Role="Teem" EntitySet="Teem" />
- <End Role="Car" EntitySet="Car" />
- </AssociationSet>
- <AssociationSet Name="FK_Record_Car" Association="Model.FK_Record_Car">
- <End Role="Car" EntitySet="Car" />
- <End Role="Record" EntitySet="Record" />
- </AssociationSet>
- <AssociationSet Name="FK_Record_Client" Association="Model.FK_Record_Client">
- <End Role="Client" EntitySet="Client" />
- <End Role="Record" EntitySet="Record" />
- </AssociationSet>
- <AssociationSet Name="FK_Table_1_Table_21" Association="Model.FK_Table_1_Table_21">
- <End Role="Gender" EntitySet="Gender" />
- <End Role="Client" EntitySet="Client" />
- </AssociationSet>
- <AssociationSet Name="FK_Table_1_Table_31" Association="Model.FK_Table_1_Table_31">
- <End Role="Role" EntitySet="Role" />
- <End Role="Client" EntitySet="Client" />
- </AssociationSet>
- <AssociationSet Name="FK_Teem_Post" Association="Model.FK_Teem_Post">
- <End Role="Post" EntitySet="Post" />
- <End Role="Teem" EntitySet="Teem" />
- </AssociationSet>
- </EntityContainer>
- <EntityType Name="Car">
- <Key>
- <PropertyRef Name="id_Car" />
- </Key>
- <Property Name="id_Car" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="id_Teem" Type="Int32" Nullable="false" />
- <Property Name="id_Service" Type="Int32" Nullable="false" />
- <Property Name="id_Client" Type="Int32" Nullable="false" />
- <Property Name="id_CarBrand" Type="Int32" Nullable="false" />
- <Property Name="Car_mileage" Type="Int32" />
- <NavigationProperty Name="CarBrand" Relationship="Model.FK_Car_CarBrand" FromRole="Car" ToRole="CarBrand" />
- <NavigationProperty Name="Service" Relationship="Model.FK_Car_Service" FromRole="Car" ToRole="Service" />
- <NavigationProperty Name="Teem" Relationship="Model.FK_Car_Teem" FromRole="Car" ToRole="Teem" />
- <NavigationProperty Name="Record" Relationship="Model.FK_Record_Car" FromRole="Car" ToRole="Record" />
- </EntityType>
- <EntityType Name="CarBrand">
- <Key>
- <PropertyRef Name="id_CarBrand" />
- </Key>
- <Property Name="id_CarBrand" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="CarBrand1" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="false" />
- <NavigationProperty Name="Car" Relationship="Model.FK_Car_CarBrand" FromRole="CarBrand" ToRole="Car" />
- </EntityType>
- <EntityType Name="Client">
- <Key>
- <PropertyRef Name="id_Client" />
- </Key>
- <Property Name="id_Client" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Surname" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Patronymic" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Login" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Password" Type="String" MaxLength="256" FixedLength="false" Unicode="false" />
- <Property Name="id_Gender" Type="Int32" />
- <Property Name="BirthDate" Type="DateTime" Precision="0" />
- <Property Name="id_Role" Type="Int32" />
- <NavigationProperty Name="Record" Relationship="Model.FK_Record_Client" FromRole="Client" ToRole="Record" />
- <NavigationProperty Name="Gender" Relationship="Model.FK_Table_1_Table_21" FromRole="Client" ToRole="Gender" />
- <NavigationProperty Name="Role" Relationship="Model.FK_Table_1_Table_31" FromRole="Client" ToRole="Role" />
- </EntityType>
- <EntityType Name="Gender">
- <Key>
- <PropertyRef Name="id_Gender" />
- </Key>
- <Property Name="id_Gender" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Gender1" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <NavigationProperty Name="Client" Relationship="Model.FK_Table_1_Table_21" FromRole="Gender" ToRole="Client" />
- </EntityType>
- <EntityType Name="Post">
- <Key>
- <PropertyRef Name="id_Post" />
- </Key>
- <Property Name="id_Post" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Name_Post" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
- <NavigationProperty Name="Teem" Relationship="Model.FK_Teem_Post" FromRole="Post" ToRole="Teem" />
- </EntityType>
- <EntityType Name="Role">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Role1" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <NavigationProperty Name="Client" Relationship="Model.FK_Table_1_Table_31" FromRole="Role" ToRole="Client" />
- </EntityType>
- <EntityType Name="Service">
- <Key>
- <PropertyRef Name="id_Service" />
- </Key>
- <Property Name="id_Service" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="name_Service" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="false" />
- <Property Name="Prise" Type="Int32" Nullable="false" />
- <NavigationProperty Name="Car" Relationship="Model.FK_Car_Service" FromRole="Service" ToRole="Car" />
- </EntityType>
- <EntityType Name="Teem">
- <Key>
- <PropertyRef Name="id_Teem" />
- </Key>
- <Property Name="id_Teem" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Surname_Teem" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Neme_Teem" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="id_Post" Type="Int32" Nullable="false" />
- <NavigationProperty Name="Car" Relationship="Model.FK_Car_Teem" FromRole="Teem" ToRole="Car" />
- <NavigationProperty Name="Post" Relationship="Model.FK_Teem_Post" FromRole="Teem" ToRole="Post" />
- </EntityType>
- <EntityType Name="Record">
- <Key>
- <PropertyRef Name="id_Record" />
- <PropertyRef Name="id_Client" />
- </Key>
- <Property Name="id_Record" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="id_Car" Type="Int32" />
- <Property Name="id_Client" Type="Int32" Nullable="false" />
- <NavigationProperty Name="Car" Relationship="Model.FK_Record_Car" FromRole="Record" ToRole="Car" />
- <NavigationProperty Name="Client" Relationship="Model.FK_Record_Client" FromRole="Record" ToRole="Client" />
- </EntityType>
- <Association Name="FK_Car_CarBrand">
- <End Type="Model.CarBrand" Role="CarBrand" Multiplicity="1" />
- <End Type="Model.Car" Role="Car" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="CarBrand">
- <PropertyRef Name="id_CarBrand" />
- </Principal>
- <Dependent Role="Car">
- <PropertyRef Name="id_CarBrand" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Car_Service">
- <End Type="Model.Service" Role="Service" Multiplicity="1" />
- <End Type="Model.Car" Role="Car" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Service">
- <PropertyRef Name="id_Service" />
- </Principal>
- <Dependent Role="Car">
- <PropertyRef Name="id_Service" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Car_Teem">
- <End Type="Model.Teem" Role="Teem" Multiplicity="1" />
- <End Type="Model.Car" Role="Car" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Teem">
- <PropertyRef Name="id_Teem" />
- </Principal>
- <Dependent Role="Car">
- <PropertyRef Name="id_Teem" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Record_Car">
- <End Type="Model.Car" Role="Car" Multiplicity="0..1" />
- <End Type="Model.Record" Role="Record" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Car">
- <PropertyRef Name="id_Car" />
- </Principal>
- <Dependent Role="Record">
- <PropertyRef Name="id_Car" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Record_Client">
- <End Type="Model.Client" Role="Client" Multiplicity="1" />
- <End Type="Model.Record" Role="Record" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Client">
- <PropertyRef Name="id_Client" />
- </Principal>
- <Dependent Role="Record">
- <PropertyRef Name="id_Client" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Table_1_Table_21">
- <End Type="Model.Gender" Role="Gender" Multiplicity="0..1" />
- <End Type="Model.Client" Role="Client" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Gender">
- <PropertyRef Name="id_Gender" />
- </Principal>
- <Dependent Role="Client">
- <PropertyRef Name="id_Gender" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Table_1_Table_31">
- <End Type="Model.Role" Role="Role" Multiplicity="0..1" />
- <End Type="Model.Client" Role="Client" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Role">
- <PropertyRef Name="id" />
- </Principal>
- <Dependent Role="Client">
- <PropertyRef Name="id_Role" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Teem_Post">
- <End Type="Model.Post" Role="Post" Multiplicity="1" />
- <End Type="Model.Teem" Role="Teem" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Post">
- <PropertyRef Name="id_Post" />
- </Principal>
- <Dependent Role="Teem">
- <PropertyRef Name="id_Post" />
- </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="Хранилище ModelContainer" CdmEntityContainer="Entities">
- <EntitySetMapping Name="Car">
- <EntityTypeMapping TypeName="Model.Car">
- <MappingFragment StoreEntitySet="Car">
- <ScalarProperty Name="Car_mileage" ColumnName="Car_mileage" />
- <ScalarProperty Name="id_CarBrand" ColumnName="id_CarBrand" />
- <ScalarProperty Name="id_Client" ColumnName="id_Client" />
- <ScalarProperty Name="id_Service" ColumnName="id_Service" />
- <ScalarProperty Name="id_Teem" ColumnName="id_Teem" />
- <ScalarProperty Name="id_Car" ColumnName="id_Car" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="CarBrand">
- <EntityTypeMapping TypeName="Model.CarBrand">
- <MappingFragment StoreEntitySet="CarBrand">
- <ScalarProperty Name="CarBrand1" ColumnName="CarBrand" />
- <ScalarProperty Name="id_CarBrand" ColumnName="id_CarBrand" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Client">
- <EntityTypeMapping TypeName="Model.Client">
- <MappingFragment StoreEntitySet="Client">
- <ScalarProperty Name="id_Role" ColumnName="id_Role" />
- <ScalarProperty Name="BirthDate" ColumnName="BirthDate" />
- <ScalarProperty Name="id_Gender" ColumnName="id_Gender" />
- <ScalarProperty Name="Password" ColumnName="Password" />
- <ScalarProperty Name="Login" ColumnName="Login" />
- <ScalarProperty Name="Patronymic" ColumnName="Patronymic" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- <ScalarProperty Name="Surname" ColumnName="Surname" />
- <ScalarProperty Name="id_Client" ColumnName="id_Client" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Gender">
- <EntityTypeMapping TypeName="Model.Gender">
- <MappingFragment StoreEntitySet="Gender">
- <ScalarProperty Name="Gender1" ColumnName="Gender" />
- <ScalarProperty Name="id_Gender" ColumnName="id_Gender" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Post">
- <EntityTypeMapping TypeName="Model.Post">
- <MappingFragment StoreEntitySet="Post">
- <ScalarProperty Name="Name_Post" ColumnName="Name_Post" />
- <ScalarProperty Name="id_Post" ColumnName="id_Post" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Role">
- <EntityTypeMapping TypeName="Model.Role">
- <MappingFragment StoreEntitySet="Role">
- <ScalarProperty Name="Role1" ColumnName="Role" />
- <ScalarProperty Name="id" ColumnName="id" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Service">
- <EntityTypeMapping TypeName="Model.Service">
- <MappingFragment StoreEntitySet="Service">
- <ScalarProperty Name="Prise" ColumnName="Prise" />
- <ScalarProperty Name="name_Service" ColumnName="name_Service" />
- <ScalarProperty Name="id_Service" ColumnName="id_Service" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Teem">
- <EntityTypeMapping TypeName="Model.Teem">
- <MappingFragment StoreEntitySet="Teem">
- <ScalarProperty Name="id_Post" ColumnName="id_Post" />
- <ScalarProperty Name="Neme_Teem" ColumnName="Neme_Teem" />
- <ScalarProperty Name="Surname_Teem" ColumnName="Surname_Teem" />
- <ScalarProperty Name="id_Teem" ColumnName="id_Teem" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Record">
- <EntityTypeMapping TypeName="Model.Record">
- <MappingFragment StoreEntitySet="Record">
- <ScalarProperty Name="id_Client" ColumnName="id_Client" />
- <ScalarProperty Name="id_Car" ColumnName="id_Car" />
- <ScalarProperty Name="id_Record" ColumnName="id_Record" />
- </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>
|