Gestione embrionale dei files temp e archivio...
Aggiunta classe fileMover.cs Aggiunto DS DS_WebScip git-svn-id: https://keyhammer.ath.cx/svn/ETS/trunk@23 72332f79-082b-4ce8-9953-5b7f197a49bb
This commit is contained in:
Binary file not shown.
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -162,11 +162,13 @@
|
||||
<Content Include="Web.Release.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="WebUserControls\mod_archivioDocumenti.ascx" />
|
||||
<Content Include="WebUserControls\mod_fileUpload.ascx" />
|
||||
<Content Include="WebUserControls\mod_gestioneDati.ascx" />
|
||||
<Content Include="WebUserControls\mod_gestioneDocumenti.ascx" />
|
||||
<Content Include="WebUserControls\mod_inputDati.ascx" />
|
||||
<Content Include="WebUserControls\mod_menuBottomFullpage.ascx" />
|
||||
<Content Include="WebUserControls\mod_myTempFile.ascx" />
|
||||
<Content Include="WebUserControls\mod_testata.ascx" />
|
||||
<Content Include="WebUserControls\mod_testataProt.ascx" />
|
||||
<Content Include="WS\AutoCompletamento.asmx" />
|
||||
@@ -222,6 +224,13 @@
|
||||
<Compile Include="WebMasterPages\AjaxSimpleFull.Master.designer.cs">
|
||||
<DependentUpon>AjaxSimpleFull.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_archivioDocumenti.ascx.cs">
|
||||
<DependentUpon>mod_archivioDocumenti.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_archivioDocumenti.ascx.designer.cs">
|
||||
<DependentUpon>mod_archivioDocumenti.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_fileUpload.ascx.cs">
|
||||
<DependentUpon>mod_fileUpload.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -257,6 +266,13 @@
|
||||
<Compile Include="WebUserControls\mod_menuBottomFullpage.ascx.designer.cs">
|
||||
<DependentUpon>mod_menuBottomFullpage.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_myTempFile.ascx.cs">
|
||||
<DependentUpon>mod_myTempFile.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_myTempFile.ascx.designer.cs">
|
||||
<DependentUpon>mod_myTempFile.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_testata.ascx.cs">
|
||||
<DependentUpon>mod_testata.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -285,7 +301,7 @@
|
||||
<Folder Include="Content\themes\Fresh-Squeezed\" />
|
||||
<Folder Include="Content\themes\Supercharged\" />
|
||||
<Folder Include="logs\" />
|
||||
<Folder Include="TempUploads\" />
|
||||
<Folder Include="TempUploads\empty\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="NLog.config">
|
||||
@@ -310,7 +326,7 @@
|
||||
<WebProjectProperties>
|
||||
<UseIIS>False</UseIIS>
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>27869</DevelopmentServerPort>
|
||||
<DevelopmentServerPort>51756</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>
|
||||
</IISUrl>
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_archivioDocumenti.ascx.cs"
|
||||
Inherits="ETS_WS.WebUserControls.mod_archivioDocumenti" %>
|
||||
<% if (false)
|
||||
{ %>
|
||||
<link href="../css/BuildBlocks.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../css/ETS.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../css/ExtraComp.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../css/MasterPage.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../css/Style.css" rel="stylesheet" type="text/css" />
|
||||
<% } %>
|
||||
<asp:GridView ID="grView" runat="server" AllowSorting="True" AutoGenerateColumns="False"
|
||||
DataSourceID="ods" DataKeyNames="idxFile" Width="100%" AllowPaging="True">
|
||||
<RowStyle CssClass="ctrRowStyle" />
|
||||
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
|
||||
<Columns>
|
||||
<asp:CommandField ShowSelectButton="True" />
|
||||
<asp:BoundField DataField="idxFile" HeaderText="idxFile" ReadOnly="True"
|
||||
SortExpression="idxFile" />
|
||||
<asp:BoundField DataField="tempName" HeaderText="tempName"
|
||||
SortExpression="tempName" />
|
||||
<asp:BoundField DataField="fullName" HeaderText="fullName"
|
||||
SortExpression="fullName" />
|
||||
<asp:BoundField DataField="userId" HeaderText="userId"
|
||||
SortExpression="userId" />
|
||||
<asp:BoundField DataField="DataRic" HeaderText="DataRic"
|
||||
SortExpression="DataRic" />
|
||||
<asp:BoundField DataField="DataDoc" HeaderText="DataDoc"
|
||||
SortExpression="DataDoc" />
|
||||
<asp:BoundField DataField="NumeroCommessa" HeaderText="NumeroCommessa"
|
||||
SortExpression="NumeroCommessa" />
|
||||
<asp:BoundField DataField="AnnoCommessa" HeaderText="AnnoCommessa"
|
||||
SortExpression="AnnoCommessa" />
|
||||
<asp:BoundField DataField="Fase" HeaderText="Fase" SortExpression="Fase" />
|
||||
<asp:BoundField DataField="Mittente" HeaderText="Mittente"
|
||||
SortExpression="Mittente" />
|
||||
<asp:BoundField DataField="Oggetto" HeaderText="Oggetto"
|
||||
SortExpression="Oggetto" />
|
||||
<asp:BoundField DataField="InOut" HeaderText="InOut" SortExpression="InOut" />
|
||||
</Columns>
|
||||
<EditRowStyle CssClass="ctrEditRowStyle" />
|
||||
<SelectedRowStyle CssClass="ctrSelRowStyle" />
|
||||
<FooterStyle CssClass="ctrFooter" />
|
||||
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
|
||||
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
|
||||
<EmptyDataRowStyle CssClass="ctrRowStyle" />
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="GetData" TypeName="ETS_Data.DS_WebScipTableAdapters.tmpFileUtTableAdapter"
|
||||
OldValuesParameterFormatString="Original_{0}"></asp:ObjectDataSource>
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ETS_WS.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_archivioDocumenti {
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// ods control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
}
|
||||
}
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{ %>
|
||||
<link href="../css/BuildBlocks.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../css/ETS.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../css/ExtraComp.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../css/MasterPage.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../css/Style.css" rel="stylesheet" type="text/css" />
|
||||
<% } %>
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
|
||||
<asp:TabContainer ID="tcDocumenti" runat="server" OnDemand="true" TabStripPlacement="Top"
|
||||
Width="100%">
|
||||
<asp:TabPanel runat="server" ID="tblDocumenti" HeaderText="Gestione Documenti" TabIndex="0">
|
||||
<ContentTemplate>
|
||||
tutti i documenti
|
||||
</ContentTemplate>
|
||||
</asp:TabPanel>
|
||||
<asp:TabPanel runat="server" ID="tblMyDocs" HeaderText="My uploads" TabIndex="0">
|
||||
<ContentTemplate>
|
||||
i miei docs temporanei CARICATI da sistemare
|
||||
</ContentTemplate>
|
||||
</asp:TabPanel>
|
||||
</asp:TabContainer>
|
||||
<%@ Register Src="mod_myTempFile.ascx" TagName="mod_myTempFile" TagPrefix="uc1" %>
|
||||
<asp:tabcontainer id="tcDocumenti" runat="server" tabstripplacement="Top"
|
||||
width="100%" activetabindex="1">
|
||||
<asp:tabpanel runat="server" id="tblDocumenti" headertext="Gestione Documenti" tabindex="0">
|
||||
<contenttemplate>
|
||||
|
||||
<uc2:mod_archivioDocumenti ID="mod_archivioDocumenti1" runat="server" />
|
||||
|
||||
</contenttemplate>
|
||||
|
||||
|
||||
</asp:tabpanel>
|
||||
<asp:tabpanel runat="server" id="tblMyDocs" headertext="My uploads" tabindex="0">
|
||||
<contenttemplate>
|
||||
<uc1:mod_myTempFile ID="mod_myTempFile1" runat="server" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</contenttemplate>
|
||||
|
||||
|
||||
</asp:tabpanel>
|
||||
</asp:tabcontainer>
|
||||
|
||||
@@ -30,6 +30,15 @@ namespace ETS_WS.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::AjaxControlToolkit.TabPanel tblDocumenti;
|
||||
|
||||
/// <summary>
|
||||
/// mod_archivioDocumenti1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::ETS_WS.WebUserControls.mod_archivioDocumenti mod_archivioDocumenti1;
|
||||
|
||||
/// <summary>
|
||||
/// tblMyDocs control.
|
||||
/// </summary>
|
||||
@@ -38,5 +47,14 @@ namespace ETS_WS.WebUserControls {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::AjaxControlToolkit.TabPanel tblMyDocs;
|
||||
|
||||
/// <summary>
|
||||
/// mod_myTempFile1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::ETS_WS.WebUserControls.mod_myTempFile mod_myTempFile1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_myTempFile.ascx.cs"
|
||||
Inherits="ETS_WS.WebUserControls.mod_myTempFile" %>
|
||||
<% if (false)
|
||||
{ %>
|
||||
<link href="../css/BuildBlocks.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../css/ETS.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../css/ExtraComp.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../css/MasterPage.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../css/Style.css" rel="stylesheet" type="text/css" />
|
||||
<% } %>
|
||||
<asp:GridView ID="grView" runat="server" AllowSorting="True" AutoGenerateColumns="False"
|
||||
DataSourceID="ods" Width="100%" AllowPaging="True">
|
||||
<RowStyle CssClass="ctrRowStyle" />
|
||||
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
|
||||
<EditRowStyle CssClass="ctrEditRowStyle" />
|
||||
<SelectedRowStyle CssClass="ctrSelRowStyle" />
|
||||
<FooterStyle CssClass="ctrFooter" />
|
||||
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
|
||||
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
|
||||
<EmptyDataRowStyle CssClass="ctrRowStyle" />
|
||||
<Columns>
|
||||
<asp:CommandField ShowSelectButton="True" />
|
||||
<asp:BoundField DataField="Nome" HeaderText="Nome" SortExpression="Nome"></asp:BoundField>
|
||||
<asp:BoundField DataField="dataCreaz" HeaderText="dataCreaz" SortExpression="dataCreaz">
|
||||
</asp:BoundField>
|
||||
<asp:BoundField DataField="dataMod" HeaderText="dataMod" SortExpression="dataMod">
|
||||
</asp:BoundField>
|
||||
<asp:BoundField DataField="size" HeaderText="size" SortExpression="size"></asp:BoundField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="tabellaFiles" TypeName="ETS_Data.fileMover">
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="~/TempUploads/empty" Name="path" SessionField="UserTempPath"
|
||||
Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ETS_WS.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_myTempFile {
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// ods control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -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 */
|
||||
@@ -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 */
|
||||
+192
-132
@@ -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 {
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -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<global::System.DateTime> Original_DataRic, global::System.Nullable<global::System.DateTime> 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<global::System.DateTime> Original_DataRic, global::System.Nullable<global::System.DateTime> 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<global::System.DateTime> DataRic, global::System.Nullable<global::System.DateTime> 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<global::System.DateTime> DataRic, global::System.Nullable<global::System.DateTime> 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<global::System.DateTime> DataRic,
|
||||
global::System.Nullable<global::System.DateTime> 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<global::System.DateTime> Original_DataRic,
|
||||
global::System.Nullable<global::System.DateTime> 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<global::System.DateTime> DataRic,
|
||||
global::System.Nullable<global::System.DateTime> 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<global::System.DateTime> Original_DataRic,
|
||||
global::System.Nullable<global::System.DateTime> 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
|
||||
///</summary>
|
||||
[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<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
||||
private int UpdateUpdatedRows(DS_WebScip dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> 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
|
||||
///</summary>
|
||||
[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<global::System.Data.DataRow> allAddedRows) {
|
||||
private int UpdateInsertedRows(DS_WebScip dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> 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
|
||||
///</summary>
|
||||
[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<global::System.Data.DataRow> allChangedRows) {
|
||||
private int UpdateDeletedRows(DS_WebScip dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> 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
|
||||
///</summary>
|
||||
[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");
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema id="DS_applicazione" targetNamespace="http://tempuri.org/DS_applicazione.xsd" xmlns:mstns="http://tempuri.org/DS_applicazione.xsd" xmlns="http://tempuri.org/DS_applicazione.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
||||
<xs:schema id="DS_WebScip" targetNamespace="http://tempuri.org/DS_WebScip.xsd" xmlns:mstns="http://tempuri.org/DS_WebScip.xsd" xmlns="http://tempuri.org/DS_WebScip.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
||||
<xs:annotation>
|
||||
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
@@ -12,10 +12,11 @@
|
||||
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.tmpFileUt" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[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)))</CommandText>
|
||||
<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)))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxFile" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxFile" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tempName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tempName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fullName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fullName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_userId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userId" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DataRic" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DataRic" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataRic" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataRic" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
@@ -38,11 +39,12 @@
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<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)</CommandText>
|
||||
<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)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxFile" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxFile" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tempName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tempName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fullName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fullName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@userId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userId" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataRic" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataRic" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataDoc" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataDoc" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -57,17 +59,18 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa, Fase, Mittente, Oggetto, InOut FROM dbo.tmpFileUt</CommandText>
|
||||
<CommandText>SELECT idxFile, tempName, fullName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa, Fase, Mittente, Oggetto, InOut FROM dbo.tmpFileUt</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<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)</CommandText>
|
||||
<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)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxFile" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxFile" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tempName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tempName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fullName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fullName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@userId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userId" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataRic" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataRic" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataDoc" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataDoc" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -79,6 +82,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@InOut" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="InOut" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxFile" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxFile" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tempName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tempName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fullName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fullName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_userId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userId" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DataRic" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DataRic" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataRic" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataRic" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
@@ -104,6 +108,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="idxFile" DataSetColumn="idxFile" />
|
||||
<Mapping SourceColumn="tempName" DataSetColumn="tempName" />
|
||||
<Mapping SourceColumn="fullName" DataSetColumn="fullName" />
|
||||
<Mapping SourceColumn="userId" DataSetColumn="userId" />
|
||||
<Mapping SourceColumn="DataRic" DataSetColumn="DataRic" />
|
||||
<Mapping SourceColumn="DataDoc" DataSetColumn="DataDoc" />
|
||||
@@ -121,7 +126,7 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
|
||||
</DataSource>
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
<xs:element name="DS_applicazione" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_applicazione" msprop:Generator_UserDSName="DS_applicazione">
|
||||
<xs:element name="DS_WebScip" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_WebScip" msprop:Generator_UserDSName="DS_WebScip">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="tmpFileUt" msprop:Generator_TableClassName="tmpFileUtDataTable" msprop:Generator_TableVarName="tabletmpFileUt" msprop:Generator_TablePropName="tmpFileUt" msprop:Generator_RowDeletingName="tmpFileUtRowDeleting" msprop:Generator_RowChangingName="tmpFileUtRowChanging" msprop:Generator_RowEvHandlerName="tmpFileUtRowChangeEventHandler" msprop:Generator_RowDeletedName="tmpFileUtRowDeleted" msprop:Generator_UserTableName="tmpFileUt" msprop:Generator_RowChangedName="tmpFileUtRowChanged" msprop:Generator_RowEvArgName="tmpFileUtRowChangeEvent" msprop:Generator_RowClassName="tmpFileUtRow">
|
||||
@@ -135,6 +140,13 @@ SELECT idxFile, tempName, userId, DataRic, DataDoc, NumeroCommessa, AnnoCommessa
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="fullName" msprop:Generator_ColumnVarNameInTable="columnfullName" msprop:Generator_ColumnPropNameInRow="fullName" msprop:Generator_ColumnPropNameInTable="fullNameColumn" msprop:Generator_UserColumnName="fullName">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="500" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="userId" msprop:Generator_ColumnVarNameInTable="columnuserId" msprop:Generator_ColumnPropNameInRow="userId" msprop:Generator_ColumnPropNameInTable="userIdColumn" msprop:Generator_UserColumnName="userId">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--<autogenerated>
|
||||
This code was generated by a tool to store the dataset designer's layout information.
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:tmpFileUt" ZOrder="1" X="350" Y="197" Height="286" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
Generated
+485
@@ -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);
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
@@ -1163,6 +1198,295 @@ namespace ETS_Data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
[global::System.Serializable()]
|
||||
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
||||
public partial class filesDataTable : global::System.Data.TypedTableBase<filesRow> {
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
@@ -1308,6 +1632,133 @@ namespace ETS_Data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
@@ -1409,6 +1860,40 @@ namespace ETS_Data {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
[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 {
|
||||
|
||||
@@ -152,6 +152,16 @@ ORDER BY value</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="files" msprop:Generator_TableClassName="filesDataTable" msprop:Generator_TableVarName="tablefiles" msprop:Generator_RowChangedName="filesRowChanged" msprop:Generator_TablePropName="files" msprop:Generator_RowDeletingName="filesRowDeleting" msprop:Generator_RowChangingName="filesRowChanging" msprop:Generator_RowEvHandlerName="filesRowChangeEventHandler" msprop:Generator_RowDeletedName="filesRowDeleted" msprop:Generator_RowClassName="filesRow" msprop:Generator_UserTableName="files" msprop:Generator_RowEvArgName="filesRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_UserColumnName="Nome" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="dataCreaz" msprop:Generator_ColumnVarNameInTable="columndataCreaz" msprop:Generator_ColumnPropNameInRow="dataCreaz" msprop:Generator_ColumnPropNameInTable="dataCreazColumn" msprop:Generator_UserColumnName="dataCreaz" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="dataMod" msprop:Generator_ColumnVarNameInTable="columndataMod" msprop:Generator_ColumnPropNameInRow="dataMod" msprop:Generator_ColumnPropNameInTable="dataModColumn" msprop:Generator_UserColumnName="dataMod" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="size" msprop:Generator_ColumnVarNameInTable="columnsize" msprop:Generator_ColumnPropNameInRow="size" msprop:Generator_ColumnPropNameInTable="sizeColumn" msprop:Generator_UserColumnName="size" type="xs:double" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
|
||||
@@ -4,11 +4,12 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:v_selFonti" ZOrder="3" X="167" Y="206" Height="134" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selCommesse" ZOrder="2" X="551" Y="226" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selFasi" ZOrder="1" X="894" Y="226" Height="134" Width="194" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selFonti" ZOrder="4" X="167" Y="206" Height="134" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selCommesse" ZOrder="3" X="551" Y="226" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selFasi" ZOrder="2" X="894" Y="226" Height="134" Width="194" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:files" ZOrder="1" X="1115" Y="226" Height="125" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
+17
-16
@@ -46,16 +46,17 @@
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>DS_Anagrafica.xsd</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DS_applicazione.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>DS_applicazione.xsd</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DS_utils.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>DS_utils.xsd</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DS_WebScip.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>DS_WebScip.xsd</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="fileMover.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
@@ -77,17 +78,6 @@
|
||||
<None Include="DS_Anagrafica.xss">
|
||||
<DependentUpon>DS_Anagrafica.xsd</DependentUpon>
|
||||
</None>
|
||||
<None Include="DS_applicazione.xsc">
|
||||
<DependentUpon>DS_applicazione.xsd</DependentUpon>
|
||||
</None>
|
||||
<None Include="DS_applicazione.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSDataSetGenerator</Generator>
|
||||
<LastGenOutput>DS_applicazione.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="DS_applicazione.xss">
|
||||
<DependentUpon>DS_applicazione.xsd</DependentUpon>
|
||||
</None>
|
||||
<None Include="DS_utils.xsc">
|
||||
<DependentUpon>DS_utils.xsd</DependentUpon>
|
||||
</None>
|
||||
@@ -99,6 +89,17 @@
|
||||
<None Include="DS_utils.xss">
|
||||
<DependentUpon>DS_utils.xsd</DependentUpon>
|
||||
</None>
|
||||
<None Include="DS_WebScip.xsc">
|
||||
<DependentUpon>DS_WebScip.xsd</DependentUpon>
|
||||
</None>
|
||||
<None Include="DS_WebScip.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSDataSetGenerator</Generator>
|
||||
<LastGenOutput>DS_WebScip.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="DS_WebScip.xss">
|
||||
<DependentUpon>DS_WebScip.xsd</DependentUpon>
|
||||
</None>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
|
||||
namespace ETS_Data
|
||||
{
|
||||
/// <summary>
|
||||
/// classe gestione files
|
||||
/// </summary>
|
||||
public class fileMover
|
||||
{
|
||||
#region inizializzazione
|
||||
|
||||
/// <summary>
|
||||
/// oggetto static per fare chiamate sul magazzino
|
||||
/// </summary>
|
||||
public static fileMover obj = new fileMover();
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// restituisce una tab di files dato l'elenco dei files
|
||||
/// </summary>
|
||||
/// <param name="_files"></param>
|
||||
/// <returns></returns>
|
||||
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;
|
||||
}
|
||||
/// <summary>
|
||||
/// restituisce una tab di files contenuti nel path da analizzare
|
||||
/// </summary>
|
||||
/// <param name="path"></param>
|
||||
/// <returns></returns>
|
||||
public static DS_utils.filesDataTable tabellaFiles(string path)
|
||||
{
|
||||
return tabellaFiles(elencoFile(path));
|
||||
}
|
||||
/// <summary>
|
||||
/// restituisce l'elenco dei files in una data cartella
|
||||
/// </summary>
|
||||
/// <param name="path"></param>
|
||||
/// <returns></returns>
|
||||
public static FileInfo[] elencoFile(string path)
|
||||
{
|
||||
FileInfo[] answ;
|
||||
try
|
||||
{
|
||||
DirectoryInfo di = checkDir(path);
|
||||
answ = di.GetFiles();
|
||||
}
|
||||
catch
|
||||
{
|
||||
answ = null;
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// verifica esistenza directory, eventualmente crea e restituisce controllo DirectoryInfo
|
||||
/// </summary>
|
||||
/// <param name="dirPath"></param>
|
||||
/// <returns></returns>
|
||||
public static DirectoryInfo checkDir(string dirPath)
|
||||
{
|
||||
DirectoryInfo _di = new DirectoryInfo(System.Web.HttpContext.Current.Server.MapPath(dirPath));
|
||||
if (!_di.Exists)
|
||||
{
|
||||
_di.Create();
|
||||
}
|
||||
return _di;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -276,20 +276,6 @@ namespace ETS_Data
|
||||
|
||||
#region area file/dir
|
||||
|
||||
/// <summary>
|
||||
/// verifica esistenza directory, eventualmente crea e restituisce controllo DirectoryInfo
|
||||
/// </summary>
|
||||
/// <param name="dirPath"></param>
|
||||
/// <returns></returns>
|
||||
public DirectoryInfo checkDir(string dirPath)
|
||||
{
|
||||
DirectoryInfo _di = new DirectoryInfo(System.Web.HttpContext.Current.Server.MapPath(dirPath));
|
||||
if (!_di.Exists)
|
||||
{
|
||||
_di.Create();
|
||||
}
|
||||
return _di;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user