123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601 |
- <?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="Хранилище BB_GebelModel" Provider="System.Data.SqlClient" ProviderManifestToken="2008" 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="AttachedProduct">
- <Key>
- <PropertyRef Name="Main_Product_ID" />
- </Key>
- <Property Name="Main_Product_ID" Type="int" Nullable="false" />
- <Property Name="Attached_Product_ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
- </EntityType>
- <!--Ошибки, обнаруженные при создании:
- предупреждение 6002: В таблице или представлении "BB_Gebel.dbo.Avtorizacia" не определен первичный ключ. Ключ был выведен, а определение таблицы или представления было создано в режиме только для чтения.-->
- <EntityType Name="Avtorizacia">
- <Key>
- <PropertyRef Name="Login" />
- <PropertyRef Name="Password" />
- </Key>
- <Property Name="Login" Type="nvarchar(max)" Nullable="false" />
- <Property Name="Password" Type="nvarchar(max)" Nullable="false" />
- </EntityType>
- <EntityType Name="client">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Фамилия" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Имя" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Отчество" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Пол" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Телефон" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Дата_рождения" Type="datetime2" Precision="7" Nullable="false" />
- <Property Name="Email" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Дата_регистрации" Type="datetime2" Precision="7" Nullable="false" />
- </EntityType>
- <EntityType Name="client Service ">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="ID_client" Type="int" Nullable="false" />
- <Property Name="ID_service" Type="int" Nullable="false" />
- <Property Name="StartTime" Type="datetime" Nullable="false" />
- <Property Name="Comments" Type="nvarchar(max)" />
- </EntityType>
- <EntityType Name="DocumentService">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="ID_client_service" Type="int" Nullable="false" />
- <Property Name="DocumentPath" Type="nvarchar(max)" Nullable="false" />
- </EntityType>
- <EntityType Name="Gender">
- <Key>
- <PropertyRef Name="Code" />
- </Key>
- <Property Name="Code" Type="int" Nullable="false" />
- <Property Name="Name" Type="nvarchar" MaxLength="50" />
- </EntityType>
- <EntityType Name="Manufacture">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="Name" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Date_Start" Type="date" />
- </EntityType>
- <EntityType Name="Photo prouct">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="ID_product" Type="int" Nullable="false" />
- <Property Name="Path_photo" Type="nvarchar" MaxLength="50" Nullable="false" />
- </EntityType>
- <EntityType Name="Product">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="Title" Type="nvarchar(max)" Nullable="false" />
- <Property Name="Cost" Type="money" Nullable="false" />
- <Property Name="Description" Type="nvarchar(max)" />
- <Property Name="Path_MainImage" Type="nvarchar(max)" />
- <Property Name="Active" Type="bit" Nullable="false" />
- <Property Name="ID_manufacturer" Type="int" />
- </EntityType>
- <EntityType Name="Sale">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="Date_Sale" Type="date" Nullable="false" />
- <Property Name="ID_Product" Type="int" Nullable="false" />
- <Property Name="Quantity" Type="int" Nullable="false" />
- <Property Name="ID_client_service" Type="int" />
- </EntityType>
- <EntityType Name="service">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="Наименование_услуги" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Главное_изображение" Type="nvarchar" MaxLength="100" Nullable="false" />
- <Property Name="Длительность" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Стоимость" Type="nvarchar" MaxLength="50" Nullable="false" />
- <Property Name="Действующая_скидка" Type="nvarchar" MaxLength="50" Nullable="false" />
- </EntityType>
- <EntityType Name="Service photo">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="ID_Service" Type="int" Nullable="false" />
- <Property Name="Path_photo" Type="nvarchar(max)" 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="Tag">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="Title" Type="nvarchar(max)" Nullable="false" />
- <Property Name="Color" Type="nvarchar(max)" Nullable="false" />
- </EntityType>
- <EntityType Name="Tag client">
- <Key>
- <PropertyRef Name="ID_client" />
- </Key>
- <Property Name="ID_client" Type="int" Nullable="false" />
- <Property Name="ID_Tag" Type="int" Nullable="false" />
- </EntityType>
- <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="Хранилище BB_GebelModelContainer">
- <EntitySet Name="AttachedProduct" EntityType="Self.AttachedProduct" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="client" EntityType="Self.client" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="client Service " EntityType="Self.client Service " Schema="dbo" store:Type="Tables" />
- <EntitySet Name="DocumentService" EntityType="Self.DocumentService" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Gender" EntityType="Self.Gender" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Manufacture" EntityType="Self.Manufacture" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Photo prouct" EntityType="Self.Photo prouct" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Product" EntityType="Self.Product" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Sale" EntityType="Self.Sale" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="service" EntityType="Self.service" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Service photo" EntityType="Self.Service photo" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Tag" EntityType="Self.Tag" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Tag client" EntityType="Self.Tag client" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Avtorizacia" EntityType="Self.Avtorizacia" store:Type="Tables" store:Schema="dbo">
- <DefiningQuery>SELECT
- [Avtorizacia].[Login] AS [Login],
- [Avtorizacia].[Password] AS [Password]
- FROM [dbo].[Avtorizacia] AS [Avtorizacia]</DefiningQuery>
- </EntitySet>
- </EntityContainer>
- </Schema>
- </edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="BB_GebelModel" 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="AttachedProduct">
- <Key>
- <PropertyRef Name="Main_Product_ID" />
- </Key>
- <Property Name="Main_Product_ID" Type="Int32" Nullable="false" />
- <Property Name="Attached_Product_ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- </EntityType>
- <EntityType Name="client">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Фамилия" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Имя" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Отчество" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Пол" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Телефон" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Дата_рождения" Type="DateTime" Nullable="false" Precision="7" />
- <Property Name="Email" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Дата_регистрации" Type="DateTime" Nullable="false" Precision="7" />
- </EntityType>
- <EntityType Name="client_Service_">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="ID_client" Type="Int32" Nullable="false" />
- <Property Name="ID_service" Type="Int32" Nullable="false" />
- <Property Name="StartTime" Type="DateTime" Nullable="false" Precision="3" />
- <Property Name="Comments" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- </EntityType>
- <EntityType Name="DocumentService">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="ID_client_service" Type="Int32" Nullable="false" />
- <Property Name="DocumentPath" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
- </EntityType>
- <EntityType Name="Gender">
- <Key>
- <PropertyRef Name="Code" />
- </Key>
- <Property Name="Code" Type="Int32" Nullable="false" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- </EntityType>
- <EntityType Name="Manufacture">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Date_Start" Type="DateTime" Precision="0" />
- </EntityType>
- <EntityType Name="Photo_prouct">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="ID_product" Type="Int32" Nullable="false" />
- <Property Name="Path_photo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- </EntityType>
- <EntityType Name="Product">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="Title" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Cost" Type="Decimal" Precision="19" Scale="4" Nullable="false" />
- <Property Name="Description" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="Path_MainImage" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="Active" Type="Boolean" Nullable="false" />
- <Property Name="ID_manufacturer" Type="Int32" />
- </EntityType>
- <EntityType Name="Sale">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="Date_Sale" Type="DateTime" Nullable="false" Precision="0" />
- <Property Name="ID_Product" Type="Int32" Nullable="false" />
- <Property Name="Quantity" Type="Int32" Nullable="false" />
- <Property Name="ID_client_service" Type="Int32" />
- </EntityType>
- <EntityType Name="service">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="Наименование_услуги" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Главное_изображение" Type="String" MaxLength="100" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Длительность" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Стоимость" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Действующая_скидка" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
- </EntityType>
- <EntityType Name="Service_photo">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="ID_Service" Type="Int32" Nullable="false" />
- <Property Name="Path_photo" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
- </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="Tag">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="Title" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Color" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
- </EntityType>
- <EntityType Name="Tag_client">
- <Key>
- <PropertyRef Name="ID_client" />
- </Key>
- <Property Name="ID_client" Type="Int32" Nullable="false" />
- <Property Name="ID_Tag" Type="Int32" Nullable="false" />
- </EntityType>
- <EntityType Name="Avtorizacia">
- <Key>
- <PropertyRef Name="Login" />
- <PropertyRef Name="Password" />
- </Key>
- <Property Name="Login" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Password" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
- </EntityType>
- <EntityContainer Name="BB_GebelEntities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="AttachedProduct" EntityType="Self.AttachedProduct" />
- <EntitySet Name="client" EntityType="Self.client" />
- <EntitySet Name="client_Service_" EntityType="Self.client_Service_" />
- <EntitySet Name="DocumentService" EntityType="Self.DocumentService" />
- <EntitySet Name="Gender" EntityType="Self.Gender" />
- <EntitySet Name="Manufacture" EntityType="Self.Manufacture" />
- <EntitySet Name="Photo_prouct" EntityType="Self.Photo_prouct" />
- <EntitySet Name="Product" EntityType="Self.Product" />
- <EntitySet Name="Sale" EntityType="Self.Sale" />
- <EntitySet Name="service" EntityType="Self.service" />
- <EntitySet Name="Service_photo" EntityType="Self.Service_photo" />
- <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" />
- <EntitySet Name="Tag" EntityType="Self.Tag" />
- <EntitySet Name="Tag_client" EntityType="Self.Tag_client" />
- <EntitySet Name="Avtorizacia" EntityType="Self.Avtorizacia" />
- <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(BB_GebelModel.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(BB_GebelModel.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="Хранилище BB_GebelModelContainer" CdmEntityContainer="BB_GebelEntities">
- <EntitySetMapping Name="AttachedProduct">
- <EntityTypeMapping TypeName="BB_GebelModel.AttachedProduct">
- <MappingFragment StoreEntitySet="AttachedProduct">
- <ScalarProperty Name="Main_Product_ID" ColumnName="Main_Product_ID" />
- <ScalarProperty Name="Attached_Product_ID" ColumnName="Attached_Product_ID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="client">
- <EntityTypeMapping TypeName="BB_GebelModel.client">
- <MappingFragment StoreEntitySet="client">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Фамилия" ColumnName="Фамилия" />
- <ScalarProperty Name="Имя" ColumnName="Имя" />
- <ScalarProperty Name="Отчество" ColumnName="Отчество" />
- <ScalarProperty Name="Пол" ColumnName="Пол" />
- <ScalarProperty Name="Телефон" ColumnName="Телефон" />
- <ScalarProperty Name="Дата_рождения" ColumnName="Дата_рождения" />
- <ScalarProperty Name="Email" ColumnName="Email" />
- <ScalarProperty Name="Дата_регистрации" ColumnName="Дата_регистрации" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="client_Service_">
- <EntityTypeMapping TypeName="BB_GebelModel.client_Service_">
- <MappingFragment StoreEntitySet="client Service ">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="ID_client" ColumnName="ID_client" />
- <ScalarProperty Name="ID_service" ColumnName="ID_service" />
- <ScalarProperty Name="StartTime" ColumnName="StartTime" />
- <ScalarProperty Name="Comments" ColumnName="Comments" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="DocumentService">
- <EntityTypeMapping TypeName="BB_GebelModel.DocumentService">
- <MappingFragment StoreEntitySet="DocumentService">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="ID_client_service" ColumnName="ID_client_service" />
- <ScalarProperty Name="DocumentPath" ColumnName="DocumentPath" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Gender">
- <EntityTypeMapping TypeName="BB_GebelModel.Gender">
- <MappingFragment StoreEntitySet="Gender">
- <ScalarProperty Name="Code" ColumnName="Code" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Manufacture">
- <EntityTypeMapping TypeName="BB_GebelModel.Manufacture">
- <MappingFragment StoreEntitySet="Manufacture">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- <ScalarProperty Name="Date_Start" ColumnName="Date_Start" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Photo_prouct">
- <EntityTypeMapping TypeName="BB_GebelModel.Photo_prouct">
- <MappingFragment StoreEntitySet="Photo prouct">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="ID_product" ColumnName="ID_product" />
- <ScalarProperty Name="Path_photo" ColumnName="Path_photo" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Product">
- <EntityTypeMapping TypeName="BB_GebelModel.Product">
- <MappingFragment StoreEntitySet="Product">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Title" ColumnName="Title" />
- <ScalarProperty Name="Cost" ColumnName="Cost" />
- <ScalarProperty Name="Description" ColumnName="Description" />
- <ScalarProperty Name="Path_MainImage" ColumnName="Path_MainImage" />
- <ScalarProperty Name="Active" ColumnName="Active" />
- <ScalarProperty Name="ID_manufacturer" ColumnName="ID_manufacturer" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Sale">
- <EntityTypeMapping TypeName="BB_GebelModel.Sale">
- <MappingFragment StoreEntitySet="Sale">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Date_Sale" ColumnName="Date_Sale" />
- <ScalarProperty Name="ID_Product" ColumnName="ID_Product" />
- <ScalarProperty Name="Quantity" ColumnName="Quantity" />
- <ScalarProperty Name="ID_client_service" ColumnName="ID_client_service" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="service">
- <EntityTypeMapping TypeName="BB_GebelModel.service">
- <MappingFragment StoreEntitySet="service">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Наименование_услуги" ColumnName="Наименование_услуги" />
- <ScalarProperty Name="Главное_изображение" ColumnName="Главное_изображение" />
- <ScalarProperty Name="Длительность" ColumnName="Длительность" />
- <ScalarProperty Name="Стоимость" ColumnName="Стоимость" />
- <ScalarProperty Name="Действующая_скидка" ColumnName="Действующая_скидка" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Service_photo">
- <EntityTypeMapping TypeName="BB_GebelModel.Service_photo">
- <MappingFragment StoreEntitySet="Service photo">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="ID_Service" ColumnName="ID_Service" />
- <ScalarProperty Name="Path_photo" ColumnName="Path_photo" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="sysdiagrams">
- <EntityTypeMapping TypeName="BB_GebelModel.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="Tag">
- <EntityTypeMapping TypeName="BB_GebelModel.Tag">
- <MappingFragment StoreEntitySet="Tag">
- <ScalarProperty Name="ID" ColumnName="ID" />
- <ScalarProperty Name="Title" ColumnName="Title" />
- <ScalarProperty Name="Color" ColumnName="Color" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Tag_client">
- <EntityTypeMapping TypeName="BB_GebelModel.Tag_client">
- <MappingFragment StoreEntitySet="Tag client">
- <ScalarProperty Name="ID_client" ColumnName="ID_client" />
- <ScalarProperty Name="ID_Tag" ColumnName="ID_Tag" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Avtorizacia">
- <EntityTypeMapping TypeName="BB_GebelModel.Avtorizacia">
- <MappingFragment StoreEntitySet="Avtorizacia">
- <ScalarProperty Name="Login" ColumnName="Login" />
- <ScalarProperty Name="Password" ColumnName="Password" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <FunctionImportMapping FunctionImportName="sp_alterdiagram" FunctionName="Хранилище BB_GebelModel.sp_alterdiagram" />
- <FunctionImportMapping FunctionImportName="sp_creatediagram" FunctionName="Хранилище BB_GebelModel.sp_creatediagram" />
- <FunctionImportMapping FunctionImportName="sp_dropdiagram" FunctionName="Хранилище BB_GebelModel.sp_dropdiagram" />
- <FunctionImportMapping FunctionImportName="sp_helpdiagramdefinition" FunctionName="Хранилище BB_GebelModel.sp_helpdiagramdefinition">
- <ResultMapping>
- <ComplexTypeMapping TypeName="BB_GebelModel.sp_helpdiagramdefinition_Result">
- <ScalarProperty Name="version" ColumnName="version" />
- <ScalarProperty Name="definition" ColumnName="definition" />
- </ComplexTypeMapping>
- </ResultMapping>
- </FunctionImportMapping>
- <FunctionImportMapping FunctionImportName="sp_helpdiagrams" FunctionName="Хранилище BB_GebelModel.sp_helpdiagrams">
- <ResultMapping>
- <ComplexTypeMapping TypeName="BB_GebelModel.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="Хранилище BB_GebelModel.sp_renamediagram" />
- <FunctionImportMapping FunctionImportName="sp_upgraddiagrams" FunctionName="Хранилище BB_GebelModel.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="true" />
- <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
- </DesignerInfoPropertySet>
- </Options>
- <!-- Diagram content (shape and connector positions) -->
- <Diagrams></Diagrams>
- </Designer>
- </edmx:Edmx>
|