123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608 |
- <?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="Хранилище GushchinaModel" 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">
- <!--Ошибки, обнаруженные при создании:
- предупреждение 6002: В таблице или представлении "Gushchina.dbo.Consumables_sold" не определен первичный ключ. Ключ был выведен, а определение таблицы или представления было создано в режиме только для чтения.-->
- <EntityType Name="Consumables_sold">
- <Key>
- <PropertyRef Name="Артикул" />
- </Key>
- <Property Name="Артикул" Type="nvarchar" MaxLength="450" Nullable="false" />
- <Property Name="Наименование" Type="nvarchar(max)" />
- <Property Name="Цена" Type="money" />
- <Property Name="Количество" Type="int" />
- <Property Name="Дата" Type="date" />
- <Property Name="Сотрудник" Type="nvarchar(max)" />
- </EntityType>
- <!--Ошибки, обнаруженные при создании:
- предупреждение 6002: В таблице или представлении "Gushchina.dbo.Deliveries" не определен первичный ключ. Ключ был выведен, а определение таблицы или представления было создано в режиме только для чтения.-->
- <EntityType Name="Deliveries">
- <Key>
- <PropertyRef Name="Артикул" />
- </Key>
- <Property Name="Артикул" Type="nvarchar" MaxLength="450" Nullable="false" />
- <Property Name="Наименование" Type="nvarchar(max)" />
- <Property Name="Цена" Type="money" />
- <Property Name="Дата" Type="date" />
- </EntityType>
- <EntityType Name="List">
- <Key>
- <PropertyRef Name="Артикул" />
- </Key>
- <Property Name="Артикул" Type="nvarchar" MaxLength="450" Nullable="false" />
- <Property Name="Наименование" Type="nvarchar(max)" />
- <Property Name="Цена" Type="money" />
- <Property Name="Количество" Type="int" />
- <Property Name="Место хранения" Type="nvarchar" MaxLength="70" />
- </EntityType>
- <EntityType Name="Purchase">
- <Key>
- <PropertyRef Name="Артикул" />
- </Key>
- <Property Name="Артикул" Type="nvarchar" MaxLength="450" Nullable="false" />
- <Property Name="Наименование" Type="nvarchar(max)" />
- <Property Name="Цена" Type="money" />
- <Property Name="Принудительное перемешение (Да/Нет)" Type="nvarchar" MaxLength="3" />
- </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>
- <!--Ошибки, обнаруженные при создании:
- предупреждение 6002: В таблице или представлении "Gushchina.dbo.Used_consumables" не определен первичный ключ. Ключ был выведен, а определение таблицы или представления было создано в режиме только для чтения.-->
- <EntityType Name="Used_consumables">
- <Key>
- <PropertyRef Name="Артикул" />
- </Key>
- <Property Name="Артикул" Type="nvarchar" MaxLength="450" Nullable="false" />
- <Property Name="Наименование" Type="nvarchar(max)" />
- <Property Name="Цена" Type="money" />
- <Property Name="Количество" Type="int" />
- <Property Name="Дата" Type="date" />
- <Property Name="Сотрудник" Type="nvarchar(max)" />
- </EntityType>
- <EntityType Name="Warehouse">
- <Key>
- <PropertyRef Name="Артикул" />
- </Key>
- <Property Name="Артикул" Type="nvarchar" MaxLength="450" Nullable="false" />
- <Property Name="Наименование" Type="nvarchar(max)" />
- <Property Name="Цена" Type="money" />
- <Property Name="Количество" Type="int" />
- <Property Name="Место хранения (Склад/Витрина)" Type="nvarchar" MaxLength="7" />
- </EntityType>
- <Association Name="FK_Consumables_sold_Warehouse">
- <End Role="Warehouse" Type="Self.Warehouse" Multiplicity="1" />
- <End Role="Consumables_sold" Type="Self.Consumables_sold" Multiplicity="0..1" />
- <ReferentialConstraint>
- <Principal Role="Warehouse">
- <PropertyRef Name="Артикул" />
- </Principal>
- <Dependent Role="Consumables_sold">
- <PropertyRef Name="Артикул" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Deliveries_List">
- <End Role="List" Type="Self.List" Multiplicity="1" />
- <End Role="Deliveries" Type="Self.Deliveries" Multiplicity="0..1" />
- <ReferentialConstraint>
- <Principal Role="List">
- <PropertyRef Name="Артикул" />
- </Principal>
- <Dependent Role="Deliveries">
- <PropertyRef Name="Артикул" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Deliveries_Warehouse">
- <End Role="Warehouse" Type="Self.Warehouse" Multiplicity="1" />
- <End Role="Deliveries" Type="Self.Deliveries" Multiplicity="0..1" />
- <ReferentialConstraint>
- <Principal Role="Warehouse">
- <PropertyRef Name="Артикул" />
- </Principal>
- <Dependent Role="Deliveries">
- <PropertyRef Name="Артикул" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Used_consumables_Warehouse">
- <End Role="Warehouse" Type="Self.Warehouse" Multiplicity="1" />
- <End Role="Used_consumables" Type="Self.Used_consumables" Multiplicity="0..1" />
- <ReferentialConstraint>
- <Principal Role="Warehouse">
- <PropertyRef Name="Артикул" />
- </Principal>
- <Dependent Role="Used_consumables">
- <PropertyRef Name="Артикул" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Warehouse_List">
- <End Role="List" Type="Self.List" Multiplicity="1" />
- <End Role="Warehouse" Type="Self.Warehouse" Multiplicity="0..1" />
- <ReferentialConstraint>
- <Principal Role="List">
- <PropertyRef Name="Артикул" />
- </Principal>
- <Dependent Role="Warehouse">
- <PropertyRef Name="Артикул" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Warehouse_Purchase">
- <End Role="Purchase" Type="Self.Purchase" Multiplicity="1" />
- <End Role="Warehouse" Type="Self.Warehouse" Multiplicity="0..1" />
- <ReferentialConstraint>
- <Principal Role="Purchase">
- <PropertyRef Name="Артикул" />
- </Principal>
- <Dependent Role="Warehouse">
- <PropertyRef Name="Артикул" />
- </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="Хранилище GushchinaModelContainer">
- <EntitySet Name="List" EntityType="Self.List" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Purchase" EntityType="Self.Purchase" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Warehouse" EntityType="Self.Warehouse" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Consumables_sold" EntityType="Self.Consumables_sold" store:Type="Tables" store:Schema="dbo">
- <DefiningQuery>SELECT
- [Consumables_sold].[Артикул] AS [Артикул],
- [Consumables_sold].[Наименование] AS [Наименование],
- [Consumables_sold].[Цена] AS [Цена],
- [Consumables_sold].[Количество] AS [Количество],
- [Consumables_sold].[Дата] AS [Дата],
- [Consumables_sold].[Сотрудник] AS [Сотрудник]
- FROM [dbo].[Consumables_sold] AS [Consumables_sold]</DefiningQuery>
- </EntitySet>
- <EntitySet Name="Deliveries" EntityType="Self.Deliveries" store:Type="Tables" store:Schema="dbo">
- <DefiningQuery>SELECT
- [Deliveries].[Артикул] AS [Артикул],
- [Deliveries].[Наименование] AS [Наименование],
- [Deliveries].[Цена] AS [Цена],
- [Deliveries].[Дата] AS [Дата]
- FROM [dbo].[Deliveries] AS [Deliveries]</DefiningQuery>
- </EntitySet>
- <EntitySet Name="Used_consumables" EntityType="Self.Used_consumables" store:Type="Tables" store:Schema="dbo">
- <DefiningQuery>SELECT
- [Used_consumables].[Артикул] AS [Артикул],
- [Used_consumables].[Наименование] AS [Наименование],
- [Used_consumables].[Цена] AS [Цена],
- [Used_consumables].[Количество] AS [Количество],
- [Used_consumables].[Дата] AS [Дата],
- [Used_consumables].[Сотрудник] AS [Сотрудник]
- FROM [dbo].[Used_consumables] AS [Used_consumables]</DefiningQuery>
- </EntitySet>
- <AssociationSet Name="FK_Consumables_sold_Warehouse" Association="Self.FK_Consumables_sold_Warehouse">
- <End Role="Warehouse" EntitySet="Warehouse" />
- <End Role="Consumables_sold" EntitySet="Consumables_sold" />
- </AssociationSet>
- <AssociationSet Name="FK_Deliveries_List" Association="Self.FK_Deliveries_List">
- <End Role="List" EntitySet="List" />
- <End Role="Deliveries" EntitySet="Deliveries" />
- </AssociationSet>
- <AssociationSet Name="FK_Deliveries_Warehouse" Association="Self.FK_Deliveries_Warehouse">
- <End Role="Warehouse" EntitySet="Warehouse" />
- <End Role="Deliveries" EntitySet="Deliveries" />
- </AssociationSet>
- <AssociationSet Name="FK_Used_consumables_Warehouse" Association="Self.FK_Used_consumables_Warehouse">
- <End Role="Warehouse" EntitySet="Warehouse" />
- <End Role="Used_consumables" EntitySet="Used_consumables" />
- </AssociationSet>
- <AssociationSet Name="FK_Warehouse_List" Association="Self.FK_Warehouse_List">
- <End Role="List" EntitySet="List" />
- <End Role="Warehouse" EntitySet="Warehouse" />
- </AssociationSet>
- <AssociationSet Name="FK_Warehouse_Purchase" Association="Self.FK_Warehouse_Purchase">
- <End Role="Purchase" EntitySet="Purchase" />
- <End Role="Warehouse" EntitySet="Warehouse" />
- </AssociationSet>
- </EntityContainer>
- </Schema>
- </edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="GushchinaModel" 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="List">
- <Key>
- <PropertyRef Name="Артикул" />
- </Key>
- <Property Name="Артикул" Type="String" MaxLength="450" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Наименование" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="Цена" Type="Decimal" Precision="19" Scale="4" />
- <Property Name="Количество" Type="Int32" />
- <Property Name="Место_хранения" Type="String" MaxLength="70" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Deliveries" Relationship="Self.FK_Deliveries_List" FromRole="List" ToRole="Deliveries" />
- <NavigationProperty Name="Warehouse" Relationship="Self.FK_Warehouse_List" FromRole="List" ToRole="Warehouse" />
- </EntityType>
- <EntityType Name="Purchase">
- <Key>
- <PropertyRef Name="Артикул" />
- </Key>
- <Property Name="Артикул" Type="String" MaxLength="450" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Наименование" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="Цена" Type="Decimal" Precision="19" Scale="4" />
- <Property Name="Принудительное_перемешение__Да_Нет_" Type="String" MaxLength="3" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Warehouse" Relationship="Self.FK_Warehouse_Purchase" FromRole="Purchase" ToRole="Warehouse" />
- </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="Warehouse">
- <Key>
- <PropertyRef Name="Артикул" />
- </Key>
- <Property Name="Артикул" Type="String" MaxLength="450" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Наименование" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="Цена" Type="Decimal" Precision="19" Scale="4" />
- <Property Name="Количество" Type="Int32" />
- <Property Name="Место_хранения__Склад_Витрина_" Type="String" MaxLength="7" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="List" Relationship="Self.FK_Warehouse_List" FromRole="Warehouse" ToRole="List" />
- <NavigationProperty Name="Purchase" Relationship="Self.FK_Warehouse_Purchase" FromRole="Warehouse" ToRole="Purchase" />
- <NavigationProperty Name="Consumables_sold" Relationship="Self.FK_Consumables_sold_Warehouse" FromRole="Warehouse" ToRole="Consumables_sold" />
- <NavigationProperty Name="Deliveries" Relationship="Self.FK_Deliveries_Warehouse" FromRole="Warehouse" ToRole="Deliveries" />
- <NavigationProperty Name="Used_consumables" Relationship="Self.FK_Used_consumables_Warehouse" FromRole="Warehouse" ToRole="Used_consumables" />
- </EntityType>
- <EntityType Name="Consumables_sold">
- <Key>
- <PropertyRef Name="Артикул" />
- </Key>
- <Property Name="Артикул" Type="String" MaxLength="450" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Наименование" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="Цена" Type="Decimal" Precision="19" Scale="4" />
- <Property Name="Количество" Type="Int32" />
- <Property Name="Дата" Type="DateTime" Precision="0" />
- <Property Name="Сотрудник" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Warehouse" Relationship="Self.FK_Consumables_sold_Warehouse" FromRole="Consumables_sold" ToRole="Warehouse" />
- </EntityType>
- <EntityType Name="Deliveries">
- <Key>
- <PropertyRef Name="Артикул" />
- </Key>
- <Property Name="Артикул" Type="String" MaxLength="450" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Наименование" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="Цена" Type="Decimal" Precision="19" Scale="4" />
- <Property Name="Дата" Type="DateTime" Precision="0" />
- <NavigationProperty Name="List" Relationship="Self.FK_Deliveries_List" FromRole="Deliveries" ToRole="List" />
- <NavigationProperty Name="Warehouse" Relationship="Self.FK_Deliveries_Warehouse" FromRole="Deliveries" ToRole="Warehouse" />
- </EntityType>
- <EntityType Name="Used_consumables">
- <Key>
- <PropertyRef Name="Артикул" />
- </Key>
- <Property Name="Артикул" Type="String" MaxLength="450" FixedLength="false" Unicode="true" Nullable="false" />
- <Property Name="Наименование" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <Property Name="Цена" Type="Decimal" Precision="19" Scale="4" />
- <Property Name="Количество" Type="Int32" />
- <Property Name="Дата" Type="DateTime" Precision="0" />
- <Property Name="Сотрудник" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
- <NavigationProperty Name="Warehouse" Relationship="Self.FK_Used_consumables_Warehouse" FromRole="Used_consumables" ToRole="Warehouse" />
- </EntityType>
- <Association Name="FK_Deliveries_List">
- <End Role="List" Type="Self.List" Multiplicity="1" />
- <End Role="Deliveries" Type="Self.Deliveries" Multiplicity="0..1" />
- <ReferentialConstraint>
- <Principal Role="List">
- <PropertyRef Name="Артикул" />
- </Principal>
- <Dependent Role="Deliveries">
- <PropertyRef Name="Артикул" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Warehouse_List">
- <End Role="List" Type="Self.List" Multiplicity="1" />
- <End Role="Warehouse" Type="Self.Warehouse" Multiplicity="0..1" />
- <ReferentialConstraint>
- <Principal Role="List">
- <PropertyRef Name="Артикул" />
- </Principal>
- <Dependent Role="Warehouse">
- <PropertyRef Name="Артикул" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Warehouse_Purchase">
- <End Role="Purchase" Type="Self.Purchase" Multiplicity="1" />
- <End Role="Warehouse" Type="Self.Warehouse" Multiplicity="0..1" />
- <ReferentialConstraint>
- <Principal Role="Purchase">
- <PropertyRef Name="Артикул" />
- </Principal>
- <Dependent Role="Warehouse">
- <PropertyRef Name="Артикул" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Consumables_sold_Warehouse">
- <End Role="Warehouse" Type="Self.Warehouse" Multiplicity="1" />
- <End Role="Consumables_sold" Type="Self.Consumables_sold" Multiplicity="0..1" />
- <ReferentialConstraint>
- <Principal Role="Warehouse">
- <PropertyRef Name="Артикул" />
- </Principal>
- <Dependent Role="Consumables_sold">
- <PropertyRef Name="Артикул" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Deliveries_Warehouse">
- <End Role="Warehouse" Type="Self.Warehouse" Multiplicity="1" />
- <End Role="Deliveries" Type="Self.Deliveries" Multiplicity="0..1" />
- <ReferentialConstraint>
- <Principal Role="Warehouse">
- <PropertyRef Name="Артикул" />
- </Principal>
- <Dependent Role="Deliveries">
- <PropertyRef Name="Артикул" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <Association Name="FK_Used_consumables_Warehouse">
- <End Role="Warehouse" Type="Self.Warehouse" Multiplicity="1" />
- <End Role="Used_consumables" Type="Self.Used_consumables" Multiplicity="0..1" />
- <ReferentialConstraint>
- <Principal Role="Warehouse">
- <PropertyRef Name="Артикул" />
- </Principal>
- <Dependent Role="Used_consumables">
- <PropertyRef Name="Артикул" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="GushchinaEntities1" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="List" EntityType="Self.List" />
- <EntitySet Name="Purchase" EntityType="Self.Purchase" />
- <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" />
- <EntitySet Name="Warehouse" EntityType="Self.Warehouse" />
- <EntitySet Name="Consumables_sold" EntityType="Self.Consumables_sold" />
- <EntitySet Name="Deliveries" EntityType="Self.Deliveries" />
- <EntitySet Name="Used_consumables" EntityType="Self.Used_consumables" />
- <AssociationSet Name="FK_Deliveries_List" Association="Self.FK_Deliveries_List">
- <End Role="List" EntitySet="List" />
- <End Role="Deliveries" EntitySet="Deliveries" />
- </AssociationSet>
- <AssociationSet Name="FK_Warehouse_List" Association="Self.FK_Warehouse_List">
- <End Role="List" EntitySet="List" />
- <End Role="Warehouse" EntitySet="Warehouse" />
- </AssociationSet>
- <AssociationSet Name="FK_Warehouse_Purchase" Association="Self.FK_Warehouse_Purchase">
- <End Role="Purchase" EntitySet="Purchase" />
- <End Role="Warehouse" EntitySet="Warehouse" />
- </AssociationSet>
- <AssociationSet Name="FK_Consumables_sold_Warehouse" Association="Self.FK_Consumables_sold_Warehouse">
- <End Role="Warehouse" EntitySet="Warehouse" />
- <End Role="Consumables_sold" EntitySet="Consumables_sold" />
- </AssociationSet>
- <AssociationSet Name="FK_Deliveries_Warehouse" Association="Self.FK_Deliveries_Warehouse">
- <End Role="Warehouse" EntitySet="Warehouse" />
- <End Role="Deliveries" EntitySet="Deliveries" />
- </AssociationSet>
- <AssociationSet Name="FK_Used_consumables_Warehouse" Association="Self.FK_Used_consumables_Warehouse">
- <End Role="Warehouse" EntitySet="Warehouse" />
- <End Role="Used_consumables" EntitySet="Used_consumables" />
- </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(GushchinaModel.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(GushchinaModel.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="Хранилище GushchinaModelContainer" CdmEntityContainer="GushchinaEntities1">
- <EntitySetMapping Name="List">
- <EntityTypeMapping TypeName="GushchinaModel.List">
- <MappingFragment StoreEntitySet="List">
- <ScalarProperty Name="Артикул" ColumnName="Артикул" />
- <ScalarProperty Name="Наименование" ColumnName="Наименование" />
- <ScalarProperty Name="Цена" ColumnName="Цена" />
- <ScalarProperty Name="Количество" ColumnName="Количество" />
- <ScalarProperty Name="Место_хранения" ColumnName="Место хранения" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Purchase">
- <EntityTypeMapping TypeName="GushchinaModel.Purchase">
- <MappingFragment StoreEntitySet="Purchase">
- <ScalarProperty Name="Артикул" ColumnName="Артикул" />
- <ScalarProperty Name="Наименование" ColumnName="Наименование" />
- <ScalarProperty Name="Цена" ColumnName="Цена" />
- <ScalarProperty Name="Принудительное_перемешение__Да_Нет_" ColumnName="Принудительное перемешение (Да/Нет)" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="sysdiagrams">
- <EntityTypeMapping TypeName="GushchinaModel.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="Warehouse">
- <EntityTypeMapping TypeName="GushchinaModel.Warehouse">
- <MappingFragment StoreEntitySet="Warehouse">
- <ScalarProperty Name="Артикул" ColumnName="Артикул" />
- <ScalarProperty Name="Наименование" ColumnName="Наименование" />
- <ScalarProperty Name="Цена" ColumnName="Цена" />
- <ScalarProperty Name="Количество" ColumnName="Количество" />
- <ScalarProperty Name="Место_хранения__Склад_Витрина_" ColumnName="Место хранения (Склад/Витрина)" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Consumables_sold">
- <EntityTypeMapping TypeName="GushchinaModel.Consumables_sold">
- <MappingFragment StoreEntitySet="Consumables_sold">
- <ScalarProperty Name="Артикул" ColumnName="Артикул" />
- <ScalarProperty Name="Наименование" ColumnName="Наименование" />
- <ScalarProperty Name="Цена" ColumnName="Цена" />
- <ScalarProperty Name="Количество" ColumnName="Количество" />
- <ScalarProperty Name="Дата" ColumnName="Дата" />
- <ScalarProperty Name="Сотрудник" ColumnName="Сотрудник" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Deliveries">
- <EntityTypeMapping TypeName="GushchinaModel.Deliveries">
- <MappingFragment StoreEntitySet="Deliveries">
- <ScalarProperty Name="Артикул" ColumnName="Артикул" />
- <ScalarProperty Name="Наименование" ColumnName="Наименование" />
- <ScalarProperty Name="Цена" ColumnName="Цена" />
- <ScalarProperty Name="Дата" ColumnName="Дата" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Used_consumables">
- <EntityTypeMapping TypeName="GushchinaModel.Used_consumables">
- <MappingFragment StoreEntitySet="Used_consumables">
- <ScalarProperty Name="Артикул" ColumnName="Артикул" />
- <ScalarProperty Name="Наименование" ColumnName="Наименование" />
- <ScalarProperty Name="Цена" ColumnName="Цена" />
- <ScalarProperty Name="Количество" ColumnName="Количество" />
- <ScalarProperty Name="Дата" ColumnName="Дата" />
- <ScalarProperty Name="Сотрудник" ColumnName="Сотрудник" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <FunctionImportMapping FunctionImportName="sp_alterdiagram" FunctionName="Хранилище GushchinaModel.sp_alterdiagram" />
- <FunctionImportMapping FunctionImportName="sp_creatediagram" FunctionName="Хранилище GushchinaModel.sp_creatediagram" />
- <FunctionImportMapping FunctionImportName="sp_dropdiagram" FunctionName="Хранилище GushchinaModel.sp_dropdiagram" />
- <FunctionImportMapping FunctionImportName="sp_helpdiagramdefinition" FunctionName="Хранилище GushchinaModel.sp_helpdiagramdefinition">
- <ResultMapping>
- <ComplexTypeMapping TypeName="GushchinaModel.sp_helpdiagramdefinition_Result">
- <ScalarProperty Name="version" ColumnName="version" />
- <ScalarProperty Name="definition" ColumnName="definition" />
- </ComplexTypeMapping>
- </ResultMapping>
- </FunctionImportMapping>
- <FunctionImportMapping FunctionImportName="sp_helpdiagrams" FunctionName="Хранилище GushchinaModel.sp_helpdiagrams">
- <ResultMapping>
- <ComplexTypeMapping TypeName="GushchinaModel.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="Хранилище GushchinaModel.sp_renamediagram" />
- <FunctionImportMapping FunctionImportName="sp_upgraddiagrams" FunctionName="Хранилище GushchinaModel.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>
|