Riorganizzazione progetto con nuovi moduli x magazzino & co...
aggiunti moduli vuoti da completare x costruzione elementi magazzino git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@50 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
+16
-32
@@ -71,20 +71,6 @@
|
||||
<Content Include="WS\bilance.asmx" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="anagBlocchi.aspx.cs">
|
||||
<DependentUpon>anagBlocchi.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="anagBlocchi.aspx.designer.cs">
|
||||
<DependentUpon>anagBlocchi.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="anagCelle.aspx.cs">
|
||||
<DependentUpon>anagCelle.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="anagCelle.aspx.designer.cs">
|
||||
<DependentUpon>anagCelle.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="anagMagazzini.aspx.cs">
|
||||
<DependentUpon>anagMagazzini.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -92,13 +78,6 @@
|
||||
<Compile Include="anagMagazzini.aspx.designer.cs">
|
||||
<DependentUpon>anagMagazzini.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="anagMappe.aspx.cs">
|
||||
<DependentUpon>anagMappe.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="anagMappe.aspx.designer.cs">
|
||||
<DependentUpon>anagMappe.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Default.aspx.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -217,13 +196,6 @@
|
||||
<Compile Include="WebUserControls\mod_anagMagazzini.ascx.designer.cs">
|
||||
<DependentUpon>mod_anagMagazzini.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_anagMappe.ascx.cs">
|
||||
<DependentUpon>mod_anagMappe.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_anagMappe.ascx.designer.cs">
|
||||
<DependentUpon>mod_anagMappe.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_chLang.ascx.cs">
|
||||
<DependentUpon>mod_chLang.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -231,6 +203,13 @@
|
||||
<Compile Include="WebUserControls\mod_chLang.ascx.designer.cs">
|
||||
<DependentUpon>mod_chLang.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_confMag.ascx.cs">
|
||||
<DependentUpon>mod_confMag.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_confMag.ascx.designer.cs">
|
||||
<DependentUpon>mod_confMag.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_filtro.ascx.cs">
|
||||
<DependentUpon>mod_filtro.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -308,6 +287,13 @@
|
||||
<Compile Include="WebUserControls\mod_selettore_ajax.ascx.designer.cs">
|
||||
<DependentUpon>mod_selettore_ajax.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_tipoCella.ascx.cs">
|
||||
<DependentUpon>mod_tipoCella.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_tipoCella.ascx.designer.cs">
|
||||
<DependentUpon>mod_tipoCella.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_vocabolario.ascx.cs">
|
||||
<DependentUpon>mod_vocabolario.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -346,10 +332,7 @@
|
||||
<EmbeddedResource Include="Reports\CartellinoCompleto.rdlc" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="anagBlocchi.aspx" />
|
||||
<Content Include="anagCelle.aspx" />
|
||||
<Content Include="anagMagazzini.aspx" />
|
||||
<Content Include="anagMappe.aspx" />
|
||||
<Content Include="Default.aspx" />
|
||||
<Content Include="images\apply.png" />
|
||||
<Content Include="images\apply_l.png" />
|
||||
@@ -478,8 +461,8 @@
|
||||
<Content Include="WebUserControls\mod_anagBlocchi.ascx" />
|
||||
<Content Include="WebUserControls\mod_anagCelle.ascx" />
|
||||
<Content Include="WebUserControls\mod_anagMagazzini.ascx" />
|
||||
<Content Include="WebUserControls\mod_anagMappe.ascx" />
|
||||
<Content Include="WebUserControls\mod_chLang.ascx" />
|
||||
<Content Include="WebUserControls\mod_confMag.ascx" />
|
||||
<Content Include="WebUserControls\mod_filtro.ascx" />
|
||||
<Content Include="WebUserControls\mod_lemmiVocab.ascx" />
|
||||
<Content Include="WebUserControls\mod_login.ascx" />
|
||||
@@ -491,6 +474,7 @@
|
||||
<Content Include="WebUserControls\mod_pageTitleAndSearch.ascx" />
|
||||
<Content Include="WebUserControls\mod_ricercaGenerica.ascx" />
|
||||
<Content Include="WebUserControls\mod_selettore_ajax.ascx" />
|
||||
<Content Include="WebUserControls\mod_tipoCella.ascx" />
|
||||
<Content Include="WebUserControls\mod_vocabolario.ascx" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_anagBlocchi.ascx.cs" Inherits="GMW.WebUserControls.mod_anagBlocchi" %>
|
||||
gestione blocchi
|
||||
+5
-7
@@ -1,18 +1,16 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.42
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class mod_anagBlocchi
|
||||
{
|
||||
namespace GMW.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_anagBlocchi {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:Button ID="btnReset" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnReset_Click"
|
||||
Visible="false" />
|
||||
Visible="true" />
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
|
||||
|
||||
@@ -338,11 +338,13 @@ namespace GMW.WebUserControls
|
||||
// solo se ha diritti scrittura controllo
|
||||
if (answ)
|
||||
{
|
||||
#if false
|
||||
// controllo se ci sono postazioni correlate...
|
||||
if (MagClass.magazzino.taMappe.getByCodMag(memLayer.ML.StringSessionObj("CodCS"), idxObj.ToString()).Rows.Count > 0)
|
||||
{
|
||||
answ = false;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_confMag.ascx.cs" Inherits="GMW.WebUserControls.mod_confMag" %>
|
||||
statistiche magazzino
|
||||
@@ -5,13 +5,13 @@ using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GMW
|
||||
namespace GMW.WebUserControls
|
||||
{
|
||||
public partial class anagCelle : System.Web.UI.Page
|
||||
public partial class mod_confMag : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+2
-11
@@ -8,18 +8,9 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW {
|
||||
namespace GMW.WebUserControls {
|
||||
|
||||
|
||||
public partial class anagCelle {
|
||||
|
||||
/// <summary>
|
||||
/// mod_anagCelle1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GMW.WebUserControls.mod_anagCelle mod_anagCelle1;
|
||||
public partial class mod_confMag {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_tipoCella.ascx.cs" Inherits="GMW.WebUserControls.mod_tipoCella" %>
|
||||
setup tipo celle mag
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GMW.WebUserControls
|
||||
{
|
||||
public partial class mod_tipoCella : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_tipoCella {
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="anagCelle.aspx.cs" Inherits="GMW.anagCelle" %>
|
||||
<%@ Register src="WebUserControls/mod_anagCelle.ascx" tagname="mod_anagCelle" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<uc1:mod_anagCelle ID="mod_anagCelle1" runat="server" />
|
||||
</asp:Content>
|
||||
@@ -3,6 +3,27 @@
|
||||
|
||||
<%@ Register Src="WebUserControls/mod_anagMagazzini.ascx" TagName="mod_anagMagazzini"
|
||||
TagPrefix="uc1" %>
|
||||
<%@ Register Src="WebUserControls/mod_confMag.ascx" TagName="mod_confMag" TagPrefix="uc2" %>
|
||||
<%@ Register Src="WebUserControls/mod_tipoCella.ascx" TagName="mod_tipoCella" TagPrefix="uc3" %>
|
||||
<%@ Register Src="WebUserControls/mod_anagBlocchi.ascx" TagName="mod_anagBlocchi"
|
||||
TagPrefix="uc4" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<uc1:mod_anagMagazzini ID="mod_anagMagazzini1" runat="server" />
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<uc1:mod_anagMagazzini ID="mod_anagMagazzini1" runat="server" />
|
||||
<asp:Panel ID="pnlMagStat" runat="server" Visible="false">
|
||||
<hr />
|
||||
<uc2:mod_confMag ID="mod_confMag1" runat="server"/>
|
||||
</asp:Panel>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Panel ID="pnlMagConf" runat="server" Visible="false">
|
||||
<uc3:mod_tipoCella ID="mod_tipoCella1" runat="server" />
|
||||
<hr />
|
||||
<uc4:mod_anagBlocchi ID="mod_anagBlocchi1" runat="server" />
|
||||
</asp:Panel>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</asp:Content>
|
||||
|
||||
@@ -12,11 +12,21 @@ namespace GMW
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
mod_anagMagazzini1.eh_selValore += new EventHandler(mod_anagMagazzini1_eh_selValore);
|
||||
mod_anagMagazzini1.eh_resetSelezione += new EventHandler(mod_anagMagazzini1_eh_resetSelezione);
|
||||
}
|
||||
|
||||
void mod_anagMagazzini1_eh_resetSelezione(object sender, EventArgs e)
|
||||
{
|
||||
// nascondo i 3 moduli aggiuntivi!
|
||||
pnlMagStat.Visible = false;
|
||||
pnlMagConf.Visible = false;
|
||||
}
|
||||
|
||||
void mod_anagMagazzini1_eh_selValore(object sender, EventArgs e)
|
||||
{
|
||||
Response.Redirect("anagMappe.aspx");
|
||||
// mostro i 3 moduli aggiuntivi!
|
||||
pnlMagStat.Visible = true;
|
||||
pnlMagConf.Visible = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+45
@@ -21,5 +21,50 @@ namespace GMW {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GMW.WebUserControls.mod_anagMagazzini mod_anagMagazzini1;
|
||||
|
||||
/// <summary>
|
||||
/// pnlMagStat control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel pnlMagStat;
|
||||
|
||||
/// <summary>
|
||||
/// mod_confMag1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GMW.WebUserControls.mod_confMag mod_confMag1;
|
||||
|
||||
/// <summary>
|
||||
/// pnlMagConf control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel pnlMagConf;
|
||||
|
||||
/// <summary>
|
||||
/// mod_tipoCella1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GMW.WebUserControls.mod_tipoCella mod_tipoCella1;
|
||||
|
||||
/// <summary>
|
||||
/// mod_anagBlocchi1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GMW.WebUserControls.mod_anagBlocchi mod_anagBlocchi1;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -4,7 +4,7 @@
|
||||
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<Connections>
|
||||
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="GMWConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="GMWConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.GMW_data.Properties.Settings.GlobalReference.Default.GMWConnectionString" Provider="System.Data.SqlClient" />
|
||||
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="GMWConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="GMWConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.GMW_data.Properties.Settings.GlobalReference.Default.GMWConnectionString" Provider="System.Data.SqlClient" />
|
||||
</Connections>
|
||||
<Tables>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selMagTableAdapter" GeneratorDataComponentClassName="v_selMagTableAdapter" Name="v_selMag" UserDataComponentName="v_selMagTableAdapter">
|
||||
@@ -50,21 +50,21 @@ ORDER BY label</CommandText>
|
||||
<xs:element name="v_selMag" msprop:Generator_UserTableName="v_selMag" msprop:Generator_RowDeletedName="v_selMagRowDeleted" msprop:Generator_RowChangedName="v_selMagRowChanged" msprop:Generator_RowClassName="v_selMagRow" msprop:Generator_RowChangingName="v_selMagRowChanging" msprop:Generator_RowEvArgName="v_selMagRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selMagRowChangeEventHandler" msprop:Generator_TableClassName="v_selMagDataTable" msprop:Generator_TableVarName="tablev_selMag" msprop:Generator_RowDeletingName="v_selMagRowDeleting" msprop:Generator_TablePropName="v_selMag">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:v_selMag" ZOrder="1" X="113" Y="114" Height="153" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selMag" ZOrder="2" X="113" Y="114" Height="153" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selMappe" ZOrder="1" X="517" Y="154" Height="153" Width="261" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
Generated
+1266
-1480
File diff suppressed because it is too large
Load Diff
+183
-237
@@ -455,10 +455,13 @@ SELECT UDC, IdxCella, CodCS, DataInizio, DataFine FROM PosizioneUdcStorico WHERE
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.Blocchi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[Blocchi] WHERE (([IdxBlocco] = @Original_IdxBlocco) AND ([IdxMappa] = @Original_IdxMappa) AND ((@IsNull_CodBlocco = 1 AND [CodBlocco] IS NULL) OR ([CodBlocco] = @Original_CodBlocco)) AND ((@IsNull_DescBlocco = 1 AND [DescBlocco] IS NULL) OR ([DescBlocco] = @Original_DescBlocco)) AND ((@IsNull_NumX = 1 AND [NumX] IS NULL) OR ([NumX] = @Original_NumX)) AND ((@IsNull_NumY = 1 AND [NumY] IS NULL) OR ([NumY] = @Original_NumY)) AND ((@IsNull_NumZ = 1 AND [NumZ] IS NULL) OR ([NumZ] = @Original_NumZ)))</CommandText>
|
||||
<CommandText>DELETE FROM [dbo].[Blocchi] WHERE (([IdxBlocco] = @Original_IdxBlocco) AND ((@IsNull_CodMag = 1 AND [CodMag] IS NULL) OR ([CodMag] = @Original_CodMag)) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_CodBlocco = 1 AND [CodBlocco] IS NULL) OR ([CodBlocco] = @Original_CodBlocco)) AND ((@IsNull_DescBlocco = 1 AND [DescBlocco] IS NULL) OR ([DescBlocco] = @Original_DescBlocco)) AND ((@IsNull_NumX = 1 AND [NumX] IS NULL) OR ([NumX] = @Original_NumX)) AND ((@IsNull_NumY = 1 AND [NumY] IS NULL) OR ([NumY] = @Original_NumY)) AND ((@IsNull_NumZ = 1 AND [NumZ] IS NULL) OR ([NumZ] = @Original_NumZ)))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBlocco" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxMappa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxMappa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CodMag" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodMag" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodMag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMag" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CodCS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodCS" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CodCS" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CodCS" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CodBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodBlocco" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodBlocco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodBlocco" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DescBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DescBlocco" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
@@ -474,11 +477,11 @@ SELECT UDC, IdxCella, CodCS, DataInizio, DataFine FROM PosizioneUdcStorico WHERE
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[Blocchi] ([IdxBlocco], [IdxMappa], [CodBlocco], [DescBlocco], [NumX], [NumY], [NumZ]) VALUES (@IdxBlocco, @IdxMappa, @CodBlocco, @DescBlocco, @NumX, @NumY, @NumZ);
|
||||
SELECT IdxBlocco, IdxMappa, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Blocchi WHERE (IdxBlocco = @IdxBlocco)</CommandText>
|
||||
<CommandText>INSERT INTO [dbo].[Blocchi] ([CodMag], [CodCS], [CodBlocco], [DescBlocco], [NumX], [NumY], [NumZ]) VALUES (@CodMag, @CodCS, @CodBlocco, @DescBlocco, @NumX, @NumY, @NumZ);
|
||||
SELECT IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Blocchi WHERE (IdxBlocco = SCOPE_IDENTITY())</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBlocco" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxMappa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxMappa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodMag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMag" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CodCS" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodBlocco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodBlocco" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescBlocco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescBlocco" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumX" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumX" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -489,24 +492,27 @@ SELECT IdxBlocco, IdxMappa, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Blocchi
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT IdxBlocco, IdxMappa, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM dbo.Blocchi</CommandText>
|
||||
<CommandText>SELECT IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM dbo.Blocchi</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[Blocchi] SET [IdxBlocco] = @IdxBlocco, [IdxMappa] = @IdxMappa, [CodBlocco] = @CodBlocco, [DescBlocco] = @DescBlocco, [NumX] = @NumX, [NumY] = @NumY, [NumZ] = @NumZ WHERE (([IdxBlocco] = @Original_IdxBlocco) AND ([IdxMappa] = @Original_IdxMappa) AND ((@IsNull_CodBlocco = 1 AND [CodBlocco] IS NULL) OR ([CodBlocco] = @Original_CodBlocco)) AND ((@IsNull_DescBlocco = 1 AND [DescBlocco] IS NULL) OR ([DescBlocco] = @Original_DescBlocco)) AND ((@IsNull_NumX = 1 AND [NumX] IS NULL) OR ([NumX] = @Original_NumX)) AND ((@IsNull_NumY = 1 AND [NumY] IS NULL) OR ([NumY] = @Original_NumY)) AND ((@IsNull_NumZ = 1 AND [NumZ] IS NULL) OR ([NumZ] = @Original_NumZ)));
|
||||
SELECT IdxBlocco, IdxMappa, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Blocchi WHERE (IdxBlocco = @IdxBlocco)</CommandText>
|
||||
<CommandText>UPDATE [dbo].[Blocchi] SET [CodMag] = @CodMag, [CodCS] = @CodCS, [CodBlocco] = @CodBlocco, [DescBlocco] = @DescBlocco, [NumX] = @NumX, [NumY] = @NumY, [NumZ] = @NumZ WHERE (([IdxBlocco] = @Original_IdxBlocco) AND ((@IsNull_CodMag = 1 AND [CodMag] IS NULL) OR ([CodMag] = @Original_CodMag)) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_CodBlocco = 1 AND [CodBlocco] IS NULL) OR ([CodBlocco] = @Original_CodBlocco)) AND ((@IsNull_DescBlocco = 1 AND [DescBlocco] IS NULL) OR ([DescBlocco] = @Original_DescBlocco)) AND ((@IsNull_NumX = 1 AND [NumX] IS NULL) OR ([NumX] = @Original_NumX)) AND ((@IsNull_NumY = 1 AND [NumY] IS NULL) OR ([NumY] = @Original_NumY)) AND ((@IsNull_NumZ = 1 AND [NumZ] IS NULL) OR ([NumZ] = @Original_NumZ)));
|
||||
SELECT IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Blocchi WHERE (IdxBlocco = @IdxBlocco)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBlocco" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxMappa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxMappa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodMag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMag" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CodCS" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodBlocco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodBlocco" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescBlocco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescBlocco" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumX" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumX" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumY" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumZ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumZ" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBlocco" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxMappa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxMappa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CodMag" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodMag" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodMag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMag" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CodCS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodCS" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CodCS" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CodCS" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CodBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodBlocco" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodBlocco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodBlocco" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DescBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DescBlocco" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
@@ -517,6 +523,7 @@ SELECT IdxBlocco, IdxMappa, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Blocchi
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumY" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NumZ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumZ" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumZ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumZ" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="IdxBlocco" ColumnName="IdxBlocco" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdxBlocco" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
@@ -524,78 +531,97 @@ SELECT IdxBlocco, IdxMappa, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Blocchi
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="IdxBlocco" DataSetColumn="IdxBlocco" />
|
||||
<Mapping SourceColumn="IdxMappa" DataSetColumn="IdxMappa" />
|
||||
<Mapping SourceColumn="CodMag" DataSetColumn="CodMag" />
|
||||
<Mapping SourceColumn="CodCS" DataSetColumn="CodCS" />
|
||||
<Mapping SourceColumn="CodBlocco" DataSetColumn="CodBlocco" />
|
||||
<Mapping SourceColumn="DescBlocco" DataSetColumn="DescBlocco" />
|
||||
<Mapping SourceColumn="NumX" DataSetColumn="NumX" />
|
||||
<Mapping SourceColumn="NumY" DataSetColumn="NumY" />
|
||||
<Mapping SourceColumn="NumZ" DataSetColumn="NumZ" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_blocchiGetByCodMappa" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCodMappa" GetMethodModifier="Public" GetMethodName="getByCodMappa" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCodMappa" UserSourceName="getByCodMappa">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_blocchiGetByCodMappa</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxMappa" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CelleTableAdapter" GeneratorDataComponentClassName="CelleTableAdapter" Name="Celle" UserDataComponentName="CelleTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.Celle" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[Celle] WHERE (([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ([CodCella] = @Original_CodCella) AND ((@IsNull_Capacita = 1 AND [Capacita] IS NULL) OR ([Capacita] = @Original_Capacita)) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)))</CommandText>
|
||||
<CommandText>DELETE FROM [dbo].[Celle] WHERE (([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ([CodCella] = @Original_CodCella) AND ((@IsNull_IdxTipoCella = 1 AND [IdxTipoCella] IS NULL) OR ([IdxTipoCella] = @Original_IdxTipoCella)) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ((@IsNull_Attiva = 1 AND [Attiva] IS NULL) OR ([Attiva] = @Original_Attiva)) AND ((@IsNull_IdxBlocco = 1 AND [IdxBlocco] IS NULL) OR ([IdxBlocco] = @Original_IdxBlocco)) AND ((@IsNull_X = 1 AND [X] IS NULL) OR ([X] = @Original_X)) AND ((@IsNull_Y = 1 AND [Y] IS NULL) OR ([Y] = @Original_Y)) AND ((@IsNull_Z = 1 AND [Z] IS NULL) OR ([Z] = @Original_Z)))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxCella" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxCella" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CodCS" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CodCS" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodCella" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodCella" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Capacita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Capacita" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Capacita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Capacita" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdxTipoCella" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxTipoCella" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxTipoCella" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxTipoCella" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Descrizione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Attiva" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Attiva" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Attiva" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attiva" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBlocco" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBlocco" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_X" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="X" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_X" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="X" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Y" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Y" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Y" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Y" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Z" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Z" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Z" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Z" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[Celle] ([CodCS], [CodCella], [Capacita], [Descrizione]) VALUES (@CodCS, @CodCella, @Capacita, @Descrizione);
|
||||
SELECT IdxCella, CodCS, CodCella, Capacita, Descrizione FROM Celle WHERE (IdxCella = SCOPE_IDENTITY())</CommandText>
|
||||
<CommandText>INSERT INTO [dbo].[Celle] ([CodCS], [CodCella], [IdxTipoCella], [Descrizione], [Attiva], [IdxBlocco], [X], [Y], [Z]) VALUES (@CodCS, @CodCella, @IdxTipoCella, @Descrizione, @Attiva, @IdxBlocco, @X, @Y, @Z);
|
||||
SELECT IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z FROM Celle WHERE (IdxCella = SCOPE_IDENTITY())</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CodCS" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodCella" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodCella" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Capacita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Capacita" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxTipoCella" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxTipoCella" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Attiva" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attiva" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBlocco" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@X" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="X" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Y" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Y" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Z" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Z" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT IdxCella, CodCS, CodCella, Capacita, Descrizione FROM dbo.Celle</CommandText>
|
||||
<CommandText>SELECT IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z FROM dbo.Celle</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[Celle] SET [CodCS] = @CodCS, [CodCella] = @CodCella, [Capacita] = @Capacita, [Descrizione] = @Descrizione WHERE (([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ([CodCella] = @Original_CodCella) AND ((@IsNull_Capacita = 1 AND [Capacita] IS NULL) OR ([Capacita] = @Original_Capacita)) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)));
|
||||
SELECT IdxCella, CodCS, CodCella, Capacita, Descrizione FROM Celle WHERE (IdxCella = @IdxCella)</CommandText>
|
||||
<CommandText>UPDATE [dbo].[Celle] SET [CodCS] = @CodCS, [CodCella] = @CodCella, [IdxTipoCella] = @IdxTipoCella, [Descrizione] = @Descrizione, [Attiva] = @Attiva, [IdxBlocco] = @IdxBlocco, [X] = @X, [Y] = @Y, [Z] = @Z WHERE (([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ([CodCella] = @Original_CodCella) AND ((@IsNull_IdxTipoCella = 1 AND [IdxTipoCella] IS NULL) OR ([IdxTipoCella] = @Original_IdxTipoCella)) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ((@IsNull_Attiva = 1 AND [Attiva] IS NULL) OR ([Attiva] = @Original_Attiva)) AND ((@IsNull_IdxBlocco = 1 AND [IdxBlocco] IS NULL) OR ([IdxBlocco] = @Original_IdxBlocco)) AND ((@IsNull_X = 1 AND [X] IS NULL) OR ([X] = @Original_X)) AND ((@IsNull_Y = 1 AND [Y] IS NULL) OR ([Y] = @Original_Y)) AND ((@IsNull_Z = 1 AND [Z] IS NULL) OR ([Z] = @Original_Z)));
|
||||
SELECT IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z FROM Celle WHERE (IdxCella = @IdxCella)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CodCS" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodCella" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodCella" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Capacita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Capacita" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxTipoCella" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxTipoCella" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Attiva" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attiva" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBlocco" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@X" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="X" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Y" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Y" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Z" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Z" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxCella" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxCella" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CodCS" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CodCS" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodCella" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodCella" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Capacita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Capacita" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Capacita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Capacita" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdxTipoCella" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxTipoCella" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxTipoCella" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxTipoCella" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Descrizione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Attiva" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Attiva" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Attiva" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attiva" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBlocco" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBlocco" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_X" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="X" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_X" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="X" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Y" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Y" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Y" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Y" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Z" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Z" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Z" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Z" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="IdxCella" ColumnName="IdxCella" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxCella" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdxCella" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
@@ -606,185 +632,105 @@ SELECT IdxCella, CodCS, CodCella, Capacita, Descrizione FROM Celle WHERE (IdxCel
|
||||
<Mapping SourceColumn="IdxCella" DataSetColumn="IdxCella" />
|
||||
<Mapping SourceColumn="CodCS" DataSetColumn="CodCS" />
|
||||
<Mapping SourceColumn="CodCella" DataSetColumn="CodCella" />
|
||||
<Mapping SourceColumn="Capacita" DataSetColumn="Capacita" />
|
||||
<Mapping SourceColumn="IdxTipoCella" DataSetColumn="IdxTipoCella" />
|
||||
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Celle2BlocchiTableAdapter" GeneratorDataComponentClassName="Celle2BlocchiTableAdapter" Name="Celle2Blocchi" UserDataComponentName="Celle2BlocchiTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.Celle2Blocchi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[Celle2Blocchi] WHERE (([IdxBlocco] = @Original_IdxBlocco) AND ([IdxCella] = @Original_IdxCella) AND ((@IsNull_X = 1 AND [X] IS NULL) OR ([X] = @Original_X)) AND ((@IsNull_Y = 1 AND [Y] IS NULL) OR ([Y] = @Original_Y)) AND ((@IsNull_Z = 1 AND [Z] IS NULL) OR ([Z] = @Original_Z)))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBlocco" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxCella" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxCella" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_X" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="X" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_X" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="X" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Y" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Y" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Y" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Y" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Z" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Z" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Z" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Z" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[Celle2Blocchi] ([IdxBlocco], [IdxCella], [X], [Y], [Z]) VALUES (@IdxBlocco, @IdxCella, @X, @Y, @Z);
|
||||
SELECT IdxBlocco, IdxCella, X, Y, Z FROM Celle2Blocchi WHERE (IdxBlocco = @IdxBlocco) AND (IdxCella = @IdxCella)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBlocco" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxCella" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxCella" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@X" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="X" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Y" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Y" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Z" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Z" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT IdxBlocco, IdxCella, X, Y, Z FROM dbo.Celle2Blocchi</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[Celle2Blocchi] SET [IdxBlocco] = @IdxBlocco, [IdxCella] = @IdxCella, [X] = @X, [Y] = @Y, [Z] = @Z WHERE (([IdxBlocco] = @Original_IdxBlocco) AND ([IdxCella] = @Original_IdxCella) AND ((@IsNull_X = 1 AND [X] IS NULL) OR ([X] = @Original_X)) AND ((@IsNull_Y = 1 AND [Y] IS NULL) OR ([Y] = @Original_Y)) AND ((@IsNull_Z = 1 AND [Z] IS NULL) OR ([Z] = @Original_Z)));
|
||||
SELECT IdxBlocco, IdxCella, X, Y, Z FROM Celle2Blocchi WHERE (IdxBlocco = @IdxBlocco) AND (IdxCella = @IdxCella)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBlocco" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxCella" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxCella" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@X" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="X" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Y" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Y" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Z" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Z" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxBlocco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBlocco" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxCella" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxCella" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_X" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="X" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_X" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="X" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Y" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Y" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Y" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Y" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Z" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Z" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Z" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Z" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="Attiva" DataSetColumn="Attiva" />
|
||||
<Mapping SourceColumn="IdxBlocco" DataSetColumn="IdxBlocco" />
|
||||
<Mapping SourceColumn="IdxCella" DataSetColumn="IdxCella" />
|
||||
<Mapping SourceColumn="X" DataSetColumn="X" />
|
||||
<Mapping SourceColumn="Y" DataSetColumn="Y" />
|
||||
<Mapping SourceColumn="Z" DataSetColumn="Z" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MappeTableAdapter" GeneratorDataComponentClassName="MappeTableAdapter" Name="Mappe" UserDataComponentName="MappeTableAdapter">
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TipoCellaTableAdapter" GeneratorDataComponentClassName="TipoCellaTableAdapter" Name="TipoCella" UserDataComponentName="TipoCellaTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.Mappe" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.TipoCella" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[Mappe] WHERE (([IdxMappa] = @Original_IdxMappa) AND ([CodMag] = @Original_CodMag) AND ([CodCS] = @Original_CodCS) AND ([DescMappa] = @Original_DescMappa))</CommandText>
|
||||
<CommandText>DELETE FROM [dbo].[TipoCella] WHERE (([IdxTipoCella] = @Original_IdxTipoCella) AND ([CodMag] = @Original_CodMag) AND ([CodCS] = @Original_CodCS) AND ([Quantita] = @Original_Quantita) AND ([Capienza] = @Original_Capienza) AND ((@IsNull_Max_X = 1 AND [Max_X] IS NULL) OR ([Max_X] = @Original_Max_X)) AND ((@IsNull_Max_Y = 1 AND [Max_Y] IS NULL) OR ([Max_Y] = @Original_Max_Y)) AND ((@IsNull_Max_Z = 1 AND [Max_Z] IS NULL) OR ([Max_Z] = @Original_Max_Z)) AND ((@IsNull_Max_Kg = 1 AND [Max_Kg] IS NULL) OR ([Max_Kg] = @Original_Max_Kg)))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxMappa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxMappa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxTipoCella" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxTipoCella" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodMag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMag" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CodCS" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CodCS" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DescMappa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescMappa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Quantita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Quantita" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Capienza" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Capienza" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Max_X" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Max_X" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Max_X" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_X" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Max_Y" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Max_Y" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Max_Y" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_Y" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Max_Z" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Max_Z" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Max_Z" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_Z" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Max_Kg" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Max_Kg" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Max_Kg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_Kg" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[Mappe] ([CodMag], [CodCS], [DescMappa]) VALUES (@CodMag, @CodCS, @DescMappa);
|
||||
SELECT IdxMappa, CodMag, CodCS, DescMappa FROM Mappe WHERE (IdxMappa = SCOPE_IDENTITY())</CommandText>
|
||||
<CommandText>INSERT INTO [dbo].[TipoCella] ([CodMag], [CodCS], [Quantita], [Capienza], [Max_X], [Max_Y], [Max_Z], [Max_Kg]) VALUES (@CodMag, @CodCS, @Quantita, @Capienza, @Max_X, @Max_Y, @Max_Z, @Max_Kg);
|
||||
SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg FROM TipoCella WHERE (IdxTipoCella = SCOPE_IDENTITY())</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodMag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMag" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CodCS" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescMappa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescMappa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Quantita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Quantita" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Capienza" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Capienza" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Max_X" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_X" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Max_Y" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_Y" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Max_Z" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_Z" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Max_Kg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_Kg" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT IdxMappa, CodMag, CodCS, DescMappa FROM dbo.Mappe</CommandText>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg FROM dbo.TipoCella</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[Mappe] SET [CodMag] = @CodMag, [CodCS] = @CodCS, [DescMappa] = @DescMappa WHERE (([IdxMappa] = @Original_IdxMappa) AND ([CodMag] = @Original_CodMag) AND ([CodCS] = @Original_CodCS) AND ([DescMappa] = @Original_DescMappa));
|
||||
SELECT IdxMappa, CodMag, CodCS, DescMappa FROM Mappe WHERE (IdxMappa = @IdxMappa)</CommandText>
|
||||
<CommandText>UPDATE [dbo].[TipoCella] SET [CodMag] = @CodMag, [CodCS] = @CodCS, [Quantita] = @Quantita, [Capienza] = @Capienza, [Max_X] = @Max_X, [Max_Y] = @Max_Y, [Max_Z] = @Max_Z, [Max_Kg] = @Max_Kg WHERE (([IdxTipoCella] = @Original_IdxTipoCella) AND ([CodMag] = @Original_CodMag) AND ([CodCS] = @Original_CodCS) AND ([Quantita] = @Original_Quantita) AND ([Capienza] = @Original_Capienza) AND ((@IsNull_Max_X = 1 AND [Max_X] IS NULL) OR ([Max_X] = @Original_Max_X)) AND ((@IsNull_Max_Y = 1 AND [Max_Y] IS NULL) OR ([Max_Y] = @Original_Max_Y)) AND ((@IsNull_Max_Z = 1 AND [Max_Z] IS NULL) OR ([Max_Z] = @Original_Max_Z)) AND ((@IsNull_Max_Kg = 1 AND [Max_Kg] IS NULL) OR ([Max_Kg] = @Original_Max_Kg)));
|
||||
SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg FROM TipoCella WHERE (IdxTipoCella = @IdxTipoCella)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodMag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMag" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CodCS" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescMappa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescMappa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxMappa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxMappa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Quantita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Quantita" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Capienza" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Capienza" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Max_X" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_X" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Max_Y" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_Y" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Max_Z" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_Z" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Max_Kg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_Kg" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxTipoCella" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxTipoCella" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodMag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMag" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CodCS" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CodCS" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DescMappa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescMappa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="IdxMappa" ColumnName="IdxMappa" DataSourceName="GMW.dbo.Mappe" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxMappa" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdxMappa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Quantita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Quantita" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Capienza" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Capienza" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Max_X" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Max_X" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Max_X" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_X" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Max_Y" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Max_Y" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Max_Y" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_Y" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Max_Z" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Max_Z" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Max_Z" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_Z" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Max_Kg" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Max_Kg" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Max_Kg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Max_Kg" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="IdxTipoCella" ColumnName="IdxTipoCella" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxTipoCella" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdxTipoCella" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="IdxMappa" DataSetColumn="IdxMappa" />
|
||||
<Mapping SourceColumn="IdxTipoCella" DataSetColumn="IdxTipoCella" />
|
||||
<Mapping SourceColumn="CodMag" DataSetColumn="CodMag" />
|
||||
<Mapping SourceColumn="CodCS" DataSetColumn="CodCS" />
|
||||
<Mapping SourceColumn="DescMappa" DataSetColumn="DescMappa" />
|
||||
<Mapping SourceColumn="Quantita" DataSetColumn="Quantita" />
|
||||
<Mapping SourceColumn="Capienza" DataSetColumn="Capienza" />
|
||||
<Mapping SourceColumn="Max_X" DataSetColumn="Max_X" />
|
||||
<Mapping SourceColumn="Max_Y" DataSetColumn="Max_Y" />
|
||||
<Mapping SourceColumn="Max_Z" DataSetColumn="Max_Z" />
|
||||
<Mapping SourceColumn="Max_Kg" DataSetColumn="Max_Kg" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteQuery" Modifier="Public" Name="DeleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteQuery">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>DELETE FROM [dbo].[Mappe]
|
||||
WHERE ([IdxMappa] = @Original_IdxMappa) </CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="Original_IdxMappa" ColumnName="IdxMappa" DataSourceName="GMW.dbo.Mappe" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_IdxMappa" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdxMappa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.Mappe" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCodCS" GetMethodModifier="Public" GetMethodName="getByCodCS" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCodCS" UserSourceName="getByCodCS">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT CodCS, CodMag, DescMappa, IdxMappa FROM Mappe WHERE (CodCS = @CodCS)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="CodCS" ColumnName="CodCS" DataSourceName="GMW.dbo.Mappe" DataTypeServer="nchar(2)" DbType="String" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="NChar" Scale="0" Size="2" SourceColumn="CodCS" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_mappeGetByCodMag" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCodMag" GetMethodModifier="Public" GetMethodName="getByCodMag" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCodMag" UserSourceName="getByCodMag">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_mappeGetByCodMag</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CodMag" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateQuery" Modifier="Public" Name="UpdateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="UpdateQuery">
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>UPDATE [dbo].[Mappe]
|
||||
SET [CodMag] = @CodMag, [CodCS] = @CodCS, [DescMappa] = @DescMappa
|
||||
WHERE ([IdxMappa] = @Original_IdxMappa)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="CodMag" ColumnName="CodMag" DataSourceName="GMW.dbo.Mappe" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@CodMag" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="CodMag" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="CodCS" ColumnName="CodCS" DataSourceName="GMW.dbo.Mappe" DataTypeServer="nchar(2)" DbType="String" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="NChar" Scale="0" Size="2" SourceColumn="CodCS" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="DescMappa" ColumnName="DescMappa" DataSourceName="GMW.dbo.Mappe" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@DescMappa" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="DescMappa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="Original_IdxMappa" ColumnName="IdxMappa" DataSourceName="GMW.dbo.Mappe" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_IdxMappa" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdxMappa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
@@ -987,96 +933,102 @@ WHERE ([IdxMappa] = @Original_IdxMappa)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Blocchi" msprop:Generator_UserTableName="Blocchi" msprop:Generator_RowDeletedName="BlocchiRowDeleted" msprop:Generator_RowChangedName="BlocchiRowChanged" msprop:Generator_RowClassName="BlocchiRow" msprop:Generator_RowChangingName="BlocchiRowChanging" msprop:Generator_RowEvArgName="BlocchiRowChangeEvent" msprop:Generator_RowEvHandlerName="BlocchiRowChangeEventHandler" msprop:Generator_TableClassName="BlocchiDataTable" msprop:Generator_TableVarName="tableBlocchi" msprop:Generator_RowDeletingName="BlocchiRowDeleting" msprop:Generator_TablePropName="Blocchi">
|
||||
<xs:element name="Blocchi" msprop:Generator_UserTableName="Blocchi" msprop:Generator_RowDeletedName="BlocchiRowDeleted" msprop:Generator_TableClassName="BlocchiDataTable" msprop:Generator_RowChangedName="BlocchiRowChanged" msprop:Generator_RowClassName="BlocchiRow" msprop:Generator_RowChangingName="BlocchiRowChanging" msprop:Generator_RowEvArgName="BlocchiRowChangeEvent" msprop:Generator_RowEvHandlerName="BlocchiRowChangeEventHandler" msprop:Generator_TablePropName="Blocchi" msprop:Generator_TableVarName="tableBlocchi" msprop:Generator_RowDeletingName="BlocchiRowDeleting">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxBlocco" msprop:Generator_UserColumnName="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" type="xs:int" />
|
||||
<xs:element name="IdxMappa" msprop:Generator_UserColumnName="IdxMappa" msprop:Generator_ColumnVarNameInTable="columnIdxMappa" msprop:Generator_ColumnPropNameInRow="IdxMappa" msprop:Generator_ColumnPropNameInTable="IdxMappaColumn" type="xs:int" />
|
||||
<xs:element name="CodBlocco" msprop:Generator_UserColumnName="CodBlocco" msprop:Generator_ColumnVarNameInTable="columnCodBlocco" msprop:Generator_ColumnPropNameInRow="CodBlocco" msprop:Generator_ColumnPropNameInTable="CodBloccoColumn" minOccurs="0">
|
||||
<xs:element name="IdxBlocco" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="IdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" type="xs:int" />
|
||||
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="DescBlocco" msprop:Generator_UserColumnName="DescBlocco" msprop:Generator_ColumnVarNameInTable="columnDescBlocco" msprop:Generator_ColumnPropNameInRow="DescBlocco" msprop:Generator_ColumnPropNameInTable="DescBloccoColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="NumX" msprop:Generator_UserColumnName="NumX" msprop:Generator_ColumnVarNameInTable="columnNumX" msprop:Generator_ColumnPropNameInRow="NumX" msprop:Generator_ColumnPropNameInTable="NumXColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="NumY" msprop:Generator_UserColumnName="NumY" msprop:Generator_ColumnVarNameInTable="columnNumY" msprop:Generator_ColumnPropNameInRow="NumY" msprop:Generator_ColumnPropNameInTable="NumYColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="NumZ" msprop:Generator_UserColumnName="NumZ" msprop:Generator_ColumnVarNameInTable="columnNumZ" msprop:Generator_ColumnPropNameInRow="NumZ" msprop:Generator_ColumnPropNameInTable="NumZColumn" type="xs:int" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Celle" msprop:Generator_UserTableName="Celle" msprop:Generator_RowDeletedName="CelleRowDeleted" msprop:Generator_RowChangedName="CelleRowChanged" msprop:Generator_RowClassName="CelleRow" msprop:Generator_RowChangingName="CelleRowChanging" msprop:Generator_RowEvArgName="CelleRowChangeEvent" msprop:Generator_RowEvHandlerName="CelleRowChangeEventHandler" msprop:Generator_TableClassName="CelleDataTable" msprop:Generator_TableVarName="tableCelle" msprop:Generator_RowDeletingName="CelleRowDeleting" msprop:Generator_TablePropName="Celle">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxCella" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="IdxCella" msprop:Generator_ColumnVarNameInTable="columnIdxCella" msprop:Generator_ColumnPropNameInRow="IdxCella" msprop:Generator_ColumnPropNameInTable="IdxCellaColumn" type="xs:int" />
|
||||
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
|
||||
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodCella" msprop:Generator_UserColumnName="CodCella" msprop:Generator_ColumnVarNameInTable="columnCodCella" msprop:Generator_ColumnPropNameInRow="CodCella" msprop:Generator_ColumnPropNameInTable="CodCellaColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Capacita" msprop:Generator_UserColumnName="Capacita" msprop:Generator_ColumnVarNameInTable="columnCapacita" msprop:Generator_ColumnPropNameInRow="Capacita" msprop:Generator_ColumnPropNameInTable="CapacitaColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="Descrizione" msprop:Generator_UserColumnName="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" minOccurs="0">
|
||||
<xs:element name="CodBlocco" msprop:Generator_UserColumnName="CodBlocco" msprop:Generator_ColumnPropNameInRow="CodBlocco" msprop:Generator_ColumnVarNameInTable="columnCodBlocco" msprop:Generator_ColumnPropNameInTable="CodBloccoColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="3" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="DescBlocco" msprop:Generator_UserColumnName="DescBlocco" msprop:Generator_ColumnPropNameInRow="DescBlocco" msprop:Generator_ColumnVarNameInTable="columnDescBlocco" msprop:Generator_ColumnPropNameInTable="DescBloccoColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="NumX" msprop:Generator_UserColumnName="NumX" msprop:Generator_ColumnPropNameInRow="NumX" msprop:Generator_ColumnVarNameInTable="columnNumX" msprop:Generator_ColumnPropNameInTable="NumXColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="NumY" msprop:Generator_UserColumnName="NumY" msprop:Generator_ColumnPropNameInRow="NumY" msprop:Generator_ColumnVarNameInTable="columnNumY" msprop:Generator_ColumnPropNameInTable="NumYColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="NumZ" msprop:Generator_UserColumnName="NumZ" msprop:Generator_ColumnPropNameInRow="NumZ" msprop:Generator_ColumnVarNameInTable="columnNumZ" msprop:Generator_ColumnPropNameInTable="NumZColumn" type="xs:int" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Celle2Blocchi" msprop:Generator_UserTableName="Celle2Blocchi" msprop:Generator_RowDeletedName="Celle2BlocchiRowDeleted" msprop:Generator_RowChangedName="Celle2BlocchiRowChanged" msprop:Generator_RowClassName="Celle2BlocchiRow" msprop:Generator_RowChangingName="Celle2BlocchiRowChanging" msprop:Generator_RowEvArgName="Celle2BlocchiRowChangeEvent" msprop:Generator_RowEvHandlerName="Celle2BlocchiRowChangeEventHandler" msprop:Generator_TableClassName="Celle2BlocchiDataTable" msprop:Generator_TableVarName="tableCelle2Blocchi" msprop:Generator_RowDeletingName="Celle2BlocchiRowDeleting" msprop:Generator_TablePropName="Celle2Blocchi">
|
||||
<xs:element name="Celle" msprop:Generator_UserTableName="Celle" msprop:Generator_RowDeletedName="CelleRowDeleted" msprop:Generator_TableClassName="CelleDataTable" msprop:Generator_RowChangedName="CelleRowChanged" msprop:Generator_RowClassName="CelleRow" msprop:Generator_RowChangingName="CelleRowChanging" msprop:Generator_RowEvArgName="CelleRowChangeEvent" msprop:Generator_RowEvHandlerName="CelleRowChangeEventHandler" msprop:Generator_TablePropName="Celle" msprop:Generator_TableVarName="tableCelle" msprop:Generator_RowDeletingName="CelleRowDeleting">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxBlocco" msprop:Generator_UserColumnName="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" type="xs:int" />
|
||||
<xs:element name="IdxCella" msprop:Generator_UserColumnName="IdxCella" msprop:Generator_ColumnVarNameInTable="columnIdxCella" msprop:Generator_ColumnPropNameInRow="IdxCella" msprop:Generator_ColumnPropNameInTable="IdxCellaColumn" type="xs:int" />
|
||||
<xs:element name="X" msprop:Generator_UserColumnName="X" msprop:Generator_ColumnVarNameInTable="columnX" msprop:Generator_ColumnPropNameInRow="X" msprop:Generator_ColumnPropNameInTable="XColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="Y" msprop:Generator_UserColumnName="Y" msprop:Generator_ColumnVarNameInTable="columnY" msprop:Generator_ColumnPropNameInRow="Y" msprop:Generator_ColumnPropNameInTable="YColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="Z" msprop:Generator_UserColumnName="Z" msprop:Generator_ColumnVarNameInTable="columnZ" msprop:Generator_ColumnPropNameInRow="Z" msprop:Generator_ColumnPropNameInTable="ZColumn" type="xs:int" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Mappe" msprop:Generator_UserTableName="Mappe" msprop:Generator_RowDeletedName="MappeRowDeleted" msprop:Generator_RowChangedName="MappeRowChanged" msprop:Generator_RowClassName="MappeRow" msprop:Generator_RowChangingName="MappeRowChanging" msprop:Generator_RowEvArgName="MappeRowChangeEvent" msprop:Generator_RowEvHandlerName="MappeRowChangeEventHandler" msprop:Generator_TableClassName="MappeDataTable" msprop:Generator_TableVarName="tableMappe" msprop:Generator_RowDeletingName="MappeRowDeleting" msprop:Generator_TablePropName="Mappe">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxMappa" msprop:Generator_UserColumnName="IdxMappa" msprop:Generator_ColumnVarNameInTable="columnIdxMappa" msprop:Generator_ColumnPropNameInRow="IdxMappa" msprop:Generator_ColumnPropNameInTable="IdxMappaColumn" type="xs:int" />
|
||||
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
|
||||
<xs:element name="IdxCella" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="IdxCella" msprop:Generator_ColumnPropNameInRow="IdxCella" msprop:Generator_ColumnVarNameInTable="columnIdxCella" msprop:Generator_ColumnPropNameInTable="IdxCellaColumn" type="xs:int" />
|
||||
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="DescMappa" msprop:Generator_UserColumnName="DescMappa" msprop:Generator_ColumnVarNameInTable="columnDescMappa" msprop:Generator_ColumnPropNameInRow="DescMappa" msprop:Generator_ColumnPropNameInTable="DescMappaColumn">
|
||||
<xs:element name="CodCella" msprop:Generator_UserColumnName="CodCella" msprop:Generator_ColumnPropNameInRow="CodCella" msprop:Generator_ColumnVarNameInTable="columnCodCella" msprop:Generator_ColumnPropNameInTable="CodCellaColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="IdxTipoCella" msprop:Generator_UserColumnName="IdxTipoCella" msprop:Generator_ColumnPropNameInRow="IdxTipoCella" msprop:Generator_ColumnVarNameInTable="columnIdxTipoCella" msprop:Generator_ColumnPropNameInTable="IdxTipoCellaColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="Descrizione" msprop:Generator_UserColumnName="Descrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Attiva" msprop:Generator_UserColumnName="Attiva" msprop:Generator_ColumnPropNameInRow="Attiva" msprop:Generator_ColumnVarNameInTable="columnAttiva" msprop:Generator_ColumnPropNameInTable="AttivaColumn" type="xs:boolean" minOccurs="0" />
|
||||
<xs:element name="IdxBlocco" msprop:Generator_UserColumnName="IdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="X" msprop:Generator_UserColumnName="X" msprop:Generator_ColumnPropNameInRow="X" msprop:Generator_ColumnVarNameInTable="columnX" msprop:Generator_ColumnPropNameInTable="XColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="Y" msprop:Generator_UserColumnName="Y" msprop:Generator_ColumnPropNameInRow="Y" msprop:Generator_ColumnVarNameInTable="columnY" msprop:Generator_ColumnPropNameInTable="YColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="Z" msprop:Generator_UserColumnName="Z" msprop:Generator_ColumnPropNameInRow="Z" msprop:Generator_ColumnVarNameInTable="columnZ" msprop:Generator_ColumnPropNameInTable="ZColumn" type="xs:int" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="TipoCella" msprop:Generator_UserTableName="TipoCella" msprop:Generator_RowDeletedName="TipoCellaRowDeleted" msprop:Generator_TableClassName="TipoCellaDataTable" msprop:Generator_RowChangedName="TipoCellaRowChanged" msprop:Generator_RowClassName="TipoCellaRow" msprop:Generator_RowChangingName="TipoCellaRowChanging" msprop:Generator_RowEvArgName="TipoCellaRowChangeEvent" msprop:Generator_RowEvHandlerName="TipoCellaRowChangeEventHandler" msprop:Generator_TablePropName="TipoCella" msprop:Generator_TableVarName="tableTipoCella" msprop:Generator_RowDeletingName="TipoCellaRowDeleting">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxTipoCella" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="IdxTipoCella" msprop:Generator_ColumnPropNameInRow="IdxTipoCella" msprop:Generator_ColumnVarNameInTable="columnIdxTipoCella" msprop:Generator_ColumnPropNameInTable="IdxTipoCellaColumn" type="xs:int" />
|
||||
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Quantita" msprop:Generator_UserColumnName="Quantita" msprop:Generator_ColumnPropNameInRow="Quantita" msprop:Generator_ColumnVarNameInTable="columnQuantita" msprop:Generator_ColumnPropNameInTable="QuantitaColumn" type="xs:int" />
|
||||
<xs:element name="Capienza" msprop:Generator_UserColumnName="Capienza" msprop:Generator_ColumnPropNameInRow="Capienza" msprop:Generator_ColumnVarNameInTable="columnCapienza" msprop:Generator_ColumnPropNameInTable="CapienzaColumn" type="xs:int" />
|
||||
<xs:element name="Max_X" msprop:Generator_UserColumnName="Max_X" msprop:Generator_ColumnPropNameInRow="Max_X" msprop:Generator_ColumnVarNameInTable="columnMax_X" msprop:Generator_ColumnPropNameInTable="Max_XColumn" type="xs:double" minOccurs="0" />
|
||||
<xs:element name="Max_Y" msprop:Generator_UserColumnName="Max_Y" msprop:Generator_ColumnPropNameInRow="Max_Y" msprop:Generator_ColumnVarNameInTable="columnMax_Y" msprop:Generator_ColumnPropNameInTable="Max_YColumn" type="xs:double" minOccurs="0" />
|
||||
<xs:element name="Max_Z" msprop:Generator_UserColumnName="Max_Z" msprop:Generator_ColumnPropNameInRow="Max_Z" msprop:Generator_ColumnVarNameInTable="columnMax_Z" msprop:Generator_ColumnPropNameInTable="Max_ZColumn" type="xs:double" minOccurs="0" />
|
||||
<xs:element name="Max_Kg" msprop:Generator_UserColumnName="Max_Kg" msprop:Generator_ColumnPropNameInRow="Max_Kg" msprop:Generator_ColumnVarNameInTable="columnMax_Kg" msprop:Generator_ColumnPropNameInTable="Max_KgColumn" type="xs:double" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
@@ -1108,25 +1060,19 @@ WHERE ([IdxMappa] = @Original_IdxMappa)</CommandText>
|
||||
<xs:selector xpath=".//mstns:Celle" />
|
||||
<xs:field xpath="mstns:IdxCella" />
|
||||
</xs:unique>
|
||||
<xs:unique name="Celle2Blocchi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:Celle2Blocchi" />
|
||||
<xs:field xpath="mstns:IdxBlocco" />
|
||||
<xs:field xpath="mstns:IdxCella" />
|
||||
</xs:unique>
|
||||
<xs:unique name="Mappe_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:Mappe" />
|
||||
<xs:field xpath="mstns:IdxMappa" />
|
||||
<xs:unique name="TipoCella_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:TipoCella" />
|
||||
<xs:field xpath="mstns:IdxTipoCella" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_PosizioneUdcCorrente_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="PosizioneUdcCorrente" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserRelationName="FK_PosizioneUdcCorrente_ElencoCartellini" msprop:Generator_RelationVarName="relationFK_PosizioneUdcCorrente_ElencoCartellini" msprop:Generator_UserChildTable="PosizioneUdcCorrente" msprop:Generator_UserParentTable="ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" msprop:Generator_ChildPropName="GetPosizioneUdcCorrenteRows" />
|
||||
<msdata:Relationship name="FK_PosizioneUdcStorico_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="PosizioneUdcStorico" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserRelationName="FK_PosizioneUdcStorico_ElencoCartellini" msprop:Generator_RelationVarName="relationFK_PosizioneUdcStorico_ElencoCartellini" msprop:Generator_UserChildTable="PosizioneUdcStorico" msprop:Generator_UserParentTable="ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" msprop:Generator_ChildPropName="GetPosizioneUdcStoricoRows" />
|
||||
<msdata:Relationship name="FK_Blocchi_AnagMag" msdata:parent="AnagMag" msdata:child="Blocchi" msdata:parentkey="CodMag CodCS" msdata:childkey="CodMag CodCS" msprop:Generator_UserRelationName="FK_Blocchi_AnagMag" msprop:Generator_RelationVarName="relationFK_Blocchi_AnagMag" msprop:Generator_UserChildTable="Blocchi" msprop:Generator_UserParentTable="AnagMag" msprop:Generator_ParentPropName="AnagMagRowParent" msprop:Generator_ChildPropName="GetBlocchiRows" />
|
||||
<msdata:Relationship name="FK_PosizioneUdcCorrente_Celle" msdata:parent="Celle" msdata:child="PosizioneUdcCorrente" msdata:parentkey="IdxCella" msdata:childkey="IdxCella" msprop:Generator_UserRelationName="FK_PosizioneUdcCorrente_Celle" msprop:Generator_RelationVarName="relationFK_PosizioneUdcCorrente_Celle" msprop:Generator_UserChildTable="PosizioneUdcCorrente" msprop:Generator_UserParentTable="Celle" msprop:Generator_ParentPropName="CelleRow" msprop:Generator_ChildPropName="GetPosizioneUdcCorrenteRows" />
|
||||
<msdata:Relationship name="FK_Celle2Blocchi_Blocchi" msdata:parent="Blocchi" msdata:child="Celle2Blocchi" msdata:parentkey="IdxBlocco" msdata:childkey="IdxBlocco" msprop:Generator_UserRelationName="FK_Celle2Blocchi_Blocchi" msprop:Generator_RelationVarName="relationFK_Celle2Blocchi_Blocchi" msprop:Generator_UserChildTable="Celle2Blocchi" msprop:Generator_UserParentTable="Blocchi" msprop:Generator_ParentPropName="BlocchiRow" msprop:Generator_ChildPropName="GetCelle2BlocchiRows" />
|
||||
<msdata:Relationship name="FK_Celle2Blocchi_Celle" msdata:parent="Celle" msdata:child="Celle2Blocchi" msdata:parentkey="IdxCella" msdata:childkey="IdxCella" msprop:Generator_UserRelationName="FK_Celle2Blocchi_Celle" msprop:Generator_RelationVarName="relationFK_Celle2Blocchi_Celle" msprop:Generator_UserChildTable="Celle2Blocchi" msprop:Generator_UserParentTable="Celle" msprop:Generator_ParentPropName="CelleRow" msprop:Generator_ChildPropName="GetCelle2BlocchiRows" />
|
||||
<msdata:Relationship name="FK_Blocchi_Mappe" msdata:parent="Mappe" msdata:child="Blocchi" msdata:parentkey="IdxMappa" msdata:childkey="IdxMappa" msprop:Generator_UserRelationName="FK_Blocchi_Mappe" msprop:Generator_RelationVarName="relationFK_Blocchi_Mappe" msprop:Generator_UserChildTable="Blocchi" msprop:Generator_UserParentTable="Mappe" msprop:Generator_ParentPropName="MappeRow" msprop:Generator_ChildPropName="GetBlocchiRows" />
|
||||
<msdata:Relationship name="FK_Mappe_AnagMag" msdata:parent="AnagMag" msdata:child="Mappe" msdata:parentkey="CodMag CodCS" msdata:childkey="CodMag CodCS" msprop:Generator_UserRelationName="FK_Mappe_AnagMag" msprop:Generator_RelationVarName="relationFK_Mappe_AnagMag" msprop:Generator_UserChildTable="Mappe" msprop:Generator_UserParentTable="AnagMag" msprop:Generator_ParentPropName="AnagMagRowParent" msprop:Generator_ChildPropName="GetMappeRows" />
|
||||
<msdata:Relationship name="FK_Celle_Blocchi1" msdata:parent="Blocchi" msdata:child="Celle" msdata:parentkey="IdxBlocco" msdata:childkey="IdxBlocco" msprop:Generator_UserRelationName="FK_Celle_Blocchi1" msprop:Generator_RelationVarName="relationFK_Celle_Blocchi1" msprop:Generator_UserChildTable="Celle" msprop:Generator_UserParentTable="Blocchi" msprop:Generator_ParentPropName="BlocchiRow" msprop:Generator_ChildPropName="GetCelleRows" />
|
||||
<msdata:Relationship name="FK_TipoCella_AnagMag" msdata:parent="AnagMag" msdata:child="TipoCella" msdata:parentkey="CodMag CodCS" msdata:childkey="CodMag CodCS" msprop:Generator_UserRelationName="FK_TipoCella_AnagMag" msprop:Generator_RelationVarName="relationFK_TipoCella_AnagMag" msprop:Generator_UserChildTable="TipoCella" msprop:Generator_UserParentTable="AnagMag" msprop:Generator_ParentPropName="AnagMagRowParent" msprop:Generator_ChildPropName="GetTipoCellaRows" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
@@ -6,17 +6,16 @@
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:ElencoCartellini" ZOrder="15" X="68" Y="333" Height="419" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
|
||||
<Shape ID="DesignTable:AnagMag" ZOrder="14" X="86" Y="72" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="13" X="375" Y="565" Height="153" Width="273" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:PosizioneUdcStorico" ZOrder="11" X="387" Y="322" Height="172" Width="263" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Blocchi" ZOrder="9" X="828" Y="8" Height="229" Width="208" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:Celle" ZOrder="8" X="825" Y="550" Height="172" Width="172" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Celle2Blocchi" ZOrder="6" X="806" Y="279" Height="172" Width="221" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Mappe" ZOrder="1" X="469" Y="44" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:ElencoCartellini" ZOrder="13" X="68" Y="333" Height="419" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
|
||||
<Shape ID="DesignTable:AnagMag" ZOrder="12" X="962" Y="372" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="11" X="375" Y="565" Height="153" Width="273" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:PosizioneUdcStorico" ZOrder="9" X="387" Y="322" Height="172" Width="263" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Blocchi" ZOrder="7" X="1014" Y="649" Height="229" Width="186" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:Celle" ZOrder="5" X="723" Y="561" Height="267" Width="172" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:TipoCella" ZOrder="2" X="1009" Y="40" Height="248" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="12" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="10" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>302</X>
|
||||
@@ -28,7 +27,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcStorico_ElencoCartellini" ZOrder="10" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcStorico_ElencoCartellini" ZOrder="8" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>302</X>
|
||||
@@ -40,63 +39,51 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_Celle" ZOrder="7" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Blocchi_AnagMag" ZOrder="6" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>825</X>
|
||||
<Y>633</Y>
|
||||
<X>1116</X>
|
||||
<Y>582</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>1116</X>
|
||||
<Y>649</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_Celle" ZOrder="4" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>723</X>
|
||||
<Y>598</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>648</X>
|
||||
<Y>633</Y>
|
||||
<Y>598</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Celle2Blocchi_Blocchi" ZOrder="5" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Celle_Blocchi1" ZOrder="3" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>901</X>
|
||||
<Y>237</Y>
|
||||
<X>1014</X>
|
||||
<Y>738</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>901</X>
|
||||
<Y>279</Y>
|
||||
<X>895</X>
|
||||
<Y>738</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Celle2Blocchi_Celle" ZOrder="4" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_TipoCella_AnagMag" ZOrder="1" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>911</X>
|
||||
<Y>550</Y>
|
||||
<X>1108</X>
|
||||
<Y>372</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>911</X>
|
||||
<Y>451</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Blocchi_Mappe" ZOrder="3" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>769</X>
|
||||
<Y>76</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>828</X>
|
||||
<Y>76</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Mappe_AnagMag" ZOrder="2" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>386</X>
|
||||
<Y>81</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>469</X>
|
||||
<Y>81</Y>
|
||||
<X>1108</X>
|
||||
<Y>288</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
|
||||
@@ -14,7 +14,6 @@ namespace GMW_data
|
||||
#region area table adapters
|
||||
|
||||
public DS_magazzinoTableAdapters.AnagMagTableAdapter taAnagMag;
|
||||
public DS_magazzinoTableAdapters.MappeTableAdapter taMappe;
|
||||
public DS_magazzinoTableAdapters.BlocchiTableAdapter taBlocchi;
|
||||
public DS_magazzinoTableAdapters.CelleTableAdapter taCelle;
|
||||
public DS_magazzinoTableAdapters.ElencoCartelliniTableAdapter taCartellini;
|
||||
@@ -28,7 +27,6 @@ namespace GMW_data
|
||||
protected void initTA()
|
||||
{
|
||||
taAnagMag = new GMW_data.DS_magazzinoTableAdapters.AnagMagTableAdapter();
|
||||
taMappe = new GMW_data.DS_magazzinoTableAdapters.MappeTableAdapter();
|
||||
taBlocchi = new GMW_data.DS_magazzinoTableAdapters.BlocchiTableAdapter();
|
||||
taCelle = new GMW_data.DS_magazzinoTableAdapters.CelleTableAdapter();
|
||||
taCartellini = new GMW_data.DS_magazzinoTableAdapters.ElencoCartelliniTableAdapter();
|
||||
@@ -42,7 +40,6 @@ namespace GMW_data
|
||||
{
|
||||
// connections del db
|
||||
taAnagMag.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taMappe.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taBlocchi.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taCelle.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taCartellini.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user