123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575 |
- <?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="Хранилище BobrovTournModel" 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="Country">
- <Key>
- <PropertyRef Name="Code" />
- </Key>
- <Property Name="Code" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Name" Type="nvarchar" MaxLength="50" />
- </EntityType>
- <EntityType Name="Hotel">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="int" Nullable="false" />
- <Property Name="name" Type="nvarchar" MaxLength="50" />
- <Property Name="countOfStars" Type="int" />
- <Property Name="countryCode" Type="nvarchar" MaxLength="50" />
- </EntityType>
- <EntityType Name="HotelComment">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="int" Nullable="false" />
- <Property Name="Hotelid" Type="int" />
- <Property Name="Text" Type="nvarchar(max)" />
- <Property Name="Author" Type="nvarchar" MaxLength="50" />
- <Property Name="CreationDate" Type="datetime" />
- </EntityType>
- <EntityType Name="Hotelimage">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="int" Nullable="false" />
- <Property Name="Hotelid" Type="int" />
- <Property Name="ImageSource" Type="nvarchar(max)" />
- </EntityType>
- <EntityType Name="hoteOftour">
- <Key>
- <PropertyRef Name="hoteld" />
- <PropertyRef Name="tound" />
- </Key>
- <Property Name="hoteld" Type="int" Nullable="false" />
- <Property Name="tound" Type="int" Nullable="false" />
- </EntityType>
- <EntityType Name="sysdiagrams">
- <Key>
- <PropertyRef Name="diagram_id" />
- </Key>
- <Property Name="name" Type="nvarchar" MaxLength="128" Nullable="false" />
- <Property Name="principal_id" Type="int" Nullable="false" />
- <Property Name="diagram_id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="version" Type="int" />
- <Property Name="definition" Type="varbinary(max)" />
- </EntityType>
- <EntityType Name="Tour">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="int" Nullable="false" />
- <Property Name="TicketCount" Type="int" />
- <Property Name="Name" Type="nvarchar" MaxLength="50" />
- <Property Name="Description" Type="nvarchar(max)" />
- <Property Name="ImagePreview" Type="nvarchar(max)" />
- <Property Name="Price" Type="money" />
- <Property Name="isActual" Type="bit" />
- </EntityType>
- <EntityType Name="type">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="int" Nullable="false" />
- <Property Name="dezipbion" Type="nvarchar" MaxLength="50" />
- <Property Name="demcribion" Type="nvarchar(max)" />
- </EntityType>
- <EntityType Name="typeOFtour">
- <Key>
- <PropertyRef Name="tould" />
- <PropertyRef Name="typeld" />
- </Key>
- <Property Name="tould" Type="int" Nullable="false" />
- <Property Name="typeld" Type="int" Nullable="false" />
- </EntityType>
- <Association Name="FK_Hotel_Country">
- <End Role="Country" Type="Self.Country" Multiplicity="0..1" />
- <End Role="Hotel" Type="Self.Hotel" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Country">
- <PropertyRef Name="Code" />
- </Principal>
- <Dependent Role="Hotel">
- <PropertyRef Name="name" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_HotelComment_Hotel">
- <End Role="Hotel" Type="Self.Hotel" Multiplicity="0..1" />
- <End Role="HotelComment" Type="Self.HotelComment" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Hotel">
- <PropertyRef Name="id" />
- </Principal>
- <Dependent Role="HotelComment">
- <PropertyRef Name="Hotelid" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Hotelimage_Hotel">
- <End Role="Hotel" Type="Self.Hotel" Multiplicity="0..1" />
- <End Role="Hotelimage" Type="Self.Hotelimage" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Hotel">
- <PropertyRef Name="id" />
- </Principal>
- <Dependent Role="Hotelimage">
- <PropertyRef Name="Hotelid" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_hoteOftour_Hotel">
- <End Role="Hotel" Type="Self.Hotel" Multiplicity="1" />
- <End Role="hoteOftour" Type="Self.hoteOftour" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Hotel">
- <PropertyRef Name="id" />
- </Principal>
- <Dependent Role="hoteOftour">
- <PropertyRef Name="tound" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_hoteOftour_Tour">
- <End Role="Tour" Type="Self.Tour" Multiplicity="1" />
- <End Role="hoteOftour" Type="Self.hoteOftour" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Tour">
- <PropertyRef Name="id" />
- </Principal>
- <Dependent Role="hoteOftour">
- <PropertyRef Name="hoteld" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_typeOFtour_Tour">
- <End Role="Tour" Type="Self.Tour" Multiplicity="1" />
- <End Role="typeOFtour" Type="Self.typeOFtour" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Tour">
- <PropertyRef Name="id" />
- </Principal>
- <Dependent Role="typeOFtour">
- <PropertyRef Name="tould" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_typeOFtour_type">
- <End Role="type" Type="Self.type" Multiplicity="1" />
- <End Role="typeOFtour" Type="Self.typeOFtour" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="type">
- <PropertyRef Name="id" />
- </Principal>
- <Dependent Role="typeOFtour">
- <PropertyRef Name="typeld" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Function Name="fn_diagramobjects" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="true" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" ReturnType="int" />
- <Function Name="sp_alterdiagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
- <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
- <Parameter Name="owner_id" Type="int" Mode="In" />
- <Parameter Name="version" Type="int" Mode="In" />
- <Parameter Name="definition" Type="varbinary(max)" Mode="In" />
- </Function>
- <Function Name="sp_creatediagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
- <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
- <Parameter Name="owner_id" Type="int" Mode="In" />
- <Parameter Name="version" Type="int" Mode="In" />
- <Parameter Name="definition" Type="varbinary(max)" Mode="In" />
- </Function>
- <Function Name="sp_dropdiagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
- <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
- <Parameter Name="owner_id" Type="int" Mode="In" />
- </Function>
- <Function Name="sp_helpdiagramdefinition" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
- <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
- <Parameter Name="owner_id" Type="int" Mode="In" />
- </Function>
- <Function Name="sp_helpdiagrams" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
- <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
- <Parameter Name="owner_id" Type="int" Mode="In" />
- </Function>
- <Function Name="sp_renamediagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
- <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
- <Parameter Name="owner_id" Type="int" Mode="In" />
- <Parameter Name="new_diagramname" Type="nvarchar" Mode="In" />
- </Function>
- <Function Name="sp_upgraddiagrams" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" />
- <EntityContainer Name="Хранилище BobrovTournModelContainer">
- <EntitySet Name="Country" EntityType="Self.Country" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Hotel" EntityType="Self.Hotel" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="HotelComment" EntityType="Self.HotelComment" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Hotelimage" EntityType="Self.Hotelimage" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="hoteOftour" EntityType="Self.hoteOftour" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Tour" EntityType="Self.Tour" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="type" EntityType="Self.type" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="typeOFtour" EntityType="Self.typeOFtour" Schema="dbo" store:Type="Tables" />
- <AssociationSet Name="FK_Hotel_Country" Association="Self.FK_Hotel_Country">
- <End Role="Country" EntitySet="Country" />
- <End Role="Hotel" EntitySet="Hotel" />
- </AssociationSet>
- <AssociationSet Name="FK_HotelComment_Hotel" Association="Self.FK_HotelComment_Hotel">
- <End Role="Hotel" EntitySet="Hotel" />
- <End Role="HotelComment" EntitySet="HotelComment" />
- </AssociationSet>
- <AssociationSet Name="FK_Hotelimage_Hotel" Association="Self.FK_Hotelimage_Hotel">
- <End Role="Hotel" EntitySet="Hotel" />
- <End Role="Hotelimage" EntitySet="Hotelimage" />
- </AssociationSet>
- <AssociationSet Name="FK_hoteOftour_Hotel" Association="Self.FK_hoteOftour_Hotel">
- <End Role="Hotel" EntitySet="Hotel" />
- <End Role="hoteOftour" EntitySet="hoteOftour" />
- </AssociationSet>
- <AssociationSet Name="FK_hoteOftour_Tour" Association="Self.FK_hoteOftour_Tour">
- <End Role="Tour" EntitySet="Tour" />
- <End Role="hoteOftour" EntitySet="hoteOftour" />
- </AssociationSet>
- <AssociationSet Name="FK_typeOFtour_Tour" Association="Self.FK_typeOFtour_Tour">
- <End Role="Tour" EntitySet="Tour" />
- <End Role="typeOFtour" EntitySet="typeOFtour" />
- </AssociationSet>
- <AssociationSet Name="FK_typeOFtour_type" Association="Self.FK_typeOFtour_type">
- <End Role="type" EntitySet="type" />
- <End Role="typeOFtour" EntitySet="typeOFtour" />
- </AssociationSet>
- </EntityContainer>
- </Schema>
- </edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="BobrovTournModel" 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="Country">
- <Key>
- <PropertyRef Name="Code" />
- </Key>
- <Property Name="Code" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Hotel" Relationship="Self.FK_Hotel_Country" FromRole="Country" ToRole="Hotel" />
- </EntityType>
- <EntityType Name="Hotel">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="Int32" Nullable="false" />
- <Property Name="name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="countOfStars" Type="Int32" />
- <Property Name="countryCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Country" Relationship="Self.FK_Hotel_Country" FromRole="Hotel" ToRole="Country" />
- <NavigationProperty Name="HotelComment" Relationship="Self.FK_HotelComment_Hotel" FromRole="Hotel" ToRole="HotelComment" />
- <NavigationProperty Name="Hotelimage" Relationship="Self.FK_Hotelimage_Hotel" FromRole="Hotel" ToRole="Hotelimage" />
- <NavigationProperty Name="Tour" Relationship="Self.hoteOftour" FromRole="Hotel" ToRole="Tour" />
- </EntityType>
- <EntityType Name="HotelComment">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="Int32" Nullable="false" />
- <Property Name="Hotelid" Type="Int32" />
- <Property Name="Text" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="Author" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="CreationDate" Type="DateTime" Precision="3" />
- <NavigationProperty Name="Hotel" Relationship="Self.FK_HotelComment_Hotel" FromRole="HotelComment" ToRole="Hotel" />
- </EntityType>
- <EntityType Name="Hotelimage">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="Int32" Nullable="false" />
- <Property Name="Hotelid" Type="Int32" />
- <Property Name="ImageSource" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Hotel" Relationship="Self.FK_Hotelimage_Hotel" FromRole="Hotelimage" ToRole="Hotel" />
- </EntityType>
- <EntityType Name="sysdiagrams">
- <Key>
- <PropertyRef Name="diagram_id" />
- </Key>
- <Property Name="name" Type="String" MaxLength="128" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="principal_id" Type="Int32" Nullable="false" />
- <Property Name="diagram_id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="version" Type="Int32" />
- <Property Name="definition" Type="Binary" MaxLength="Max" FixedLength="false" />
- </EntityType>
- <EntityType Name="Tour">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="Int32" Nullable="false" />
- <Property Name="TicketCount" Type="Int32" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="Description" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="ImagePreview" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="Price" Type="Decimal" Precision="19" Scale="4" />
- <Property Name="isActual" Type="Boolean" />
- <NavigationProperty Name="Hotel" Relationship="Self.hoteOftour" FromRole="Tour" ToRole="Hotel" />
- <NavigationProperty Name="type" Relationship="Self.typeOFtour" FromRole="Tour" ToRole="type" />
- </EntityType>
- <EntityType Name="type">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="Int32" Nullable="false" />
- <Property Name="dezipbion" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="demcribion" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Tour" Relationship="Self.typeOFtour" FromRole="type" ToRole="Tour" />
- </EntityType>
- <Association Name="FK_Hotel_Country">
- <End Role="Country" Type="Self.Country" Multiplicity="0..1" />
- <End Role="Hotel" Type="Self.Hotel" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Country">
- <PropertyRef Name="Code" />
- </Principal>
- <Dependent Role="Hotel">
- <PropertyRef Name="name" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_HotelComment_Hotel">
- <End Role="Hotel" Type="Self.Hotel" Multiplicity="0..1" />
- <End Role="HotelComment" Type="Self.HotelComment" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Hotel">
- <PropertyRef Name="id" />
- </Principal>
- <Dependent Role="HotelComment">
- <PropertyRef Name="Hotelid" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Hotelimage_Hotel">
- <End Role="Hotel" Type="Self.Hotel" Multiplicity="0..1" />
- <End Role="Hotelimage" Type="Self.Hotelimage" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Hotel">
- <PropertyRef Name="id" />
- </Principal>
- <Dependent Role="Hotelimage">
- <PropertyRef Name="Hotelid" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="hoteOftour">
- <End Role="Hotel" Type="Self.Hotel" Multiplicity="*" />
- <End Role="Tour" Type="Self.Tour" Multiplicity="*" />
- </Association>
- <Association Name="typeOFtour">
- <End Role="Tour" Type="Self.Tour" Multiplicity="*" />
- <End Role="type" Type="Self.type" Multiplicity="*" />
- </Association>
- <EntityContainer Name="BobrovTournEntities1" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="Country" EntityType="Self.Country" />
- <EntitySet Name="Hotel" EntityType="Self.Hotel" />
- <EntitySet Name="HotelComment" EntityType="Self.HotelComment" />
- <EntitySet Name="Hotelimage" EntityType="Self.Hotelimage" />
- <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" />
- <EntitySet Name="Tour" EntityType="Self.Tour" />
- <EntitySet Name="type" EntityType="Self.type" />
- <AssociationSet Name="FK_Hotel_Country" Association="Self.FK_Hotel_Country">
- <End Role="Country" EntitySet="Country" />
- <End Role="Hotel" EntitySet="Hotel" />
- </AssociationSet>
- <AssociationSet Name="FK_HotelComment_Hotel" Association="Self.FK_HotelComment_Hotel">
- <End Role="Hotel" EntitySet="Hotel" />
- <End Role="HotelComment" EntitySet="HotelComment" />
- </AssociationSet>
- <AssociationSet Name="FK_Hotelimage_Hotel" Association="Self.FK_Hotelimage_Hotel">
- <End Role="Hotel" EntitySet="Hotel" />
- <End Role="Hotelimage" EntitySet="Hotelimage" />
- </AssociationSet>
- <AssociationSet Name="hoteOftour" Association="Self.hoteOftour">
- <End Role="Hotel" EntitySet="Hotel" />
- <End Role="Tour" EntitySet="Tour" />
- </AssociationSet>
- <AssociationSet Name="typeOFtour" Association="Self.typeOFtour">
- <End Role="Tour" EntitySet="Tour" />
- <End Role="type" EntitySet="type" />
- </AssociationSet>
- <FunctionImport Name="sp_alterdiagram">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- <Parameter Name="version" Mode="In" Type="Int32" />
- <Parameter Name="definition" Mode="In" Type="Binary" />
- </FunctionImport>
- <FunctionImport Name="sp_creatediagram">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- <Parameter Name="version" Mode="In" Type="Int32" />
- <Parameter Name="definition" Mode="In" Type="Binary" />
- </FunctionImport>
- <FunctionImport Name="sp_dropdiagram">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- </FunctionImport>
- <FunctionImport Name="sp_helpdiagramdefinition" ReturnType="Collection(BobrovTournModel.sp_helpdiagramdefinition_Result)">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- </FunctionImport>
- <FunctionImport Name="sp_helpdiagrams" ReturnType="Collection(BobrovTournModel.sp_helpdiagrams_Result)">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- </FunctionImport>
- <FunctionImport Name="sp_renamediagram">
- <Parameter Name="diagramname" Mode="In" Type="String" />
- <Parameter Name="owner_id" Mode="In" Type="Int32" />
- <Parameter Name="new_diagramname" Mode="In" Type="String" />
- </FunctionImport>
- <FunctionImport Name="sp_upgraddiagrams" />
- </EntityContainer>
- <ComplexType Name="sp_helpdiagramdefinition_Result">
- <Property Type="Int32" Name="version" Nullable="true" />
- <Property Type="Binary" Name="definition" Nullable="true" />
- </ComplexType>
- <ComplexType Name="sp_helpdiagrams_Result">
- <Property Type="String" Name="Database" Nullable="true" MaxLength="128" />
- <Property Type="String" Name="Name" Nullable="false" MaxLength="128" />
- <Property Type="Int32" Name="ID" Nullable="false" />
- <Property Type="String" Name="Owner" Nullable="true" MaxLength="128" />
- <Property Type="Int32" Name="OwnerID" Nullable="false" />
- </ComplexType>
- </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="Хранилище BobrovTournModelContainer" CdmEntityContainer="BobrovTournEntities1">
- <EntitySetMapping Name="Country">
- <EntityTypeMapping TypeName="BobrovTournModel.Country">
- <MappingFragment StoreEntitySet="Country">
- <ScalarProperty Name="Code" ColumnName="Code" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Hotel">
- <EntityTypeMapping TypeName="BobrovTournModel.Hotel">
- <MappingFragment StoreEntitySet="Hotel">
- <ScalarProperty Name="id" ColumnName="id" />
- <ScalarProperty Name="name" ColumnName="name" />
- <ScalarProperty Name="countOfStars" ColumnName="countOfStars" />
- <ScalarProperty Name="countryCode" ColumnName="countryCode" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="HotelComment">
- <EntityTypeMapping TypeName="BobrovTournModel.HotelComment">
- <MappingFragment StoreEntitySet="HotelComment">
- <ScalarProperty Name="id" ColumnName="id" />
- <ScalarProperty Name="Hotelid" ColumnName="Hotelid" />
- <ScalarProperty Name="Text" ColumnName="Text" />
- <ScalarProperty Name="Author" ColumnName="Author" />
- <ScalarProperty Name="CreationDate" ColumnName="CreationDate" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Hotelimage">
- <EntityTypeMapping TypeName="BobrovTournModel.Hotelimage">
- <MappingFragment StoreEntitySet="Hotelimage">
- <ScalarProperty Name="id" ColumnName="id" />
- <ScalarProperty Name="Hotelid" ColumnName="Hotelid" />
- <ScalarProperty Name="ImageSource" ColumnName="ImageSource" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="sysdiagrams">
- <EntityTypeMapping TypeName="BobrovTournModel.sysdiagrams">
- <MappingFragment StoreEntitySet="sysdiagrams">
- <ScalarProperty Name="name" ColumnName="name" />
- <ScalarProperty Name="principal_id" ColumnName="principal_id" />
- <ScalarProperty Name="diagram_id" ColumnName="diagram_id" />
- <ScalarProperty Name="version" ColumnName="version" />
- <ScalarProperty Name="definition" ColumnName="definition" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Tour">
- <EntityTypeMapping TypeName="BobrovTournModel.Tour">
- <MappingFragment StoreEntitySet="Tour">
- <ScalarProperty Name="id" ColumnName="id" />
- <ScalarProperty Name="TicketCount" ColumnName="TicketCount" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- <ScalarProperty Name="Description" ColumnName="Description" />
- <ScalarProperty Name="ImagePreview" ColumnName="ImagePreview" />
- <ScalarProperty Name="Price" ColumnName="Price" />
- <ScalarProperty Name="isActual" ColumnName="isActual" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="type">
- <EntityTypeMapping TypeName="BobrovTournModel.type">
- <MappingFragment StoreEntitySet="type">
- <ScalarProperty Name="id" ColumnName="id" />
- <ScalarProperty Name="dezipbion" ColumnName="dezipbion" />
- <ScalarProperty Name="demcribion" ColumnName="demcribion" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <AssociationSetMapping Name="hoteOftour" TypeName="BobrovTournModel.hoteOftour" StoreEntitySet="hoteOftour">
- <EndProperty Name="Hotel">
- <ScalarProperty Name="id" ColumnName="tound" />
- </EndProperty>
- <EndProperty Name="Tour">
- <ScalarProperty Name="id" ColumnName="hoteld" />
- </EndProperty>
- </AssociationSetMapping>
- <AssociationSetMapping Name="typeOFtour" TypeName="BobrovTournModel.typeOFtour" StoreEntitySet="typeOFtour">
- <EndProperty Name="Tour">
- <ScalarProperty Name="id" ColumnName="tould" />
- </EndProperty>
- <EndProperty Name="type">
- <ScalarProperty Name="id" ColumnName="typeld" />
- </EndProperty>
- </AssociationSetMapping>
- <FunctionImportMapping FunctionImportName="sp_alterdiagram" FunctionName="Хранилище BobrovTournModel.sp_alterdiagram" />
- <FunctionImportMapping FunctionImportName="sp_creatediagram" FunctionName="Хранилище BobrovTournModel.sp_creatediagram" />
- <FunctionImportMapping FunctionImportName="sp_dropdiagram" FunctionName="Хранилище BobrovTournModel.sp_dropdiagram" />
- <FunctionImportMapping FunctionImportName="sp_helpdiagramdefinition" FunctionName="Хранилище BobrovTournModel.sp_helpdiagramdefinition">
- <ResultMapping>
- <ComplexTypeMapping TypeName="BobrovTournModel.sp_helpdiagramdefinition_Result">
- <ScalarProperty Name="version" ColumnName="version" />
- <ScalarProperty Name="definition" ColumnName="definition" />
- </ComplexTypeMapping>
- </ResultMapping>
- </FunctionImportMapping>
- <FunctionImportMapping FunctionImportName="sp_helpdiagrams" FunctionName="Хранилище BobrovTournModel.sp_helpdiagrams">
- <ResultMapping>
- <ComplexTypeMapping TypeName="BobrovTournModel.sp_helpdiagrams_Result">
- <ScalarProperty Name="Database" ColumnName="Database" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Owner" ColumnName="Owner" />
- <ScalarProperty Name="OwnerID" ColumnName="OwnerID" />
- </ComplexTypeMapping>
- </ResultMapping>
- </FunctionImportMapping>
- <FunctionImportMapping FunctionImportName="sp_renamediagram" FunctionName="Хранилище BobrovTournModel.sp_renamediagram" />
- <FunctionImportMapping FunctionImportName="sp_upgraddiagrams" FunctionName="Хранилище BobrovTournModel.sp_upgraddiagrams" />
- </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>
|