123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268 |
- <?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="Хранилище ToursBaseModel" 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="nchar" MaxLength="10" Nullable="false" />
- <Property Name="Name" Type="nchar" MaxLength="10" />
- </EntityType>
- <EntityType Name="Hotel">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="int" Nullable="false" />
- <Property Name="Name" Type="nvarchar" MaxLength="100" />
- <Property Name="CountOfStars" Type="int" />
- <Property Name="CountryCode" Type="nchar" MaxLength="2" />
- </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="100" />
- <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="nchar" MaxLength="10" />
- </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="100" />
- <Property Name="Description" Type="nvarchar(max)" />
- <Property Name="ImagePreview" Type="varbinary(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="Name" Type="nvarchar" MaxLength="100" />
- <Property Name="Description" Type="nvarchar(max)" />
- </EntityType>
- <EntityContainer Name="Хранилище ToursBaseModelContainer">
- <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="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" />
- </EntityContainer>
- </Schema>
- </edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="ToursBaseModel" 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="10" FixedLength="true" Unicode="true" Nullable="false" />
- <Property Name="Name" Type="String" MaxLength="10" FixedLength="true" Unicode="true" />
- </EntityType>
- <EntityType Name="Hotel">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="Int32" Nullable="false" />
- <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
- <Property Name="CountOfStars" Type="Int32" />
- <Property Name="CountryCode" Type="String" MaxLength="2" FixedLength="true" Unicode="true" />
- </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="100" FixedLength="false" Unicode="true" />
- <Property Name="CreationDate" Type="DateTime" Precision="3" />
- </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="10" FixedLength="true" Unicode="true" />
- </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="100" FixedLength="false" Unicode="true" />
- <Property Name="Description" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="ImagePreview" Type="Binary" MaxLength="Max" FixedLength="false" />
- <Property Name="Price" Type="Decimal" Precision="19" Scale="4" />
- <Property Name="isActual" Type="Boolean" />
- </EntityType>
- <EntityType Name="Type">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="Int32" Nullable="false" />
- <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
- <Property Name="Description" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- </EntityType>
- <EntityContainer Name="Entities" 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" />
- <EntitySet Name="TypeOfTourSet" EntityType="ToursBaseModel.TypeOfTour" />
- </EntityContainer>
- <EntityType Name="TypeOfTour">
- <Key>
- <PropertyRef Name="TourId" />
- <PropertyRef Name="TypeId" />
- </Key>
- <Property Name="TourId" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="TypeId" Type="String" Nullable="false" />
- </EntityType>
- </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="Хранилище ToursBaseModelContainer" CdmEntityContainer="Entities">
- <EntitySetMapping Name="Country">
- <EntityTypeMapping TypeName="ToursBaseModel.Country">
- <MappingFragment StoreEntitySet="Country">
- <ScalarProperty Name="code" ColumnName="code" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Hotel">
- <EntityTypeMapping TypeName="ToursBaseModel.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="ToursBaseModel.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="ToursBaseModel.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="ToursBaseModel.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="ToursBaseModel.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="ToursBaseModel.Type">
- <MappingFragment StoreEntitySet="Type">
- <ScalarProperty Name="id" ColumnName="id" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- <ScalarProperty Name="Description" ColumnName="Description" />
- </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>
|