123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509 |
- <?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="Хранилище Demo_TestModel" 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="Countryes">
- <Key>
- <PropertyRef Name="CountryCode" />
- </Key>
- <Property Name="CountryCode" Type="varchar" MaxLength="50" Nullable="false" />
- <Property Name="Name" Type="varchar" MaxLength="50" Nullable="false" />
- </EntityType>
- <EntityType Name="Hotels">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Name" Type="varchar" MaxLength="50" Nullable="false" />
- <Property Name="CountOfStars" Type="int" Nullable="false" />
- <Property Name="IdTour" Type="int" Nullable="false" />
- <Property Name="Desription" Type="varchar" MaxLength="100" />
- </EntityType>
- <EntityType Name="Tours">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Name" Type="varchar" MaxLength="50" Nullable="false" />
- <Property Name="CountryCode" Type="varchar" MaxLength="50" Nullable="false" />
- <Property Name="CountOfBilets" Type="int" Nullable="false" />
- <Property Name="Price" Type="int" Nullable="false" />
- <Property Name="IsActual" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="TourTypeOfTour">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="IdTour" Type="int" Nullable="false" />
- <Property Name="IdType" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="TypeOfTours">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Name" Type="varchar" MaxLength="50" Nullable="false" />
- </EntityType>
- <EntityType Name="UserRole">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Role" Type="varchar" MaxLength="50" Nullable="false" />
- </EntityType>
- <EntityType Name="Users">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="Login" Type="varchar" MaxLength="50" Nullable="false" />
- <Property Name="Password" Type="varchar" MaxLength="50" Nullable="false" />
- <Property Name="UserRoleId" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="UserTour">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="UserID" Type="int" Nullable="false" />
- <Property Name="TourID" Type="int" Nullable="false" />
- </EntityType>
- <Association Name="FK_Hotels_Tours">
- <End Role="Tours" Type="Self.Tours" Multiplicity="1" />
- <End Role="Hotels" Type="Self.Hotels" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Tours">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="Hotels">
- <PropertyRef Name="IdTour" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Tours_Countryes">
- <End Role="Countryes" Type="Self.Countryes" Multiplicity="1" />
- <End Role="Tours" Type="Self.Tours" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Countryes">
- <PropertyRef Name="CountryCode" />
- </Principal>
- <Dependent Role="Tours">
- <PropertyRef Name="CountryCode" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_TourTypeOfTour_Tours">
- <End Role="Tours" Type="Self.Tours" Multiplicity="1" />
- <End Role="TourTypeOfTour" Type="Self.TourTypeOfTour" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Tours">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="TourTypeOfTour">
- <PropertyRef Name="IdTour" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_TourTypeOfTour_TypeOfTours">
- <End Role="TypeOfTours" Type="Self.TypeOfTours" Multiplicity="1" />
- <End Role="TourTypeOfTour" Type="Self.TourTypeOfTour" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="TypeOfTours">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="TourTypeOfTour">
- <PropertyRef Name="IdType" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Users_UserRole">
- <End Role="UserRole" Type="Self.UserRole" Multiplicity="1" />
- <End Role="Users" Type="Self.Users" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="UserRole">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="Users">
- <PropertyRef Name="UserRoleId" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_UserTour_Tours">
- <End Role="Tours" Type="Self.Tours" Multiplicity="1" />
- <End Role="UserTour" Type="Self.UserTour" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Tours">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="UserTour">
- <PropertyRef Name="TourID" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_UserTour_UserRole">
- <End Role="UserRole" Type="Self.UserRole" Multiplicity="1" />
- <End Role="UserTour" Type="Self.UserTour" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="UserRole">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="UserTour">
- <PropertyRef Name="UserID" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Хранилище Demo_TestModelContainer">
- <EntitySet Name="Countryes" EntityType="Self.Countryes" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Hotels" EntityType="Self.Hotels" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Tours" EntityType="Self.Tours" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="TourTypeOfTour" EntityType="Self.TourTypeOfTour" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="TypeOfTours" EntityType="Self.TypeOfTours" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="UserRole" EntityType="Self.UserRole" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Users" EntityType="Self.Users" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="UserTour" EntityType="Self.UserTour" Schema="dbo" store:Type="Tables" />
- <AssociationSet Name="FK_Hotels_Tours" Association="Self.FK_Hotels_Tours">
- <End Role="Tours" EntitySet="Tours" />
- <End Role="Hotels" EntitySet="Hotels" />
- </AssociationSet>
- <AssociationSet Name="FK_Tours_Countryes" Association="Self.FK_Tours_Countryes">
- <End Role="Countryes" EntitySet="Countryes" />
- <End Role="Tours" EntitySet="Tours" />
- </AssociationSet>
- <AssociationSet Name="FK_TourTypeOfTour_Tours" Association="Self.FK_TourTypeOfTour_Tours">
- <End Role="Tours" EntitySet="Tours" />
- <End Role="TourTypeOfTour" EntitySet="TourTypeOfTour" />
- </AssociationSet>
- <AssociationSet Name="FK_TourTypeOfTour_TypeOfTours" Association="Self.FK_TourTypeOfTour_TypeOfTours">
- <End Role="TypeOfTours" EntitySet="TypeOfTours" />
- <End Role="TourTypeOfTour" EntitySet="TourTypeOfTour" />
- </AssociationSet>
- <AssociationSet Name="FK_Users_UserRole" Association="Self.FK_Users_UserRole">
- <End Role="UserRole" EntitySet="UserRole" />
- <End Role="Users" EntitySet="Users" />
- </AssociationSet>
- <AssociationSet Name="FK_UserTour_Tours" Association="Self.FK_UserTour_Tours">
- <End Role="Tours" EntitySet="Tours" />
- <End Role="UserTour" EntitySet="UserTour" />
- </AssociationSet>
- <AssociationSet Name="FK_UserTour_UserRole" Association="Self.FK_UserTour_UserRole">
- <End Role="UserRole" EntitySet="UserRole" />
- <End Role="UserTour" EntitySet="UserTour" />
- </AssociationSet>
- </EntityContainer>
- </Schema>
- </edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="Demo_TestModel" 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="Countryes">
- <Key>
- <PropertyRef Name="CountryCode" />
- </Key>
- <Property Name="CountryCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
- <NavigationProperty Name="Tours" Relationship="Self.FK_Tours_Countryes" FromRole="Countryes" ToRole="Tours" />
- </EntityType>
- <EntityType Name="Hotels">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
- <Property Name="CountOfStars" Type="Int32" Nullable="false" />
- <Property Name="IdTour" Type="Int32" Nullable="false" />
- <Property Name="Desription" Type="String" MaxLength="100" FixedLength="false" Unicode="false" />
- <NavigationProperty Name="Tours" Relationship="Self.FK_Hotels_Tours" FromRole="Hotels" ToRole="Tours" />
- </EntityType>
- <EntityType Name="Tours">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
- <Property Name="CountryCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
- <Property Name="CountOfBilets" Type="Int32" Nullable="false" />
- <Property Name="Price" Type="Int32" Nullable="false" />
- <Property Name="IsActual" Type="Int32" Nullable="false" />
- <NavigationProperty Name="Countryes" Relationship="Self.FK_Tours_Countryes" FromRole="Tours" ToRole="Countryes" />
- <NavigationProperty Name="Hotels" Relationship="Self.FK_Hotels_Tours" FromRole="Tours" ToRole="Hotels" />
- <NavigationProperty Name="TourTypeOfTour" Relationship="Self.FK_TourTypeOfTour_Tours" FromRole="Tours" ToRole="TourTypeOfTour" />
- <NavigationProperty Name="UserTour" Relationship="Self.FK_UserTour_Tours" FromRole="Tours" ToRole="UserTour" />
- </EntityType>
- <EntityType Name="TourTypeOfTour">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="IdTour" Type="Int32" Nullable="false" />
- <Property Name="IdType" Type="Int32" Nullable="false" />
- <NavigationProperty Name="Tours" Relationship="Self.FK_TourTypeOfTour_Tours" FromRole="TourTypeOfTour" ToRole="Tours" />
- <NavigationProperty Name="TypeOfTours" Relationship="Self.FK_TourTypeOfTour_TypeOfTours" FromRole="TourTypeOfTour" ToRole="TypeOfTours" />
- </EntityType>
- <EntityType Name="TypeOfTours">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
- <NavigationProperty Name="TourTypeOfTour" Relationship="Self.FK_TourTypeOfTour_TypeOfTours" FromRole="TypeOfTours" ToRole="TourTypeOfTour" />
- </EntityType>
- <EntityType Name="UserRole">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Role" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
- <NavigationProperty Name="Users" Relationship="Self.FK_Users_UserRole" FromRole="UserRole" ToRole="Users" />
- <NavigationProperty Name="UserTour" Relationship="Self.FK_UserTour_UserRole" FromRole="UserRole" ToRole="UserTour" />
- </EntityType>
- <EntityType Name="Users">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="Login" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
- <Property Name="Password" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
- <Property Name="UserRoleId" Type="Int32" Nullable="false" />
- <NavigationProperty Name="UserRole" Relationship="Self.FK_Users_UserRole" FromRole="Users" ToRole="UserRole" />
- </EntityType>
- <EntityType Name="UserTour">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="UserID" Type="Int32" Nullable="false" />
- <Property Name="TourID" Type="Int32" Nullable="false" />
- <NavigationProperty Name="Tours" Relationship="Self.FK_UserTour_Tours" FromRole="UserTour" ToRole="Tours" />
- <NavigationProperty Name="UserRole" Relationship="Self.FK_UserTour_UserRole" FromRole="UserTour" ToRole="UserRole" />
- </EntityType>
- <Association Name="FK_Tours_Countryes">
- <End Role="Countryes" Type="Self.Countryes" Multiplicity="1" />
- <End Role="Tours" Type="Self.Tours" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Countryes">
- <PropertyRef Name="CountryCode" />
- </Principal>
- <Dependent Role="Tours">
- <PropertyRef Name="CountryCode" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Hotels_Tours">
- <End Role="Tours" Type="Self.Tours" Multiplicity="1" />
- <End Role="Hotels" Type="Self.Hotels" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Tours">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="Hotels">
- <PropertyRef Name="IdTour" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_TourTypeOfTour_Tours">
- <End Role="Tours" Type="Self.Tours" Multiplicity="1" />
- <End Role="TourTypeOfTour" Type="Self.TourTypeOfTour" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Tours">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="TourTypeOfTour">
- <PropertyRef Name="IdTour" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_UserTour_Tours">
- <End Role="Tours" Type="Self.Tours" Multiplicity="1" />
- <End Role="UserTour" Type="Self.UserTour" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Tours">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="UserTour">
- <PropertyRef Name="TourID" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_TourTypeOfTour_TypeOfTours">
- <End Role="TypeOfTours" Type="Self.TypeOfTours" Multiplicity="1" />
- <End Role="TourTypeOfTour" Type="Self.TourTypeOfTour" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="TypeOfTours">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="TourTypeOfTour">
- <PropertyRef Name="IdType" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Users_UserRole">
- <End Role="UserRole" Type="Self.UserRole" Multiplicity="1" />
- <End Role="Users" Type="Self.Users" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="UserRole">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="Users">
- <PropertyRef Name="UserRoleId" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_UserTour_UserRole">
- <End Role="UserRole" Type="Self.UserRole" Multiplicity="1" />
- <End Role="UserTour" Type="Self.UserTour" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="UserRole">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="UserTour">
- <PropertyRef Name="UserID" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Entities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="Countryes" EntityType="Self.Countryes" />
- <EntitySet Name="Hotels" EntityType="Self.Hotels" />
- <EntitySet Name="Tours" EntityType="Self.Tours" />
- <EntitySet Name="TourTypeOfTour" EntityType="Self.TourTypeOfTour" />
- <EntitySet Name="TypeOfTours" EntityType="Self.TypeOfTours" />
- <EntitySet Name="UserRole" EntityType="Self.UserRole" />
- <EntitySet Name="Users" EntityType="Self.Users" />
- <EntitySet Name="UserTour" EntityType="Self.UserTour" />
- <AssociationSet Name="FK_Tours_Countryes" Association="Self.FK_Tours_Countryes">
- <End Role="Countryes" EntitySet="Countryes" />
- <End Role="Tours" EntitySet="Tours" />
- </AssociationSet>
- <AssociationSet Name="FK_Hotels_Tours" Association="Self.FK_Hotels_Tours">
- <End Role="Tours" EntitySet="Tours" />
- <End Role="Hotels" EntitySet="Hotels" />
- </AssociationSet>
- <AssociationSet Name="FK_TourTypeOfTour_Tours" Association="Self.FK_TourTypeOfTour_Tours">
- <End Role="Tours" EntitySet="Tours" />
- <End Role="TourTypeOfTour" EntitySet="TourTypeOfTour" />
- </AssociationSet>
- <AssociationSet Name="FK_UserTour_Tours" Association="Self.FK_UserTour_Tours">
- <End Role="Tours" EntitySet="Tours" />
- <End Role="UserTour" EntitySet="UserTour" />
- </AssociationSet>
- <AssociationSet Name="FK_TourTypeOfTour_TypeOfTours" Association="Self.FK_TourTypeOfTour_TypeOfTours">
- <End Role="TypeOfTours" EntitySet="TypeOfTours" />
- <End Role="TourTypeOfTour" EntitySet="TourTypeOfTour" />
- </AssociationSet>
- <AssociationSet Name="FK_Users_UserRole" Association="Self.FK_Users_UserRole">
- <End Role="UserRole" EntitySet="UserRole" />
- <End Role="Users" EntitySet="Users" />
- </AssociationSet>
- <AssociationSet Name="FK_UserTour_UserRole" Association="Self.FK_UserTour_UserRole">
- <End Role="UserRole" EntitySet="UserRole" />
- <End Role="UserTour" EntitySet="UserTour" />
- </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="Хранилище Demo_TestModelContainer" CdmEntityContainer="Entities">
- <EntitySetMapping Name="Countryes">
- <EntityTypeMapping TypeName="Demo_TestModel.Countryes">
- <MappingFragment StoreEntitySet="Countryes">
- <ScalarProperty Name="CountryCode" ColumnName="CountryCode" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Hotels">
- <EntityTypeMapping TypeName="Demo_TestModel.Hotels">
- <MappingFragment StoreEntitySet="Hotels">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- <ScalarProperty Name="CountOfStars" ColumnName="CountOfStars" />
- <ScalarProperty Name="IdTour" ColumnName="IdTour" />
- <ScalarProperty Name="Desription" ColumnName="Desription" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Tours">
- <EntityTypeMapping TypeName="Demo_TestModel.Tours">
- <MappingFragment StoreEntitySet="Tours">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- <ScalarProperty Name="CountryCode" ColumnName="CountryCode" />
- <ScalarProperty Name="CountOfBilets" ColumnName="CountOfBilets" />
- <ScalarProperty Name="Price" ColumnName="Price" />
- <ScalarProperty Name="IsActual" ColumnName="IsActual" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="TourTypeOfTour">
- <EntityTypeMapping TypeName="Demo_TestModel.TourTypeOfTour">
- <MappingFragment StoreEntitySet="TourTypeOfTour">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="IdTour" ColumnName="IdTour" />
- <ScalarProperty Name="IdType" ColumnName="IdType" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="TypeOfTours">
- <EntityTypeMapping TypeName="Demo_TestModel.TypeOfTours">
- <MappingFragment StoreEntitySet="TypeOfTours">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="UserRole">
- <EntityTypeMapping TypeName="Demo_TestModel.UserRole">
- <MappingFragment StoreEntitySet="UserRole">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Role" ColumnName="Role" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Users">
- <EntityTypeMapping TypeName="Demo_TestModel.Users">
- <MappingFragment StoreEntitySet="Users">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Login" ColumnName="Login" />
- <ScalarProperty Name="Password" ColumnName="Password" />
- <ScalarProperty Name="UserRoleId" ColumnName="UserRoleId" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="UserTour">
- <EntityTypeMapping TypeName="Demo_TestModel.UserTour">
- <MappingFragment StoreEntitySet="UserTour">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="UserID" ColumnName="UserID" />
- <ScalarProperty Name="TourID" ColumnName="TourID" />
- </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>
|