aggiunta selezione squadre on the field

This commit is contained in:
Samuele E. Locatelli
2015-05-12 12:33:09 +02:00
parent 4765b5f234
commit c55448f526
52 changed files with 513 additions and 98 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
using System.Reflection;
[assembly: AssemblyVersion("0.5.019.40")]
[assembly: AssemblyFileVersion("0.5.019.40")]
[assembly: AssemblyVersion("0.6.021.41")]
[assembly: AssemblyFileVersion("0.6.021.41")]
[assembly: AssemblyCopyright("Steamware © 2015-2015")]
[assembly: AssemblyCompany("Steamware")]
+2 -2
View File
@@ -6,8 +6,8 @@
using System.Reflection;
[assembly: AssemblyVersion("0.5.019.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("0.5.019.<#= this.RevisionNumber #>")]
[assembly: AssemblyVersion("0.6.021.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("0.6.021.<#= this.RevisionNumber #>")]
[assembly: AssemblyCopyright("Steamware © 2015-<#= DateTime.Now.Year #>")]
[assembly: AssemblyCompany("Steamware")]
<#+
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
-5
View File
@@ -1,5 +0,0 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="Dettaglio.aspx.cs" Inherits="WebSCR.Dettaglio" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
+12
View File
@@ -0,0 +1,12 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="Squadra.aspx.cs" Inherits="WebSCR.Squadra" %>
<%@ Register Src="~/WebUserControls/mod_consegne.ascx" TagPrefix="uc1" TagName="mod_consegne" %>
<%@ Register Src="~/WebUserControls/mod_squadre.ascx" TagPrefix="uc1" TagName="mod_squadre" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<uc1:mod_squadre runat="server" id="mod_squadre" />
<uc1:mod_consegne runat="server" ID="mod_consegne" />
</asp:Content>
@@ -7,7 +7,7 @@ using System.Web.UI.WebControls;
namespace WebSCR
{
public partial class Dettaglio : System.Web.UI.Page
public partial class Squadra : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
+33
View File
@@ -0,0 +1,33 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace WebSCR {
public partial class Squadra {
/// <summary>
/// mod_squadre control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_squadre mod_squadre;
/// <summary>
/// mod_consegne control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_consegne mod_consegne;
}
}
+1 -1
View File
@@ -17,7 +17,7 @@
<br />
<uc2:mod_enrollByEmail ID="mod_enrollByEmail1" runat="server" />
</div>
<div id="divAdmin" runat="server" data-role="collapsible" data-iconpos="right" data-mini="true" data-theme="b" data-content-theme="b" data-collapsed="false">
<div id="divAdmin" runat="server" data-role="collapsible" data-iconpos="right" data-mini="true" data-theme="c" data-content-theme="c" data-collapsed="false">
<h4>Admin Task</h4>
<uc3:mod_elencoRichResetUtenti ID="mod_elencoRichResetUtenti1" runat="server" />
</div>
+1
View File
@@ -13,6 +13,7 @@
<add key="intUpdatePagina_ms" value="240000"/>
<add key="zonaDef" value="Z00"/>
<add key="numGgDef" value="30"/>
<add key="minCookieSquadra" value="3"/>
<!--nome sw e versioni-->
<add key="CodModulo" value="WebSCR"/>
<add key="AutoAuth" value="true"/>
+24 -8
View File
@@ -329,7 +329,6 @@
<DependentUpon>WebSCR.less</DependentUpon>
</Content>
<Content Include="Default.aspx" />
<Content Include="Dettaglio.aspx" />
<Content Include="Interventi.aspx" />
<Content Include="Pianificazione.aspx" />
<Content Include="fonts\fontawesome-webfont.svg" />
@@ -346,8 +345,10 @@
<Content Include="Content\Style.less" />
<Content Include="Scripts\jSteamware.js" />
<Content Include="Setup.aspx" />
<Content Include="Squadra.aspx" />
<Content Include="Squadre.aspx" />
<Content Include="UserAdmin.aspx" />
<Content Include="WebUserControls\mod_consegne.ascx" />
<Content Include="WebUserControls\mod_dettInt.ascx" />
<Content Include="WebUserControls\mod_dispPeriodo.ascx" />
<Content Include="WebUserControls\mod_elencoClienti.ascx" />
@@ -368,6 +369,7 @@
<Content Include="WebUserControls\mod_impegno.ascx" />
<Content Include="WebUserControls\mod_Interventi.ascx" />
<Content Include="WebUserControls\mod_pianificazione.ascx" />
<Content Include="WebUserControls\mod_squadre.ascx" />
<None Include="Properties\PublishProfiles\IIS02.pubxml" />
<None Include="Properties\PublishProfiles\WinLab-Rigamonti.pubxml" />
<None Include="Scripts\jquery-2.1.3.intellisense.js" />
@@ -404,13 +406,6 @@
<Compile Include="Default.aspx.designer.cs">
<DependentUpon>Default.aspx</DependentUpon>
</Compile>
<Compile Include="Dettaglio.aspx.cs">
<DependentUpon>Dettaglio.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Dettaglio.aspx.designer.cs">
<DependentUpon>Dettaglio.aspx</DependentUpon>
</Compile>
<Compile Include="Interventi.aspx.cs">
<DependentUpon>Interventi.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -464,6 +459,13 @@
<Compile Include="Site.Mobile.Master.designer.cs">
<DependentUpon>Site.Mobile.Master</DependentUpon>
</Compile>
<Compile Include="Squadra.aspx.cs">
<DependentUpon>Squadra.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Squadra.aspx.designer.cs">
<DependentUpon>Squadra.aspx</DependentUpon>
</Compile>
<Compile Include="Squadre.aspx.cs">
<DependentUpon>Squadre.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -485,6 +487,13 @@
<Compile Include="ViewSwitcher.ascx.designer.cs">
<DependentUpon>ViewSwitcher.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_consegne.ascx.cs">
<DependentUpon>mod_consegne.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_consegne.ascx.designer.cs">
<DependentUpon>mod_consegne.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_dettInt.ascx.cs">
<DependentUpon>mod_dettInt.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -625,6 +634,13 @@
<Compile Include="WebUserControls\mod_pianificazione.ascx.designer.cs">
<DependentUpon>mod_pianificazione.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_squadre.ascx.cs">
<DependentUpon>mod_squadre.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_squadre.ascx.designer.cs">
<DependentUpon>mod_squadre.ascx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<Folder Include="App_Data\" />
+4 -4
View File
@@ -118,13 +118,13 @@
</asp:TemplateField>
<asp:TemplateField HeaderText="Cliente" SortExpression="RagSoc">
<ItemTemplate>
<div class="flLeft" style="font-size: 0.8em;">
<div class="flLeft" style="font-size: 0.75em;">
<asp:Label CssClass="tStrong flRight" ID="CognomeLabel" runat="server" Text='<%# Eval("RagSoc") %>' />
</div>
</ItemTemplate>
<%--</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Indirizzo" SortExpression="Localita">
<ItemTemplate>
<ItemTemplate>--%>
<div class="flRight" style="font-size: 0.8em;">
<asp:Label CssClass="flRight" ID="IndirLabel" runat="server" Text='<%# Eval("Indir") %>' />
<br />
@@ -155,7 +155,7 @@
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Ascensore" SortExpression="Ascensore" ItemStyle-HorizontalAlign="Center">
<asp:TemplateField HeaderText="Asc." SortExpression="Ascensore" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:CheckBox ID="CheckBox2" runat="server" Checked='<%# Eval("Ascensore") %>' CssClass="ui-state-disabled" />
</ItemTemplate>
@@ -183,7 +183,7 @@ namespace WebSCR.WebUserControls
IdxImpegno = Convert.ToInt32(grView.SelectedDataKey["IdxImpegno"]);
memLayer.ML.setSessionVal("IdxImpegno", IdxImpegno);
riga = DtProxy.man.taImp.getByKey(IdxImpegno)[0];
memLayer.ML.setSessionVal("Cliente", string.Format("{0} ({1:dd/MM/yyyy})", riga.RagSoc, DateTime.Now));
memLayer.ML.setSessionVal("Cliente", string.Format("{0}", riga.RagSoc));
memLayer.ML.setSessionVal("CodCliente", riga.CodCliente);
}
catch (Exception exc)
+8
View File
@@ -0,0 +1,8 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_consegne.ascx.cs" Inherits="WebSCR.WebUserControls.mod_consegne" %>
Consegne: prevede
<p>
<p>
2) vedere impegni (di oggi)</p>
<p>
3) possibilità di cliccare &quot;inizio&quot;, &quot;fine&quot;, mostra Allegati, carica foto (allegati) ad ogni TASK</p>
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebSCR.WebUserControls
{
public partial class mod_consegne : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
@@ -7,11 +7,11 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace WebSCR
namespace WebSCR.WebUserControls
{
public partial class Dettaglio
public partial class mod_consegne
{
}
}
@@ -47,7 +47,7 @@ namespace WebSCR.WebUserControls
CodCliente = grView.SelectedDataKey["CodCliente"].ToString();
memLayer.ML.setSessionVal("CodCliente", CodCliente);
DS_Applicazione.AnagClientiRow riga = DtProxy.man.taAC.getByKey(CodCliente)[0];
memLayer.ML.setSessionVal("Cliente", string.Format("{0} ({1:dd/MM/yyyy})", riga.RagSoc, DateTime.Now));
memLayer.ML.setSessionVal("Cliente", string.Format("{0}", riga.RagSoc));
}
catch(Exception exc)
+1 -1
View File
@@ -4,7 +4,7 @@
<li><a href="Clienti" data-icon="user" class='<%: liClass("Clienti") %>'>Clienti</a></li>
<li><a href="Interventi" data-icon="mail" class='<%: liClass("Interventi") %>'>Gestione Interventi</a></li>
<li><a href="Pianificazione" data-icon="calendar" class='<%: liClass("Pianificazione") %>'>Pianificazione</a></li>
<li><a href="Dettaglio" data-icon="navigation" class='<%: liClass("Squadre") %>'>Consegne</a></li>
<li><a href="Squadra" data-icon="navigation" class='<%: liClass("Squadre") %>'>Squadre/Consegne</a></li>
<li><a href="Setup" data-icon="gear" class='<%: liClass("Setup") %>'>Setup</a></li>
</ul>
</div>
+10 -5
View File
@@ -1,9 +1,14 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_header.ascx.cs" Inherits="WebSCR.WebUserControls.mod_header" %>
<asp:Timer ID="Timer1" runat="server"></asp:Timer>
<h1>WebSCR - <%: titolo %></h1>
<a href="Default" data-icon="home" class="ui-btn-left">
<asp:Label ID="lblVers" runat="server" Font-Bold="false" /></a>
<a href="UserAdmin" data-icon="lock" class="ui-btn-right">User Admin</a>
<div style="background-color: <%: colorSquadraCurr %>; font-size: 2em; text-align: center; margin: auto;">
WebSCR - <%: titolo %>
</div>
<a href="Default" data-icon="home" class="ui-btn-left">
<asp:Label ID="lblVers" runat="server" Font-Bold="false" /></a>
<div class="ui-btn-right">
<asp:LinkButton runat="server" ID="lbtResetSquadra" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-recycle ui-btn-icon-right ui-btn-inline" Text="Reset Squadra" OnClick="lbtResetSquadra_Click" />
<a href="UserAdmin" data-icon="lock" class="ui-btn ui-shadow ui-corner-all ui-icon-lock ui-btn-icon-right ui-btn-inline">User Admin</a>
</div>
<div id="headData">
<div style="float: right; font-size: 0.7em; font-weight: 100; margin-right: 4px;">
<%: CognomeNome %>
@@ -12,6 +17,6 @@
<%: DateTime.Now.ToString("ddd dd/MM/yyyy HH:mm:ss") %>
</div>
<div style="text-align: center; font-size: 1.2em; font-weight: 100; color: #507CD1;">
<%: ImpegnoSel %> | <%: ClienteSel %>
<%: DataSel %> | <%: ClienteSel %> | <%: SquadraSel %>
</div>
</div>
+53 -5
View File
@@ -12,16 +12,16 @@ namespace WebSCR.WebUserControls
public partial class mod_header : SteamWare.UserControl
{
/// <summary>
/// codice Impegno selezionato
/// Data selezionata
/// </summary>
public string ImpegnoSel
public string DataSel
{
get
{
string answ = "-";
if (memLayer.ML.isInSessionObject("Impegno"))
if (memLayer.ML.getCookieVal("Data") != "")
{
answ = memLayer.ML.StringSessionObj("Impegno");
answ = memLayer.ML.getCookieVal("Data");
}
return answ;
}
@@ -41,7 +41,37 @@ namespace WebSCR.WebUserControls
return answ;
}
}
/// <summary>
/// Squadra selezionata (da cookie)
/// </summary>
public string SquadraSel
{
get
{
string answ = "-";
if (memLayer.ML.getCookieVal("SquadraCurr")!="")
{
answ = memLayer.ML.getCookieVal("SquadraCurr");
}
return answ;
}
}
/// <summary>
/// Squadra selezionata (da cookie)
/// </summary>
public string colorSquadraCurr
{
get
{
string answ = "-";
if (memLayer.ML.hasCookieVal("colorSquadraCurr"))
{
answ = memLayer.ML.getCookieVal("colorSquadraCurr");
}
return answ;
}
}
/// <summary>
/// caricamento pagina
/// </summary>
@@ -92,6 +122,14 @@ namespace WebSCR.WebUserControls
Response.Redirect("UserAdmin");
}
}
bool showSel = true;
// controllo se c'è il cookie
if (memLayer.ML.hasCookieVal("colorSquadraCurr"))
{
// se c'è e non è expired
showSel = false;
}
lbtResetSquadra.Visible = !showSel;
}
/// <summary>
/// verifica che la pagina sia tra quelle autorizzate x l'utente
@@ -206,5 +244,15 @@ namespace WebSCR.WebUserControls
memLayer.ML.setCookieVal(memLayer.ML.confReadString("AuthCookieName"), "");
memLayer.ML.emptyCookieVal(memLayer.ML.confReadString("AuthCookieName"));
}
/// <summary>
/// in caso di richiesta reset elimina cookie delal squadra selezionata
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtResetSquadra_Click(object sender, EventArgs e)
{
memLayer.ML.emptyCookieVal("colorSquadraCurr");
Response.Redirect(devicesAuthProxy.pagCorrente);
}
}
}
+9
View File
@@ -29,5 +29,14 @@ namespace WebSCR.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblVers;
/// <summary>
/// lbtResetSquadra 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 lbtResetSquadra;
}
}
+10
View File
@@ -0,0 +1,10 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_squadre.ascx.cs" Inherits="WebSCR.WebUserControls.mod_squadre" %>
<div style="text-align: center; margin: auto;">
<div data-role="controlgroup" data-type="horizontal" class="ui-controlgroup ui-controlgroup-horizontal ui-corner-all">
<asp:RadioButtonList ID="rblSquadre" runat="server" DataSourceID="odsSquadre" DataTextField="CodSquadra" DataValueField="CodSquadra" RepeatDirection="Horizontal" RepeatLayout="Flow" AppendDataBoundItems="false" AutoPostBack="True" OnSelectedIndexChanged="rblSquadre_SelectedIndexChanged">
<asp:ListItem Selected="True" Text="Tutte" Value="*"></asp:ListItem>
</asp:RadioButtonList>
</div>
<asp:ObjectDataSource ID="odsSquadre" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.AnagSquadreTableAdapter"></asp:ObjectDataSource>
</div>
@@ -0,0 +1,51 @@
using SteamWare;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebSCR_data;
namespace WebSCR.WebUserControls
{
public partial class mod_squadre : System.Web.UI.UserControl
{
protected string cookieName = "colorSquadraCurr";
protected void Page_Load(object sender, EventArgs e)
{
bool showSel = true;
// controllo se c'è il cookie
if (memLayer.ML.hasCookieVal(cookieName))
{
// se c'è e non è expired
showSel = false;
}
rblSquadre.Visible = showSel;
}
/// <summary>
/// selezione nuova squadra...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void rblSquadre_SelectedIndexChanged(object sender, EventArgs e)
{
// salvo cookie!
string codSquadra = "";
try
{
codSquadra = rblSquadre.SelectedValue;
}
catch
{ }
if (codSquadra != "")
{
DS_Applicazione.AnagSquadreRow riga = DtProxy.man.taAS.getByKey(codSquadra)[0];
memLayer.ML.setCookieVal(cookieName, riga.CssColor, DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
Response.Redirect(devicesAuthProxy.pagCorrente);
}
}
}
}
+33
View File
@@ -0,0 +1,33 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace WebSCR.WebUserControls {
public partial class mod_squadre {
/// <summary>
/// rblSquadre 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.RadioButtonList rblSquadre;
/// <summary>
/// odsSquadre 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.ObjectDataSource odsSquadre;
}
}
Binary file not shown.
+7
View File
@@ -3193,6 +3193,13 @@
<param name="nomeVar"></param>
<returns></returns>
</member>
<member name="M:SteamWare.memLayer.hasCookieVal(System.String)">
<summary>
restituisco se ci sia un dato cookie
</summary>
<param name="nome"></param>
<returns></returns>
</member>
<member name="M:SteamWare.memLayer.getCookieVal(System.String)">
<summary>
restituisco un valore da cookie
Binary file not shown.
Binary file not shown.
Binary file not shown.
+160 -31
View File
@@ -613,6 +613,10 @@ namespace WebSCR_data {
private global::System.Data.DataColumn columnInform;
private global::System.Data.DataColumn columnAttiva;
private global::System.Data.DataColumn columnCssColor;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public AnagSquadreDataTable() {
@@ -694,6 +698,22 @@ namespace WebSCR_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn AttivaColumn {
get {
return this.columnAttiva;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CssColorColumn {
get {
return this.columnCssColor;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -731,7 +751,7 @@ namespace WebSCR_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public AnagSquadreRow AddAnagSquadreRow(string CodSquadra, string DescrSquadra, int NumOp, bool Elettrod, bool Clima, bool Inform) {
public AnagSquadreRow AddAnagSquadreRow(string CodSquadra, string DescrSquadra, int NumOp, bool Elettrod, bool Clima, bool Inform, bool Attiva, string CssColor) {
AnagSquadreRow rowAnagSquadreRow = ((AnagSquadreRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
CodSquadra,
@@ -739,7 +759,9 @@ namespace WebSCR_data {
NumOp,
Elettrod,
Clima,
Inform};
Inform,
Attiva,
CssColor};
rowAnagSquadreRow.ItemArray = columnValuesArray;
this.Rows.Add(rowAnagSquadreRow);
return rowAnagSquadreRow;
@@ -775,6 +797,8 @@ namespace WebSCR_data {
this.columnElettrod = base.Columns["Elettrod"];
this.columnClima = base.Columns["Clima"];
this.columnInform = base.Columns["Inform"];
this.columnAttiva = base.Columns["Attiva"];
this.columnCssColor = base.Columns["CssColor"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -792,6 +816,10 @@ namespace WebSCR_data {
base.Columns.Add(this.columnClima);
this.columnInform = new global::System.Data.DataColumn("Inform", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnInform);
this.columnAttiva = new global::System.Data.DataColumn("Attiva", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnAttiva);
this.columnCssColor = new global::System.Data.DataColumn("CssColor", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCssColor);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnCodSquadra}, true));
this.columnCodSquadra.AllowDBNull = false;
@@ -803,6 +831,9 @@ namespace WebSCR_data {
this.columnElettrod.AllowDBNull = false;
this.columnClima.AllowDBNull = false;
this.columnInform.AllowDBNull = false;
this.columnAttiva.AllowDBNull = false;
this.columnCssColor.AllowDBNull = false;
this.columnCssColor.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -4564,6 +4595,28 @@ namespace WebSCR_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool Attiva {
get {
return ((bool)(this[this.tableAnagSquadre.AttivaColumn]));
}
set {
this[this.tableAnagSquadre.AttivaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CssColor {
get {
return ((string)(this[this.tableAnagSquadre.CssColorColumn]));
}
set {
this[this.tableAnagSquadre.CssColorColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DisponibilitaRow[] GetDisponibilitaRows() {
@@ -6575,10 +6628,12 @@ namespace WebSCR_data.DS_ApplicazioneTableAdapters {
tableMapping.ColumnMappings.Add("Elettrod", "Elettrod");
tableMapping.ColumnMappings.Add("Clima", "Clima");
tableMapping.ColumnMappings.Add("Inform", "Inform");
tableMapping.ColumnMappings.Add("Attiva", "Attiva");
tableMapping.ColumnMappings.Add("CssColor", "CssColor");
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 [dbo].[AnagSquadre] WHERE (([CodSquadra] = @Original_CodSquadra) AND ([DescrSquadra] = @Original_DescrSquadra) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform))";
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagSquadre] WHERE (([CodSquadra] = @Original_CodSquadra) AND ([DescrSquadra] = @Original_DescrSquadra) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform) AND ([Attiva] = @Original_Attiva) AND ([CssColor] = @Original_CssColor))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSquadra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrSquadra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -6586,10 +6641,12 @@ namespace WebSCR_data.DS_ApplicazioneTableAdapters {
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Elettrod", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Elettrod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Clima", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Clima", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Inform", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Inform", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Attiva", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attiva", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CssColor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CssColor", 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 [dbo].[AnagSquadre] ([CodSquadra], [DescrSquadra], [NumOp], [Elettrod], [Clima], [Inform]) VALUES (@CodSquadra, @DescrSquadra, @NumOp, @Elettrod, @Clima, @Inform);
SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre WHERE (CodSquadra = @CodSquadra)";
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagSquadre] ([CodSquadra], [DescrSquadra], [NumOp], [Elettrod], [Clima], [Inform], [Attiva], [CssColor]) VALUES (@CodSquadra, @DescrSquadra, @NumOp, @Elettrod, @Clima, @Inform, @Attiva, @CssColor);
SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform, Attiva, CssColor FROM AnagSquadre WHERE (CodSquadra = @CodSquadra)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSquadra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrSquadra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -6597,10 +6654,12 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Elettrod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Clima", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Inform", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attiva", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attiva", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CssColor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CssColor", 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 [dbo].[AnagSquadre] SET [CodSquadra] = @CodSquadra, [DescrSquadra] = @DescrSquadra, [NumOp] = @NumOp, [Elettrod] = @Elettrod, [Clima] = @Clima, [Inform] = @Inform WHERE (([CodSquadra] = @Original_CodSquadra) AND ([DescrSquadra] = @Original_DescrSquadra) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform));
SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre WHERE (CodSquadra = @CodSquadra)";
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagSquadre] SET [CodSquadra] = @CodSquadra, [DescrSquadra] = @DescrSquadra, [NumOp] = @NumOp, [Elettrod] = @Elettrod, [Clima] = @Clima, [Inform] = @Inform, [Attiva] = @Attiva, [CssColor] = @CssColor WHERE (([CodSquadra] = @Original_CodSquadra) AND ([DescrSquadra] = @Original_DescrSquadra) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform) AND ([Attiva] = @Original_Attiva) AND ([CssColor] = @Original_CssColor));
SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform, Attiva, CssColor FROM AnagSquadre WHERE (CodSquadra = @CodSquadra)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSquadra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrSquadra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -6608,12 +6667,16 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Elettrod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Clima", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Inform", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attiva", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attiva", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CssColor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CssColor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSquadra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrSquadra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumOp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Elettrod", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Elettrod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Clima", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Clima", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Inform", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Inform", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Attiva", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attiva", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CssColor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CssColor", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -6626,11 +6689,10 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
[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[4];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM dbo.AnagSqua" +
"dre";
this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.AnagSquadre";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -6640,18 +6702,13 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", 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].CommandText = "dbo.stp_AS_InsertQuery";
this._commandCollection[2].CommandText = "dbo.stp_AS_getByKey";
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, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, 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].CommandText = "dbo.stp_AS_UpdateQuery";
this._commandCollection[3].CommandText = "dbo.stp_AS_InsertQuery";
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, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -6660,7 +6717,18 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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].CommandText = "dbo.stp_AS_UpdateQuery";
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("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", 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()]
@@ -6687,6 +6755,23 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
return dataTable;
}
[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")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Applicazione.AnagSquadreDataTable getByKey(string CodSquadra) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((CodSquadra == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSquadra));
}
DS_Applicazione.AnagSquadreDataTable dataTable = new DS_Applicazione.AnagSquadreDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[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")]
@@ -6720,7 +6805,7 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
[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(string Original_CodSquadra, string Original_DescrSquadra, int Original_NumOp, bool Original_Elettrod, bool Original_Clima, bool Original_Inform) {
public virtual int Delete(string Original_CodSquadra, string Original_DescrSquadra, int Original_NumOp, bool Original_Elettrod, bool Original_Clima, bool Original_Inform, bool Original_Attiva, string Original_CssColor) {
if ((Original_CodSquadra == null)) {
throw new global::System.ArgumentNullException("Original_CodSquadra");
}
@@ -6737,6 +6822,13 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
this.Adapter.DeleteCommand.Parameters[3].Value = ((bool)(Original_Elettrod));
this.Adapter.DeleteCommand.Parameters[4].Value = ((bool)(Original_Clima));
this.Adapter.DeleteCommand.Parameters[5].Value = ((bool)(Original_Inform));
this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_Attiva));
if ((Original_CssColor == null)) {
throw new global::System.ArgumentNullException("Original_CssColor");
}
else {
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CssColor));
}
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)) {
@@ -6757,7 +6849,7 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
[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 CodSquadra, string DescrSquadra, int NumOp, bool Elettrod, bool Clima, bool Inform) {
public virtual int Insert(string CodSquadra, string DescrSquadra, int NumOp, bool Elettrod, bool Clima, bool Inform, bool Attiva, string CssColor) {
if ((CodSquadra == null)) {
throw new global::System.ArgumentNullException("CodSquadra");
}
@@ -6774,6 +6866,13 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
this.Adapter.InsertCommand.Parameters[3].Value = ((bool)(Elettrod));
this.Adapter.InsertCommand.Parameters[4].Value = ((bool)(Clima));
this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(Inform));
this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(Attiva));
if ((CssColor == null)) {
throw new global::System.ArgumentNullException("CssColor");
}
else {
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(CssColor));
}
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)) {
@@ -6794,7 +6893,23 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
[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 CodSquadra, string DescrSquadra, int NumOp, bool Elettrod, bool Clima, bool Inform, string Original_CodSquadra, string Original_DescrSquadra, int Original_NumOp, bool Original_Elettrod, bool Original_Clima, bool Original_Inform) {
public virtual int Update(
string CodSquadra,
string DescrSquadra,
int NumOp,
bool Elettrod,
bool Clima,
bool Inform,
bool Attiva,
string CssColor,
string Original_CodSquadra,
string Original_DescrSquadra,
int Original_NumOp,
bool Original_Elettrod,
bool Original_Clima,
bool Original_Inform,
bool Original_Attiva,
string Original_CssColor) {
if ((CodSquadra == null)) {
throw new global::System.ArgumentNullException("CodSquadra");
}
@@ -6811,22 +6926,36 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
this.Adapter.UpdateCommand.Parameters[3].Value = ((bool)(Elettrod));
this.Adapter.UpdateCommand.Parameters[4].Value = ((bool)(Clima));
this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(Inform));
this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(Attiva));
if ((CssColor == null)) {
throw new global::System.ArgumentNullException("CssColor");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(CssColor));
}
if ((Original_CodSquadra == null)) {
throw new global::System.ArgumentNullException("Original_CodSquadra");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CodSquadra));
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodSquadra));
}
if ((Original_DescrSquadra == null)) {
throw new global::System.ArgumentNullException("Original_DescrSquadra");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_DescrSquadra));
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_DescrSquadra));
}
this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_NumOp));
this.Adapter.UpdateCommand.Parameters[11].Value = ((bool)(Original_Elettrod));
this.Adapter.UpdateCommand.Parameters[12].Value = ((bool)(Original_Clima));
this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(Original_Inform));
this.Adapter.UpdateCommand.Parameters[14].Value = ((bool)(Original_Attiva));
if ((Original_CssColor == null)) {
throw new global::System.ArgumentNullException("Original_CssColor");
}
else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_CssColor));
}
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_NumOp));
this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(Original_Elettrod));
this.Adapter.UpdateCommand.Parameters[10].Value = ((bool)(Original_Clima));
this.Adapter.UpdateCommand.Parameters[11].Value = ((bool)(Original_Inform));
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)) {
@@ -6847,8 +6976,8 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
[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 DescrSquadra, int NumOp, bool Elettrod, bool Clima, bool Inform, string Original_CodSquadra, string Original_DescrSquadra, int Original_NumOp, bool Original_Elettrod, bool Original_Clima, bool Original_Inform) {
return this.Update(Original_CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform, Original_CodSquadra, Original_DescrSquadra, Original_NumOp, Original_Elettrod, Original_Clima, Original_Inform);
public virtual int Update(string DescrSquadra, int NumOp, bool Elettrod, bool Clima, bool Inform, bool Attiva, string CssColor, string Original_CodSquadra, string Original_DescrSquadra, int Original_NumOp, bool Original_Elettrod, bool Original_Clima, bool Original_Inform, bool Original_Attiva, string Original_CssColor) {
return this.Update(Original_CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform, Attiva, CssColor, Original_CodSquadra, Original_DescrSquadra, Original_NumOp, Original_Elettrod, Original_Clima, Original_Inform, Original_Attiva, Original_CssColor);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -6885,7 +7014,7 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
public virtual int InsertQuery(string CodSquadra, string DescrSquadra, global::System.Nullable<int> NumOp, global::System.Nullable<bool> Elettrod, global::System.Nullable<bool> Clima, global::System.Nullable<bool> Inform) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((CodSquadra == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -6944,7 +7073,7 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
public virtual int UpdateQuery(string CodSquadra, string DescrSquadra, global::System.Nullable<int> NumOp, global::System.Nullable<bool> Elettrod, global::System.Nullable<bool> Clima, global::System.Nullable<bool> Inform, string Original_CodSquadra) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
if ((CodSquadra == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
+48 -18
View File
@@ -12,7 +12,7 @@
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.AnagSquadre" 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 [dbo].[AnagSquadre] WHERE (([CodSquadra] = @Original_CodSquadra) AND ([DescrSquadra] = @Original_DescrSquadra) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform))</CommandText>
<CommandText>DELETE FROM [dbo].[AnagSquadre] WHERE (([CodSquadra] = @Original_CodSquadra) AND ([DescrSquadra] = @Original_DescrSquadra) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform) AND ([Attiva] = @Original_Attiva) AND ([CssColor] = @Original_CssColor))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodSquadra" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSquadra" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DescrSquadra" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescrSquadra" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -20,13 +20,15 @@
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Elettrod" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Elettrod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Clima" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Clima" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Inform" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Inform" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Attiva" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attiva" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CssColor" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CssColor" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[AnagSquadre] ([CodSquadra], [DescrSquadra], [NumOp], [Elettrod], [Clima], [Inform]) VALUES (@CodSquadra, @DescrSquadra, @NumOp, @Elettrod, @Clima, @Inform);
SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre WHERE (CodSquadra = @CodSquadra)</CommandText>
<CommandText>INSERT INTO [dbo].[AnagSquadre] ([CodSquadra], [DescrSquadra], [NumOp], [Elettrod], [Clima], [Inform], [Attiva], [CssColor]) VALUES (@CodSquadra, @DescrSquadra, @NumOp, @Elettrod, @Clima, @Inform, @Attiva, @CssColor);
SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform, Attiva, CssColor FROM AnagSquadre WHERE (CodSquadra = @CodSquadra)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodSquadra" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSquadra" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescrSquadra" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescrSquadra" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -34,19 +36,22 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Elettrod" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Elettrod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Clima" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Clima" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Inform" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Inform" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Attiva" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attiva" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CssColor" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CssColor" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM dbo.AnagSquadre</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM dbo.AnagSquadre</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[AnagSquadre] SET [CodSquadra] = @CodSquadra, [DescrSquadra] = @DescrSquadra, [NumOp] = @NumOp, [Elettrod] = @Elettrod, [Clima] = @Clima, [Inform] = @Inform WHERE (([CodSquadra] = @Original_CodSquadra) AND ([DescrSquadra] = @Original_DescrSquadra) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform));
SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre WHERE (CodSquadra = @CodSquadra)</CommandText>
<CommandText>UPDATE [dbo].[AnagSquadre] SET [CodSquadra] = @CodSquadra, [DescrSquadra] = @DescrSquadra, [NumOp] = @NumOp, [Elettrod] = @Elettrod, [Clima] = @Clima, [Inform] = @Inform, [Attiva] = @Attiva, [CssColor] = @CssColor WHERE (([CodSquadra] = @Original_CodSquadra) AND ([DescrSquadra] = @Original_DescrSquadra) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform) AND ([Attiva] = @Original_Attiva) AND ([CssColor] = @Original_CssColor));
SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform, Attiva, CssColor FROM AnagSquadre WHERE (CodSquadra = @CodSquadra)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodSquadra" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSquadra" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescrSquadra" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescrSquadra" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -54,12 +59,16 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Elettrod" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Elettrod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Clima" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Clima" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Inform" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Inform" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Attiva" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attiva" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CssColor" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CssColor" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodSquadra" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSquadra" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DescrSquadra" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescrSquadra" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumOp" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumOp" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Elettrod" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Elettrod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Clima" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Clima" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Inform" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Inform" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Attiva" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attiva" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CssColor" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CssColor" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -72,6 +81,8 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
<Mapping SourceColumn="Elettrod" DataSetColumn="Elettrod" />
<Mapping SourceColumn="Clima" DataSetColumn="Clima" />
<Mapping SourceColumn="Inform" DataSetColumn="Inform" />
<Mapping SourceColumn="Attiva" DataSetColumn="Attiva" />
<Mapping SourceColumn="CssColor" DataSetColumn="CssColor" />
</Mappings>
<Sources>
<DbSource ConnectionRef="WebSCRConnectionString (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">
@@ -85,6 +96,17 @@ SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform FROM AnagSquadre
</DbCommand>
</DeleteCommand>
</DbSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_AS_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AS_getByKey</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="nvarchar" DbType="String" Direction="Input" ParameterName="@CodSquadra" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertQuery" Modifier="Public" Name="InsertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="InsertQuery">
<InsertCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -867,7 +889,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
<xs:element name="DS_Applicazione" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Applicazione" msprop:Generator_UserDSName="DS_Applicazione">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="AnagSquadre" msprop:Generator_TableClassName="AnagSquadreDataTable" msprop:Generator_TableVarName="tableAnagSquadre" msprop:Generator_TablePropName="AnagSquadre" msprop:Generator_RowDeletingName="AnagSquadreRowDeleting" msprop:Generator_RowChangingName="AnagSquadreRowChanging" msprop:Generator_RowEvHandlerName="AnagSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSquadreRowDeleted" msprop:Generator_UserTableName="AnagSquadre" msprop:Generator_RowChangedName="AnagSquadreRowChanged" msprop:Generator_RowEvArgName="AnagSquadreRowChangeEvent" msprop:Generator_RowClassName="AnagSquadreRow">
<xs:element name="AnagSquadre" msprop:Generator_TableClassName="AnagSquadreDataTable" msprop:Generator_TableVarName="tableAnagSquadre" msprop:Generator_RowChangedName="AnagSquadreRowChanged" msprop:Generator_TablePropName="AnagSquadre" msprop:Generator_RowDeletingName="AnagSquadreRowDeleting" msprop:Generator_RowChangingName="AnagSquadreRowChanging" msprop:Generator_RowEvHandlerName="AnagSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSquadreRowDeleted" msprop:Generator_RowClassName="AnagSquadreRow" msprop:Generator_UserTableName="AnagSquadre" msprop:Generator_RowEvArgName="AnagSquadreRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodSquadra" msprop:Generator_ColumnVarNameInTable="columnCodSquadra" msprop:Generator_ColumnPropNameInRow="CodSquadra" msprop:Generator_ColumnPropNameInTable="CodSquadraColumn" msprop:Generator_UserColumnName="CodSquadra">
@@ -888,10 +910,18 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
<xs:element name="Elettrod" msprop:Generator_ColumnVarNameInTable="columnElettrod" msprop:Generator_ColumnPropNameInRow="Elettrod" msprop:Generator_ColumnPropNameInTable="ElettrodColumn" msprop:Generator_UserColumnName="Elettrod" type="xs:boolean" />
<xs:element name="Clima" msprop:Generator_ColumnVarNameInTable="columnClima" msprop:Generator_ColumnPropNameInRow="Clima" msprop:Generator_ColumnPropNameInTable="ClimaColumn" msprop:Generator_UserColumnName="Clima" type="xs:boolean" />
<xs:element name="Inform" msprop:Generator_ColumnVarNameInTable="columnInform" msprop:Generator_ColumnPropNameInRow="Inform" msprop:Generator_ColumnPropNameInTable="InformColumn" msprop:Generator_UserColumnName="Inform" type="xs:boolean" />
<xs:element name="Attiva" msprop:Generator_ColumnVarNameInTable="columnAttiva" msprop:Generator_ColumnPropNameInRow="Attiva" msprop:Generator_ColumnPropNameInTable="AttivaColumn" msprop:Generator_UserColumnName="Attiva" type="xs:boolean" />
<xs:element name="CssColor" msprop:Generator_ColumnVarNameInTable="columnCssColor" msprop:Generator_ColumnPropNameInRow="CssColor" msprop:Generator_ColumnPropNameInTable="CssColorColumn" msprop:Generator_UserColumnName="CssColor">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagZone" msprop:Generator_TableClassName="AnagZoneDataTable" msprop:Generator_TableVarName="tableAnagZone" msprop:Generator_TablePropName="AnagZone" msprop:Generator_RowDeletingName="AnagZoneRowDeleting" msprop:Generator_RowChangingName="AnagZoneRowChanging" msprop:Generator_RowEvHandlerName="AnagZoneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagZoneRowDeleted" msprop:Generator_UserTableName="AnagZone" msprop:Generator_RowChangedName="AnagZoneRowChanged" msprop:Generator_RowEvArgName="AnagZoneRowChangeEvent" msprop:Generator_RowClassName="AnagZoneRow">
<xs:element name="AnagZone" msprop:Generator_TableClassName="AnagZoneDataTable" msprop:Generator_TableVarName="tableAnagZone" msprop:Generator_RowChangedName="AnagZoneRowChanged" msprop:Generator_TablePropName="AnagZone" msprop:Generator_RowDeletingName="AnagZoneRowDeleting" msprop:Generator_RowChangingName="AnagZoneRowChanging" msprop:Generator_RowEvHandlerName="AnagZoneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagZoneRowDeleted" msprop:Generator_RowClassName="AnagZoneRow" msprop:Generator_UserTableName="AnagZone" msprop:Generator_RowEvArgName="AnagZoneRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxZona" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxZona" msprop:Generator_ColumnPropNameInRow="idxZona" msprop:Generator_ColumnPropNameInTable="idxZonaColumn" msprop:Generator_UserColumnName="idxZona" type="xs:int" />
@@ -927,7 +957,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagTipoConsegne" msprop:Generator_TableClassName="AnagTipoConsegneDataTable" msprop:Generator_TableVarName="tableAnagTipoConsegne" msprop:Generator_TablePropName="AnagTipoConsegne" msprop:Generator_RowDeletingName="AnagTipoConsegneRowDeleting" msprop:Generator_RowChangingName="AnagTipoConsegneRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoConsegneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoConsegneRowDeleted" msprop:Generator_UserTableName="AnagTipoConsegne" msprop:Generator_RowChangedName="AnagTipoConsegneRowChanged" msprop:Generator_RowEvArgName="AnagTipoConsegneRowChangeEvent" msprop:Generator_RowClassName="AnagTipoConsegneRow">
<xs:element name="AnagTipoConsegne" msprop:Generator_TableClassName="AnagTipoConsegneDataTable" msprop:Generator_TableVarName="tableAnagTipoConsegne" msprop:Generator_RowChangedName="AnagTipoConsegneRowChanged" msprop:Generator_TablePropName="AnagTipoConsegne" msprop:Generator_RowDeletingName="AnagTipoConsegneRowDeleting" msprop:Generator_RowChangingName="AnagTipoConsegneRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoConsegneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoConsegneRowDeleted" msprop:Generator_RowClassName="AnagTipoConsegneRow" msprop:Generator_UserTableName="AnagTipoConsegne" msprop:Generator_RowEvArgName="AnagTipoConsegneRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodConsegna" msprop:Generator_ColumnVarNameInTable="columnCodConsegna" msprop:Generator_ColumnPropNameInRow="CodConsegna" msprop:Generator_ColumnPropNameInTable="CodConsegnaColumn" msprop:Generator_UserColumnName="CodConsegna">
@@ -952,7 +982,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_RowClassName="AnagClientiRow" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent">
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent" msprop:Generator_RowClassName="AnagClientiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente">
@@ -1036,7 +1066,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Impegni" msprop:Generator_TableClassName="ImpegniDataTable" msprop:Generator_TableVarName="tableImpegni" msprop:Generator_RowChangedName="ImpegniRowChanged" msprop:Generator_TablePropName="Impegni" msprop:Generator_RowDeletingName="ImpegniRowDeleting" msprop:Generator_RowChangingName="ImpegniRowChanging" msprop:Generator_RowEvHandlerName="ImpegniRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniRowDeleted" msprop:Generator_RowClassName="ImpegniRow" msprop:Generator_UserTableName="Impegni" msprop:Generator_RowEvArgName="ImpegniRowChangeEvent">
<xs:element name="Impegni" msprop:Generator_TableClassName="ImpegniDataTable" msprop:Generator_TableVarName="tableImpegni" msprop:Generator_TablePropName="Impegni" msprop:Generator_RowDeletingName="ImpegniRowDeleting" msprop:Generator_RowChangingName="ImpegniRowChanging" msprop:Generator_RowEvHandlerName="ImpegniRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniRowDeleted" msprop:Generator_UserTableName="Impegni" msprop:Generator_RowChangedName="ImpegniRowChanged" msprop:Generator_RowEvArgName="ImpegniRowChangeEvent" msprop:Generator_RowClassName="ImpegniRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxImpegno" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
@@ -1170,7 +1200,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DispImpTot" msprop:Generator_TableClassName="DispImpTotDataTable" msprop:Generator_TableVarName="tableDispImpTot" msprop:Generator_TablePropName="DispImpTot" msprop:Generator_RowDeletingName="DispImpTotRowDeleting" msprop:Generator_RowChangingName="DispImpTotRowChanging" msprop:Generator_RowEvHandlerName="DispImpTotRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpTotRowDeleted" msprop:Generator_UserTableName="DispImpTot" msprop:Generator_RowChangedName="DispImpTotRowChanged" msprop:Generator_RowEvArgName="DispImpTotRowChangeEvent" msprop:Generator_RowClassName="DispImpTotRow">
<xs:element name="DispImpTot" msprop:Generator_TableClassName="DispImpTotDataTable" msprop:Generator_TableVarName="tableDispImpTot" msprop:Generator_RowChangedName="DispImpTotRowChanged" msprop:Generator_TablePropName="DispImpTot" msprop:Generator_RowDeletingName="DispImpTotRowDeleting" msprop:Generator_RowChangingName="DispImpTotRowChanging" msprop:Generator_RowEvHandlerName="DispImpTotRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpTotRowDeleted" msprop:Generator_RowClassName="DispImpTotRow" msprop:Generator_UserTableName="DispImpTot" msprop:Generator_RowEvArgName="DispImpTotRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
@@ -1180,7 +1210,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DispImpSquadre" msprop:Generator_TableClassName="DispImpSquadreDataTable" msprop:Generator_TableVarName="tableDispImpSquadre" msprop:Generator_TablePropName="DispImpSquadre" msprop:Generator_RowDeletingName="DispImpSquadreRowDeleting" msprop:Generator_RowChangingName="DispImpSquadreRowChanging" msprop:Generator_RowEvHandlerName="DispImpSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpSquadreRowDeleted" msprop:Generator_UserTableName="DispImpSquadre" msprop:Generator_RowChangedName="DispImpSquadreRowChanged" msprop:Generator_RowEvArgName="DispImpSquadreRowChangeEvent" msprop:Generator_RowClassName="DispImpSquadreRow">
<xs:element name="DispImpSquadre" msprop:Generator_TableClassName="DispImpSquadreDataTable" msprop:Generator_TableVarName="tableDispImpSquadre" msprop:Generator_RowChangedName="DispImpSquadreRowChanged" msprop:Generator_TablePropName="DispImpSquadre" msprop:Generator_RowDeletingName="DispImpSquadreRowDeleting" msprop:Generator_RowChangingName="DispImpSquadreRowChanging" msprop:Generator_RowEvHandlerName="DispImpSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpSquadreRowDeleted" msprop:Generator_RowClassName="DispImpSquadreRow" msprop:Generator_UserTableName="DispImpSquadre" msprop:Generator_RowEvArgName="DispImpSquadreRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
@@ -1196,7 +1226,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_ImpegniCal" msprop:Generator_TableClassName="v_ImpegniCalDataTable" msprop:Generator_TableVarName="tablev_ImpegniCal" msprop:Generator_RowChangedName="v_ImpegniCalRowChanged" msprop:Generator_TablePropName="v_ImpegniCal" msprop:Generator_RowDeletingName="v_ImpegniCalRowDeleting" msprop:Generator_RowChangingName="v_ImpegniCalRowChanging" msprop:Generator_RowEvHandlerName="v_ImpegniCalRowChangeEventHandler" msprop:Generator_RowDeletedName="v_ImpegniCalRowDeleted" msprop:Generator_RowClassName="v_ImpegniCalRow" msprop:Generator_UserTableName="v_ImpegniCal" msprop:Generator_RowEvArgName="v_ImpegniCalRowChangeEvent">
<xs:element name="v_ImpegniCal" msprop:Generator_TableClassName="v_ImpegniCalDataTable" msprop:Generator_TableVarName="tablev_ImpegniCal" msprop:Generator_TablePropName="v_ImpegniCal" msprop:Generator_RowDeletingName="v_ImpegniCalRowDeleting" msprop:Generator_RowChangingName="v_ImpegniCalRowChanging" msprop:Generator_RowEvHandlerName="v_ImpegniCalRowChangeEventHandler" msprop:Generator_RowDeletedName="v_ImpegniCalRowDeleted" msprop:Generator_UserTableName="v_ImpegniCal" msprop:Generator_RowChangedName="v_ImpegniCalRowChanged" msprop:Generator_RowEvArgName="v_ImpegniCalRowChangeEvent" msprop:Generator_RowClassName="v_ImpegniCalRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxImpegno" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
@@ -1226,7 +1256,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Disponibilita" msprop:Generator_TableClassName="DisponibilitaDataTable" msprop:Generator_TableVarName="tableDisponibilita" msprop:Generator_RowChangedName="DisponibilitaRowChanged" msprop:Generator_TablePropName="Disponibilita" msprop:Generator_RowDeletingName="DisponibilitaRowDeleting" msprop:Generator_RowChangingName="DisponibilitaRowChanging" msprop:Generator_RowEvHandlerName="DisponibilitaRowChangeEventHandler" msprop:Generator_RowDeletedName="DisponibilitaRowDeleted" msprop:Generator_RowClassName="DisponibilitaRow" msprop:Generator_UserTableName="Disponibilita" msprop:Generator_RowEvArgName="DisponibilitaRowChangeEvent">
<xs:element name="Disponibilita" msprop:Generator_TableClassName="DisponibilitaDataTable" msprop:Generator_TableVarName="tableDisponibilita" msprop:Generator_TablePropName="Disponibilita" msprop:Generator_RowDeletingName="DisponibilitaRowDeleting" msprop:Generator_RowChangingName="DisponibilitaRowChanging" msprop:Generator_RowEvHandlerName="DisponibilitaRowChangeEventHandler" msprop:Generator_RowDeletedName="DisponibilitaRowDeleted" msprop:Generator_UserTableName="Disponibilita" msprop:Generator_RowChangedName="DisponibilitaRowChanged" msprop:Generator_RowEvArgName="DisponibilitaRowChangeEvent" msprop:Generator_RowClassName="DisponibilitaRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
@@ -1243,7 +1273,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DettImpegno" msprop:Generator_TableClassName="DettImpegnoDataTable" msprop:Generator_TableVarName="tableDettImpegno" msprop:Generator_TablePropName="DettImpegno" msprop:Generator_RowDeletingName="DettImpegnoRowDeleting" msprop:Generator_RowChangingName="DettImpegnoRowChanging" msprop:Generator_RowEvHandlerName="DettImpegnoRowChangeEventHandler" msprop:Generator_RowDeletedName="DettImpegnoRowDeleted" msprop:Generator_UserTableName="DettImpegno" msprop:Generator_RowChangedName="DettImpegnoRowChanged" msprop:Generator_RowEvArgName="DettImpegnoRowChangeEvent" msprop:Generator_RowClassName="DettImpegnoRow">
<xs:element name="DettImpegno" msprop:Generator_TableClassName="DettImpegnoDataTable" msprop:Generator_TableVarName="tableDettImpegno" msprop:Generator_RowChangedName="DettImpegnoRowChanged" msprop:Generator_TablePropName="DettImpegno" msprop:Generator_RowDeletingName="DettImpegnoRowDeleting" msprop:Generator_RowChangingName="DettImpegnoRowChanging" msprop:Generator_RowEvHandlerName="DettImpegnoRowChangeEventHandler" msprop:Generator_RowDeletedName="DettImpegnoRowDeleted" msprop:Generator_RowClassName="DettImpegnoRow" msprop:Generator_UserTableName="DettImpegno" msprop:Generator_RowEvArgName="DettImpegnoRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxImpegno" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
@@ -1322,7 +1352,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_Disponibilita_AnagSquadre" msdata:parent="AnagSquadre" msdata:child="Disponibilita" msdata:parentkey="CodSquadra" msdata:childkey="CodSquadra" msprop:Generator_UserChildTable="Disponibilita" msprop:Generator_ChildPropName="GetDisponibilitaRows" msprop:Generator_UserRelationName="FK_Disponibilita_AnagSquadre" msprop:Generator_RelationVarName="relationFK_Disponibilita_AnagSquadre" msprop:Generator_UserParentTable="AnagSquadre" msprop:Generator_ParentPropName="AnagSquadreRow" />
<msdata:Relationship name="FK_Disponibilita_AnagSquadre" msdata:parent="AnagSquadre" msdata:child="Disponibilita" msdata:parentkey="CodSquadra" msdata:childkey="CodSquadra" msprop:Generator_UserChildTable="Disponibilita" msprop:Generator_ChildPropName="GetDisponibilitaRows" msprop:Generator_UserRelationName="FK_Disponibilita_AnagSquadre" msprop:Generator_ParentPropName="AnagSquadreRow" msprop:Generator_RelationVarName="relationFK_Disponibilita_AnagSquadre" msprop:Generator_UserParentTable="AnagSquadre" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+15 -11
View File
@@ -6,27 +6,31 @@
</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="94" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagSquadre" ZOrder="3" X="604" Y="422" Height="248" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:AnagSquadre" ZOrder="4" X="579" Y="415" Height="305" Width="261" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:AnagZone" ZOrder="11" X="556" Y="160" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagTipoConsegne" ZOrder="10" X="919" Y="164" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:AnagClienti" ZOrder="2" X="340" Y="192" Height="324" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Impegni" ZOrder="1" X="15" Y="190" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagClienti" ZOrder="3" X="340" Y="192" Height="324" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Impegni" ZOrder="2" X="15" Y="190" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:DispImpTot" ZOrder="8" X="890" Y="469" Height="172" Width="293" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:DispImpSquadre" ZOrder="9" X="1026" Y="671" Height="153" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_ImpegniCal" ZOrder="5" X="450" Y="797" Height="191" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Disponibilita" ZOrder="7" X="784" Y="708" Height="191" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:DettImpegno" ZOrder="4" X="44" Y="721" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:v_ImpegniCal" ZOrder="6" X="450" Y="797" Height="191" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Disponibilita" ZOrder="1" X="778" Y="785" Height="191" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:DettImpegno" ZOrder="5" X="44" Y="721" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_Disponibilita_AnagSquadre" ZOrder="6" LineWidth="11">
<Connector ID="DesignRelation:FK_Disponibilita_AnagSquadre" ZOrder="7" LineWidth="11">
<RoutePoints>
<Point>
<X>807</X>
<Y>670</Y>
<X>742</X>
<Y>720</Y>
</Point>
<Point>
<X>807</X>
<Y>708</Y>
<X>742</X>
<Y>821</Y>
</Point>
<Point>
<X>778</X>
<Y>821</Y>
</Point>
</RoutePoints>
</Connector>
Binary file not shown.
+7
View File
@@ -3193,6 +3193,13 @@
<param name="nomeVar"></param>
<returns></returns>
</member>
<member name="M:SteamWare.memLayer.hasCookieVal(System.String)">
<summary>
restituisco se ci sia un dato cookie
</summary>
<param name="nome"></param>
<returns></returns>
</member>
<member name="M:SteamWare.memLayer.getCookieVal(System.String)">
<summary>
restituisco un valore da cookie
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View File
Binary file not shown.