aggiunta visualizzazione della richiesta email + btn x aggiungere emailReq...

This commit is contained in:
Samuele Locatelli
2017-03-15 17:59:30 +01:00
parent 75a2969436
commit f796fd2365
8 changed files with 221 additions and 41 deletions
+64 -17
View File
@@ -30,7 +30,9 @@
<span style="float: right;">
<asp:LinkButton ID="btnShowNew" runat="server" OnClick="btnShowNew_Click" CssClass="styleBtnComposito" CausesValidation="false">
<asp:Label ID="lblReset" runat="server" Text="..." />
</asp:LinkButton></span></div><div class="col-xs-12">
</asp:LinkButton></span>
</div>
<div class="col-xs-12">
<asp:Panel ID="pnlNew" runat="server" Visible="false" BackColor="#CCCCFF">
<table>
<tr>
@@ -67,7 +69,9 @@
</td>
<td>
<asp:TextBox ID="txtDataDDT" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="rfvDataDDT" runat="server" ErrorMessage="!!!" ControlToValidate="txtDataDDT" />
<asp:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDataDDT" Format="dd/MM/yyyy"></asp:CalendarExtender></td><td colspan="2">
<asp:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDataDDT" Format="dd/MM/yyyy"></asp:CalendarExtender>
</td>
<td colspan="2">
<asp:Label ID="lblEmailNotifica" runat="server" />
<asp:CheckBox runat="server" ID="chkReqEmail" Checked="false" />
</td>
@@ -89,11 +93,21 @@
<asp:Label runat="server" ID="lblDataPrev" Text="..." /><br />
<asp:TextBox ID="txtDueDate" runat="server" Text="..." Width="6em" Font-Size="18pt" />
<asp:RequiredFieldValidator ID="rfvDueDate" runat="server" ErrorMessage="!!!" ControlToValidate="txtDueDate" />
<asp:CalendarExtender ID="ce_DueDate" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDueDate" Format="dd/MM/yyyy"></asp:CalendarExtender><asp:DropDownList runat="server" ID="ddlOra">
<asp:ListItem Value="9">09:00</asp:ListItem><asp:ListItem Value="14">14:00</asp:ListItem></asp:DropDownList></div><div style="text-align: center;">
<asp:CalendarExtender ID="ce_DueDate" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDueDate" Format="dd/MM/yyyy"></asp:CalendarExtender>
<asp:DropDownList runat="server" ID="ddlOra">
<asp:ListItem Value="9">09:00</asp:ListItem>
<asp:ListItem Value="14">14:00</asp:ListItem>
</asp:DropDownList>
</div>
<div style="text-align: center;">
<asp:Button ID="btnOk" runat="server" Width="100px" OnClick="btnOk_Click" />
&nbsp;&nbsp; <asp:Button ID="btnCancel" runat="server" Width="100px" OnClick="btnCancel_Click" />
<asp:ConfirmButtonExtender ID="cbeOkDueDate" runat="server" ConfirmText="..." TargetControlID="btnOk"></asp:ConfirmButtonExtender></div></div></asp:Panel><asp:Panel ID="pnlCambiaStato" Visible="false" runat="server">
&nbsp;&nbsp;
<asp:Button ID="btnCancel" runat="server" Width="100px" OnClick="btnCancel_Click" />
<asp:ConfirmButtonExtender ID="cbeOkDueDate" runat="server" ConfirmText="..." TargetControlID="btnOk"></asp:ConfirmButtonExtender>
</div>
</div>
</asp:Panel>
<asp:Panel ID="pnlCambiaStato" Visible="false" runat="server">
<div class="notaMargine">
<div style="text-align: center;">
<asp:Label runat="server" ID="lblImpostaStato" Text="..." /><br />
@@ -108,8 +122,13 @@
</div>
<div style="text-align: center;">
<asp:Button ID="btnOkStati" runat="server" Width="100px" OnClick="btnOkStati_Click" />
&nbsp;&nbsp; <asp:Button ID="btnCancelStati" runat="server" Width="100px" OnClick="btnCancelStati_Click" />
<asp:ConfirmButtonExtender ID="cbeOkStati" runat="server" ConfirmText="..." TargetControlID="btnOkStati"></asp:ConfirmButtonExtender></div></div></asp:Panel><asp:Panel ID="pnlLogStati" Visible="false" runat="server">
&nbsp;&nbsp;
<asp:Button ID="btnCancelStati" runat="server" Width="100px" OnClick="btnCancelStati_Click" />
<asp:ConfirmButtonExtender ID="cbeOkStati" runat="server" ConfirmText="..." TargetControlID="btnOkStati"></asp:ConfirmButtonExtender>
</div>
</div>
</asp:Panel>
<asp:Panel ID="pnlLogStati" Visible="false" runat="server">
<uc2:mod_logStati ID="mod_logStati1" runat="server" />
</asp:Panel>
</div>
@@ -133,10 +152,19 @@
<asp:LinkButton ID="btnReset" runat="server" OnClick="btnReset_Click" CssClass="styleBtnComposito" Visible="false">
<i class="fa fa-refresh fa-2x" aria-hidden="true"></i>
<asp:Label ID="lblReset" runat="server" Text='<%# traduci("Reset") %>' />
</asp:LinkButton></HeaderTemplate><ItemTemplate>
</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<div style="white-space: nowrap;">
<asp:LinkButton runat="server" ID="lbSelect" CssClass="btn btn-xs btn-default iconBluGreen" CausesValidation="False" CommandName="Select" ToolTip='<%# traduci("Select") %>'><i class="fa fa-search fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbSetStato" CssClass="btn btn-xs btn-default iconBluRed" CausesValidation="False" CommandName="Select" OnClick="lbSetStato_Click" ToolTip='<%# traduci("setStatoObjXps")%>' Visible='<%# isSetStatoVisible(Eval("CodStato")) %>'><i class="fa fa-magic fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbEdit" CssClass="btn btn-xs btn-default iconBluRed" CausesValidation="False" CommandName="Edit" ToolTip='<%# traduci("Edit") %>' Visible='<%# isEditVisible(Eval("CodStato")) %>'><i class="fa fa-pencil fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbAccetta" CssClass="btn btn-xs btn-default iconBluRed" CausesValidation="False" CommandName="Update" OnClick="lbAccetta_Click" ToolTip='<%# traduci("AccettaObjXps")%>' Visible='<%# isAccettVisible(Eval("CodStato")) %>'><i class="fa fa-check fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeAccetta" runat="server" ConfirmText='<%# traduci("confermaAccettaObjXps")%>' TargetControlID="lbAccetta"></asp:ConfirmButtonExtender><asp:LinkButton runat="server" ID="lbSchedulaTutto" CssClass="btn btn-xs btn-default iconBluRed" CausesValidation="False" CommandName="Select" OnClick="lbSchedulaTutto_Click" ToolTip='<%# traduci("SchedulaObjXps")%>' Visible='<%# isSchedulaVisible(Eval("CodStato")) %>'><i class="fa fa-pencil-square fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbFattura" CssClass="btn btn-xs btn-default iconRedBlu" CausesValidation="False" CommandName="Update" OnClick="lbFattura_Click" ToolTip='<%# traduci("FatturaObjXps")%>' Visible='<%# isFatturaVisible(Eval("CodStato")) %>'><i class="fa fa-file-text-o fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeSchedula" runat="server" ConfirmText='<%# traduci("confermaFatturaObjXps")%>' TargetControlID="lbFattura"></asp:ConfirmButtonExtender></div></ItemTemplate><EditItemTemplate>
<asp:LinkButton runat="server" ID="lbUpdate" CssClass="btn btn-xs btn-default iconGreenBlu" CausesValidation="False" CommandName="Update" ToolTip='<%# traduci("Update") %>'><i class="fa fa-check fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbCancel" CssClass="btn btn-xs btn-default iconOrangeRed" CausesValidation="False" CommandName="Cancel" ToolTip='<%# traduci("Cancel") %>'><i class="fa fa-ban fa-2x" aria-hidden="true"></i></asp:LinkButton></EditItemTemplate></asp:TemplateField><asp:TemplateField HeaderText="Cliente" SortExpression="Cliente">
<asp:LinkButton runat="server" ID="lbSelect" CssClass="btn btn-xs btn-default iconBluGreen" CausesValidation="False" CommandName="Select" ToolTip='<%# traduci("Select") %>'><i class="fa fa-search fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbSetStato" CssClass="btn btn-xs btn-default iconBluRed" CausesValidation="False" CommandName="Select" OnClick="lbSetStato_Click" ToolTip='<%# traduci("setStatoObjXps")%>' Visible='<%# isSetStatoVisible(Eval("CodStato")) %>'><i class="fa fa-magic fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbEdit" CssClass="btn btn-xs btn-default iconBluRed" CausesValidation="False" CommandName="Edit" ToolTip='<%# traduci("Edit") %>' Visible='<%# isEditVisible(Eval("CodStato")) %>'><i class="fa fa-pencil fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbAccetta" CssClass="btn btn-xs btn-default iconBluRed" CausesValidation="False" CommandName="Update" OnClick="lbAccetta_Click" ToolTip='<%# traduci("AccettaObjXps")%>' Visible='<%# isAccettVisible(Eval("CodStato")) %>'><i class="fa fa-check fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeAccetta" runat="server" ConfirmText='<%# traduci("confermaAccettaObjXps")%>' TargetControlID="lbAccetta"></asp:ConfirmButtonExtender>
<asp:LinkButton runat="server" ID="lbSchedulaTutto" CssClass="btn btn-xs btn-default iconBluRed" CausesValidation="False" CommandName="Select" OnClick="lbSchedulaTutto_Click" ToolTip='<%# traduci("SchedulaObjXps")%>' Visible='<%# isSchedulaVisible(Eval("CodStato")) %>'><i class="fa fa-pencil-square fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbFattura" CssClass="btn btn-xs btn-default iconRedBlu" CausesValidation="False" CommandName="Update" OnClick="lbFattura_Click" ToolTip='<%# traduci("FatturaObjXps")%>' Visible='<%# isFatturaVisible(Eval("CodStato")) %>'><i class="fa fa-file-text-o fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeSchedula" runat="server" ConfirmText='<%# traduci("confermaFatturaObjXps")%>' TargetControlID="lbFattura"></asp:ConfirmButtonExtender>
</div>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton runat="server" ID="lbUpdate" CssClass="btn btn-xs btn-default iconGreenBlu" CausesValidation="False" CommandName="Update" ToolTip='<%# traduci("Update") %>'><i class="fa fa-check fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbCancel" CssClass="btn btn-xs btn-default iconOrangeRed" CausesValidation="False" CommandName="Cancel" ToolTip='<%# traduci("Cancel") %>'><i class="fa fa-ban fa-2x" aria-hidden="true"></i></asp:LinkButton>
</EditItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Cliente" SortExpression="Cliente">
<EditItemTemplate>
<asp:DropDownList runat="server" ID="ddlCodCliente" DataSourceID="odsFiltroClienti" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("CodCliente") %>' Width="20em" />
</EditItemTemplate>
@@ -144,6 +172,13 @@
<asp:Label ID="lblCodCliente" runat="server" Text='<%# Eval("Cliente") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="email" SortExpression="email" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<span class="btn btn-xs btn-default iconBlackRed">
<i runat="server" id="imgEmailReq" visible='<%# Eval("emailReq") %>' class="fa fa-2x fa-envelope"></i>
<asp:LinkButton runat="server" visible='<%# !Convert.ToBoolean(Eval("emailReq")) %>' ID="lbAddEmailReq" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("addEmailReq") %>' OnClick="lbAddEmailReq_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaAddEmail") %>'><i class="fa fa-plus-square-o fa-2x" aria-hidden="true"></i></asp:LinkButton></span>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="DDT" SortExpression="DDT">
<ItemTemplate>
<b>
@@ -152,14 +187,22 @@
<asp:Label ID="lblDataDDT" runat="server" Text='<%# Eval("DataDDT", "{0:dd/MM/yy}") %>' />
</ItemTemplate>
<EditItemTemplate>
num: <asp:TextBox ID="txtNumDDT" runat="server" Text='<%# Bind("DDT") %>' Width="5em" />
num:
<asp:TextBox ID="txtNumDDT" runat="server" Text='<%# Bind("DDT") %>' Width="5em" />
<br />
del: <asp:TextBox ID="txtDataDDT" runat="server" Text='<%# Bind("DataDDT", "{0:dd/MM/yy}") %>' Width="6em" />
del:
<asp:TextBox ID="txtDataDDT" runat="server" Text='<%# Bind("DataDDT", "{0:dd/MM/yy}") %>' Width="6em" />
<asp:RequiredFieldValidator ID="rfvDataDDT" runat="server" ErrorMessage="!!!" ControlToValidate="txtDataDDT" />
<asp:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDataDDT" Format="dd/MM/yyyy"></asp:CalendarExtender></EditItemTemplate></asp:TemplateField><asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<asp:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDataDDT" Format="dd/MM/yyyy"></asp:CalendarExtender>
</EditItemTemplate>
</asp:TemplateField>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<span class="btn btn-xs btn-default iconBlackRed">
<asp:LinkButton runat="server" ID="lbPrintScheda" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("stampaBarcode") %>' OnClick="lbPrintScheda_Click"><i class="fa fa-barcode fa-2x" aria-hidden="true"></i></asp:LinkButton></span></ItemTemplate></asp:TemplateField><asp:TemplateField HeaderText="Ciclo" SortExpression="Ciclo">
<asp:LinkButton runat="server" ID="lbPrintScheda" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("stampaBarcode") %>' OnClick="lbPrintScheda_Click"><i class="fa fa-barcode fa-2x" aria-hidden="true"></i></asp:LinkButton></span>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Ciclo" SortExpression="Ciclo">
<EditItemTemplate>
<asp:DropDownList runat="server" ID="ddlCiclo" DataSourceID="odsValLav" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("Ciclo") %>' />
</EditItemTemplate>
@@ -172,7 +215,9 @@
<div class="clearDiv" style="white-space: nowrap; margin: 0 0.2em; min-width: 10em;">
<div class="divSx">
<span class="btn btn-xs btn-default iconBluRed">
<asp:LinkButton runat="server" ID="lbMostrLogStati" CausesValidation="False" CommandName="Select" OnClick="lbMostraLogStati_Click" ToolTip='<%# traduci("MostraLogStati")%>'><i class="fa fa-history fa-2x" aria-hidden="true"></i></asp:LinkButton></span></div><div class="divDx">
<asp:LinkButton runat="server" ID="lbMostrLogStati" CausesValidation="False" CommandName="Select" OnClick="lbMostraLogStati_Click" ToolTip='<%# traduci("MostraLogStati")%>'><i class="fa fa-history fa-2x" aria-hidden="true"></i></asp:LinkButton></span>
</div>
<div class="divDx">
<asp:Image runat="server" ID="imgSemaforo" Visible='<%# isSemaforoVisibile(Eval("minCodStato"),Eval("maxCodStato")) %>' ImageUrl='<%# immagineDaStato(Eval("minCodStato"),Eval("maxCodStato")) %>' ToolTip='<%# toolTipDaStato(Eval("minCodStato"),Eval("maxCodStato")) %>' />
</div>
<div style="padding: 0 0.1em;">
@@ -203,7 +248,9 @@
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
<asp:LinkButton runat="server" ID="lbDelete" CssClass="btn btn-xs btn-default iconRedBlu" CausesValidation="False" CommandName="Delete" ToolTip='<%# traduci("Delete") %>' Visible='<%# userCanDel(Eval("CodStato")) %>'><i class="fa fa-trash fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeDelete" runat="server" ConfirmText='<%# traduci("confermaDel")%>' TargetControlID="lbDelete"></asp:ConfirmButtonExtender></ItemTemplate><EditItemTemplate>
<asp:LinkButton runat="server" ID="lbDelete" CssClass="btn btn-xs btn-default iconRedBlu" CausesValidation="False" CommandName="Delete" ToolTip='<%# traduci("Delete") %>' Visible='<%# userCanDel(Eval("CodStato")) %>'><i class="fa fa-trash fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeDelete" runat="server" ConfirmText='<%# traduci("confermaDel")%>' TargetControlID="lbDelete"></asp:ConfirmButtonExtender>
</ItemTemplate>
<EditItemTemplate>
</EditItemTemplate>
</asp:TemplateField>
</Columns>
@@ -773,6 +773,20 @@ namespace XPS.WebUserControls
// stampo!
reportPrinter.obj.printReport(reportRichiesto.Barcode, memLayer.ML.confReadString("printerBarcode"), lnkBtn.CommandArgument);
}
/// <summary>
/// aggiungo richeista email!
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbAddEmailReq_Click(object sender, EventArgs e)
{
LinkButton lnkBtn = (LinkButton)sender;
// registro richiesta email...
XPS_data.XPS.obj.taObj.updEmailReq(true, user_std.UtSn.utente, DateTime.Now, lnkBtn.CommandArgument);
// update!
grView.DataBind();
}
/// <summary>
/// fix ricerche in cambio pagina
/// </summary>
+6 -3
View File
@@ -10,14 +10,17 @@
<div class="navbar-header">
<ul class="nav navbar-nav navbar-left">
<li class='navbarSep'>
<asp:HyperLink runat="server" ID="hlHome" NavigateUrl="~/" CssClass="navbar-brand" ToolTip='<%# SteamWare.memLayer.ML.confReadString("titleApp") %>'> <i class="fa fa-home fa-lg"></i></asp:HyperLink>
<asp:LinkButton runat="server" ID="lbnUpdate" Text="---" OnClick="lbnUpdate_Click" ToolTip="Update">
<i class="fa fa-home fa-lg"></i>
</asp:LinkButton>
<%--<asp:HyperLink runat="server" ID="hlHome" NavigateUrl="~/" CssClass="navbar-brand" ToolTip='<%# SteamWare.memLayer.ML.confReadString("titleApp") %>'> <i class="fa fa-home fa-lg"></i></asp:HyperLink>--%>
</li>
<%--<li class="active">
<asp:LinkButton runat="server" ID="lbnUpdate" Text="---" OnClick="lbnUpdate_Click" ToolTip="Update">
<%: nomePag %>
<i class="fa-lg <%: cssIconPag %>"></i>
</asp:LinkButton></li>--%>
<li>
</asp:LinkButton></li>
<li>--%>
<asp:LinkButton runat="server" ID="lbnUpdate2">
</asp:LinkButton>
</li>
+2 -2
View File
@@ -35,8 +35,8 @@ namespace XPS.WebUserControls
PagCorrente();
updateTreeMenu();
}
// fix componenti
hlHome.DataBind();
//// fix componenti
//hlHome.DataBind();
}
}
+2 -2
View File
@@ -31,13 +31,13 @@ namespace XPS.WebUserControls {
protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference2;
/// <summary>
/// hlHome control.
/// lbnUpdate 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.HyperLink hlHome;
protected global::System.Web.UI.WebControls.LinkButton lbnUpdate;
/// <summary>
/// lbnUpdate2 control.
+108 -9
View File
@@ -1737,6 +1737,8 @@ namespace XPS_data {
private global::System.Data.DataColumn columnmaxCodStato;
private global::System.Data.DataColumn columnemailReq;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public v_commesseDataTable() {
@@ -1930,6 +1932,14 @@ namespace XPS_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn emailReqColumn {
get {
return this.columnemailReq;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -1987,7 +1997,8 @@ namespace XPS_data {
string minStato,
string maxStato,
string minCodStato,
string maxCodStato) {
string maxCodStato,
bool emailReq) {
v_commesseRow rowv_commesseRow = ((v_commesseRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
Cod,
@@ -2009,7 +2020,8 @@ namespace XPS_data {
minStato,
maxStato,
minCodStato,
maxCodStato};
maxCodStato,
emailReq};
rowv_commesseRow.ItemArray = columnValuesArray;
this.Rows.Add(rowv_commesseRow);
return rowv_commesseRow;
@@ -2059,6 +2071,7 @@ namespace XPS_data {
this.columnmaxStato = base.Columns["maxStato"];
this.columnminCodStato = base.Columns["minCodStato"];
this.columnmaxCodStato = base.Columns["maxCodStato"];
this.columnemailReq = base.Columns["emailReq"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2104,6 +2117,8 @@ namespace XPS_data {
base.Columns.Add(this.columnminCodStato);
this.columnmaxCodStato = new global::System.Data.DataColumn("maxCodStato", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnmaxCodStato);
this.columnemailReq = new global::System.Data.DataColumn("emailReq", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnemailReq);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnCod}, true));
this.columnCod.AllowDBNull = false;
@@ -6999,6 +7014,22 @@ namespace XPS_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool emailReq {
get {
try {
return ((bool)(this[this.tablev_commesse.emailReqColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'emailReq\' in table \'v_commesse\' is DBNull.", e);
}
}
set {
this[this.tablev_commesse.emailReqColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsStatoNull() {
@@ -7226,6 +7257,18 @@ namespace XPS_data {
public void SetmaxCodStatoNull() {
this[this.tablev_commesse.maxCodStatoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsemailReqNull() {
return this.IsNull(this.tablev_commesse.emailReqColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetemailReqNull() {
this[this.tablev_commesse.emailReqColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -12122,6 +12165,7 @@ SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodT
tableMapping.ColumnMappings.Add("maxStato", "maxStato");
tableMapping.ColumnMappings.Add("minCodStato", "minCodStato");
tableMapping.ColumnMappings.Add("maxCodStato", "maxCodStato");
tableMapping.ColumnMappings.Add("emailReq", "emailReq");
this._adapter.TableMappings.Add(tableMapping);
}
@@ -12129,7 +12173,7 @@ SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodT
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString;
this._connection.ConnectionString = global::XPS_data.Properties.Settings.Default.Equa_AnagraficaConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -12141,13 +12185,13 @@ SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodT
this._commandCollection[0].CommandText = "SELECT * FROM v_commesse ORDER BY DataArrivo DESC";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString);
this._commandCollection[1].CommandText = "dbo.stp_vElComm_getByCod";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString);
this._commandCollection[2].CommandText = "dbo.stp_vElComm_getByCodFiltro";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -12155,7 +12199,7 @@ SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodT
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFiltro", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFiltroTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString);
this._commandCollection[3].CommandText = "dbo.sp_creaSetObj";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -12169,13 +12213,13 @@ SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodT
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@note", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@emailReq", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString);
this._commandCollection[4].CommandText = "dbo.sp_delObj";
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cod", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection;
this._commandCollection[5].Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString);
this._commandCollection[5].CommandText = "dbo.stp_IstObjUpdateMag";
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -12790,7 +12834,7 @@ SELECT IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, Data
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8];
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 IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, DataRif, IdxObjMamma, Note, ExtKey, DueDate, LeadTime, LeadTimeUM, UserCreaz,
@@ -12848,6 +12892,15 @@ FROM IstObj";
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObjCommon", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[8].Connection = this.Connection;
this._commandCollection[8].CommandText = "dbo.stp_IstObj_updEmailReq";
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@emailReq", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -14001,6 +14054,52 @@ FROM IstObj";
}
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updEmailReq(global::System.Nullable<bool> emailReq, string UserMod, global::System.Nullable<global::System.DateTime> DataMod, string IdxObj) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
if ((emailReq.HasValue == true)) {
command.Parameters[1].Value = ((bool)(emailReq.Value));
}
else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
if ((UserMod == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(UserMod));
}
if ((DataMod.HasValue == true)) {
command.Parameters[3].Value = ((System.DateTime)(DataMod.Value));
}
else {
command.Parameters[3].Value = global::System.DBNull.Value;
}
if ((IdxObj == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
else {
command.Parameters[4].Value = ((string)(IdxObj));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
/// <summary>
+23 -6
View File
@@ -2,9 +2,10 @@
<xs:schema id="DS_applicazione" targetNamespace="http://tempuri.org/DS_applicazione.xsd" xmlns:mstns="http://tempuri.org/DS_applicazione.xsd" xmlns="http://tempuri.org/DS_applicazione.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="SP" GeneratorFunctionsComponentClassName="SP" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="SP" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="1" FunctionsComponentName="SP" GeneratorFunctionsComponentClassName="SP" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="SP" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="Equa_XPSConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Equa_XPSConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.XPS_data.Properties.Settings.GlobalReference.Default.Equa_XPSConnectionString" Provider="System.Data.SqlClient" />
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="Equa_AnagraficaConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Equa_AnagraficaConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.XPS_data.Properties.Settings.GlobalReference.Default.Equa_AnagraficaConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagClientiTableAdapter" GeneratorDataComponentClassName="AnagClientiTableAdapter" Name="AnagClienti" UserDataComponentName="AnagClientiTableAdapter">
@@ -236,7 +237,7 @@ SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodT
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_commesseTableAdapter" GeneratorDataComponentClassName="v_commesseTableAdapter" Name="v_commesse" UserDataComponentName="v_commesseTableAdapter">
<MainSource>
<DbSource ConnectionRef="Equa_XPSConnectionString (Settings)" DbObjectName="Equa_XPS.dbo.v_commesse" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="Equa_AnagraficaConnectionString (Settings)" DbObjectName="Equa_XPS.dbo.v_commesse" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM v_commesse ORDER BY DataArrivo DESC</CommandText>
@@ -266,6 +267,7 @@ SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodT
<Mapping SourceColumn="maxStato" DataSetColumn="maxStato" />
<Mapping SourceColumn="minCodStato" DataSetColumn="minCodStato" />
<Mapping SourceColumn="maxCodStato" DataSetColumn="maxCodStato" />
<Mapping SourceColumn="emailReq" DataSetColumn="emailReq" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Equa_XPSConnectionString (Settings)" DbObjectName="Equa_XPS.dbo.stp_vElComm_getByCod" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCod" GetMethodModifier="Public" GetMethodName="getByCod" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCod" UserSourceName="getByCod">
@@ -625,6 +627,20 @@ SELECT IdxObj, CodCliente, CodStato, Posizione, Livello, Rev, CodObj, Nome, Data
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Equa_XPSConnectionString (Settings)" DbObjectName="Equa_XPS.dbo.stp_IstObj_updEmailReq" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updEmailReq" Modifier="Public" Name="updEmailReq" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy6" UserSourceName="updEmailReq">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IstObj_updEmailReq</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="bit" DbType="Boolean" Direction="Input" ParameterName="@emailReq" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataMod" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@IdxObj" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_righeTableAdapter" GeneratorDataComponentClassName="v_righeTableAdapter" Name="v_righe" UserDataComponentName="v_righeTableAdapter">
@@ -1379,6 +1395,7 @@ WHERE (IdxObj = @IdxObj)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="emailReq" msprop:Generator_ColumnVarNameInTable="columnemailReq" msprop:Generator_ColumnPropNameInRow="emailReq" msprop:Generator_ColumnPropNameInTable="emailReqColumn" msprop:Generator_UserColumnName="emailReq" type="xs:boolean" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -2024,10 +2041,10 @@ WHERE (IdxObj = @IdxObj)</CommandText>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_Tratt2Obj_AnagTrattamenti" msdata:parent="AnagTrattamenti" msdata:child="Tratt2Obj" msdata:parentkey="CodTrattamento" msdata:childkey="CodTrattamento" msprop:Generator_UserChildTable="Tratt2Obj" msprop:Generator_ChildPropName="GetTratt2ObjRows" msprop:Generator_UserRelationName="FK_Tratt2Obj_AnagTrattamenti" msprop:Generator_RelationVarName="relationFK_Tratt2Obj_AnagTrattamenti" msprop:Generator_UserParentTable="AnagTrattamenti" msprop:Generator_ParentPropName="AnagTrattamentiRow" />
<msdata:Relationship name="FK_Tratt2Obj_IstObj" msdata:parent="IstObj" msdata:child="Tratt2Obj" msdata:parentkey="IdxObj" msdata:childkey="IdxObj" msprop:Generator_UserChildTable="Tratt2Obj" msprop:Generator_ChildPropName="GetTratt2ObjRows" msprop:Generator_UserRelationName="FK_Tratt2Obj_IstObj" msprop:Generator_RelationVarName="relationFK_Tratt2Obj_IstObj" msprop:Generator_UserParentTable="IstObj" msprop:Generator_ParentPropName="IstObjRow" />
<msdata:Relationship name="FK_IstObj_AnagClienti" msdata:parent="AnagClienti" msdata:child="IstObj" msdata:parentkey="CodCliente" msdata:childkey="CodCliente" msprop:Generator_UserChildTable="IstObj" msprop:Generator_ChildPropName="GetIstObjRows" msprop:Generator_UserRelationName="FK_IstObj_AnagClienti" msprop:Generator_RelationVarName="relationFK_IstObj_AnagClienti" msprop:Generator_UserParentTable="AnagClienti" msprop:Generator_ParentPropName="AnagClientiRow" />
<msdata:Relationship name="FK_TransizioneEventiStati_Eventi" msdata:parent="Eventi" msdata:child="TraEv2Stati" msdata:parentkey="CodEvento" msdata:childkey="CodEvento" msprop:Generator_UserChildTable="TraEv2Stati" msprop:Generator_ChildPropName="GetTraEv2StatiRows" msprop:Generator_UserRelationName="FK_TransizioneEventiStati_Eventi" msprop:Generator_RelationVarName="relationFK_TransizioneEventiStati_Eventi" msprop:Generator_UserParentTable="Eventi" msprop:Generator_ParentPropName="EventiRow" />
<msdata:Relationship name="FK_Tratt2Obj_AnagTrattamenti" msdata:parent="AnagTrattamenti" msdata:child="Tratt2Obj" msdata:parentkey="CodTrattamento" msdata:childkey="CodTrattamento" msprop:Generator_UserChildTable="Tratt2Obj" msprop:Generator_ChildPropName="GetTratt2ObjRows" msprop:Generator_UserRelationName="FK_Tratt2Obj_AnagTrattamenti" msprop:Generator_ParentPropName="AnagTrattamentiRow" msprop:Generator_RelationVarName="relationFK_Tratt2Obj_AnagTrattamenti" msprop:Generator_UserParentTable="AnagTrattamenti" />
<msdata:Relationship name="FK_Tratt2Obj_IstObj" msdata:parent="IstObj" msdata:child="Tratt2Obj" msdata:parentkey="IdxObj" msdata:childkey="IdxObj" msprop:Generator_UserChildTable="Tratt2Obj" msprop:Generator_ChildPropName="GetTratt2ObjRows" msprop:Generator_UserRelationName="FK_Tratt2Obj_IstObj" msprop:Generator_ParentPropName="IstObjRow" msprop:Generator_RelationVarName="relationFK_Tratt2Obj_IstObj" msprop:Generator_UserParentTable="IstObj" />
<msdata:Relationship name="FK_IstObj_AnagClienti" msdata:parent="AnagClienti" msdata:child="IstObj" msdata:parentkey="CodCliente" msdata:childkey="CodCliente" msprop:Generator_UserChildTable="IstObj" msprop:Generator_ChildPropName="GetIstObjRows" msprop:Generator_UserRelationName="FK_IstObj_AnagClienti" msprop:Generator_ParentPropName="AnagClientiRow" msprop:Generator_RelationVarName="relationFK_IstObj_AnagClienti" msprop:Generator_UserParentTable="AnagClienti" />
<msdata:Relationship name="FK_TransizioneEventiStati_Eventi" msdata:parent="Eventi" msdata:child="TraEv2Stati" msdata:parentkey="CodEvento" msdata:childkey="CodEvento" msprop:Generator_UserChildTable="TraEv2Stati" msprop:Generator_ChildPropName="GetTraEv2StatiRows" msprop:Generator_UserRelationName="FK_TransizioneEventiStati_Eventi" msprop:Generator_ParentPropName="EventiRow" msprop:Generator_RelationVarName="relationFK_TransizioneEventiStati_Eventi" msprop:Generator_UserParentTable="Eventi" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+2 -2
View File
@@ -4,12 +4,12 @@
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="-10" ViewPortY="-47" 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="-24" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagClienti" ZOrder="2" X="179" Y="-21" Height="267" Width="253" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:AnagTrattamenti" ZOrder="19" X="1006" Y="43" Height="115" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:Tratt2Obj" ZOrder="18" X="813" Y="198" Height="134" Width="200" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_commesse" ZOrder="1" X="9" Y="452" Height="402" Width="230" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="275" />
<Shape ID="DesignTable:v_commesse" ZOrder="1" X="-14" Y="457" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:IstObj" ZOrder="6" X="496" Y="-33" Height="533" Width="273" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
<Shape ID="DesignTable:v_righe" ZOrder="7" X="304" Y="533" Height="381" Width="282" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:sp_rec4Day" ZOrder="10" X="802" Y="413" Height="96" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />