aggiunto e testato filtraggio + gestione risultati x pagina

This commit is contained in:
Samuele
2012-09-11 16:47:12 +02:00
parent e968c144f5
commit 24a283b342
9 changed files with 1512 additions and 86 deletions
BIN
View File
Binary file not shown.
+11
View File
@@ -4,6 +4,7 @@ using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ETS_Data;
namespace ETS_WS
{
@@ -15,6 +16,16 @@ namespace ETS_WS
{
}
mod_filtroRicerca1.eh_reqSearch += new EventHandler(mod_filtroRicerca1_eh_reqSearch);
mod_filtroRicerca1.eh_pageResize += new EventHandler(mod_filtroRicerca1_eh_pageResize);
}
/// <summary>
/// aggiornamento page size
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void mod_filtroRicerca1_eh_pageResize(object sender, EventArgs e)
{
mod_archivioDocumenti1.pageSize = utils.obj.IntSessionObj("srcPageSize");
}
/// <summary>
/// chiesta update x aggiornamento criteri ricerca
@@ -114,21 +114,11 @@ namespace ETS_WS.WebUserControls
}
return answ;
}
/// <summary>
/// dimensione pagina richiesta
/// </summary>
public int pageSize
{
get
set
{
int answ = 15;
try
{
answ = utils.obj.IntSessionObj("srcPageSize");
}
catch
{ }
return answ;
grView.PageSize = value;
}
}
/// <summary>
@@ -136,7 +126,6 @@ namespace ETS_WS.WebUserControls
/// </summary>
public void doUpdate()
{
grView.PageSize = pageSize;
grView.DataBind();
}
}
@@ -55,10 +55,10 @@
<asp:DropDownList ID="ddlPageSize" runat="server" AutoPostBack="True"
onselectedindexchanged="ddlPageSize_SelectedIndexChanged">
<asp:ListItem Text="10" Value="10" />
<asp:ListItem Text="15" Value="10" />
<asp:ListItem Text="20" Value="10" Selected="True" />
<asp:ListItem Text="30" Value="10" />
<asp:ListItem Text="50" Value="10" />
<asp:ListItem Text="15" Value="15" />
<asp:ListItem Text="20" Value="20" Selected="True" />
<asp:ListItem Text="30" Value="30" />
<asp:ListItem Text="50" Value="50" />
</asp:DropDownList>
</div>
</div>
@@ -15,6 +15,10 @@ namespace ETS_WS.WebUserControls
/// </summary>
public event EventHandler eh_reqSearch;
/// <summary>
/// evento richiesta update page size
/// </summary>
public event EventHandler eh_pageResize;
/// <summary>
/// caricamento pagina
/// </summary>
/// <param name="sender"></param>
@@ -208,9 +212,9 @@ namespace ETS_WS.WebUserControls
protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
{
utils.obj.setSessionVal("srcPageSize", ddlPageSize.SelectedValue);
if (eh_reqSearch != null)
if (eh_pageResize != null)
{
eh_reqSearch(this, new EventArgs());
eh_pageResize(this, new EventArgs());
}
}
}
Binary file not shown.
Binary file not shown.
+1301 -50
View File
File diff suppressed because it is too large Load Diff
+188 -17
View File
@@ -123,14 +123,185 @@ SELECT idxFile, tempName, fullName, userId, DataRic, DataDoc, NumeroCommessa, An
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbDocumentiTableAdapter" GeneratorDataComponentClassName="tbDocumentiTableAdapter" Name="tbDocumenti" UserDataComponentName="tbDocumentiTableAdapter">
<MainSource>
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.tbDocumenti" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.tbDocumenti" 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].[tbDocumenti] WHERE (([idxFile] = @Original_idxFile) AND ([Nome] = @Original_Nome) AND ([fullPath] = @Original_fullPath) AND ([userId] = @Original_userId) AND ((@IsNull_NrProtocollo = 1 AND [NrProtocollo] IS NULL) OR ([NrProtocollo] = @Original_NrProtocollo)) AND ((@IsNull_Numero = 1 AND [Numero] IS NULL) OR ([Numero] = @Original_Numero)) AND ((@IsNull_Anno = 1 AND [Anno] IS NULL) OR ([Anno] = @Original_Anno)) AND ((@IsNull_DataRic = 1 AND [DataRic] IS NULL) OR ([DataRic] = @Original_DataRic)) AND ((@IsNull_DataDoc = 1 AND [DataDoc] IS NULL) OR ([DataDoc] = @Original_DataDoc)) AND ((@IsNull_Commessa = 1 AND [Commessa] IS NULL) OR ([Commessa] = @Original_Commessa)) AND ((@IsNull_NumeroCommessa = 1 AND [NumeroCommessa] IS NULL) OR ([NumeroCommessa] = @Original_NumeroCommessa)) AND ((@IsNull_AnnoCommessa = 1 AND [AnnoCommessa] IS NULL) OR ([AnnoCommessa] = @Original_AnnoCommessa)) AND ((@IsNull_Fase = 1 AND [Fase] IS NULL) OR ([Fase] = @Original_Fase)) AND ((@IsNull_Fonte = 1 AND [Fonte] IS NULL) OR ([Fonte] = @Original_Fonte)) AND ((@IsNull_Oggetto = 1 AND [Oggetto] IS NULL) OR ([Oggetto] = @Original_Oggetto)) AND ((@IsNull_InOut = 1 AND [InOut] IS NULL) OR ([InOut] = @Original_InOut)) AND ((@IsNull_Tipologia = 1 AND [Tipologia] IS NULL) OR ([Tipologia] = @Original_Tipologia)) AND ((@IsNull_Riferimenti = 1 AND [Riferimenti] IS NULL) OR ([Riferimenti] = @Original_Riferimenti)) AND ((@IsNull_Attivita = 1 AND [Attivita] IS NULL) OR ([Attivita] = @Original_Attivita)) AND ((@IsNull_Autore = 1 AND [Autore] IS NULL) OR ([Autore] = @Original_Autore)) AND ((@IsNull_SA = 1 AND [SA] IS NULL) OR ([SA] = @Original_SA)) AND ((@IsNull_Redattore = 1 AND [Redattore] IS NULL) OR ([Redattore] = @Original_Redattore)) AND ((@IsNull_SR = 1 AND [SR] IS NULL) OR ([SR] = @Original_SR)) AND ((@IsNull_LegUtente = 1 AND [LegUtente] IS NULL) OR ([LegUtente] = @Original_LegUtente)) AND ((@IsNull_Spunta = 1 AND [Spunta] IS NULL) OR ([Spunta] = @Original_Spunta)) AND ((@IsNull_Num_Fattura = 1 AND [Num_Fattura] IS NULL) OR ([Num_Fattura] = @Original_Num_Fattura)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxFile" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxFile" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fullPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fullPath" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_userId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userId" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NrProtocollo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NrProtocollo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NrProtocollo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NrProtocollo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Numero" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numero" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Numero" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numero" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Anno" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Anno" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DataRic" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DataRic" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataRic" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataRic" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DataDoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DataDoc" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataDoc" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataDoc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Commessa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Commessa" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Commessa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Commessa" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NumeroCommessa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumeroCommessa" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_NumeroCommessa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NumeroCommessa" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AnnoCommessa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AnnoCommessa" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AnnoCommessa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnnoCommessa" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Fase" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Fase" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Fase" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fase" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Fonte" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Fonte" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Fonte" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fonte" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Oggetto" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Oggetto" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Oggetto" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Oggetto" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_InOut" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InOut" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_InOut" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="InOut" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Tipologia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Tipologia" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Tipologia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tipologia" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Riferimenti" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Riferimenti" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Riferimenti" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Riferimenti" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Attivita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Attivita" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Attivita" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Attivita" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Autore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Autore" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Autore" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Autore" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SA" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SA" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SA" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SA" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Redattore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Redattore" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Redattore" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Redattore" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SR" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LegUtente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LegUtente" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_LegUtente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LegUtente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Spunta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Spunta" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Spunta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Spunta" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Num_Fattura" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Num_Fattura" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Num_Fattura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Num_Fattura" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[tbDocumenti] ([Nome], [fullPath], [userId], [NrProtocollo], [Numero], [Anno], [DataRic], [DataDoc], [NumeroCommessa], [AnnoCommessa], [Fase], [Fonte], [Oggetto], [InOut], [Tipologia], [Riferimenti], [Attivita], [Autore], [SA], [Redattore], [SR], [Annotazioni], [LegUtente], [NoteSystemManager], [Spunta], [Num_Fattura]) VALUES (@Nome, @fullPath, @userId, @NrProtocollo, @Numero, @Anno, @DataRic, @DataDoc, @NumeroCommessa, @AnnoCommessa, @Fase, @Fonte, @Oggetto, @InOut, @Tipologia, @Riferimenti, @Attivita, @Autore, @SA, @Redattore, @SR, @Annotazioni, @LegUtente, @NoteSystemManager, @Spunta, @Num_Fattura);
SELECT idxFile, Nome, fullPath, userId, NrProtocollo, Numero, Anno, DataRic, DataDoc, Commessa, NumeroCommessa, AnnoCommessa, Fase, Fonte, Oggetto, InOut, Tipologia, Riferimenti, Attivita, Autore, SA, Redattore, SR, Annotazioni, LegUtente, NoteSystemManager, Spunta, Num_Fattura FROM tbDocumenti WHERE (idxFile = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fullPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fullPath" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@userId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userId" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NrProtocollo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NrProtocollo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Numero" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numero" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Anno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataRic" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataRic" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataDoc" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataDoc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NumeroCommessa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NumeroCommessa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AnnoCommessa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnnoCommessa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Fase" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fase" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Fonte" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fonte" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Oggetto" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Oggetto" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@InOut" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="InOut" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Tipologia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tipologia" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Riferimenti" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Riferimenti" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Attivita" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Attivita" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Autore" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Autore" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SA" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SA" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Redattore" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Redattore" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SR" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SR" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Annotazioni" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="Annotazioni" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LegUtente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LegUtente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NoteSystemManager" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="NoteSystemManager" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Spunta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Spunta" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Num_Fattura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Num_Fattura" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM tbDocumenti</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idxFile, Nome, fullPath, userId, NrProtocollo, Numero, Anno, DataRic, DataDoc, Commessa, NumeroCommessa, AnnoCommessa, Fase, Fonte, Oggetto, InOut, Tipologia, Riferimenti, Attivita, Autore, SA, Redattore, SR, Annotazioni, LegUtente, NoteSystemManager, Spunta, Num_Fattura FROM dbo.tbDocumenti</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[tbDocumenti] SET [Nome] = @Nome, [fullPath] = @fullPath, [userId] = @userId, [NrProtocollo] = @NrProtocollo, [Numero] = @Numero, [Anno] = @Anno, [DataRic] = @DataRic, [DataDoc] = @DataDoc, [NumeroCommessa] = @NumeroCommessa, [AnnoCommessa] = @AnnoCommessa, [Fase] = @Fase, [Fonte] = @Fonte, [Oggetto] = @Oggetto, [InOut] = @InOut, [Tipologia] = @Tipologia, [Riferimenti] = @Riferimenti, [Attivita] = @Attivita, [Autore] = @Autore, [SA] = @SA, [Redattore] = @Redattore, [SR] = @SR, [Annotazioni] = @Annotazioni, [LegUtente] = @LegUtente, [NoteSystemManager] = @NoteSystemManager, [Spunta] = @Spunta, [Num_Fattura] = @Num_Fattura WHERE (([idxFile] = @Original_idxFile) AND ([Nome] = @Original_Nome) AND ([fullPath] = @Original_fullPath) AND ([userId] = @Original_userId) AND ((@IsNull_NrProtocollo = 1 AND [NrProtocollo] IS NULL) OR ([NrProtocollo] = @Original_NrProtocollo)) AND ((@IsNull_Numero = 1 AND [Numero] IS NULL) OR ([Numero] = @Original_Numero)) AND ((@IsNull_Anno = 1 AND [Anno] IS NULL) OR ([Anno] = @Original_Anno)) AND ((@IsNull_DataRic = 1 AND [DataRic] IS NULL) OR ([DataRic] = @Original_DataRic)) AND ((@IsNull_DataDoc = 1 AND [DataDoc] IS NULL) OR ([DataDoc] = @Original_DataDoc)) AND ((@IsNull_Commessa = 1 AND [Commessa] IS NULL) OR ([Commessa] = @Original_Commessa)) AND ((@IsNull_NumeroCommessa = 1 AND [NumeroCommessa] IS NULL) OR ([NumeroCommessa] = @Original_NumeroCommessa)) AND ((@IsNull_AnnoCommessa = 1 AND [AnnoCommessa] IS NULL) OR ([AnnoCommessa] = @Original_AnnoCommessa)) AND ((@IsNull_Fase = 1 AND [Fase] IS NULL) OR ([Fase] = @Original_Fase)) AND ((@IsNull_Fonte = 1 AND [Fonte] IS NULL) OR ([Fonte] = @Original_Fonte)) AND ((@IsNull_Oggetto = 1 AND [Oggetto] IS NULL) OR ([Oggetto] = @Original_Oggetto)) AND ((@IsNull_InOut = 1 AND [InOut] IS NULL) OR ([InOut] = @Original_InOut)) AND ((@IsNull_Tipologia = 1 AND [Tipologia] IS NULL) OR ([Tipologia] = @Original_Tipologia)) AND ((@IsNull_Riferimenti = 1 AND [Riferimenti] IS NULL) OR ([Riferimenti] = @Original_Riferimenti)) AND ((@IsNull_Attivita = 1 AND [Attivita] IS NULL) OR ([Attivita] = @Original_Attivita)) AND ((@IsNull_Autore = 1 AND [Autore] IS NULL) OR ([Autore] = @Original_Autore)) AND ((@IsNull_SA = 1 AND [SA] IS NULL) OR ([SA] = @Original_SA)) AND ((@IsNull_Redattore = 1 AND [Redattore] IS NULL) OR ([Redattore] = @Original_Redattore)) AND ((@IsNull_SR = 1 AND [SR] IS NULL) OR ([SR] = @Original_SR)) AND ((@IsNull_LegUtente = 1 AND [LegUtente] IS NULL) OR ([LegUtente] = @Original_LegUtente)) AND ((@IsNull_Spunta = 1 AND [Spunta] IS NULL) OR ([Spunta] = @Original_Spunta)) AND ((@IsNull_Num_Fattura = 1 AND [Num_Fattura] IS NULL) OR ([Num_Fattura] = @Original_Num_Fattura)));
SELECT idxFile, Nome, fullPath, userId, NrProtocollo, Numero, Anno, DataRic, DataDoc, Commessa, NumeroCommessa, AnnoCommessa, Fase, Fonte, Oggetto, InOut, Tipologia, Riferimenti, Attivita, Autore, SA, Redattore, SR, Annotazioni, LegUtente, NoteSystemManager, Spunta, Num_Fattura FROM tbDocumenti WHERE (idxFile = @idxFile)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fullPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fullPath" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@userId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userId" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NrProtocollo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NrProtocollo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Numero" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numero" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Anno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataRic" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataRic" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataDoc" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataDoc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NumeroCommessa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NumeroCommessa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AnnoCommessa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnnoCommessa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Fase" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fase" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Fonte" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fonte" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Oggetto" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Oggetto" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@InOut" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="InOut" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Tipologia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tipologia" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Riferimenti" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Riferimenti" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Attivita" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Attivita" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Autore" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Autore" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SA" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SA" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Redattore" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Redattore" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SR" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SR" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Annotazioni" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="Annotazioni" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LegUtente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LegUtente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NoteSystemManager" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="NoteSystemManager" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Spunta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Spunta" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Num_Fattura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Num_Fattura" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxFile" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxFile" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fullPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fullPath" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_userId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userId" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NrProtocollo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NrProtocollo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NrProtocollo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NrProtocollo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Numero" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numero" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Numero" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numero" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Anno" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Anno" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DataRic" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DataRic" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataRic" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataRic" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DataDoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DataDoc" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataDoc" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataDoc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Commessa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Commessa" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Commessa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Commessa" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NumeroCommessa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumeroCommessa" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_NumeroCommessa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NumeroCommessa" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AnnoCommessa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AnnoCommessa" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AnnoCommessa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnnoCommessa" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Fase" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Fase" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Fase" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fase" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Fonte" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Fonte" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Fonte" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fonte" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Oggetto" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Oggetto" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Oggetto" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Oggetto" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_InOut" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InOut" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_InOut" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="InOut" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Tipologia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Tipologia" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Tipologia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tipologia" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Riferimenti" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Riferimenti" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Riferimenti" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Riferimenti" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Attivita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Attivita" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Attivita" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Attivita" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Autore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Autore" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Autore" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Autore" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SA" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SA" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SA" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SA" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Redattore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Redattore" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Redattore" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Redattore" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SR" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LegUtente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LegUtente" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_LegUtente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LegUtente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Spunta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Spunta" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Spunta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Spunta" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Num_Fattura" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Num_Fattura" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Num_Fattura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Num_Fattura" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idxFile" ColumnName="idxFile" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxFile" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idxFile" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
@@ -143,6 +314,7 @@ FROM tbDocumenti</CommandText>
<Mapping SourceColumn="Anno" DataSetColumn="Anno" />
<Mapping SourceColumn="DataRic" DataSetColumn="DataRic" />
<Mapping SourceColumn="DataDoc" DataSetColumn="DataDoc" />
<Mapping SourceColumn="Commessa" DataSetColumn="Commessa" />
<Mapping SourceColumn="NumeroCommessa" DataSetColumn="NumeroCommessa" />
<Mapping SourceColumn="AnnoCommessa" DataSetColumn="AnnoCommessa" />
<Mapping SourceColumn="Fase" DataSetColumn="Fase" />
@@ -161,7 +333,6 @@ FROM tbDocumenti</CommandText>
<Mapping SourceColumn="NoteSystemManager" DataSetColumn="NoteSystemManager" />
<Mapping SourceColumn="Spunta" DataSetColumn="Spunta" />
<Mapping SourceColumn="Num_Fattura" DataSetColumn="Num_Fattura" />
<Mapping SourceColumn="Commessa" DataSetColumn="Commessa" />
</Mappings>
<Sources>
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.stp_tbDocs_getBySearch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getBySearch" GetMethodModifier="Public" GetMethodName="getBySearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getBySearch" UserSourceName="getBySearch">
@@ -182,7 +353,7 @@ FROM tbDocumenti</CommandText>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.stp_tbDocs_getBySearch_Count" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="getBySearch_Count" Modifier="Public" Name="getBySearch_Count" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="getBySearch_Count">
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.stp_tbDocs_getBySearch_Count" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="getBySearch_Count" Modifier="Public" Name="getBySearch_Count" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="getBySearch_Count">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_tbDocs_getBySearch_Count</CommandText>
@@ -224,7 +395,7 @@ FROM tbDocumenti</CommandText>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.stp_taDocs_insert" DbObjectType="StoredProcedure" 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="GetDataBy" UserSourceName="insertQuery">
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.stp_taDocs_insert" DbObjectType="StoredProcedure" 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">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_taDocs_insert</CommandText>
@@ -256,7 +427,7 @@ FROM tbDocumenti</CommandText>
<xs:element name="DS_WebScip" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_WebScip" msprop:Generator_UserDSName="DS_WebScip">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="tmpFileUt" msprop:Generator_TableClassName="tmpFileUtDataTable" msprop:Generator_TableVarName="tabletmpFileUt" msprop:Generator_TablePropName="tmpFileUt" msprop:Generator_RowDeletingName="tmpFileUtRowDeleting" msprop:Generator_RowChangingName="tmpFileUtRowChanging" msprop:Generator_RowEvHandlerName="tmpFileUtRowChangeEventHandler" msprop:Generator_RowDeletedName="tmpFileUtRowDeleted" msprop:Generator_UserTableName="tmpFileUt" msprop:Generator_RowChangedName="tmpFileUtRowChanged" msprop:Generator_RowEvArgName="tmpFileUtRowChangeEvent" msprop:Generator_RowClassName="tmpFileUtRow">
<xs:element name="tmpFileUt" msprop:Generator_TableClassName="tmpFileUtDataTable" msprop:Generator_TableVarName="tabletmpFileUt" msprop:Generator_RowChangedName="tmpFileUtRowChanged" msprop:Generator_TablePropName="tmpFileUt" msprop:Generator_RowDeletingName="tmpFileUtRowDeleting" msprop:Generator_RowChangingName="tmpFileUtRowChanging" msprop:Generator_RowEvHandlerName="tmpFileUtRowChangeEventHandler" msprop:Generator_RowDeletedName="tmpFileUtRowDeleted" msprop:Generator_RowClassName="tmpFileUtRow" msprop:Generator_UserTableName="tmpFileUt" msprop:Generator_RowEvArgName="tmpFileUtRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFile" msprop:Generator_ColumnVarNameInTable="columnidxFile" msprop:Generator_ColumnPropNameInRow="idxFile" msprop:Generator_ColumnPropNameInTable="idxFileColumn" msprop:Generator_UserColumnName="idxFile" type="xs:int" />
@@ -328,7 +499,7 @@ FROM tbDocumenti</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="tbDocumenti" msprop:Generator_TableClassName="tbDocumentiDataTable" msprop:Generator_TableVarName="tabletbDocumenti" msprop:Generator_RowChangedName="tbDocumentiRowChanged" msprop:Generator_TablePropName="tbDocumenti" msprop:Generator_RowDeletingName="tbDocumentiRowDeleting" msprop:Generator_RowChangingName="tbDocumentiRowChanging" msprop:Generator_RowEvHandlerName="tbDocumentiRowChangeEventHandler" msprop:Generator_RowDeletedName="tbDocumentiRowDeleted" msprop:Generator_RowClassName="tbDocumentiRow" msprop:Generator_UserTableName="tbDocumenti" msprop:Generator_RowEvArgName="tbDocumentiRowChangeEvent">
<xs:element name="tbDocumenti" msprop:Generator_TableClassName="tbDocumentiDataTable" msprop:Generator_TableVarName="tabletbDocumenti" msprop:Generator_TablePropName="tbDocumenti" msprop:Generator_RowDeletingName="tbDocumentiRowDeleting" msprop:Generator_RowChangingName="tbDocumentiRowChanging" msprop:Generator_RowEvHandlerName="tbDocumentiRowChangeEventHandler" msprop:Generator_RowDeletedName="tbDocumentiRowDeleted" msprop:Generator_UserTableName="tbDocumenti" msprop:Generator_RowChangedName="tbDocumentiRowChanged" msprop:Generator_RowEvArgName="tbDocumentiRowChangeEvent" msprop:Generator_RowClassName="tbDocumentiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFile" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxFile" msprop:Generator_ColumnPropNameInRow="idxFile" msprop:Generator_ColumnPropNameInTable="idxFileColumn" msprop:Generator_UserColumnName="idxFile" type="xs:int" />
@@ -358,6 +529,13 @@ FROM tbDocumenti</CommandText>
<xs:element name="Anno" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" minOccurs="0" />
<xs:element name="DataRic" msprop:Generator_ColumnVarNameInTable="columnDataRic" msprop:Generator_ColumnPropNameInRow="DataRic" msprop:Generator_ColumnPropNameInTable="DataRicColumn" msprop:Generator_UserColumnName="DataRic" type="xs:dateTime" minOccurs="0" />
<xs:element name="DataDoc" msprop:Generator_ColumnVarNameInTable="columnDataDoc" msprop:Generator_ColumnPropNameInRow="DataDoc" msprop:Generator_ColumnPropNameInTable="DataDocColumn" msprop:Generator_UserColumnName="DataDoc" type="xs:dateTime" minOccurs="0" />
<xs:element name="Commessa" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCommessa" msprop:Generator_ColumnPropNameInRow="Commessa" msprop:Generator_ColumnPropNameInTable="CommessaColumn" msprop:Generator_UserColumnName="Commessa" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="9" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumeroCommessa" msprop:Generator_ColumnVarNameInTable="columnNumeroCommessa" msprop:Generator_ColumnPropNameInRow="NumeroCommessa" msprop:Generator_ColumnPropNameInTable="NumeroCommessaColumn" msprop:Generator_UserColumnName="NumeroCommessa" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -375,7 +553,7 @@ FROM tbDocumenti</CommandText>
<xs:element name="Fase" msprop:Generator_ColumnVarNameInTable="columnFase" msprop:Generator_ColumnPropNameInRow="Fase" msprop:Generator_ColumnPropNameInTable="FaseColumn" msprop:Generator_UserColumnName="Fase" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
@@ -478,13 +656,6 @@ FROM tbDocumenti</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Commessa" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCommessa" msprop:Generator_ColumnPropNameInRow="Commessa" msprop:Generator_ColumnPropNameInTable="CommessaColumn" msprop:Generator_UserColumnName="Commessa" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="260" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>