diff --git a/ETS-WS/ETS-WS.suo b/ETS-WS/ETS-WS.suo
index 92a7f16..e77c1df 100644
Binary files a/ETS-WS/ETS-WS.suo and b/ETS-WS/ETS-WS.suo differ
diff --git a/ETS-WS/ETS-WS/Default.aspx.cs b/ETS-WS/ETS-WS/Default.aspx.cs
index 093a61f..486c6ae 100644
--- a/ETS-WS/ETS-WS/Default.aspx.cs
+++ b/ETS-WS/ETS-WS/Default.aspx.cs
@@ -5,6 +5,7 @@ using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using NLog;
+using ETS_Data;
namespace ETS_WS
{
@@ -14,6 +15,12 @@ namespace ETS_WS
{
Logger lg = LogManager.GetCurrentClassLogger();
lg.Info("User login");
+ // salvo temp path utente
+ if (utils.obj.StringSessionObj("UserTempPath") == "")
+ {
+ utils.obj.setSessionVal("UserTempPath", string.Format("{0}/{1}", utils.obj.confReadString("tempUplDir"), utils.obj.currUser_FS));
+ }
+ // rimando a gestione documenti
Response.Redirect("~/GestioneDocumenti.aspx");
}
}
diff --git a/ETS-WS/ETS-WS/ETS-WS.csproj b/ETS-WS/ETS-WS/ETS-WS.csproj
index ef0b69d..e9de8f5 100644
--- a/ETS-WS/ETS-WS/ETS-WS.csproj
+++ b/ETS-WS/ETS-WS/ETS-WS.csproj
@@ -162,11 +162,13 @@
Web.config
+
+
@@ -222,6 +224,13 @@
AjaxSimpleFull.Master
+
+ mod_archivioDocumenti.ascx
+ ASPXCodeBehind
+
+
+ mod_archivioDocumenti.ascx
+
mod_fileUpload.ascx
ASPXCodeBehind
@@ -257,6 +266,13 @@
mod_menuBottomFullpage.ascx
+
+ mod_myTempFile.ascx
+ ASPXCodeBehind
+
+
+ mod_myTempFile.ascx
+
mod_testata.ascx
ASPXCodeBehind
@@ -285,7 +301,7 @@
-
+
@@ -310,7 +326,7 @@
False
True
- 27869
+ 51756
/
diff --git a/ETS-WS/ETS-WS/WebUserControls/mod_archivioDocumenti.ascx b/ETS-WS/ETS-WS/WebUserControls/mod_archivioDocumenti.ascx
new file mode 100644
index 0000000..ffdea90
--- /dev/null
+++ b/ETS-WS/ETS-WS/WebUserControls/mod_archivioDocumenti.ascx
@@ -0,0 +1,48 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_archivioDocumenti.ascx.cs"
+ Inherits="ETS_WS.WebUserControls.mod_archivioDocumenti" %>
+<% if (false)
+ { %>
+
+
+
+
+
+<% } %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ETS-WS/ETS-WS/WebUserControls/mod_archivioDocumenti.ascx.cs b/ETS-WS/ETS-WS/WebUserControls/mod_archivioDocumenti.ascx.cs
new file mode 100644
index 0000000..77b12ba
--- /dev/null
+++ b/ETS-WS/ETS-WS/WebUserControls/mod_archivioDocumenti.ascx.cs
@@ -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 ETS_WS.WebUserControls
+{
+ public partial class mod_archivioDocumenti : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/ETS-WS/ETS-WS/WebUserControls/mod_archivioDocumenti.ascx.designer.cs b/ETS-WS/ETS-WS/WebUserControls/mod_archivioDocumenti.ascx.designer.cs
new file mode 100644
index 0000000..29bd54e
--- /dev/null
+++ b/ETS-WS/ETS-WS/WebUserControls/mod_archivioDocumenti.ascx.designer.cs
@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace ETS_WS.WebUserControls {
+
+
+ public partial class mod_archivioDocumenti {
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/ETS-WS/ETS-WS/WebUserControls/mod_fileUpload.ascx.cs b/ETS-WS/ETS-WS/WebUserControls/mod_fileUpload.ascx.cs
index 1bc2df9..5651ee8 100644
--- a/ETS-WS/ETS-WS/WebUserControls/mod_fileUpload.ascx.cs
+++ b/ETS-WS/ETS-WS/WebUserControls/mod_fileUpload.ascx.cs
@@ -30,8 +30,16 @@ namespace ETS_WS.WebUserControls
// prima il path
try
{
- path = string.Format("{0}/{1}", utils.obj.confReadString("tempUplDir"), utils.obj.currUser_FS);
- utils.obj.checkDir(path);
+ if (utils.obj.StringSessionObj("UserTempPath") != "")
+ {
+ path = utils.obj.StringSessionObj("UserTempPath");
+ }
+ else
+ {
+ path = string.Format("{0}/{1}", utils.obj.confReadString("tempUplDir"), utils.obj.currUser_FS);
+ utils.obj.setSessionVal("UserTempPath", path);
+ }
+ fileMover.checkDir(path);
}
catch(Exception exc)
{
diff --git a/ETS-WS/ETS-WS/WebUserControls/mod_gestioneDocumenti.ascx b/ETS-WS/ETS-WS/WebUserControls/mod_gestioneDocumenti.ascx
index 4dffb06..1b84506 100644
--- a/ETS-WS/ETS-WS/WebUserControls/mod_gestioneDocumenti.ascx
+++ b/ETS-WS/ETS-WS/WebUserControls/mod_gestioneDocumenti.ascx
@@ -1,16 +1,41 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_gestioneDocumenti.ascx.cs"
Inherits="ETS_WS.WebUserControls.mod_gestioneDocumenti" %>
+<%@ Register Src="mod_archivioDocumenti.ascx"
+ TagName="mod_archivioDocumenti" TagPrefix="uc2" %>
+<% if (false)
+ { %>
+
+
+
+
+
+<% } %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
-
-
-
- tutti i documenti
-
-
-
-
- i miei docs temporanei CARICATI da sistemare
-
-
-
\ No newline at end of file
+<%@ Register Src="mod_myTempFile.ascx" TagName="mod_myTempFile" TagPrefix="uc1" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ETS-WS/ETS-WS/WebUserControls/mod_gestioneDocumenti.ascx.designer.cs b/ETS-WS/ETS-WS/WebUserControls/mod_gestioneDocumenti.ascx.designer.cs
index 04892cc..0bc79b0 100644
--- a/ETS-WS/ETS-WS/WebUserControls/mod_gestioneDocumenti.ascx.designer.cs
+++ b/ETS-WS/ETS-WS/WebUserControls/mod_gestioneDocumenti.ascx.designer.cs
@@ -30,6 +30,15 @@ namespace ETS_WS.WebUserControls {
///
protected global::AjaxControlToolkit.TabPanel tblDocumenti;
+ ///
+ /// mod_archivioDocumenti1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::ETS_WS.WebUserControls.mod_archivioDocumenti mod_archivioDocumenti1;
+
///
/// tblMyDocs control.
///
@@ -38,5 +47,14 @@ namespace ETS_WS.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
///
protected global::AjaxControlToolkit.TabPanel tblMyDocs;
+
+ ///
+ /// mod_myTempFile1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::ETS_WS.WebUserControls.mod_myTempFile mod_myTempFile1;
}
}
diff --git a/ETS-WS/ETS-WS/WebUserControls/mod_myTempFile.ascx b/ETS-WS/ETS-WS/WebUserControls/mod_myTempFile.ascx
new file mode 100644
index 0000000..d5239b4
--- /dev/null
+++ b/ETS-WS/ETS-WS/WebUserControls/mod_myTempFile.ascx
@@ -0,0 +1,36 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_myTempFile.ascx.cs"
+ Inherits="ETS_WS.WebUserControls.mod_myTempFile" %>
+<% if (false)
+ { %>
+
+
+
+
+
+<% } %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ETS-WS/ETS-WS/WebUserControls/mod_myTempFile.ascx.cs b/ETS-WS/ETS-WS/WebUserControls/mod_myTempFile.ascx.cs
new file mode 100644
index 0000000..c1a8bd8
--- /dev/null
+++ b/ETS-WS/ETS-WS/WebUserControls/mod_myTempFile.ascx.cs
@@ -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 ETS_WS.WebUserControls
+{
+ public partial class mod_myTempFile : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/ETS-WS/ETS-WS/WebUserControls/mod_myTempFile.ascx.designer.cs b/ETS-WS/ETS-WS/WebUserControls/mod_myTempFile.ascx.designer.cs
new file mode 100644
index 0000000..5f1ae1a
--- /dev/null
+++ b/ETS-WS/ETS-WS/WebUserControls/mod_myTempFile.ascx.designer.cs
@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace ETS_WS.WebUserControls {
+
+
+ public partial class mod_myTempFile {
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/ETS-WS/ETS-WS/bin/ETS-WS.dll b/ETS-WS/ETS-WS/bin/ETS-WS.dll
index 3c20f95..ef78f6a 100644
Binary files a/ETS-WS/ETS-WS/bin/ETS-WS.dll and b/ETS-WS/ETS-WS/bin/ETS-WS.dll differ
diff --git a/ETS-WS/ETS-WS/bin/ETS_Data.dll b/ETS-WS/ETS-WS/bin/ETS_Data.dll
index 27930fa..a91636d 100644
Binary files a/ETS-WS/ETS-WS/bin/ETS_Data.dll and b/ETS-WS/ETS-WS/bin/ETS_Data.dll differ
diff --git a/ETS-WS/ETS-WS/bin/css/BuildBlocks.css b/ETS-WS/ETS-WS/bin/css/BuildBlocks.css
index c486b4c..5ccb5ba 100644
--- a/ETS-WS/ETS-WS/bin/css/BuildBlocks.css
+++ b/ETS-WS/ETS-WS/bin/css/BuildBlocks.css
@@ -206,3 +206,51 @@
width: 400px;
}
/* END gestione blocco dati */
+
+
+/* standard gridview */
+.grView
+{
+ color: #333333;
+ font-size: 8pt;
+ padding-left: 1px;
+ padding-right: 1px;
+ padding-top: 1px;
+ padding-bottom: 1px;
+}
+.ctrHeaderPager
+{
+ background-color: #b8b8b8;
+ font-weight: bold;
+ color: White;
+}
+.ctrHeaderPagerRight
+{
+ background-color: #b8b8b8;
+ font-weight: bold;
+ color: White;
+ text-align: right;
+}
+.ctrHeaderPagerBlue
+{
+ background-color: #507CD1;
+ height: 1px;
+}
+.ctrHeaderPagerBlueRight
+{
+ background-color: #507CD1;
+ height: 1px;
+ text-align: right;
+}
+.ctrFooter
+{
+ background-color: #507CD1;
+ font-weight: bold;
+ color: White;
+}
+.ctrRowStyle
+{
+ vertical-align: top;
+ background-color: #EFF3FB;
+}
+/* end gridview */
\ No newline at end of file
diff --git a/ETS-WS/ETS-WS/css/BuildBlocks.css b/ETS-WS/ETS-WS/css/BuildBlocks.css
index c486b4c..5ccb5ba 100644
--- a/ETS-WS/ETS-WS/css/BuildBlocks.css
+++ b/ETS-WS/ETS-WS/css/BuildBlocks.css
@@ -206,3 +206,51 @@
width: 400px;
}
/* END gestione blocco dati */
+
+
+/* standard gridview */
+.grView
+{
+ color: #333333;
+ font-size: 8pt;
+ padding-left: 1px;
+ padding-right: 1px;
+ padding-top: 1px;
+ padding-bottom: 1px;
+}
+.ctrHeaderPager
+{
+ background-color: #b8b8b8;
+ font-weight: bold;
+ color: White;
+}
+.ctrHeaderPagerRight
+{
+ background-color: #b8b8b8;
+ font-weight: bold;
+ color: White;
+ text-align: right;
+}
+.ctrHeaderPagerBlue
+{
+ background-color: #507CD1;
+ height: 1px;
+}
+.ctrHeaderPagerBlueRight
+{
+ background-color: #507CD1;
+ height: 1px;
+ text-align: right;
+}
+.ctrFooter
+{
+ background-color: #507CD1;
+ font-weight: bold;
+ color: White;
+}
+.ctrRowStyle
+{
+ vertical-align: top;
+ background-color: #EFF3FB;
+}
+/* end gridview */
\ No newline at end of file
diff --git a/ETS_Data/DS_applicazione.Designer.cs b/ETS_Data/DS_WebScip.Designer.cs
similarity index 91%
rename from ETS_Data/DS_applicazione.Designer.cs
rename to ETS_Data/DS_WebScip.Designer.cs
index fbf7f66..e33aa9c 100644
--- a/ETS_Data/DS_applicazione.Designer.cs
+++ b/ETS_Data/DS_WebScip.Designer.cs
@@ -20,9 +20,9 @@ namespace ETS_Data {
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
- [global::System.Xml.Serialization.XmlRootAttribute("DS_applicazione")]
+ [global::System.Xml.Serialization.XmlRootAttribute("DS_WebScip")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
- public partial class DS_applicazione : global::System.Data.DataSet {
+ public partial class DS_WebScip : global::System.Data.DataSet {
private tmpFileUtDataTable tabletmpFileUt;
@@ -30,7 +30,7 @@ namespace ETS_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public DS_applicazione() {
+ public DS_WebScip() {
this.BeginInit();
this.InitClass();
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
@@ -41,7 +41,7 @@ namespace ETS_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected DS_applicazione(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ protected DS_WebScip(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context, false) {
if ((this.IsBinarySerialized(info, context) == true)) {
this.InitVars(false);
@@ -127,7 +127,7 @@ namespace ETS_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataSet Clone() {
- DS_applicazione cln = ((DS_applicazione)(base.Clone()));
+ DS_WebScip cln = ((DS_WebScip)(base.Clone()));
cln.InitVars();
cln.SchemaSerializationMode = this.SchemaSerializationMode;
return cln;
@@ -199,9 +199,9 @@ namespace ETS_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
- this.DataSetName = "DS_applicazione";
+ this.DataSetName = "DS_WebScip";
this.Prefix = "";
- this.Namespace = "http://tempuri.org/DS_applicazione.xsd";
+ this.Namespace = "http://tempuri.org/DS_WebScip.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
this.tabletmpFileUt = new tmpFileUtDataTable();
@@ -225,7 +225,7 @@ namespace ETS_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
- DS_applicazione ds = new DS_applicazione();
+ DS_WebScip ds = new DS_WebScip();
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
@@ -283,6 +283,8 @@ namespace ETS_Data {
private global::System.Data.DataColumn columntempName;
+ private global::System.Data.DataColumn columnfullName;
+
private global::System.Data.DataColumn columnuserId;
private global::System.Data.DataColumn columnDataRic;
@@ -350,6 +352,14 @@ namespace ETS_Data {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn fullNameColumn {
+ get {
+ return this.columnfullName;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn userIdColumn {
@@ -459,11 +469,12 @@ namespace ETS_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public tmpFileUtRow AddtmpFileUtRow(int idxFile, string tempName, string userId, System.DateTime DataRic, System.DateTime DataDoc, string NumeroCommessa, string AnnoCommessa, string Fase, string Mittente, string Oggetto, string InOut) {
+ public tmpFileUtRow AddtmpFileUtRow(int idxFile, string tempName, string fullName, string userId, System.DateTime DataRic, System.DateTime DataDoc, string NumeroCommessa, string AnnoCommessa, string Fase, string Mittente, string Oggetto, string InOut) {
tmpFileUtRow rowtmpFileUtRow = ((tmpFileUtRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
idxFile,
tempName,
+ fullName,
userId,
DataRic,
DataDoc,
@@ -504,6 +515,7 @@ namespace ETS_Data {
internal void InitVars() {
this.columnidxFile = base.Columns["idxFile"];
this.columntempName = base.Columns["tempName"];
+ this.columnfullName = base.Columns["fullName"];
this.columnuserId = base.Columns["userId"];
this.columnDataRic = base.Columns["DataRic"];
this.columnDataDoc = base.Columns["DataDoc"];
@@ -522,6 +534,8 @@ namespace ETS_Data {
base.Columns.Add(this.columnidxFile);
this.columntempName = new global::System.Data.DataColumn("tempName", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columntempName);
+ this.columnfullName = new global::System.Data.DataColumn("fullName", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnfullName);
this.columnuserId = new global::System.Data.DataColumn("userId", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnuserId);
this.columnDataRic = new global::System.Data.DataColumn("DataRic", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
@@ -546,6 +560,8 @@ namespace ETS_Data {
this.columnidxFile.Unique = true;
this.columntempName.AllowDBNull = false;
this.columntempName.MaxLength = 500;
+ this.columnfullName.AllowDBNull = false;
+ this.columnfullName.MaxLength = 500;
this.columnuserId.AllowDBNull = false;
this.columnuserId.MaxLength = 50;
this.columnNumeroCommessa.MaxLength = 4;
@@ -621,7 +637,7 @@ namespace ETS_Data {
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
- DS_applicazione ds = new DS_applicazione();
+ DS_WebScip ds = new DS_WebScip();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
@@ -716,6 +732,17 @@ namespace ETS_Data {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string fullName {
+ get {
+ return ((string)(this[this.tabletmpFileUt.fullNameColumn]));
+ }
+ set {
+ this[this.tabletmpFileUt.fullNameColumn] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string userId {
@@ -987,7 +1014,7 @@ namespace ETS_Data {
}
}
}
-namespace ETS_Data.DS_applicazioneTableAdapters {
+namespace ETS_Data.DS_WebScipTableAdapters {
///
@@ -1113,6 +1140,7 @@ namespace ETS_Data.DS_applicazioneTableAdapters {
tableMapping.DataSetTable = "tmpFileUt";
tableMapping.ColumnMappings.Add("idxFile", "idxFile");
tableMapping.ColumnMappings.Add("tempName", "tempName");
+ tableMapping.ColumnMappings.Add("fullName", "fullName");
tableMapping.ColumnMappings.Add("userId", "userId");
tableMapping.ColumnMappings.Add("DataRic", "DataRic");
tableMapping.ColumnMappings.Add("DataDoc", "DataDoc");
@@ -1125,10 +1153,11 @@ namespace ETS_Data.DS_applicazioneTableAdapters {
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].[tmpFileUt] WHERE (([idxFile] = @Original_idxFile) AND ([tempName] = @Original_tempName) AND ([userId] = @Original_userId) 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_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_Mittente = 1 AND [Mittente] IS NULL) OR ([Mittente] = @Original_Mittente)) AND ((@IsNull_Oggetto = 1 AND [Oggetto] IS NULL) OR ([Oggetto] = @Original_Oggetto)) AND ((@IsNull_InOut = 1 AND [InOut] IS NULL) OR ([InOut] = @Original_InOut)))";
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[tmpFileUt] WHERE (([idxFile] = @Original_idxFile) AND ([tempName] = @Original_tempName) AND ([fullName] = @Original_fullName) AND ([userId] = @Original_userId) 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_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_Mittente = 1 AND [Mittente] IS NULL) OR ([Mittente] = @Original_Mittente)) AND ((@IsNull_Oggetto = 1 AND [Oggetto] IS NULL) OR ([Oggetto] = @Original_Oggetto)) AND ((@IsNull_InOut = 1 AND [InOut] IS NULL) OR ([InOut] = @Original_InOut)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFile", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFile", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_tempName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tempName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_fullName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fullName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userId", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataRic", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRic", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataRic", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRic", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -1148,11 +1177,12 @@ namespace ETS_Data.DS_applicazioneTableAdapters {
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InOut", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InOut", 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].[tmpFileUt] ([idxFile], [tempName], [userId], [DataRic], [DataDoc], [NumeroCommessa], [AnnoCommessa], [Fase], [Mittente], [Oggetto], [InOut]) VALUES (@idxFile, @tempName, @userId, @DataRic, @DataDoc, @NumeroCommessa, @AnnoCommessa, @Fase, @Mittente, @Oggetto, @InOut);
-SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa, Fase, Mittente, Oggetto, InOut FROM tmpFileUt WHERE (idxFile = @idxFile)";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[tmpFileUt] ([idxFile], [tempName], [fullName], [userId], [DataRic], [DataDoc], [NumeroCommessa], [AnnoCommessa], [Fase], [Mittente], [Oggetto], [InOut]) VALUES (@idxFile, @tempName, @fullName, @userId, @DataRic, @DataDoc, @NumeroCommessa, @AnnoCommessa, @Fase, @Mittente, @Oggetto, @InOut);
+SELECT idxFile, tempName, fullName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa, Fase, Mittente, Oggetto, InOut FROM tmpFileUt WHERE (idxFile = @idxFile)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFile", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFile", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tempName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tempName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fullName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fullName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userId", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRic", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRic", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataDoc", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataDoc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -1164,11 +1194,12 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InOut", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InOut", 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].[tmpFileUt] SET [idxFile] = @idxFile, [tempName] = @tempName, [userId] = @userId, [DataRic] = @DataRic, [DataDoc] = @DataDoc, [NumeroCommessa] = @NumeroCommessa, [AnnoCommessa] = @AnnoCommessa, [Fase] = @Fase, [Mittente] = @Mittente, [Oggetto] = @Oggetto, [InOut] = @InOut WHERE (([idxFile] = @Original_idxFile) AND ([tempName] = @Original_tempName) AND ([userId] = @Original_userId) 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_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_Mittente = 1 AND [Mittente] IS NULL) OR ([Mittente] = @Original_Mittente)) AND ((@IsNull_Oggetto = 1 AND [Oggetto] IS NULL) OR ([Oggetto] = @Original_Oggetto)) AND ((@IsNull_InOut = 1 AND [InOut] IS NULL) OR ([InOut] = @Original_InOut)));
-SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa, Fase, Mittente, Oggetto, InOut FROM tmpFileUt WHERE (idxFile = @idxFile)";
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[tmpFileUt] SET [idxFile] = @idxFile, [tempName] = @tempName, [fullName] = @fullName, [userId] = @userId, [DataRic] = @DataRic, [DataDoc] = @DataDoc, [NumeroCommessa] = @NumeroCommessa, [AnnoCommessa] = @AnnoCommessa, [Fase] = @Fase, [Mittente] = @Mittente, [Oggetto] = @Oggetto, [InOut] = @InOut WHERE (([idxFile] = @Original_idxFile) AND ([tempName] = @Original_tempName) AND ([fullName] = @Original_fullName) AND ([userId] = @Original_userId) 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_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_Mittente = 1 AND [Mittente] IS NULL) OR ([Mittente] = @Original_Mittente)) AND ((@IsNull_Oggetto = 1 AND [Oggetto] IS NULL) OR ([Oggetto] = @Original_Oggetto)) AND ((@IsNull_InOut = 1 AND [InOut] IS NULL) OR ([InOut] = @Original_InOut)));
+SELECT idxFile, tempName, fullName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa, Fase, Mittente, Oggetto, InOut FROM tmpFileUt WHERE (idxFile = @idxFile)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFile", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFile", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tempName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tempName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fullName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fullName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userId", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRic", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRic", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataDoc", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataDoc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -1180,6 +1211,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InOut", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InOut", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFile", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFile", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_tempName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tempName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_fullName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fullName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userId", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataRic", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRic", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataRic", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRic", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -1212,8 +1244,8 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = "SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa," +
- " Fase, Mittente, Oggetto, InOut FROM dbo.tmpFileUt";
+ this._commandCollection[0].CommandText = "SELECT idxFile, tempName, fullName, userId, DataRic, DataDoc, NumeroCommessa, Ann" +
+ "oCommessa, Fase, Mittente, Oggetto, InOut FROM dbo.tmpFileUt";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
@@ -1221,7 +1253,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
[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.Fill, true)]
- public virtual int Fill(DS_applicazione.tmpFileUtDataTable dataTable) {
+ public virtual int Fill(DS_WebScip.tmpFileUtDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
@@ -1234,9 +1266,9 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
[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, true)]
- public virtual DS_applicazione.tmpFileUtDataTable GetData() {
+ public virtual DS_WebScip.tmpFileUtDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
- DS_applicazione.tmpFileUtDataTable dataTable = new DS_applicazione.tmpFileUtDataTable();
+ DS_WebScip.tmpFileUtDataTable dataTable = new DS_WebScip.tmpFileUtDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
@@ -1244,14 +1276,14 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(DS_applicazione.tmpFileUtDataTable dataTable) {
+ public virtual int Update(DS_WebScip.tmpFileUtDataTable dataTable) {
return this.Adapter.Update(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")]
- public virtual int Update(DS_applicazione dataSet) {
+ public virtual int Update(DS_WebScip dataSet) {
return this.Adapter.Update(dataSet, "tmpFileUt");
}
@@ -1274,7 +1306,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
- public virtual int Delete(int Original_idxFile, string Original_tempName, string Original_userId, global::System.Nullable Original_DataRic, global::System.Nullable Original_DataDoc, string Original_NumeroCommessa, string Original_AnnoCommessa, string Original_Fase, string Original_Mittente, string Original_Oggetto, string Original_InOut) {
+ public virtual int Delete(int Original_idxFile, string Original_tempName, string Original_fullName, string Original_userId, global::System.Nullable Original_DataRic, global::System.Nullable Original_DataDoc, string Original_NumeroCommessa, string Original_AnnoCommessa, string Original_Fase, string Original_Mittente, string Original_Oggetto, string Original_InOut) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxFile));
if ((Original_tempName == null)) {
throw new global::System.ArgumentNullException("Original_tempName");
@@ -1282,75 +1314,81 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_tempName));
}
+ if ((Original_fullName == null)) {
+ throw new global::System.ArgumentNullException("Original_fullName");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_fullName));
+ }
if ((Original_userId == null)) {
throw new global::System.ArgumentNullException("Original_userId");
}
else {
- this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_userId));
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_userId));
}
if ((Original_DataRic.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(Original_DataRic.Value));
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((System.DateTime)(Original_DataRic.Value));
}
else {
- this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
}
if ((Original_DataDoc.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[6].Value = ((System.DateTime)(Original_DataDoc.Value));
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((System.DateTime)(Original_DataDoc.Value));
}
else {
- this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value;
}
if ((Original_NumeroCommessa == null)) {
- this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_NumeroCommessa));
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_NumeroCommessa));
}
if ((Original_AnnoCommessa == null)) {
- this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_AnnoCommessa));
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_AnnoCommessa));
}
if ((Original_Fase == null)) {
- this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
+ this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_Fase));
+ this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_Fase));
}
if ((Original_Mittente == null)) {
- this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
+ this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_Mittente));
+ this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_Mittente));
}
if ((Original_Oggetto == null)) {
- this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
+ this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_Oggetto));
+ this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[17].Value = ((string)(Original_Oggetto));
}
if ((Original_InOut == null)) {
- this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
+ this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[19].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_InOut));
+ this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[19].Value = ((string)(Original_InOut));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -1372,7 +1410,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
[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(int idxFile, string tempName, string userId, global::System.Nullable DataRic, global::System.Nullable DataDoc, string NumeroCommessa, string AnnoCommessa, string Fase, string Mittente, string Oggetto, string InOut) {
+ public virtual int Insert(int idxFile, string tempName, string fullName, string userId, global::System.Nullable DataRic, global::System.Nullable DataDoc, string NumeroCommessa, string AnnoCommessa, string Fase, string Mittente, string Oggetto, string InOut) {
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxFile));
if ((tempName == null)) {
throw new global::System.ArgumentNullException("tempName");
@@ -1380,59 +1418,65 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(tempName));
}
+ if ((fullName == null)) {
+ throw new global::System.ArgumentNullException("fullName");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(fullName));
+ }
if ((userId == null)) {
throw new global::System.ArgumentNullException("userId");
}
else {
- this.Adapter.InsertCommand.Parameters[2].Value = ((string)(userId));
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(userId));
}
if ((DataRic.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(DataRic.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- if ((DataDoc.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(DataDoc.Value));
+ this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(DataRic.Value));
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
}
- if ((NumeroCommessa == null)) {
- this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
+ if ((DataDoc.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(DataDoc.Value));
}
else {
- this.Adapter.InsertCommand.Parameters[5].Value = ((string)(NumeroCommessa));
+ this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
}
- if ((AnnoCommessa == null)) {
+ if ((NumeroCommessa == null)) {
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.InsertCommand.Parameters[6].Value = ((string)(AnnoCommessa));
+ this.Adapter.InsertCommand.Parameters[6].Value = ((string)(NumeroCommessa));
}
- if ((Fase == null)) {
+ if ((AnnoCommessa == null)) {
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Fase));
+ this.Adapter.InsertCommand.Parameters[7].Value = ((string)(AnnoCommessa));
}
- if ((Mittente == null)) {
+ if ((Fase == null)) {
this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Mittente));
+ this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Fase));
}
- if ((Oggetto == null)) {
+ if ((Mittente == null)) {
this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Oggetto));
+ this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Mittente));
}
- if ((InOut == null)) {
+ if ((Oggetto == null)) {
this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.InsertCommand.Parameters[10].Value = ((string)(InOut));
+ this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Oggetto));
+ }
+ if ((InOut == null)) {
+ this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[11].Value = ((string)(InOut));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -1457,6 +1501,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
public virtual int Update(
int idxFile,
string tempName,
+ string fullName,
string userId,
global::System.Nullable DataRic,
global::System.Nullable DataDoc,
@@ -1468,6 +1513,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
string InOut,
int Original_idxFile,
string Original_tempName,
+ string Original_fullName,
string Original_userId,
global::System.Nullable Original_DataRic,
global::System.Nullable Original_DataDoc,
@@ -1484,136 +1530,148 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(tempName));
}
+ if ((fullName == null)) {
+ throw new global::System.ArgumentNullException("fullName");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(fullName));
+ }
if ((userId == null)) {
throw new global::System.ArgumentNullException("userId");
}
else {
- this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(userId));
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(userId));
}
if ((DataRic.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(DataRic.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- if ((DataDoc.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(DataDoc.Value));
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(DataRic.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
}
- if ((NumeroCommessa == null)) {
- this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
+ if ((DataDoc.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(DataDoc.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(NumeroCommessa));
+ this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
}
- if ((AnnoCommessa == null)) {
+ if ((NumeroCommessa == null)) {
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(AnnoCommessa));
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(NumeroCommessa));
}
- if ((Fase == null)) {
+ if ((AnnoCommessa == null)) {
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Fase));
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(AnnoCommessa));
}
- if ((Mittente == null)) {
+ if ((Fase == null)) {
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Mittente));
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Fase));
}
- if ((Oggetto == null)) {
+ if ((Mittente == null)) {
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Oggetto));
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Mittente));
}
- if ((InOut == null)) {
+ if ((Oggetto == null)) {
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(InOut));
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Oggetto));
}
- this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_idxFile));
+ if ((InOut == null)) {
+ this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(InOut));
+ }
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(Original_idxFile));
if ((Original_tempName == null)) {
throw new global::System.ArgumentNullException("Original_tempName");
}
else {
- this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_tempName));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_tempName));
+ }
+ if ((Original_fullName == null)) {
+ throw new global::System.ArgumentNullException("Original_fullName");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_fullName));
}
if ((Original_userId == null)) {
throw new global::System.ArgumentNullException("Original_userId");
}
else {
- this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_userId));
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_userId));
}
if ((Original_DataRic.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(Original_DataRic.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
- }
- if ((Original_DataDoc.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[17].Value = ((System.DateTime)(Original_DataDoc.Value));
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((System.DateTime)(Original_DataRic.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
}
- if ((Original_NumeroCommessa == null)) {
+ if ((Original_DataDoc.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((System.DateTime)(Original_DataDoc.Value));
+ }
+ else {
this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
}
- else {
- this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_NumeroCommessa));
- }
- if ((Original_AnnoCommessa == null)) {
+ if ((Original_NumeroCommessa == null)) {
this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_AnnoCommessa));
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_NumeroCommessa));
}
- if ((Original_Fase == null)) {
+ if ((Original_AnnoCommessa == null)) {
this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_Fase));
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_AnnoCommessa));
}
- if ((Original_Mittente == null)) {
+ if ((Original_Fase == null)) {
this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_Mittente));
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_Fase));
}
- if ((Original_Oggetto == null)) {
+ if ((Original_Mittente == null)) {
this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_Oggetto));
+ this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_Mittente));
}
- if ((Original_InOut == null)) {
+ if ((Original_Oggetto == null)) {
this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_InOut));
+ this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_Oggetto));
+ }
+ if ((Original_InOut == null)) {
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_InOut));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -1637,6 +1695,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string tempName,
+ string fullName,
string userId,
global::System.Nullable DataRic,
global::System.Nullable DataDoc,
@@ -1648,6 +1707,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
string InOut,
int Original_idxFile,
string Original_tempName,
+ string Original_fullName,
string Original_userId,
global::System.Nullable Original_DataRic,
global::System.Nullable Original_DataDoc,
@@ -1657,7 +1717,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
string Original_Mittente,
string Original_Oggetto,
string Original_InOut) {
- return this.Update(Original_idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa, Fase, Mittente, Oggetto, InOut, Original_idxFile, Original_tempName, Original_userId, Original_DataRic, Original_DataDoc, Original_NumeroCommessa, Original_AnnoCommessa, Original_Fase, Original_Mittente, Original_Oggetto, Original_InOut);
+ return this.Update(Original_idxFile, tempName, fullName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa, Fase, Mittente, Oggetto, InOut, Original_idxFile, Original_tempName, Original_fullName, Original_userId, Original_DataRic, Original_DataDoc, Original_NumeroCommessa, Original_AnnoCommessa, Original_Fase, Original_Mittente, Original_Oggetto, Original_InOut);
}
}
@@ -1752,7 +1812,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private int UpdateUpdatedRows(DS_applicazione dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) {
+ private int UpdateUpdatedRows(DS_WebScip dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) {
int result = 0;
if ((this._tmpFileUtTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.tmpFileUt.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
@@ -1771,7 +1831,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private int UpdateInsertedRows(DS_applicazione dataSet, global::System.Collections.Generic.List allAddedRows) {
+ private int UpdateInsertedRows(DS_WebScip dataSet, global::System.Collections.Generic.List allAddedRows) {
int result = 0;
if ((this._tmpFileUtTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.tmpFileUt.Select(null, null, global::System.Data.DataViewRowState.Added);
@@ -1789,7 +1849,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private int UpdateDeletedRows(DS_applicazione dataSet, global::System.Collections.Generic.List allChangedRows) {
+ private int UpdateDeletedRows(DS_WebScip dataSet, global::System.Collections.Generic.List allChangedRows) {
int result = 0;
if ((this._tmpFileUtTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.tmpFileUt.Select(null, null, global::System.Data.DataViewRowState.Deleted);
@@ -1831,7 +1891,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public virtual int UpdateAll(DS_applicazione dataSet) {
+ public virtual int UpdateAll(DS_WebScip dataSet) {
if ((dataSet == null)) {
throw new global::System.ArgumentNullException("dataSet");
}
diff --git a/ETS_Data/DS_applicazione.xsc b/ETS_Data/DS_WebScip.xsc
similarity index 100%
rename from ETS_Data/DS_applicazione.xsc
rename to ETS_Data/DS_WebScip.xsc
diff --git a/ETS_Data/DS_applicazione.xsd b/ETS_Data/DS_WebScip.xsd
similarity index 83%
rename from ETS_Data/DS_applicazione.xsd
rename to ETS_Data/DS_WebScip.xsd
index 77697af..57e3b48 100644
--- a/ETS_Data/DS_applicazione.xsd
+++ b/ETS_Data/DS_WebScip.xsd
@@ -1,5 +1,5 @@
-
+
@@ -12,10 +12,11 @@
- DELETE FROM [dbo].[tmpFileUt] WHERE (([idxFile] = @Original_idxFile) AND ([tempName] = @Original_tempName) AND ([userId] = @Original_userId) 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_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_Mittente = 1 AND [Mittente] IS NULL) OR ([Mittente] = @Original_Mittente)) AND ((@IsNull_Oggetto = 1 AND [Oggetto] IS NULL) OR ([Oggetto] = @Original_Oggetto)) AND ((@IsNull_InOut = 1 AND [InOut] IS NULL) OR ([InOut] = @Original_InOut)))
+ DELETE FROM [dbo].[tmpFileUt] WHERE (([idxFile] = @Original_idxFile) AND ([tempName] = @Original_tempName) AND ([fullName] = @Original_fullName) AND ([userId] = @Original_userId) 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_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_Mittente = 1 AND [Mittente] IS NULL) OR ([Mittente] = @Original_Mittente)) AND ((@IsNull_Oggetto = 1 AND [Oggetto] IS NULL) OR ([Oggetto] = @Original_Oggetto)) AND ((@IsNull_InOut = 1 AND [InOut] IS NULL) OR ([InOut] = @Original_InOut)))
+
@@ -38,11 +39,12 @@
- INSERT INTO [dbo].[tmpFileUt] ([idxFile], [tempName], [userId], [DataRic], [DataDoc], [NumeroCommessa], [AnnoCommessa], [Fase], [Mittente], [Oggetto], [InOut]) VALUES (@idxFile, @tempName, @userId, @DataRic, @DataDoc, @NumeroCommessa, @AnnoCommessa, @Fase, @Mittente, @Oggetto, @InOut);
-SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa, Fase, Mittente, Oggetto, InOut FROM tmpFileUt WHERE (idxFile = @idxFile)
+ INSERT INTO [dbo].[tmpFileUt] ([idxFile], [tempName], [fullName], [userId], [DataRic], [DataDoc], [NumeroCommessa], [AnnoCommessa], [Fase], [Mittente], [Oggetto], [InOut]) VALUES (@idxFile, @tempName, @fullName, @userId, @DataRic, @DataDoc, @NumeroCommessa, @AnnoCommessa, @Fase, @Mittente, @Oggetto, @InOut);
+SELECT idxFile, tempName, fullName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa, Fase, Mittente, Oggetto, InOut FROM tmpFileUt WHERE (idxFile = @idxFile)
+
@@ -57,17 +59,18 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
- SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa, Fase, Mittente, Oggetto, InOut FROM dbo.tmpFileUt
+ SELECT idxFile, tempName, fullName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa, Fase, Mittente, Oggetto, InOut FROM dbo.tmpFileUt
- UPDATE [dbo].[tmpFileUt] SET [idxFile] = @idxFile, [tempName] = @tempName, [userId] = @userId, [DataRic] = @DataRic, [DataDoc] = @DataDoc, [NumeroCommessa] = @NumeroCommessa, [AnnoCommessa] = @AnnoCommessa, [Fase] = @Fase, [Mittente] = @Mittente, [Oggetto] = @Oggetto, [InOut] = @InOut WHERE (([idxFile] = @Original_idxFile) AND ([tempName] = @Original_tempName) AND ([userId] = @Original_userId) 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_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_Mittente = 1 AND [Mittente] IS NULL) OR ([Mittente] = @Original_Mittente)) AND ((@IsNull_Oggetto = 1 AND [Oggetto] IS NULL) OR ([Oggetto] = @Original_Oggetto)) AND ((@IsNull_InOut = 1 AND [InOut] IS NULL) OR ([InOut] = @Original_InOut)));
-SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa, Fase, Mittente, Oggetto, InOut FROM tmpFileUt WHERE (idxFile = @idxFile)
+ UPDATE [dbo].[tmpFileUt] SET [idxFile] = @idxFile, [tempName] = @tempName, [fullName] = @fullName, [userId] = @userId, [DataRic] = @DataRic, [DataDoc] = @DataDoc, [NumeroCommessa] = @NumeroCommessa, [AnnoCommessa] = @AnnoCommessa, [Fase] = @Fase, [Mittente] = @Mittente, [Oggetto] = @Oggetto, [InOut] = @InOut WHERE (([idxFile] = @Original_idxFile) AND ([tempName] = @Original_tempName) AND ([fullName] = @Original_fullName) AND ([userId] = @Original_userId) 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_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_Mittente = 1 AND [Mittente] IS NULL) OR ([Mittente] = @Original_Mittente)) AND ((@IsNull_Oggetto = 1 AND [Oggetto] IS NULL) OR ([Oggetto] = @Original_Oggetto)) AND ((@IsNull_InOut = 1 AND [InOut] IS NULL) OR ([InOut] = @Original_InOut)));
+SELECT idxFile, tempName, fullName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa, Fase, Mittente, Oggetto, InOut FROM tmpFileUt WHERE (idxFile = @idxFile)
+
@@ -79,6 +82,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
+
@@ -104,6 +108,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
+
@@ -121,7 +126,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
-
+
@@ -135,6 +140,13 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
+
+
+
+
+
+
+
diff --git a/ETS_Data/DS_WebScip.xss b/ETS_Data/DS_WebScip.xss
new file mode 100644
index 0000000..5f28270
--- /dev/null
+++ b/ETS_Data/DS_WebScip.xss
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/ETS_Data/DS_applicazione.xss b/ETS_Data/DS_applicazione.xss
deleted file mode 100644
index c5faf31..0000000
--- a/ETS_Data/DS_applicazione.xss
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ETS_Data/DS_utils.Designer.cs b/ETS_Data/DS_utils.Designer.cs
index 4c2bc64..a70e524 100644
--- a/ETS_Data/DS_utils.Designer.cs
+++ b/ETS_Data/DS_utils.Designer.cs
@@ -30,6 +30,8 @@ namespace ETS_Data {
private v_selFasiDataTable tablev_selFasi;
+ private filesDataTable tablefiles;
+
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -67,6 +69,9 @@ namespace ETS_Data {
if ((ds.Tables["v_selFasi"] != null)) {
base.Tables.Add(new v_selFasiDataTable(ds.Tables["v_selFasi"]));
}
+ if ((ds.Tables["files"] != null)) {
+ base.Tables.Add(new filesDataTable(ds.Tables["files"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -115,6 +120,16 @@ namespace ETS_Data {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public filesDataTable files {
+ get {
+ return this.tablefiles;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -191,6 +206,9 @@ namespace ETS_Data {
if ((ds.Tables["v_selFasi"] != null)) {
base.Tables.Add(new v_selFasiDataTable(ds.Tables["v_selFasi"]));
}
+ if ((ds.Tables["files"] != null)) {
+ base.Tables.Add(new filesDataTable(ds.Tables["files"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -242,6 +260,12 @@ namespace ETS_Data {
this.tablev_selFasi.InitVars();
}
}
+ this.tablefiles = ((filesDataTable)(base.Tables["files"]));
+ if ((initTable == true)) {
+ if ((this.tablefiles != null)) {
+ this.tablefiles.InitVars();
+ }
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -258,6 +282,8 @@ namespace ETS_Data {
base.Tables.Add(this.tablev_selCommesse);
this.tablev_selFasi = new v_selFasiDataTable();
base.Tables.Add(this.tablev_selFasi);
+ this.tablefiles = new filesDataTable();
+ base.Tables.Add(this.tablefiles);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -278,6 +304,12 @@ namespace ETS_Data {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializefiles() {
+ return false;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -342,6 +374,9 @@ namespace ETS_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void v_selFasiRowChangeEventHandler(object sender, v_selFasiRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void filesRowChangeEventHandler(object sender, filesRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -1163,6 +1198,295 @@ namespace ETS_Data {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class filesDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnNome;
+
+ private global::System.Data.DataColumn columndataCreaz;
+
+ private global::System.Data.DataColumn columndataMod;
+
+ private global::System.Data.DataColumn columnsize;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public filesDataTable() {
+ this.TableName = "files";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal filesDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected filesDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NomeColumn {
+ get {
+ return this.columnNome;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn dataCreazColumn {
+ get {
+ return this.columndataCreaz;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn dataModColumn {
+ get {
+ return this.columndataMod;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn sizeColumn {
+ get {
+ return this.columnsize;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public filesRow this[int index] {
+ get {
+ return ((filesRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event filesRowChangeEventHandler filesRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event filesRowChangeEventHandler filesRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event filesRowChangeEventHandler filesRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event filesRowChangeEventHandler filesRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddfilesRow(filesRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public filesRow AddfilesRow(string Nome, System.DateTime dataCreaz, System.DateTime dataMod, double size) {
+ filesRow rowfilesRow = ((filesRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ Nome,
+ dataCreaz,
+ dataMod,
+ size};
+ rowfilesRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowfilesRow);
+ return rowfilesRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ filesDataTable cln = ((filesDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new filesDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnNome = base.Columns["Nome"];
+ this.columndataCreaz = base.Columns["dataCreaz"];
+ this.columndataMod = base.Columns["dataMod"];
+ this.columnsize = base.Columns["size"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNome);
+ this.columndataCreaz = new global::System.Data.DataColumn("dataCreaz", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columndataCreaz);
+ this.columndataMod = new global::System.Data.DataColumn("dataMod", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columndataMod);
+ this.columnsize = new global::System.Data.DataColumn("size", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnsize);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public filesRow NewfilesRow() {
+ return ((filesRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new filesRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(filesRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.filesRowChanged != null)) {
+ this.filesRowChanged(this, new filesRowChangeEvent(((filesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.filesRowChanging != null)) {
+ this.filesRowChanging(this, new filesRowChangeEvent(((filesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.filesRowDeleted != null)) {
+ this.filesRowDeleted(this, new filesRowChangeEvent(((filesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.filesRowDeleting != null)) {
+ this.filesRowDeleting(this, new filesRowChangeEvent(((filesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemovefilesRow(filesRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_utils ds = new DS_utils();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "filesDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
///
///Represents strongly named DataRow class.
///
@@ -1308,6 +1632,133 @@ namespace ETS_Data {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class filesRow : global::System.Data.DataRow {
+
+ private filesDataTable tablefiles;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal filesRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tablefiles = ((filesDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Nome {
+ get {
+ try {
+ return ((string)(this[this.tablefiles.NomeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'files\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablefiles.NomeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime dataCreaz {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tablefiles.dataCreazColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'dataCreaz\' in table \'files\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablefiles.dataCreazColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime dataMod {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tablefiles.dataModColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'dataMod\' in table \'files\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablefiles.dataModColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double size {
+ get {
+ try {
+ return ((double)(this[this.tablefiles.sizeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'size\' in table \'files\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablefiles.sizeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNomeNull() {
+ return this.IsNull(this.tablefiles.NomeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNomeNull() {
+ this[this.tablefiles.NomeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsdataCreazNull() {
+ return this.IsNull(this.tablefiles.dataCreazColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetdataCreazNull() {
+ this[this.tablefiles.dataCreazColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsdataModNull() {
+ return this.IsNull(this.tablefiles.dataModColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetdataModNull() {
+ this[this.tablefiles.dataModColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IssizeNull() {
+ return this.IsNull(this.tablefiles.sizeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetsizeNull() {
+ this[this.tablefiles.sizeColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Row event argument class
///
@@ -1409,6 +1860,40 @@ namespace ETS_Data {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class filesRowChangeEvent : global::System.EventArgs {
+
+ private filesRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public filesRowChangeEvent(filesRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public filesRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
}
}
namespace ETS_Data.DS_utilsTableAdapters {
diff --git a/ETS_Data/DS_utils.xsd b/ETS_Data/DS_utils.xsd
index 6bc20f0..95e7eb0 100644
--- a/ETS_Data/DS_utils.xsd
+++ b/ETS_Data/DS_utils.xsd
@@ -152,6 +152,16 @@ ORDER BY value
+
+
+
+
+
+
+
+
+
+
diff --git a/ETS_Data/DS_utils.xss b/ETS_Data/DS_utils.xss
index 31b46b4..3412797 100644
--- a/ETS_Data/DS_utils.xss
+++ b/ETS_Data/DS_utils.xss
@@ -4,11 +4,12 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/ETS_Data/ETS_Data.csproj b/ETS_Data/ETS_Data.csproj
index 9677333..4efffa1 100644
--- a/ETS_Data/ETS_Data.csproj
+++ b/ETS_Data/ETS_Data.csproj
@@ -46,16 +46,17 @@
True
DS_Anagrafica.xsd
-
- True
- True
- DS_applicazione.xsd
-
True
True
DS_utils.xsd
+
+ True
+ True
+ DS_WebScip.xsd
+
+
True
@@ -77,17 +78,6 @@
DS_Anagrafica.xsd
-
- DS_applicazione.xsd
-
-
- Designer
- MSDataSetGenerator
- DS_applicazione.Designer.cs
-
-
- DS_applicazione.xsd
-
DS_utils.xsd
@@ -99,6 +89,17 @@
DS_utils.xsd
+
+ DS_WebScip.xsd
+
+
+ Designer
+ MSDataSetGenerator
+ DS_WebScip.Designer.cs
+
+
+ DS_WebScip.xsd
+
SettingsSingleFileGenerator
Settings.Designer.cs
diff --git a/ETS_Data/fileMover.cs b/ETS_Data/fileMover.cs
new file mode 100644
index 0000000..1f8b055
--- /dev/null
+++ b/ETS_Data/fileMover.cs
@@ -0,0 +1,87 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.IO;
+
+namespace ETS_Data
+{
+ ///
+ /// classe gestione files
+ ///
+ public class fileMover
+ {
+ #region inizializzazione
+
+ ///
+ /// oggetto static per fare chiamate sul magazzino
+ ///
+ public static fileMover obj = new fileMover();
+
+ #endregion
+
+ ///
+ /// restituisce una tab di files dato l'elenco dei files
+ ///
+ ///
+ ///
+ public static DS_utils.filesDataTable tabellaFiles(FileInfo[] _files)
+ {
+ DS_utils.filesDataTable _dsEF = new DS_utils.filesDataTable();
+ DS_utils.filesRow _riga;
+ foreach (FileInfo _fi in _files)
+ {
+ _riga = _dsEF.NewfilesRow();
+ _riga.dataCreaz = _fi.CreationTime;
+ _riga.dataMod = _fi.LastWriteTime;
+ _riga.Nome = _fi.Name;
+ _riga.size = _fi.Length / 1000;
+ _dsEF.AddfilesRow(_riga);
+ }
+ return _dsEF;
+ }
+ ///
+ /// restituisce una tab di files contenuti nel path da analizzare
+ ///
+ ///
+ ///
+ public static DS_utils.filesDataTable tabellaFiles(string path)
+ {
+ return tabellaFiles(elencoFile(path));
+ }
+ ///
+ /// restituisce l'elenco dei files in una data cartella
+ ///
+ ///
+ ///
+ public static FileInfo[] elencoFile(string path)
+ {
+ FileInfo[] answ;
+ try
+ {
+ DirectoryInfo di = checkDir(path);
+ answ = di.GetFiles();
+ }
+ catch
+ {
+ answ = null;
+ }
+ return answ;
+ }
+
+ ///
+ /// verifica esistenza directory, eventualmente crea e restituisce controllo DirectoryInfo
+ ///
+ ///
+ ///
+ public static DirectoryInfo checkDir(string dirPath)
+ {
+ DirectoryInfo _di = new DirectoryInfo(System.Web.HttpContext.Current.Server.MapPath(dirPath));
+ if (!_di.Exists)
+ {
+ _di.Create();
+ }
+ return _di;
+ }
+ }
+}
diff --git a/ETS_Data/utils.cs b/ETS_Data/utils.cs
index eb73880..4e21078 100644
--- a/ETS_Data/utils.cs
+++ b/ETS_Data/utils.cs
@@ -276,20 +276,6 @@ namespace ETS_Data
#region area file/dir
- ///
- /// verifica esistenza directory, eventualmente crea e restituisce controllo DirectoryInfo
- ///
- ///
- ///
- public DirectoryInfo checkDir(string dirPath)
- {
- DirectoryInfo _di = new DirectoryInfo(System.Web.HttpContext.Current.Server.MapPath(dirPath));
- if (!_di.Exists)
- {
- _di.Create();
- }
- return _di;
- }
#endregion
}