Files
StockMan/StockManMVC/Models/SMModel.edmx
T
samuele ca4cd6c15c Rifacimento DB e sync
ora la struttura è + coerente, iniziato emrge dati, chiavi tutte SURROGATE con ID
2016-09-21 16:14:09 +02:00

531 lines
29 KiB
XML

<?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="StockManModel.Store" 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="Item">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Descr" Type="nvarchar" MaxLength="250" Nullable="false" />
<Property Name="CodInt" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Family" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="CodExt" Type="nvarchar" MaxLength="250" Nullable="false" />
<Property Name="DescrExt" Type="nvarchar" MaxLength="250" Nullable="false" />
<Property Name="QtaMin" Type="int" Nullable="false" />
<Property Name="QtaBatch" Type="int" Nullable="false" />
<Property Name="CurrValue" Type="decimal" Precision="18" Scale="6" Nullable="false" />
</EntityType>
<EntityType Name="ItemFlux">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="ItemID" Type="int" Nullable="false" />
<Property Name="LocationID" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="MovTypeID" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="ExtLocationID" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="dtMov" Type="datetime" Nullable="false" />
<Property Name="Qta" Type="int" Nullable="false" />
<Property Name="TotValue" Type="decimal" Precision="18" Scale="6" Nullable="false" />
<Property Name="UnitVal" Type="decimal" Precision="29" Scale="17" StoreGeneratedPattern="Computed" />
<Property Name="Note" Type="nvarchar" MaxLength="250" Nullable="false" />
<Property Name="dtExport" Type="datetime" />
</EntityType>
<EntityType Name="ItemStock">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="ItemID" Type="int" Nullable="false" />
<Property Name="LocationID" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="QtyConf" Type="int" Nullable="false" />
<Property Name="Note" Type="nvarchar(max)" Nullable="false" />
<Property Name="dtLastUpd" Type="datetime" Nullable="false" />
</EntityType>
<EntityType Name="Location">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Descr" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="LocTypeID" Type="varchar" MaxLength="50" Nullable="false" />
</EntityType>
<EntityType Name="LocType">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Descr" Type="nvarchar" MaxLength="250" Nullable="false" />
<Property Name="IsStock" Type="bit" Nullable="false" />
<Property Name="IsCli" Type="bit" Nullable="false" />
<Property Name="IsFor" Type="bit" Nullable="false" />
</EntityType>
<EntityType Name="MovType">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Descr" Type="nvarchar" MaxLength="250" Nullable="false" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'StockMan.dbo.vItemFlux2Save' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="vItemFlux2Save">
<Key>
<PropertyRef Name="ItemID" />
</Key>
<Property Name="ItemID" Type="int" Nullable="false" />
<Property Name="TotQta" Type="int" />
<Property Name="TotVal" Type="decimal" Precision="38" Scale="6" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'StockMan.dbo.vLocationVal' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="vLocationVal">
<Key>
<PropertyRef Name="LocationID" />
</Key>
<Property Name="LocationID" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="TotVal" Type="decimal" Precision="38" Scale="6" />
</EntityType>
<Association Name="FK_ItemFlux_Item">
<End Role="Item" Type="Self.Item" Multiplicity="1" />
<End Role="ItemFlux" Type="Self.ItemFlux" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Item">
<PropertyRef Name="ID" />
</Principal>
<Dependent Role="ItemFlux">
<PropertyRef Name="ItemID" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_ItemFlux_Location">
<End Role="Location" Type="Self.Location" Multiplicity="1" />
<End Role="ItemFlux" Type="Self.ItemFlux" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Location">
<PropertyRef Name="ID" />
</Principal>
<Dependent Role="ItemFlux">
<PropertyRef Name="LocationID" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Location_LocType1">
<End Role="LocType" Type="Self.LocType" Multiplicity="1" />
<End Role="Location" Type="Self.Location" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="LocType">
<PropertyRef Name="ID" />
</Principal>
<Dependent Role="Location">
<PropertyRef Name="LocTypeID" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Stock_Items">
<End Role="Item" Type="Self.Item" Multiplicity="1" />
<End Role="ItemStock" Type="Self.ItemStock" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Item">
<PropertyRef Name="ID" />
</Principal>
<Dependent Role="ItemStock">
<PropertyRef Name="ItemID" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Stock_Location1">
<End Role="Location" Type="Self.Location" Multiplicity="1" />
<End Role="ItemStock" Type="Self.ItemStock" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Location">
<PropertyRef Name="ID" />
</Principal>
<Dependent Role="ItemStock">
<PropertyRef Name="LocationID" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_StockMov_MovType">
<End Role="MovType" Type="Self.MovType" Multiplicity="1" />
<End Role="ItemFlux" Type="Self.ItemFlux" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="MovType">
<PropertyRef Name="ID" />
</Principal>
<Dependent Role="ItemFlux">
<PropertyRef Name="MovTypeID" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityContainer Name="StockManModelStoreContainer">
<EntitySet Name="Item" EntityType="Self.Item" Schema="dbo" store:Type="Tables" />
<EntitySet Name="ItemFlux" EntityType="Self.ItemFlux" Schema="dbo" store:Type="Tables" />
<EntitySet Name="ItemStock" EntityType="Self.ItemStock" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Location" EntityType="Self.Location" Schema="dbo" store:Type="Tables" />
<EntitySet Name="LocType" EntityType="Self.LocType" Schema="dbo" store:Type="Tables" />
<EntitySet Name="MovType" EntityType="Self.MovType" Schema="dbo" store:Type="Tables" />
<EntitySet Name="vItemFlux2Save" EntityType="Self.vItemFlux2Save" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[vItemFlux2Save].[ItemID] AS [ItemID],
[vItemFlux2Save].[TotQta] AS [TotQta],
[vItemFlux2Save].[TotVal] AS [TotVal]
FROM [dbo].[vItemFlux2Save] AS [vItemFlux2Save]</DefiningQuery>
</EntitySet>
<EntitySet Name="vLocationVal" EntityType="Self.vLocationVal" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[vLocationVal].[LocationID] AS [LocationID],
[vLocationVal].[TotVal] AS [TotVal]
FROM [dbo].[vLocationVal] AS [vLocationVal]</DefiningQuery>
</EntitySet>
<AssociationSet Name="FK_ItemFlux_Item" Association="Self.FK_ItemFlux_Item">
<End Role="Item" EntitySet="Item" />
<End Role="ItemFlux" EntitySet="ItemFlux" />
</AssociationSet>
<AssociationSet Name="FK_ItemFlux_Location" Association="Self.FK_ItemFlux_Location">
<End Role="Location" EntitySet="Location" />
<End Role="ItemFlux" EntitySet="ItemFlux" />
</AssociationSet>
<AssociationSet Name="FK_Location_LocType1" Association="Self.FK_Location_LocType1">
<End Role="LocType" EntitySet="LocType" />
<End Role="Location" EntitySet="Location" />
</AssociationSet>
<AssociationSet Name="FK_Stock_Items" Association="Self.FK_Stock_Items">
<End Role="Item" EntitySet="Item" />
<End Role="ItemStock" EntitySet="ItemStock" />
</AssociationSet>
<AssociationSet Name="FK_Stock_Location1" Association="Self.FK_Stock_Location1">
<End Role="Location" EntitySet="Location" />
<End Role="ItemStock" EntitySet="ItemStock" />
</AssociationSet>
<AssociationSet Name="FK_StockMov_MovType" Association="Self.FK_StockMov_MovType">
<End Role="MovType" EntitySet="MovType" />
<End Role="ItemFlux" EntitySet="ItemFlux" />
</AssociationSet>
</EntityContainer>
</Schema></edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="StockManModel" 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">
<EntityContainer Name="StockManEntities" annotation:LazyLoadingEnabled="true" >
<EntitySet Name="Item" EntityType="StockManModel.Item" />
<EntitySet Name="ItemFlux" EntityType="StockManModel.ItemFlux" />
<EntitySet Name="ItemStock" EntityType="StockManModel.ItemStock" />
<EntitySet Name="Location" EntityType="StockManModel.Location" />
<EntitySet Name="LocType" EntityType="StockManModel.LocType" />
<EntitySet Name="MovType" EntityType="StockManModel.MovType" />
<EntitySet Name="vItemFlux2Save" EntityType="StockManModel.vItemFlux2Save" />
<EntitySet Name="vLocationVal" EntityType="StockManModel.vLocationVal" />
<AssociationSet Name="FK_ItemFlux_Item" Association="StockManModel.FK_ItemFlux_Item">
<End Role="Item" EntitySet="Item" />
<End Role="ItemFlux" EntitySet="ItemFlux" />
</AssociationSet>
<AssociationSet Name="FK_Stock_Items" Association="StockManModel.FK_Stock_Items">
<End Role="Item" EntitySet="Item" />
<End Role="ItemStock" EntitySet="ItemStock" />
</AssociationSet>
<AssociationSet Name="FK_ItemFlux_Location" Association="StockManModel.FK_ItemFlux_Location">
<End Role="Location" EntitySet="Location" />
<End Role="ItemFlux" EntitySet="ItemFlux" />
</AssociationSet>
<AssociationSet Name="FK_StockMov_MovType" Association="StockManModel.FK_StockMov_MovType">
<End Role="MovType" EntitySet="MovType" />
<End Role="ItemFlux" EntitySet="ItemFlux" />
</AssociationSet>
<AssociationSet Name="FK_Stock_Location1" Association="StockManModel.FK_Stock_Location1">
<End Role="Location" EntitySet="Location" />
<End Role="ItemStock" EntitySet="ItemStock" />
</AssociationSet>
<AssociationSet Name="FK_Location_LocType1" Association="StockManModel.FK_Location_LocType1">
<End Role="LocType" EntitySet="LocType" />
<End Role="Location" EntitySet="Location" />
</AssociationSet>
</EntityContainer>
<EntityType Name="Item">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Descr" Type="String" Nullable="false" MaxLength="250" FixedLength="false" Unicode="true" />
<Property Name="CodInt" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="Family" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="CodExt" Type="String" Nullable="false" MaxLength="250" FixedLength="false" Unicode="true" />
<Property Name="DescrExt" Type="String" Nullable="false" MaxLength="250" FixedLength="false" Unicode="true" />
<Property Name="QtaMin" Type="Int32" Nullable="false" />
<Property Name="QtaBatch" Type="Int32" Nullable="false" />
<Property Name="CurrValue" Type="Decimal" Nullable="false" Precision="18" Scale="6" />
<NavigationProperty Name="ItemFlux" Relationship="StockManModel.FK_ItemFlux_Item" FromRole="Item" ToRole="ItemFlux" />
<NavigationProperty Name="ItemStock" Relationship="StockManModel.FK_Stock_Items" FromRole="Item" ToRole="ItemStock" />
</EntityType>
<EntityType Name="ItemFlux">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="ItemID" Type="Int32" Nullable="false" />
<Property Name="LocationID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="MovTypeID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="ExtLocationID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="dtMov" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="Qta" Type="Int32" Nullable="false" />
<Property Name="TotValue" Type="Decimal" Nullable="false" Precision="18" Scale="6" />
<Property Name="UnitVal" Type="Decimal" Precision="29" Scale="17" annotation:StoreGeneratedPattern="Computed" />
<Property Name="Note" Type="String" Nullable="false" MaxLength="250" FixedLength="false" Unicode="true" />
<Property Name="dtExport" Type="DateTime" Precision="3" />
<NavigationProperty Name="Item" Relationship="StockManModel.FK_ItemFlux_Item" FromRole="ItemFlux" ToRole="Item" />
<NavigationProperty Name="Location" Relationship="StockManModel.FK_ItemFlux_Location" FromRole="ItemFlux" ToRole="Location" />
<NavigationProperty Name="MovType" Relationship="StockManModel.FK_StockMov_MovType" FromRole="ItemFlux" ToRole="MovType" />
</EntityType>
<EntityType Name="ItemStock">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="ItemID" Type="Int32" Nullable="false" />
<Property Name="LocationID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="QtyConf" Type="Int32" Nullable="false" />
<Property Name="Note" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="dtLastUpd" Type="DateTime" Nullable="false" Precision="3" />
<NavigationProperty Name="Item" Relationship="StockManModel.FK_Stock_Items" FromRole="ItemStock" ToRole="Item" />
<NavigationProperty Name="Location" Relationship="StockManModel.FK_Stock_Location1" FromRole="ItemStock" ToRole="Location" />
</EntityType>
<EntityType Name="Location">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="Descr" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="LocTypeID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
<NavigationProperty Name="ItemFlux" Relationship="StockManModel.FK_ItemFlux_Location" FromRole="Location" ToRole="ItemFlux" />
<NavigationProperty Name="ItemStock" Relationship="StockManModel.FK_Stock_Location1" FromRole="Location" ToRole="ItemStock" />
<NavigationProperty Name="LocType" Relationship="StockManModel.FK_Location_LocType1" FromRole="Location" ToRole="LocType" />
</EntityType>
<EntityType Name="LocType">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Descr" Type="String" Nullable="false" MaxLength="250" FixedLength="false" Unicode="true" />
<Property Name="IsStock" Type="Boolean" Nullable="false" />
<Property Name="IsCli" Type="Boolean" Nullable="false" />
<Property Name="IsFor" Type="Boolean" Nullable="false" />
<NavigationProperty Name="Location" Relationship="StockManModel.FK_Location_LocType1" FromRole="LocType" ToRole="Location" />
</EntityType>
<EntityType Name="MovType">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="Descr" Type="String" Nullable="false" MaxLength="250" FixedLength="false" Unicode="true" />
<NavigationProperty Name="ItemFlux" Relationship="StockManModel.FK_StockMov_MovType" FromRole="MovType" ToRole="ItemFlux" />
</EntityType>
<EntityType Name="vItemFlux2Save">
<Key>
<PropertyRef Name="ItemID" />
</Key>
<Property Name="ItemID" Type="Int32" Nullable="false" />
<Property Name="TotQta" Type="Int32" />
<Property Name="TotVal" Type="Decimal" Precision="38" Scale="6" />
</EntityType>
<EntityType Name="vLocationVal">
<Key>
<PropertyRef Name="LocationID" />
</Key>
<Property Name="LocationID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="TotVal" Type="Decimal" Precision="38" Scale="6" />
</EntityType>
<Association Name="FK_ItemFlux_Item">
<End Type="StockManModel.Item" Role="Item" Multiplicity="1" />
<End Type="StockManModel.ItemFlux" Role="ItemFlux" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Item">
<PropertyRef Name="ID" />
</Principal>
<Dependent Role="ItemFlux">
<PropertyRef Name="ItemID" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Stock_Items">
<End Type="StockManModel.Item" Role="Item" Multiplicity="1" />
<End Type="StockManModel.ItemStock" Role="ItemStock" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Item">
<PropertyRef Name="ID" />
</Principal>
<Dependent Role="ItemStock">
<PropertyRef Name="ItemID" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_ItemFlux_Location">
<End Type="StockManModel.Location" Role="Location" Multiplicity="1" />
<End Type="StockManModel.ItemFlux" Role="ItemFlux" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Location">
<PropertyRef Name="ID" />
</Principal>
<Dependent Role="ItemFlux">
<PropertyRef Name="LocationID" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_StockMov_MovType">
<End Type="StockManModel.MovType" Role="MovType" Multiplicity="1" />
<End Type="StockManModel.ItemFlux" Role="ItemFlux" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="MovType">
<PropertyRef Name="ID" />
</Principal>
<Dependent Role="ItemFlux">
<PropertyRef Name="MovTypeID" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Stock_Location1">
<End Type="StockManModel.Location" Role="Location" Multiplicity="1" />
<End Type="StockManModel.ItemStock" Role="ItemStock" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Location">
<PropertyRef Name="ID" />
</Principal>
<Dependent Role="ItemStock">
<PropertyRef Name="LocationID" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Location_LocType1">
<End Type="StockManModel.LocType" Role="LocType" Multiplicity="1" />
<End Type="StockManModel.Location" Role="Location" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="LocType">
<PropertyRef Name="ID" />
</Principal>
<Dependent Role="Location">
<PropertyRef Name="LocTypeID" />
</Dependent>
</ReferentialConstraint>
</Association>
</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="StockManModelStoreContainer" CdmEntityContainer="StockManEntities" >
<EntitySetMapping Name="Item">
<EntityTypeMapping TypeName="StockManModel.Item">
<MappingFragment StoreEntitySet="Item">
<ScalarProperty Name="CurrValue" ColumnName="CurrValue" />
<ScalarProperty Name="QtaBatch" ColumnName="QtaBatch" />
<ScalarProperty Name="QtaMin" ColumnName="QtaMin" />
<ScalarProperty Name="DescrExt" ColumnName="DescrExt" />
<ScalarProperty Name="CodExt" ColumnName="CodExt" />
<ScalarProperty Name="Family" ColumnName="Family" />
<ScalarProperty Name="CodInt" ColumnName="CodInt" />
<ScalarProperty Name="Descr" ColumnName="Descr" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ItemFlux">
<EntityTypeMapping TypeName="StockManModel.ItemFlux">
<MappingFragment StoreEntitySet="ItemFlux">
<ScalarProperty Name="dtExport" ColumnName="dtExport" />
<ScalarProperty Name="Note" ColumnName="Note" />
<ScalarProperty Name="UnitVal" ColumnName="UnitVal" />
<ScalarProperty Name="TotValue" ColumnName="TotValue" />
<ScalarProperty Name="Qta" ColumnName="Qta" />
<ScalarProperty Name="dtMov" ColumnName="dtMov" />
<ScalarProperty Name="ExtLocationID" ColumnName="ExtLocationID" />
<ScalarProperty Name="MovTypeID" ColumnName="MovTypeID" />
<ScalarProperty Name="LocationID" ColumnName="LocationID" />
<ScalarProperty Name="ItemID" ColumnName="ItemID" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ItemStock">
<EntityTypeMapping TypeName="StockManModel.ItemStock">
<MappingFragment StoreEntitySet="ItemStock">
<ScalarProperty Name="dtLastUpd" ColumnName="dtLastUpd" />
<ScalarProperty Name="Note" ColumnName="Note" />
<ScalarProperty Name="QtyConf" ColumnName="QtyConf" />
<ScalarProperty Name="LocationID" ColumnName="LocationID" />
<ScalarProperty Name="ItemID" ColumnName="ItemID" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Location">
<EntityTypeMapping TypeName="StockManModel.Location">
<MappingFragment StoreEntitySet="Location">
<ScalarProperty Name="LocTypeID" ColumnName="LocTypeID" />
<ScalarProperty Name="Descr" ColumnName="Descr" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="LocType">
<EntityTypeMapping TypeName="StockManModel.LocType">
<MappingFragment StoreEntitySet="LocType">
<ScalarProperty Name="IsFor" ColumnName="IsFor" />
<ScalarProperty Name="IsCli" ColumnName="IsCli" />
<ScalarProperty Name="IsStock" ColumnName="IsStock" />
<ScalarProperty Name="Descr" ColumnName="Descr" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="MovType">
<EntityTypeMapping TypeName="StockManModel.MovType">
<MappingFragment StoreEntitySet="MovType">
<ScalarProperty Name="Descr" ColumnName="Descr" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="vItemFlux2Save">
<EntityTypeMapping TypeName="StockManModel.vItemFlux2Save">
<MappingFragment StoreEntitySet="vItemFlux2Save">
<ScalarProperty Name="TotVal" ColumnName="TotVal" />
<ScalarProperty Name="TotQta" ColumnName="TotQta" />
<ScalarProperty Name="ItemID" ColumnName="ItemID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="vLocationVal">
<EntityTypeMapping TypeName="StockManModel.vLocationVal">
<MappingFragment StoreEntitySet="vLocationVal">
<ScalarProperty Name="TotVal" ColumnName="TotVal" />
<ScalarProperty Name="LocationID" ColumnName="LocationID" />
</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="None" />
</DesignerInfoPropertySet>
</Options>
<!-- Diagram content (shape and connector positions) -->
<Diagrams></Diagrams>
</Designer>
</edmx:Edmx>