fix editabilità dati quando chiusa selezione UDC NC
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,7 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_assegnaNC.ascx.cs" Inherits="GMW.WebUserControls.mod_assegnaNC" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_selPeriodo.ascx" TagPrefix="uc1" TagName="mod_selPeriodo" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_righePag.ascx" TagPrefix="uc1" TagName="mod_righePag" %>
|
||||
|
||||
|
||||
<div class="row text-center" style="margin: 5px;">
|
||||
<div class="col-xs-5">
|
||||
@@ -18,6 +20,16 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<div class="col-xs-12" style="padding: 2px 0px;">
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="lbSaveSel" Visible="false" CssClass="btn btn-warning" OnClick="lbSaveSel_Click" Width="20em"><i class="fa fa-check fa-2x"></i> <%: traduci("btnSaveSelUdc") %></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" ID="lbCancel" Visible="false" CssClass="btn btn-danger" OnClick="lbCancel_Click" Width="20em"><i class="fa fa-close fa-2x"></i> <%: traduci("btnCancel") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="lbConfermaNC" Visible="false" CssClass="btn btn-default" OnClick="lbConfermaNC_Click" Width="20em"><i class="fa fa-bookmark fa-2x"></i> <%: traduci("btnConfermaNC") %></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" ID="lbPrint" Visible="false" CssClass="btn btn-default" OnClick="lbPrint_Click" Width="20em"><i class="fa fa-print fa-2x"></i> <%: traduci("btnRistampaNC") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<asp:GridView runat="server" ID="grView" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="UDC" Width="100%" AllowPaging="True">
|
||||
<RowStyle CssClass="ctrRowStyle" />
|
||||
@@ -34,11 +46,11 @@
|
||||
<Columns>
|
||||
<asp:TemplateField ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="chkSelect" runat="server" Checked='<%# Convert.ToBoolean(Eval("IsSelected")) %>' AutoPostBack="true" OnCheckedChanged="chkSelect_CheckedChanged" />
|
||||
<asp:CheckBox ID="chkSelect" runat="server" Checked='<%# Convert.ToBoolean(Eval("IsSelected")) %>' AutoPostBack="true" OnCheckedChanged="chkSelect_CheckedChanged" Enabled='<%# editEnabled %>' />
|
||||
</ItemTemplate>
|
||||
<HeaderTemplate>
|
||||
<asp:CheckBox ID="btnSelAll" runat="server" Checked="false" ToolTip='<%# traduci("btnSelAll") %>'
|
||||
OnCheckedChanged="btnSelAll_Click" CssClass="ctrHeaderPager" AutoPostBack="true"></asp:CheckBox>
|
||||
OnCheckedChanged="btnSelAll_Click" CssClass="ctrHeaderPager" AutoPostBack="true" Enabled='<%# editEnabled %>'></asp:CheckBox>
|
||||
</HeaderTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
@@ -71,9 +83,7 @@
|
||||
<asp:SessionParameter Name="idxNc" SessionField="idxNcSel" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="col-xs-offset-4 col-xs-4">
|
||||
<asp:LinkButton runat="server" ID="lbSaveSel" Visible="false" CssClass="btn btn-default" OnClick="lbSaveSel_Click"><i class="fa fa-check fa-2x"></i> <%: traduci("btnSaveSelUdc") %></asp:LinkButton>
|
||||
<uc1:mod_righePag runat="server" ID="mod_righePag" />
|
||||
</div>
|
||||
</div>
|
||||
a questo punto
|
||||
|
||||
@@ -11,13 +11,26 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
public partial class mod_assegnaNC : System.Web.UI.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// caricamento pagina!
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
mod_selPeriodo.eh_doUpdate += mod_selPeriodo_eh_doUpdate;
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
mod_righePag.numRowPag = memLayer.ML.CRI("_righeDataGridShort");
|
||||
grView.PageSize = mod_righePag.numRowPag;
|
||||
fixSelections();
|
||||
}
|
||||
mod_righePag.eh_newNum += mod_righePag_eh_newNum;
|
||||
}
|
||||
|
||||
void mod_righePag_eh_newNum(object sender, EventArgs e)
|
||||
{
|
||||
grView.PageSize = mod_righePag.numRowPag;
|
||||
}
|
||||
/// <summary>
|
||||
/// sistema selezione da valori db della NC corrente
|
||||
@@ -39,12 +52,35 @@ namespace GMW.WebUserControls
|
||||
intervallo.fine = riga.DataTo;
|
||||
mod_selPeriodo.intervalloAnalisi = intervallo;
|
||||
mod_selPeriodo.doUpdate(false);
|
||||
// salvo editabilità della NC corrente...
|
||||
editEnabled = !riga.IsCompl;
|
||||
// imposto controlli selezione (abilitati o meno)
|
||||
mod_selPeriodo.editEnabled = editEnabled;
|
||||
ddlSelTipo.Enabled = editEnabled;
|
||||
txtSearch.Enabled = editEnabled;
|
||||
// definisco visibilità buttons completa/stampa in base a stato chiusura
|
||||
lbConfermaNC.Visible = editEnabled;
|
||||
lbPrint.Visible = !editEnabled;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// verifica se edit della NC sia permesso, controllando lo stato da DB (SE NON in sessione)
|
||||
/// </summary>
|
||||
public bool editEnabled
|
||||
{
|
||||
get
|
||||
{
|
||||
return memLayer.ML.BoolSessionObj(string.Format("NC_{0}", idxNcSel));
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal(string.Format("NC_{0}", idxNcSel), value);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// RicercaSel
|
||||
/// </summary>
|
||||
public string NoteNC
|
||||
@@ -79,6 +115,7 @@ namespace GMW.WebUserControls
|
||||
|
||||
public void doUpdate()
|
||||
{
|
||||
lbSave.Visible = false;
|
||||
// aggiorna selezione effettuata (numero records, ...)
|
||||
fixSelections();
|
||||
}
|
||||
@@ -118,7 +155,16 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
((CheckBox)riga.FindControl("chkSelect")).Checked = isChecked;
|
||||
}
|
||||
lbSaveSel.Visible = true;
|
||||
fixShowSalvaSel(true);
|
||||
}
|
||||
/// <summary>
|
||||
/// sistemo visualizzazione salvataggio selezioni/cancel...
|
||||
/// </summary>
|
||||
/// <param name="btnSave"></param>
|
||||
private void fixShowSalvaSel(bool btnSave)
|
||||
{
|
||||
lbSaveSel.Visible = btnSave;
|
||||
lbCancel.Visible = btnSave;
|
||||
}
|
||||
/// <summary>
|
||||
/// salva nuovo filtraggio
|
||||
@@ -130,7 +176,7 @@ namespace GMW.WebUserControls
|
||||
salvaFilt();
|
||||
}
|
||||
/// <summary>
|
||||
/// salva nelenco selezioni UDC
|
||||
/// salva elenco selezioni UDC
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
@@ -150,7 +196,54 @@ namespace GMW.WebUserControls
|
||||
}
|
||||
}
|
||||
grView.DataBind();
|
||||
lbSaveSel.Visible = false;
|
||||
fixShowSalvaSel(false);
|
||||
}
|
||||
/// <summary>
|
||||
/// annulla modifiche selezione
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
fixShowSalvaSel(false);
|
||||
}
|
||||
/// <summary>
|
||||
/// salva e CONGELA la NC
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbConfermaNC_Click(object sender, EventArgs e)
|
||||
{
|
||||
DataProxy.obj.taENC.updCompleta(idxNcSel, true);
|
||||
fixSelections();
|
||||
grView.DataBind();
|
||||
}
|
||||
/// <summary>
|
||||
/// (ri)stampa la NC
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbPrint_Click(object sender, EventArgs e)
|
||||
{
|
||||
#if false
|
||||
// ciclo grView e salvo le righe selezionate, e cancello le EVENTUALI deselezionate
|
||||
DateTime start;
|
||||
foreach (GridViewRow riga in grView.Rows)
|
||||
{
|
||||
if (((CheckBox)riga.FindControl("chkSelect")).Visible)
|
||||
{
|
||||
start = DateTime.Now;
|
||||
// recupero codice UDC...
|
||||
string UDC = ((Label)riga.FindControl("lblUDC")).Text;
|
||||
// chiamo toggle selezione...
|
||||
DataProxy.obj.taUDC2NC.toggleSel(idxNcSel, UDC, ((CheckBox)riga.FindControl("chkSelect")).Checked);
|
||||
}
|
||||
}
|
||||
grView.DataBind();
|
||||
fixShowSalvaSel(false);
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// salvo il nuovo filtraggio...
|
||||
@@ -171,7 +264,7 @@ namespace GMW.WebUserControls
|
||||
protected void chkSelect_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
// mostro pulsante salvataggio...
|
||||
lbSaveSel.Visible = true;
|
||||
fixShowSalvaSel(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
+38
-2
@@ -66,6 +66,42 @@ namespace GMW.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbSave;
|
||||
|
||||
/// <summary>
|
||||
/// lbSaveSel 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.LinkButton lbSaveSel;
|
||||
|
||||
/// <summary>
|
||||
/// lbCancel 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.LinkButton lbCancel;
|
||||
|
||||
/// <summary>
|
||||
/// lbConfermaNC 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.LinkButton lbConfermaNC;
|
||||
|
||||
/// <summary>
|
||||
/// lbPrint 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.LinkButton lbPrint;
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
@@ -85,12 +121,12 @@ namespace GMW.WebUserControls {
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// lbSaveSel control.
|
||||
/// mod_righePag 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.LinkButton lbSaveSel;
|
||||
protected global::GMW.WebUserControls.mod_righePag mod_righePag;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CssClass="fa fa-search fa-2x" />
|
||||
|
||||
<asp:LinkButton ID="lbEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Edit" CssClass="fa fa-edit fa-2x" />
|
||||
<asp:LinkButton ID="lbEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Edit" CssClass="fa fa-edit fa-2x" Visible='<%# editEnabNC(Eval("idxNC")) %>' />
|
||||
</ItemTemplate>
|
||||
<HeaderTemplate>
|
||||
<div style="text-align: center; margin: auto;">
|
||||
|
||||
@@ -41,6 +41,25 @@ namespace GMW.WebUserControls
|
||||
grView.PageSize = mod_righePag.numRowPag;
|
||||
}
|
||||
/// <summary>
|
||||
/// verifica se edit della NC sia permesso, controllando lo stato da DB (SE NON in sessione)
|
||||
/// </summary>
|
||||
/// <param name="_idxNC"></param>
|
||||
/// <returns></returns>
|
||||
public bool editEnabNC(object _idxNC)
|
||||
{
|
||||
int idxNC = 0;
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
idxNC = Convert.ToInt32(_idxNC);
|
||||
DS_Applicazione.ElencoNCRow riga = DataProxy.obj.taENC.getByKey(idxNC)[0];
|
||||
answ = !riga.IsCompl;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
/// <summary>
|
||||
/// idxNC selezionato
|
||||
/// </summary>
|
||||
public int idxNcSel
|
||||
@@ -65,7 +84,7 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
try
|
||||
{
|
||||
int idxNC=Convert.ToInt32(grView.SelectedDataKey["IdxNC"]);
|
||||
int idxNC = Convert.ToInt32(grView.SelectedDataKey["IdxNC"]);
|
||||
DS_Applicazione.ElencoNCRow riga = DataProxy.obj.taENC.getByKey(idxNC)[0];
|
||||
lblSel.Text = string.Format("[{3}] Cod: {0} - {1} ({2:yyyy/MM/dd HH:mm})", riga.CodNC, riga.DescrNC, riga.DtCreaz, riga.IdxNC);
|
||||
}
|
||||
|
||||
@@ -300,6 +300,24 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
ddlSelPeriodo.SelectedIndex = 0;
|
||||
}
|
||||
/// <summary>
|
||||
/// imposta editabilità controllo
|
||||
/// </summary>
|
||||
public bool editEnabled
|
||||
{
|
||||
get
|
||||
{
|
||||
return ddlSelPeriodo.Enabled;
|
||||
}
|
||||
set
|
||||
{
|
||||
txtInizio.Enabled = value;
|
||||
txtFine.Enabled = value;
|
||||
ddlOraInizio.Enabled = value;
|
||||
ddlOraFine.Enabled = value;
|
||||
ddlSelPeriodo.Enabled = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region gestione eventi
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Generated
+81
-28
@@ -8881,6 +8881,8 @@ namespace GMW_data {
|
||||
|
||||
private global::System.Data.DataColumn columnDtCreaz;
|
||||
|
||||
private global::System.Data.DataColumn columnIsCompl;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public ElencoNCDataTable() {
|
||||
@@ -8978,6 +8980,14 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn IsComplColumn {
|
||||
get {
|
||||
return this.columnIsCompl;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -9015,7 +9025,7 @@ namespace GMW_data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public ElencoNCRow AddElencoNCRow(string CodNC, string DescrNC, string TipoCart, System.DateTime DataFrom, System.DateTime DataTo, string SearchNote, System.DateTime DtCreaz) {
|
||||
public ElencoNCRow AddElencoNCRow(string CodNC, string DescrNC, string TipoCart, System.DateTime DataFrom, System.DateTime DataTo, string SearchNote, System.DateTime DtCreaz, bool IsCompl) {
|
||||
ElencoNCRow rowElencoNCRow = ((ElencoNCRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -9025,7 +9035,8 @@ namespace GMW_data {
|
||||
DataFrom,
|
||||
DataTo,
|
||||
SearchNote,
|
||||
DtCreaz};
|
||||
DtCreaz,
|
||||
IsCompl};
|
||||
rowElencoNCRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowElencoNCRow);
|
||||
return rowElencoNCRow;
|
||||
@@ -9063,6 +9074,7 @@ namespace GMW_data {
|
||||
this.columnDataTo = base.Columns["DataTo"];
|
||||
this.columnSearchNote = base.Columns["SearchNote"];
|
||||
this.columnDtCreaz = base.Columns["DtCreaz"];
|
||||
this.columnIsCompl = base.Columns["IsCompl"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -9084,6 +9096,8 @@ namespace GMW_data {
|
||||
base.Columns.Add(this.columnSearchNote);
|
||||
this.columnDtCreaz = new global::System.Data.DataColumn("DtCreaz", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnDtCreaz);
|
||||
this.columnIsCompl = new global::System.Data.DataColumn("IsCompl", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnIsCompl);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnIdxNC}, true));
|
||||
this.columnIdxNC.AutoIncrement = true;
|
||||
@@ -9101,6 +9115,7 @@ namespace GMW_data {
|
||||
this.columnSearchNote.AllowDBNull = false;
|
||||
this.columnSearchNote.MaxLength = 50;
|
||||
this.columnDtCreaz.AllowDBNull = false;
|
||||
this.columnIsCompl.AllowDBNull = false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -14549,6 +14564,17 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsCompl {
|
||||
get {
|
||||
return ((bool)(this[this.tableElencoNC.IsComplColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableElencoNC.IsComplColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsDataFromNull() {
|
||||
@@ -25648,10 +25674,11 @@ SELECT codPostazione, stampante, note, FormatoDtmx FROM ElencoPostazioni WHERE (
|
||||
tableMapping.ColumnMappings.Add("DataTo", "DataTo");
|
||||
tableMapping.ColumnMappings.Add("SearchNote", "SearchNote");
|
||||
tableMapping.ColumnMappings.Add("DtCreaz", "DtCreaz");
|
||||
tableMapping.ColumnMappings.Add("IsCompl", "IsCompl");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.DeleteCommand.Connection = this.Connection;
|
||||
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [ElencoNC] WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz))";
|
||||
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [ElencoNC] WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz) AND ([IsCompl] = @Original_IsCompl))";
|
||||
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxNC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxNC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodNC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodNC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
@@ -25663,10 +25690,11 @@ SELECT codPostazione, stampante, note, FormatoDtmx FROM ElencoPostazioni WHERE (
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataTo", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataTo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SearchNote", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SearchNote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DtCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IsCompl", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IsCompl", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.InsertCommand.Connection = this.Connection;
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO [ElencoNC] ([CodNC], [DescrNC], [TipoCart], [DataFrom], [DataTo], [SearchNote], [DtCreaz]) VALUES (@CodNC, @DescrNC, @TipoCart, @DataFrom, @DataTo, @SearchNote, @DtCreaz);
|
||||
SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FROM ElencoNC WHERE (IdxNC = SCOPE_IDENTITY())";
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO [ElencoNC] ([CodNC], [DescrNC], [TipoCart], [DataFrom], [DataTo], [SearchNote], [DtCreaz], [IsCompl]) VALUES (@CodNC, @DescrNC, @TipoCart, @DataFrom, @DataTo, @SearchNote, @DtCreaz, @IsCompl);
|
||||
SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, IsCompl FROM ElencoNC WHERE (IdxNC = SCOPE_IDENTITY())";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodNC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodNC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrNC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrNC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -25675,10 +25703,11 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataTo", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataTo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SearchNote", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SearchNote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DtCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsCompl", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IsCompl", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.UpdateCommand.Connection = this.Connection;
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE [ElencoNC] SET [CodNC] = @CodNC, [DescrNC] = @DescrNC, [TipoCart] = @TipoCart, [DataFrom] = @DataFrom, [DataTo] = @DataTo, [SearchNote] = @SearchNote, [DtCreaz] = @DtCreaz WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz));
|
||||
SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FROM ElencoNC WHERE (IdxNC = @IdxNC)";
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE [ElencoNC] SET [CodNC] = @CodNC, [DescrNC] = @DescrNC, [TipoCart] = @TipoCart, [DataFrom] = @DataFrom, [DataTo] = @DataTo, [SearchNote] = @SearchNote, [DtCreaz] = @DtCreaz, [IsCompl] = @IsCompl WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz) AND ([IsCompl] = @Original_IsCompl));
|
||||
SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, IsCompl FROM ElencoNC WHERE (IdxNC = @IdxNC)";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodNC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodNC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrNC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrNC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -25687,6 +25716,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataTo", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataTo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SearchNote", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SearchNote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DtCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsCompl", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IsCompl", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxNC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxNC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodNC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodNC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrNC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrNC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
@@ -25697,6 +25727,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataTo", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataTo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SearchNote", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SearchNote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DtCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IsCompl", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IsCompl", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxNC", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxNC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
@@ -25713,8 +25744,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[9];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FRO" +
|
||||
"M ElencoNC";
|
||||
this._commandCollection[0].CommandText = "SELECT *\r\nFROM ElencoNC";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[1].Connection = this.Connection;
|
||||
@@ -25877,7 +25907,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
||||
public virtual int Delete(int Original_IdxNC, string Original_CodNC, string Original_DescrNC, string Original_TipoCart, global::System.Nullable<global::System.DateTime> Original_DataFrom, global::System.Nullable<global::System.DateTime> Original_DataTo, string Original_SearchNote, System.DateTime Original_DtCreaz) {
|
||||
public virtual int Delete(int Original_IdxNC, string Original_CodNC, string Original_DescrNC, string Original_TipoCart, global::System.Nullable<global::System.DateTime> Original_DataFrom, global::System.Nullable<global::System.DateTime> Original_DataTo, string Original_SearchNote, System.DateTime Original_DtCreaz, bool Original_IsCompl) {
|
||||
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxNC));
|
||||
if ((Original_CodNC == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodNC");
|
||||
@@ -25920,6 +25950,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_SearchNote));
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[9].Value = ((System.DateTime)(Original_DtCreaz));
|
||||
this.Adapter.DeleteCommand.Parameters[10].Value = ((bool)(Original_IsCompl));
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
||||
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -25940,7 +25971,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
||||
public virtual int Insert(string CodNC, string DescrNC, string TipoCart, global::System.Nullable<global::System.DateTime> DataFrom, global::System.Nullable<global::System.DateTime> DataTo, string SearchNote, System.DateTime DtCreaz) {
|
||||
public virtual int Insert(string CodNC, string DescrNC, string TipoCart, global::System.Nullable<global::System.DateTime> DataFrom, global::System.Nullable<global::System.DateTime> DataTo, string SearchNote, System.DateTime DtCreaz, bool IsCompl) {
|
||||
if ((CodNC == null)) {
|
||||
throw new global::System.ArgumentNullException("CodNC");
|
||||
}
|
||||
@@ -25978,6 +26009,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(SearchNote));
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(DtCreaz));
|
||||
this.Adapter.InsertCommand.Parameters[7].Value = ((bool)(IsCompl));
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
||||
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -26006,6 +26038,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
global::System.Nullable<global::System.DateTime> DataTo,
|
||||
string SearchNote,
|
||||
System.DateTime DtCreaz,
|
||||
bool IsCompl,
|
||||
int Original_IdxNC,
|
||||
string Original_CodNC,
|
||||
string Original_DescrNC,
|
||||
@@ -26014,6 +26047,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
global::System.Nullable<global::System.DateTime> Original_DataTo,
|
||||
string Original_SearchNote,
|
||||
System.DateTime Original_DtCreaz,
|
||||
bool Original_IsCompl,
|
||||
int IdxNC) {
|
||||
if ((CodNC == null)) {
|
||||
throw new global::System.ArgumentNullException("CodNC");
|
||||
@@ -26052,49 +26086,51 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(SearchNote));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(DtCreaz));
|
||||
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_IdxNC));
|
||||
this.Adapter.UpdateCommand.Parameters[7].Value = ((bool)(IsCompl));
|
||||
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_IdxNC));
|
||||
if ((Original_CodNC == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodNC");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodNC));
|
||||
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodNC));
|
||||
}
|
||||
if ((Original_DescrNC == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_DescrNC");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_DescrNC));
|
||||
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_DescrNC));
|
||||
}
|
||||
if ((Original_TipoCart == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_TipoCart");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_TipoCart));
|
||||
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_TipoCart));
|
||||
}
|
||||
if ((Original_DataFrom.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(Original_DataFrom.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Original_DataFrom.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_DataTo.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[14].Value = ((System.DateTime)(Original_DataTo.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(Original_DataTo.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_SearchNote == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_SearchNote");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_SearchNote));
|
||||
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_SearchNote));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[16].Value = ((System.DateTime)(Original_DtCreaz));
|
||||
this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(IdxNC));
|
||||
this.Adapter.UpdateCommand.Parameters[17].Value = ((System.DateTime)(Original_DtCreaz));
|
||||
this.Adapter.UpdateCommand.Parameters[18].Value = ((bool)(Original_IsCompl));
|
||||
this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(IdxNC));
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
||||
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -26115,8 +26151,25 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
||||
public virtual int Update(string CodNC, string DescrNC, string TipoCart, global::System.Nullable<global::System.DateTime> DataFrom, global::System.Nullable<global::System.DateTime> DataTo, string SearchNote, System.DateTime DtCreaz, int Original_IdxNC, string Original_CodNC, string Original_DescrNC, string Original_TipoCart, global::System.Nullable<global::System.DateTime> Original_DataFrom, global::System.Nullable<global::System.DateTime> Original_DataTo, string Original_SearchNote, System.DateTime Original_DtCreaz) {
|
||||
return this.Update(CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, Original_IdxNC, Original_CodNC, Original_DescrNC, Original_TipoCart, Original_DataFrom, Original_DataTo, Original_SearchNote, Original_DtCreaz, Original_IdxNC);
|
||||
public virtual int Update(
|
||||
string CodNC,
|
||||
string DescrNC,
|
||||
string TipoCart,
|
||||
global::System.Nullable<global::System.DateTime> DataFrom,
|
||||
global::System.Nullable<global::System.DateTime> DataTo,
|
||||
string SearchNote,
|
||||
System.DateTime DtCreaz,
|
||||
bool IsCompl,
|
||||
int Original_IdxNC,
|
||||
string Original_CodNC,
|
||||
string Original_DescrNC,
|
||||
string Original_TipoCart,
|
||||
global::System.Nullable<global::System.DateTime> Original_DataFrom,
|
||||
global::System.Nullable<global::System.DateTime> Original_DataTo,
|
||||
string Original_SearchNote,
|
||||
System.DateTime Original_DtCreaz,
|
||||
bool Original_IsCompl) {
|
||||
return this.Update(CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, IsCompl, Original_IdxNC, Original_CodNC, Original_DescrNC, Original_TipoCart, Original_DataFrom, Original_DataTo, Original_SearchNote, Original_DtCreaz, Original_IsCompl, Original_IdxNC);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
|
||||
@@ -1814,7 +1814,7 @@ SELECT codPostazione, stampante, note, FormatoDtmx FROM ElencoPostazioni WHERE (
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.ElencoNC" 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [ElencoNC] WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz))</CommandText>
|
||||
<CommandText>DELETE FROM [ElencoNC] WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz) AND ([IsCompl] = @Original_IsCompl))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxNC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxNC" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodNC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodNC" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
@@ -1826,13 +1826,14 @@ SELECT codPostazione, stampante, note, FormatoDtmx FROM ElencoPostazioni WHERE (
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataTo" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataTo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SearchNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SearchNote" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtCreaz" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtCreaz" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsCompl" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsCompl" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [ElencoNC] ([CodNC], [DescrNC], [TipoCart], [DataFrom], [DataTo], [SearchNote], [DtCreaz]) VALUES (@CodNC, @DescrNC, @TipoCart, @DataFrom, @DataTo, @SearchNote, @DtCreaz);
|
||||
SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FROM ElencoNC WHERE (IdxNC = SCOPE_IDENTITY())</CommandText>
|
||||
<CommandText>INSERT INTO [ElencoNC] ([CodNC], [DescrNC], [TipoCart], [DataFrom], [DataTo], [SearchNote], [DtCreaz], [IsCompl]) VALUES (@CodNC, @DescrNC, @TipoCart, @DataFrom, @DataTo, @SearchNote, @DtCreaz, @IsCompl);
|
||||
SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, IsCompl FROM ElencoNC WHERE (IdxNC = SCOPE_IDENTITY())</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodNC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodNC" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescrNC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescrNC" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -1841,19 +1842,21 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataTo" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataTo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SearchNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SearchNote" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtCreaz" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtCreaz" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsCompl" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsCompl" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FROM ElencoNC</CommandText>
|
||||
<CommandText>SELECT *
|
||||
FROM ElencoNC</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [ElencoNC] SET [CodNC] = @CodNC, [DescrNC] = @DescrNC, [TipoCart] = @TipoCart, [DataFrom] = @DataFrom, [DataTo] = @DataTo, [SearchNote] = @SearchNote, [DtCreaz] = @DtCreaz WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz));
|
||||
SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FROM ElencoNC WHERE (IdxNC = @IdxNC)</CommandText>
|
||||
<CommandText>UPDATE [ElencoNC] SET [CodNC] = @CodNC, [DescrNC] = @DescrNC, [TipoCart] = @TipoCart, [DataFrom] = @DataFrom, [DataTo] = @DataTo, [SearchNote] = @SearchNote, [DtCreaz] = @DtCreaz, [IsCompl] = @IsCompl WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz) AND ([IsCompl] = @Original_IsCompl));
|
||||
SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, IsCompl FROM ElencoNC WHERE (IdxNC = @IdxNC)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodNC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodNC" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescrNC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescrNC" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -1862,6 +1865,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataTo" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataTo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SearchNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SearchNote" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtCreaz" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtCreaz" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsCompl" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsCompl" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxNC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxNC" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodNC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodNC" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DescrNC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescrNC" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
@@ -1872,6 +1876,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataTo" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataTo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SearchNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SearchNote" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtCreaz" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtCreaz" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsCompl" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsCompl" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="IdxNC" ColumnName="IdxNC" DataSourceName="TK_GMW.dbo.ElencoNC" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxNC" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdxNC" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
@@ -1887,6 +1892,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
<Mapping SourceColumn="DataTo" DataSetColumn="DataTo" />
|
||||
<Mapping SourceColumn="SearchNote" DataSetColumn="SearchNote" />
|
||||
<Mapping SourceColumn="DtCreaz" DataSetColumn="DtCreaz" />
|
||||
<Mapping SourceColumn="IsCompl" DataSetColumn="IsCompl" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
|
||||
@@ -1957,7 +1963,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_ENC_updCompleta" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updCompleta" Modifier="Public" Name="updCompleta" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="updCompleta">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_ENC_updCompleta" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updCompleta" Modifier="Public" Name="updCompleta" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="updCompleta">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ENC_updCompleta</CommandText>
|
||||
@@ -1969,7 +1975,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_ENC_updFilt" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updFilt" Modifier="Public" Name="updFilt" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="updFilt">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_ENC_updFilt" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updFilt" Modifier="Public" Name="updFilt" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="updFilt">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ENC_updFilt</CommandText>
|
||||
@@ -1984,7 +1990,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_ENC_updNome" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updNome" Modifier="Public" Name="updNome" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="updNome">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_ENC_updNome" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updNome" Modifier="Public" Name="updNome" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="updNome">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ENC_updNome</CommandText>
|
||||
@@ -3226,7 +3232,7 @@ FROM v_UDC_NC</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ElencoNC" msprop:Generator_TableClassName="ElencoNCDataTable" msprop:Generator_TableVarName="tableElencoNC" msprop:Generator_TablePropName="ElencoNC" msprop:Generator_RowDeletingName="ElencoNCRowDeleting" msprop:Generator_RowChangingName="ElencoNCRowChanging" msprop:Generator_RowEvHandlerName="ElencoNCRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoNCRowDeleted" msprop:Generator_UserTableName="ElencoNC" msprop:Generator_RowChangedName="ElencoNCRowChanged" msprop:Generator_RowEvArgName="ElencoNCRowChangeEvent" msprop:Generator_RowClassName="ElencoNCRow">
|
||||
<xs:element name="ElencoNC" msprop:Generator_TableClassName="ElencoNCDataTable" msprop:Generator_TableVarName="tableElencoNC" msprop:Generator_RowChangedName="ElencoNCRowChanged" msprop:Generator_TablePropName="ElencoNC" msprop:Generator_RowDeletingName="ElencoNCRowDeleting" msprop:Generator_RowChangingName="ElencoNCRowChanging" msprop:Generator_RowEvHandlerName="ElencoNCRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoNCRowDeleted" msprop:Generator_RowClassName="ElencoNCRow" msprop:Generator_UserTableName="ElencoNC" msprop:Generator_RowEvArgName="ElencoNCRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxNC" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxNC" msprop:Generator_ColumnPropNameInRow="IdxNC" msprop:Generator_ColumnPropNameInTable="IdxNCColumn" msprop:Generator_UserColumnName="IdxNC" type="xs:int" />
|
||||
@@ -3261,10 +3267,11 @@ FROM v_UDC_NC</CommandText>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="DtCreaz" msprop:Generator_ColumnVarNameInTable="columnDtCreaz" msprop:Generator_ColumnPropNameInRow="DtCreaz" msprop:Generator_ColumnPropNameInTable="DtCreazColumn" msprop:Generator_UserColumnName="DtCreaz" type="xs:dateTime" />
|
||||
<xs:element name="IsCompl" msprop:Generator_ColumnVarNameInTable="columnIsCompl" msprop:Generator_ColumnPropNameInRow="IsCompl" msprop:Generator_ColumnPropNameInTable="IsComplColumn" msprop:Generator_UserColumnName="IsCompl" type="xs:boolean" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="UDC_NC" msprop:Generator_TableClassName="UDC_NCDataTable" msprop:Generator_TableVarName="tableUDC_NC" msprop:Generator_RowChangedName="UDC_NCRowChanged" msprop:Generator_TablePropName="UDC_NC" msprop:Generator_RowDeletingName="UDC_NCRowDeleting" msprop:Generator_RowChangingName="UDC_NCRowChanging" msprop:Generator_RowEvHandlerName="UDC_NCRowChangeEventHandler" msprop:Generator_RowDeletedName="UDC_NCRowDeleted" msprop:Generator_RowClassName="UDC_NCRow" msprop:Generator_UserTableName="UDC_NC" msprop:Generator_RowEvArgName="UDC_NCRowChangeEvent">
|
||||
<xs:element name="UDC_NC" msprop:Generator_TableClassName="UDC_NCDataTable" msprop:Generator_TableVarName="tableUDC_NC" msprop:Generator_TablePropName="UDC_NC" msprop:Generator_RowDeletingName="UDC_NCRowDeleting" msprop:Generator_RowChangingName="UDC_NCRowChanging" msprop:Generator_RowEvHandlerName="UDC_NCRowChangeEventHandler" msprop:Generator_RowDeletedName="UDC_NCRowDeleted" msprop:Generator_UserTableName="UDC_NC" msprop:Generator_RowChangedName="UDC_NCRowChanged" msprop:Generator_RowEvArgName="UDC_NCRowChangeEvent" msprop:Generator_RowClassName="UDC_NCRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnPropNameInTable="UDCColumn" msprop:Generator_UserColumnName="UDC">
|
||||
@@ -3409,12 +3416,12 @@ FROM v_UDC_NC</CommandText>
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_AnagImpianti_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagImpianti" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagImpianti" msprop:Generator_ChildPropName="GetAnagImpiantiRows" msprop:Generator_UserRelationName="FK_AnagImpianti_AnagCompanySito" msprop:Generator_RelationVarName="relationFK_AnagImpianti_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" />
|
||||
<msdata:Relationship name="FK_ElencoCartellini_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="ElencoCartellini" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagCompanySito" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" />
|
||||
<msdata:Relationship name="FK_ElencoCartellini_AnagStatiProdotto" msdata:parent="AnagStatiProdotto" msdata:child="ElencoCartellini" msdata:parentkey="CodStato" msdata:childkey="CodStato" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagStatiProdotto" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagStatiProdotto" msprop:Generator_UserParentTable="AnagStatiProdotto" msprop:Generator_ParentPropName="AnagStatiProdottoRow" />
|
||||
<msdata:Relationship name="FK_AnagOperatori_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagOperatori" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagOperatori" msprop:Generator_ChildPropName="GetAnagOperatoriRows" msprop:Generator_UserRelationName="FK_AnagOperatori_AnagCompanySito" msprop:Generator_RelationVarName="relationFK_AnagOperatori_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" />
|
||||
<msdata:Relationship name="FK_AnagParticolari_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagParticolari" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagParticolari" msprop:Generator_ChildPropName="GetAnagParticolariRows" msprop:Generator_UserRelationName="FK_AnagParticolari_AnagCompanySito" msprop:Generator_RelationVarName="relationFK_AnagParticolari_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" />
|
||||
<msdata:Relationship name="FK_Soggetti2Utente_AnagOperatori" msdata:parent="AnagOperatori" msdata:child="Soggetti2Utente" msdata:parentkey="CodSoggetto" msdata:childkey="CodSoggetto" msprop:Generator_UserChildTable="Soggetti2Utente" msprop:Generator_ChildPropName="GetSoggetti2UtenteRows" msprop:Generator_UserRelationName="FK_Soggetti2Utente_AnagOperatori" msprop:Generator_RelationVarName="relationFK_Soggetti2Utente_AnagOperatori" msprop:Generator_UserParentTable="AnagOperatori" msprop:Generator_ParentPropName="AnagOperatoriRow" />
|
||||
<msdata:Relationship name="FK_AnagImpianti_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagImpianti" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagImpianti" msprop:Generator_ChildPropName="GetAnagImpiantiRows" msprop:Generator_UserRelationName="FK_AnagImpianti_AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" msprop:Generator_RelationVarName="relationFK_AnagImpianti_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" />
|
||||
<msdata:Relationship name="FK_ElencoCartellini_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="ElencoCartellini" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" />
|
||||
<msdata:Relationship name="FK_ElencoCartellini_AnagStatiProdotto" msdata:parent="AnagStatiProdotto" msdata:child="ElencoCartellini" msdata:parentkey="CodStato" msdata:childkey="CodStato" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagStatiProdotto" msprop:Generator_ParentPropName="AnagStatiProdottoRow" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagStatiProdotto" msprop:Generator_UserParentTable="AnagStatiProdotto" />
|
||||
<msdata:Relationship name="FK_AnagOperatori_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagOperatori" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagOperatori" msprop:Generator_ChildPropName="GetAnagOperatoriRows" msprop:Generator_UserRelationName="FK_AnagOperatori_AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" msprop:Generator_RelationVarName="relationFK_AnagOperatori_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" />
|
||||
<msdata:Relationship name="FK_AnagParticolari_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagParticolari" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagParticolari" msprop:Generator_ChildPropName="GetAnagParticolariRows" msprop:Generator_UserRelationName="FK_AnagParticolari_AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" msprop:Generator_RelationVarName="relationFK_AnagParticolari_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" />
|
||||
<msdata:Relationship name="FK_Soggetti2Utente_AnagOperatori" msdata:parent="AnagOperatori" msdata:child="Soggetti2Utente" msdata:parentkey="CodSoggetto" msdata:childkey="CodSoggetto" msprop:Generator_UserChildTable="Soggetti2Utente" msprop:Generator_ChildPropName="GetSoggetti2UtenteRows" msprop:Generator_UserRelationName="FK_Soggetti2Utente_AnagOperatori" msprop:Generator_ParentPropName="AnagOperatoriRow" msprop:Generator_RelationVarName="relationFK_Soggetti2Utente_AnagOperatori" msprop:Generator_UserParentTable="AnagOperatori" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
@@ -4,7 +4,7 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</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="628" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="484" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:AnagStati" ZOrder="28" X="867" Y="533" Height="115" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagTipoDichiaraz" ZOrder="14" X="828" Y="719" Height="115" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
@@ -26,7 +26,7 @@
|
||||
<Shape ID="DesignTable:stp_prtCartLiquidiF10ByUDC" ZOrder="9" X="289" Y="22" Height="148" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="80" />
|
||||
<Shape ID="DesignTable:stp_prtCartLiquidiF18ByUDC" ZOrder="8" X="291" Y="196" Height="147" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="79" />
|
||||
<Shape ID="DesignTable:v_RapQualNote" ZOrder="6" X="85" Y="1082" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:ElencoNC" ZOrder="2" X="809" Y="901" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:ElencoNC" ZOrder="2" X="809" Y="901" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:UDC_NC" ZOrder="1" X="446" Y="1130" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
|
||||
Reference in New Issue
Block a user