Merge branch 'develop'
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
From: "{{mittente}}" <{{email@mittente.from}}>
|
||||
To: "{{email@destinatario.to}}"
|
||||
Subject: {{soggettoMessaggio}}
|
||||
Date: Wed, 17 Oct 2012 17:19:39 +0200
|
||||
MIME-Version: 1.0
|
||||
Content-Type: multipart/alternative;
|
||||
boundary="----=_NextPart_000_0006_01CDAC8B.B0CFEA60"
|
||||
X-Priority: 3
|
||||
X-MSMail-Priority: Normal
|
||||
X-Unsent: 1
|
||||
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
|
||||
------=_NextPart_000_0006_01CDAC8B.B0CFEA60
|
||||
Content-Type: text/plain;
|
||||
charset="iso-8859-1"
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
|
||||
|
||||
------=_NextPart_000_0006_01CDAC8B.B0CFEA60
|
||||
Content-Type: text/html;
|
||||
charset="iso-8859-1"
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML><HEAD>
|
||||
<META content=3D"text/html; charset=3Diso-8859-1" =
|
||||
http-equiv=3DContent-Type>
|
||||
<META name=3DGENERATOR content=3D"MSHTML 8.00.6001.19328">
|
||||
<STYLE></STYLE>
|
||||
</HEAD>
|
||||
<BODY bgColor=3D#ffffff>
|
||||
<DIV><FONT size=3D2 face=3DArial>{{CorpoMessaggio}}</FONT></DIV></BODY></HTML>
|
||||
|
||||
------=_NextPart_000_0006_01CDAC8B.B0CFEA60--
|
||||
@@ -158,7 +158,7 @@
|
||||
</Content>
|
||||
<Content Include="Default.aspx" />
|
||||
<Content Include="demoUpload.aspx" />
|
||||
<Content Include="DocTemplates\Proto.txt" />
|
||||
<None Include="DocTemplates\email.eml" />
|
||||
<Content Include="GestioneDocumenti.aspx" />
|
||||
<Content Include="Help.aspx" />
|
||||
<Content Include="HelpOnLine\content_style\content.css" />
|
||||
@@ -272,12 +272,16 @@
|
||||
<Content Include="images\arrUp_l.png" />
|
||||
<Content Include="images\arrUp_m.png" />
|
||||
<Content Include="images\arrUp_s.png" />
|
||||
<Content Include="images\doc_l.png" />
|
||||
<Content Include="images\email_l.png" />
|
||||
<Content Include="images\fax_l.png" />
|
||||
<Content Include="images\folder_l.png" />
|
||||
<Content Include="images\folder_m.png" />
|
||||
<Content Include="images\folder_s.png" />
|
||||
<Content Include="images\gantt.png" />
|
||||
<Content Include="images\office.png" />
|
||||
<Content Include="images\program.png" />
|
||||
<Content Include="images\proto_l.png" />
|
||||
<Content Include="images\tags.png" />
|
||||
<Content Include="images\unknown.png" />
|
||||
<Content Include="images\video.png" />
|
||||
@@ -658,7 +662,7 @@
|
||||
<None Include="DocTemplates\ETS-Lettera.docx" />
|
||||
<None Include="DocTemplates\ETS-Proto.docx" />
|
||||
<None Include="DocTemplates\PlaceHolder.file" />
|
||||
<None Include="logs\PlaceHolder.file" />
|
||||
<Content Include="logs\PlaceHolder.file" />
|
||||
<None Include="NLog.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<add key="appName" value="ETS-WS" />
|
||||
<add key="SiteName" value="ETS" />
|
||||
<add key="mainRev" value="0.9" />
|
||||
<add key="minRev" value="85" />
|
||||
<add key="minRev" value="90" />
|
||||
<add key="copyRight" value="SteamWare, ETS © 2012" />
|
||||
<add key="tempUplDir" value="~/TempUploads" />
|
||||
<add key="archiveDir" value="~/ArchivioDocs" />
|
||||
|
||||
@@ -4,6 +4,8 @@ using System.Linq;
|
||||
using System.Web;
|
||||
using ETS_Data;
|
||||
using NLog;
|
||||
using System.Net.Mail;
|
||||
using System.IO;
|
||||
|
||||
namespace ETS_WS
|
||||
{
|
||||
@@ -225,7 +227,57 @@ namespace ETS_WS
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
/// <summary>
|
||||
/// fornisce email dato codice fornitore
|
||||
/// </summary>
|
||||
/// <param name="codForn"></param>
|
||||
/// <returns></returns>
|
||||
public static string emailDaCodForn(string codForn)
|
||||
{
|
||||
string answ = codForn;
|
||||
try
|
||||
{
|
||||
answ = utils.obj.taEmailForn.getByCodForn(codForn)[0].Email;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates an eml file to be delivered with the default mail client
|
||||
/// </summary>
|
||||
/// <param name="from">address that sends the email</param>
|
||||
/// <param name="to">address to which send the email</param>
|
||||
/// <param name="subject">subject</param>
|
||||
/// <param name="body">body</param>
|
||||
/// <param name="attachments">list of attachments</param>
|
||||
/// <param name="destFolder">destination folder to store the file</param>
|
||||
/// <returns>The complete path of the newely generated EML file</returns>
|
||||
public static string CreaEml(string from, string to, string subject, string body, IEnumerable<Attachment> attachments, string destFolder)
|
||||
{
|
||||
using (MailMessage mail = new MailMessage())
|
||||
{
|
||||
mail.From = new MailAddress(from);
|
||||
mail.To.Add(to);
|
||||
mail.Subject = subject;
|
||||
mail.Body = body;
|
||||
if (attachments != null)
|
||||
foreach (var attachment in attachments)
|
||||
mail.Attachments.Add(attachment);
|
||||
|
||||
SmtpClient smtpClient = new SmtpClient
|
||||
{
|
||||
PickupDirectoryLocation = destFolder,
|
||||
DeliveryMethod = SmtpDeliveryMethod.SpecifiedPickupDirectory
|
||||
};
|
||||
smtpClient.Send(mail);
|
||||
}
|
||||
|
||||
DirectoryInfo dir = new DirectoryInfo(destFolder);
|
||||
FileInfo file = dir.GetFiles("*.eml", SearchOption.TopDirectoryOnly).OrderByDescending(m => m.CreationTimeUtc).First();
|
||||
return file.Name;
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua operazione di archiviazione file
|
||||
/// </summary>
|
||||
|
||||
@@ -23,13 +23,18 @@
|
||||
</div>
|
||||
<div class="clearDiv" style="text-align: center; padding: 2px 0px 4px 0px;">
|
||||
<asp:Panel runat="server" ID="pnlGenDocs">
|
||||
generatore protocolli:
|
||||
<asp:Button ID="btnStaccaProto" runat="server" Text="Vuoto" ToolTip="stacca e blocca protocollo" CssClass="btnGenProto" TabIndex="13" OnClick="btnStaccaProto_Click" />
|
||||
generatore doc:
|
||||
<asp:Button ID="btnStaccaProto" runat="server" Text="Solo Protocollo" ToolTip="Genera e blocca protocollo" CssClass="btnGenProto" TabIndex="13" OnClick="btnStaccaProto_Click" />
|
||||
|
||||
<asp:Button ID="btnGenLettera" runat="server" Text="Lettera" ToolTip="Genera doc tipo lettera" CssClass="btnGenDoc" TabIndex="14" />
|
||||
<asp:Button ID="btnGenLettera" runat="server" Text="Lettera" ToolTip="Genera doc tipo lettera" CssClass="btnGenDoc" TabIndex="14" onclick="btnGenLettera_Click" />
|
||||
|
||||
<asp:Button ID="btnGenFax" runat="server" Text="Fax" ToolTip="Genera doc tipo Fax" CssClass="btnGenFax" TabIndex="15" />
|
||||
<asp:Button ID="btnGenFax" runat="server" Text="Fax" ToolTip="Genera doc tipo Fax" CssClass="btnGenFax" TabIndex="15" onclick="btnGenFax_Click" />
|
||||
|
||||
<asp:Button ID="btnGenMail" runat="server" Text="Email" ToolTip="Genera email" CssClass="btnGenMail" TabIndex="16" />
|
||||
<asp:Button ID="btnGenMail" runat="server" Text="Email" ToolTip="Genera email" CssClass="btnGenMail" TabIndex="16" OnClick="btnGenMail_Click" OnClientClick="mailTo()" />
|
||||
<script type="text/javascript">
|
||||
function mailTo() {
|
||||
location.href = 'mailto:info@steamware.net?subject=protocollo&body=email protocollo';
|
||||
}
|
||||
</script>
|
||||
</asp:Panel>
|
||||
</div>
|
||||
|
||||
@@ -35,6 +35,11 @@ namespace ETS_WS.WebUserControls
|
||||
btnSubmit.Visible = WebShipUtils.mng.metaPresent;
|
||||
// mostro gen protocolli SE ho richiesta di generare protocollo
|
||||
pnlGenDocs.Visible = (WebShipUtils.mng.metaPresent && WebShipUtils.mng.currMetaData.reqProto);
|
||||
// ricavo dati x email ed aggiorno
|
||||
string dest = "info@steamware.net";
|
||||
string subject = "test";
|
||||
string body = "test email";
|
||||
aggiornaDatiMailTo(dest, subject, body);
|
||||
}
|
||||
/// <summary>
|
||||
/// richiesta update
|
||||
@@ -62,6 +67,54 @@ namespace ETS_WS.WebUserControls
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// genera un doc da template, tramite
|
||||
/// - salvataggio
|
||||
/// - spostamento "dummy file"
|
||||
/// - enter in modalità editing
|
||||
/// </summary>
|
||||
/// <param name="nomeTemplate">file TEMPLATE</param>
|
||||
private int generaDocDaTemplate(string nomeTemplate)
|
||||
{
|
||||
int idxFile = 0;
|
||||
fileMover.obj.muoviFile("~/DocTemplates/", WebShipUtils.mng.UserTempPath, nomeTemplate, false);
|
||||
// stacco un nuovo protocollo!
|
||||
docMetaDataSet docsData = WebShipUtils.mng.currMetaData;
|
||||
//check del path
|
||||
string pathDest = docsData.path;
|
||||
if (pathDest != "")
|
||||
{
|
||||
pathDest = string.Format("{0}{1}", utils.obj.confReadString("archiveDir"), docsData.path);
|
||||
string redattore = utils.obj.currUserCognomeNome; // usa utente corrente
|
||||
idxFile = WebShipUtils.archiviaFile(docsData, WebShipUtils.mng.UserTempPath, pathDest, nomeTemplate, redattore);
|
||||
// recupero dati documento
|
||||
docsData = WebShipUtils.mng.docMetaFromIdxFile(idxFile);
|
||||
// recupero full path del documento
|
||||
string fullPath = Server.MapPath(string.Format("{0}{1}", pathDest, WebShipUtils.nomeFileFullFromIdxFile(idxFile)));
|
||||
string protocollo = WebShipUtils.protocolloFromIdxFile(idxFile);
|
||||
// se il nome contiene "docx" faccio sostituzioni...
|
||||
if (nomeTemplate.IndexOf("docx") >= 0)
|
||||
{
|
||||
// prendo il nuovo file generato e sostituisco parte del nome con il codice protocollo // link: msdn.microsoft.com/en-us/library/bb508261.aspx
|
||||
officeXmlMan.replaceDocxText(fullPath, "{{Protocollo}}", protocollo);
|
||||
officeXmlMan.replaceDocxText(fullPath, "{{DataDoc}}", docsData.dataDoc.ToShortDateString());
|
||||
officeXmlMan.replaceDocxText(fullPath, "{{Redattore}}", utils.obj.currUserCognomeNome);
|
||||
}
|
||||
else if (nomeTemplate.IndexOf("eml") >= 0)
|
||||
{
|
||||
// creo un NUOVO file alla destinazione sostituendo l'esistente con apposita classe
|
||||
string mittente = utils.obj.currUserEmail;
|
||||
string destinatario = WebShipUtils.emailDaCodForn(docsData.fonte);
|
||||
string subject = string.Format("{0}, prot. num {1}", docsData.oggetto, protocollo);
|
||||
string body = string.Format("Commessa: {1}{0}Fase: {2}{0}Oggetto: {3}{0}prot. num: {4}", Environment.NewLine, docsData.commessa, docsData.fase, docsData.oggetto, protocollo);
|
||||
string newFileName = WebShipUtils.CreaEml(mittente, destinatario, subject, body, null, Server.MapPath(pathDest));
|
||||
// sostituisco file appena creato con quello nuovo
|
||||
//fileMover.obj.eliminaFile(fullPath);
|
||||
fileMover.obj.muoviFile(pathDest, pathDest, newFileName, WebShipUtils.nomeFileFullFromIdxFile(idxFile), true);
|
||||
}
|
||||
}
|
||||
return idxFile;
|
||||
}
|
||||
/// <summary>
|
||||
/// richiede salvataggio del protocollo, tramite
|
||||
/// - salvataggio
|
||||
/// - spostamento "dummy file"
|
||||
@@ -73,28 +126,76 @@ namespace ETS_WS.WebUserControls
|
||||
{
|
||||
// effettua upload del documento "dummy" proto
|
||||
string nomeFile = "ETS-Proto.docx";
|
||||
fileMover.obj.muoviFile("~/DocTemplates/", WebShipUtils.mng.UserTempPath, nomeFile, false);
|
||||
// stacco un nuovo protocollo!
|
||||
docMetaDataSet docsData = WebShipUtils.mng.currMetaData;
|
||||
//check del path
|
||||
string pathDest = docsData.path;
|
||||
if (pathDest != "")
|
||||
{
|
||||
pathDest = string.Format("{0}{1}", utils.obj.confReadString("archiveDir"), docsData.path);
|
||||
string redattore = utils.obj.currUserCognomeNome; // usa utente corrente
|
||||
int idxFile = WebShipUtils.archiviaFile(docsData, WebShipUtils.mng.UserTempPath, pathDest, nomeFile, redattore);
|
||||
// recupero dati documento
|
||||
docsData = WebShipUtils.mng.docMetaFromIdxFile(idxFile);
|
||||
// recupero full path del documento
|
||||
string fullPath = Server.MapPath(string.Format("{0}{1}", pathDest, WebShipUtils.nomeFileFullFromIdxFile(idxFile)));
|
||||
string protocollo = WebShipUtils.protocolloFromIdxFile(idxFile);
|
||||
// prendo il nuovo file generato e sostituisco parte del nome con il codice protocollo
|
||||
officeXmlMan.replaceDocxText(fullPath, "{{Protocollo}}", protocollo);
|
||||
officeXmlMan.replaceDocxText(fullPath, "{{DataDoc}}", docsData.dataDoc.ToShortDateString());
|
||||
officeXmlMan.replaceDocxText(fullPath, "{{Redattore}}", utils.obj.currUserCognomeNome);
|
||||
// link: msdn.microsoft.com/en-us/library/bb508261.aspx
|
||||
}
|
||||
generaDocDaTemplate(nomeFile);
|
||||
Response.Redirect("~/GestioneDocumenti.aspx");
|
||||
}
|
||||
/// <summary>
|
||||
/// richiede salvataggio lettera
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGenLettera_Click(object sender, EventArgs e)
|
||||
{
|
||||
// effettua upload del documento "dummy" lettera
|
||||
string nomeFile = "ETS-Lettera.docx";
|
||||
generaDocDaTemplate(nomeFile);
|
||||
Response.Redirect("~/GestioneDocumenti.aspx");
|
||||
}
|
||||
/// <summary>
|
||||
/// chiede salvataggio fax
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGenFax_Click(object sender, EventArgs e)
|
||||
{
|
||||
// effettua upload del documento "dummy" fax
|
||||
string nomeFile = "ETS-Fax.docx";
|
||||
generaDocDaTemplate(nomeFile);
|
||||
Response.Redirect("~/GestioneDocumenti.aspx");
|
||||
}
|
||||
/// <summary>
|
||||
/// chiede salvataggio email + generazione doc mailto
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGenMail_Click(object sender, EventArgs e)
|
||||
{
|
||||
// effettua upload del documento "dummy" fax
|
||||
string nomeFile = "email.eml";
|
||||
generaDocDaTemplate(nomeFile);
|
||||
Response.Redirect("~/GestioneDocumenti.aspx");
|
||||
#if false
|
||||
// effettua upload del documento "dummy" proto
|
||||
string nomeFile = "ETS-Proto.docx";
|
||||
int idxFile = generaDocDaTemplate(nomeFile);
|
||||
// ricavo dati x email
|
||||
string dest = "info@steamware.net";
|
||||
string subject = "test";
|
||||
string body = "test email";
|
||||
aggiornaDatiMailTo(dest, subject, body);
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// script che aggiorna la funzione "mailto" dato idxFile e dati connessi
|
||||
/// </summary>
|
||||
/// <param name="dest"></param>
|
||||
/// <param name="subject"></param>
|
||||
/// <param name="body"></param>
|
||||
private void aggiornaDatiMailTo(string dest, string subject, string body)
|
||||
{
|
||||
//String csName = "mailToCS";
|
||||
//Type csType = this.GetType();
|
||||
//ClientScriptManager cs = Page.ClientScript;
|
||||
//if (!cs.IsClientScriptBlockRegistered(csType, csName))
|
||||
//{
|
||||
// string pre = "<script type='text/javascript'>";
|
||||
// string scrVal = "function mailTo() { ";
|
||||
// scrVal += string.Format(" location.href = 'mailto:{0}?subject={1}body={2}'", dest, subject, body);
|
||||
// scrVal += " }";
|
||||
// string post = "</script>";
|
||||
// string fullScript = string.Format("{0} {1} {2}", pre, scrVal, post);
|
||||
// cs.RegisterClientScriptBlock(csType, csName, fullScript);
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -74,19 +74,59 @@
|
||||
}
|
||||
.btnGenProto
|
||||
{
|
||||
background-image: url(/images/proto_l.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right;
|
||||
background-color: #ACACFF;
|
||||
width: 160px;
|
||||
height: 40px;
|
||||
border: 1px solid #333;
|
||||
vertical-align: middle;
|
||||
margin: auto;
|
||||
font-size: 10pt;
|
||||
font-family: Arial;
|
||||
}
|
||||
.btnGenDoc
|
||||
{
|
||||
background-image: url(/images/doc_l.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right;
|
||||
background-color: #ACFFAC;
|
||||
width: 160px;
|
||||
height: 40px;
|
||||
border: 1px solid #333;
|
||||
vertical-align: middle;
|
||||
margin: auto;
|
||||
font-size: 10pt;
|
||||
font-family: Arial;
|
||||
}
|
||||
.btnGenFax
|
||||
{
|
||||
background-image: url(/images/fax_l.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right;
|
||||
background-color: #ACFFFF;
|
||||
width: 160px;
|
||||
height: 40px;
|
||||
border: 1px solid #333;
|
||||
vertical-align: middle;
|
||||
margin: auto;
|
||||
font-size: 10pt;
|
||||
font-family: Arial;
|
||||
}
|
||||
.btnGenMail
|
||||
{
|
||||
background-image: url(/images/email_l.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right;
|
||||
background-color: #FFFFAC;
|
||||
width: 160px;
|
||||
height: 40px;
|
||||
border: 1px solid #333;
|
||||
vertical-align: middle;
|
||||
margin: auto;
|
||||
font-size: 10pt;
|
||||
font-family: Arial;
|
||||
}
|
||||
/* end buttons! */
|
||||
|
||||
|
||||
@@ -74,19 +74,59 @@
|
||||
}
|
||||
.btnGenProto
|
||||
{
|
||||
background-image: url(/images/proto_l.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right;
|
||||
background-color: #ACACFF;
|
||||
width: 160px;
|
||||
height: 40px;
|
||||
border: 1px solid #333;
|
||||
vertical-align: middle;
|
||||
margin: auto;
|
||||
font-size: 10pt;
|
||||
font-family: Arial;
|
||||
}
|
||||
.btnGenDoc
|
||||
{
|
||||
background-image: url(/images/doc_l.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right;
|
||||
background-color: #ACFFAC;
|
||||
width: 160px;
|
||||
height: 40px;
|
||||
border: 1px solid #333;
|
||||
vertical-align: middle;
|
||||
margin: auto;
|
||||
font-size: 10pt;
|
||||
font-family: Arial;
|
||||
}
|
||||
.btnGenFax
|
||||
{
|
||||
background-image: url(/images/fax_l.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right;
|
||||
background-color: #ACFFFF;
|
||||
width: 160px;
|
||||
height: 40px;
|
||||
border: 1px solid #333;
|
||||
vertical-align: middle;
|
||||
margin: auto;
|
||||
font-size: 10pt;
|
||||
font-family: Arial;
|
||||
}
|
||||
.btnGenMail
|
||||
{
|
||||
background-image: url(/images/email_l.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right;
|
||||
background-color: #FFFFAC;
|
||||
width: 160px;
|
||||
height: 40px;
|
||||
border: 1px solid #333;
|
||||
vertical-align: middle;
|
||||
margin: auto;
|
||||
font-size: 10pt;
|
||||
font-family: Arial;
|
||||
}
|
||||
/* end buttons! */
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
[ViewState]
|
||||
Mode=
|
||||
Vid=
|
||||
FolderType=Documents
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 778 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
Generated
+579
@@ -42,6 +42,8 @@ namespace ETS_Data {
|
||||
|
||||
private stp_calcolaProtocolloDataTable tablestp_calcolaProtocollo;
|
||||
|
||||
private v_selEmailFornitoriDataTable tablev_selEmailFornitori;
|
||||
|
||||
private filesDataTable tablefiles;
|
||||
|
||||
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
@@ -99,6 +101,9 @@ namespace ETS_Data {
|
||||
if ((ds.Tables["stp_calcolaProtocollo"] != null)) {
|
||||
base.Tables.Add(new stp_calcolaProtocolloDataTable(ds.Tables["stp_calcolaProtocollo"]));
|
||||
}
|
||||
if ((ds.Tables["v_selEmailFornitori"] != null)) {
|
||||
base.Tables.Add(new v_selEmailFornitoriDataTable(ds.Tables["v_selEmailFornitori"]));
|
||||
}
|
||||
if ((ds.Tables["files"] != null)) {
|
||||
base.Tables.Add(new filesDataTable(ds.Tables["files"]));
|
||||
}
|
||||
@@ -210,6 +215,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 v_selEmailFornitoriDataTable v_selEmailFornitori {
|
||||
get {
|
||||
return this.tablev_selEmailFornitori;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -314,6 +329,9 @@ namespace ETS_Data {
|
||||
if ((ds.Tables["stp_calcolaProtocollo"] != null)) {
|
||||
base.Tables.Add(new stp_calcolaProtocolloDataTable(ds.Tables["stp_calcolaProtocollo"]));
|
||||
}
|
||||
if ((ds.Tables["v_selEmailFornitori"] != null)) {
|
||||
base.Tables.Add(new v_selEmailFornitoriDataTable(ds.Tables["v_selEmailFornitori"]));
|
||||
}
|
||||
if ((ds.Tables["files"] != null)) {
|
||||
base.Tables.Add(new filesDataTable(ds.Tables["files"]));
|
||||
}
|
||||
@@ -404,6 +422,12 @@ namespace ETS_Data {
|
||||
this.tablestp_calcolaProtocollo.InitVars();
|
||||
}
|
||||
}
|
||||
this.tablev_selEmailFornitori = ((v_selEmailFornitoriDataTable)(base.Tables["v_selEmailFornitori"]));
|
||||
if ((initTable == true)) {
|
||||
if ((this.tablev_selEmailFornitori != null)) {
|
||||
this.tablev_selEmailFornitori.InitVars();
|
||||
}
|
||||
}
|
||||
this.tablefiles = ((filesDataTable)(base.Tables["files"]));
|
||||
if ((initTable == true)) {
|
||||
if ((this.tablefiles != null)) {
|
||||
@@ -438,6 +462,8 @@ namespace ETS_Data {
|
||||
base.Tables.Add(this.tablev_selAutori);
|
||||
this.tablestp_calcolaProtocollo = new stp_calcolaProtocolloDataTable();
|
||||
base.Tables.Add(this.tablestp_calcolaProtocollo);
|
||||
this.tablev_selEmailFornitori = new v_selEmailFornitoriDataTable();
|
||||
base.Tables.Add(this.tablev_selEmailFornitori);
|
||||
this.tablefiles = new filesDataTable();
|
||||
base.Tables.Add(this.tablefiles);
|
||||
}
|
||||
@@ -496,6 +522,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 ShouldSerializev_selEmailFornitori() {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private bool ShouldSerializefiles() {
|
||||
@@ -584,6 +616,9 @@ namespace ETS_Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public delegate void stp_calcolaProtocolloRowChangeEventHandler(object sender, stp_calcolaProtocolloRowChangeEvent e);
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public delegate void v_selEmailFornitoriRowChangeEventHandler(object sender, v_selEmailFornitoriRowChangeEvent e);
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public delegate void filesRowChangeEventHandler(object sender, filesRowChangeEvent e);
|
||||
|
||||
@@ -3014,6 +3049,271 @@ namespace ETS_Data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
[global::System.Serializable()]
|
||||
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
||||
public partial class v_selEmailFornitoriDataTable : global::System.Data.TypedTableBase<v_selEmailFornitoriRow> {
|
||||
|
||||
private global::System.Data.DataColumn columncodFornitore;
|
||||
|
||||
private global::System.Data.DataColumn columnEmail;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_selEmailFornitoriDataTable() {
|
||||
this.TableName = "v_selEmailFornitori";
|
||||
this.BeginInit();
|
||||
this.InitClass();
|
||||
this.EndInit();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal v_selEmailFornitoriDataTable(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 v_selEmailFornitoriDataTable(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 codFornitoreColumn {
|
||||
get {
|
||||
return this.columncodFornitore;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn EmailColumn {
|
||||
get {
|
||||
return this.columnEmail;
|
||||
}
|
||||
}
|
||||
|
||||
[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 v_selEmailFornitoriRow this[int index] {
|
||||
get {
|
||||
return ((v_selEmailFornitoriRow)(this.Rows[index]));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_selEmailFornitoriRowChangeEventHandler v_selEmailFornitoriRowChanging;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_selEmailFornitoriRowChangeEventHandler v_selEmailFornitoriRowChanged;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_selEmailFornitoriRowChangeEventHandler v_selEmailFornitoriRowDeleting;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_selEmailFornitoriRowChangeEventHandler v_selEmailFornitoriRowDeleted;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void Addv_selEmailFornitoriRow(v_selEmailFornitoriRow row) {
|
||||
this.Rows.Add(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_selEmailFornitoriRow Addv_selEmailFornitoriRow(string codFornitore, string Email) {
|
||||
v_selEmailFornitoriRow rowv_selEmailFornitoriRow = ((v_selEmailFornitoriRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
codFornitore,
|
||||
Email};
|
||||
rowv_selEmailFornitoriRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowv_selEmailFornitoriRow);
|
||||
return rowv_selEmailFornitoriRow;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public override global::System.Data.DataTable Clone() {
|
||||
v_selEmailFornitoriDataTable cln = ((v_selEmailFornitoriDataTable)(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 v_selEmailFornitoriDataTable();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal void InitVars() {
|
||||
this.columncodFornitore = base.Columns["codFornitore"];
|
||||
this.columnEmail = base.Columns["Email"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitClass() {
|
||||
this.columncodFornitore = new global::System.Data.DataColumn("codFornitore", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columncodFornitore);
|
||||
this.columnEmail = new global::System.Data.DataColumn("Email", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnEmail);
|
||||
this.columncodFornitore.AllowDBNull = false;
|
||||
this.columncodFornitore.MaxLength = 200;
|
||||
this.columnEmail.ReadOnly = true;
|
||||
this.columnEmail.MaxLength = 200;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_selEmailFornitoriRow Newv_selEmailFornitoriRow() {
|
||||
return ((v_selEmailFornitoriRow)(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 v_selEmailFornitoriRow(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(v_selEmailFornitoriRow);
|
||||
}
|
||||
|
||||
[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.v_selEmailFornitoriRowChanged != null)) {
|
||||
this.v_selEmailFornitoriRowChanged(this, new v_selEmailFornitoriRowChangeEvent(((v_selEmailFornitoriRow)(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.v_selEmailFornitoriRowChanging != null)) {
|
||||
this.v_selEmailFornitoriRowChanging(this, new v_selEmailFornitoriRowChangeEvent(((v_selEmailFornitoriRow)(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.v_selEmailFornitoriRowDeleted != null)) {
|
||||
this.v_selEmailFornitoriRowDeleted(this, new v_selEmailFornitoriRowChangeEvent(((v_selEmailFornitoriRow)(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.v_selEmailFornitoriRowDeleting != null)) {
|
||||
this.v_selEmailFornitoriRowDeleting(this, new v_selEmailFornitoriRowChangeEvent(((v_selEmailFornitoriRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void Removev_selEmailFornitoriRow(v_selEmailFornitoriRow 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 = "v_selEmailFornitoriDataTable";
|
||||
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 the strongly named DataTable class.
|
||||
///</summary>
|
||||
@@ -3869,6 +4169,60 @@ namespace ETS_Data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
public partial class v_selEmailFornitoriRow : global::System.Data.DataRow {
|
||||
|
||||
private v_selEmailFornitoriDataTable tablev_selEmailFornitori;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal v_selEmailFornitoriRow(global::System.Data.DataRowBuilder rb) :
|
||||
base(rb) {
|
||||
this.tablev_selEmailFornitori = ((v_selEmailFornitoriDataTable)(this.Table));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string codFornitore {
|
||||
get {
|
||||
return ((string)(this[this.tablev_selEmailFornitori.codFornitoreColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tablev_selEmailFornitori.codFornitoreColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string Email {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tablev_selEmailFornitori.EmailColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'Email\' in table \'v_selEmailFornitori\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablev_selEmailFornitori.EmailColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsEmailNull() {
|
||||
return this.IsNull(this.tablev_selEmailFornitori.EmailColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetEmailNull() {
|
||||
this[this.tablev_selEmailFornitori.EmailColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
@@ -4302,6 +4656,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 v_selEmailFornitoriRowChangeEvent : global::System.EventArgs {
|
||||
|
||||
private v_selEmailFornitoriRow 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 v_selEmailFornitoriRowChangeEvent(v_selEmailFornitoriRow 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 v_selEmailFornitoriRow 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
@@ -6080,6 +6468,197 @@ namespace ETS_Data.DS_utilsTableAdapters {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the connection and commands used to retrieve and save data.
|
||||
///</summary>
|
||||
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[global::System.ComponentModel.ToolboxItem(true)]
|
||||
[global::System.ComponentModel.DataObjectAttribute(true)]
|
||||
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
||||
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public partial class v_selEmailFornitoriTableAdapter : global::System.ComponentModel.Component {
|
||||
|
||||
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
||||
|
||||
private global::System.Data.SqlClient.SqlConnection _connection;
|
||||
|
||||
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
||||
|
||||
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
||||
|
||||
private bool _clearBeforeFill;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_selEmailFornitoriTableAdapter() {
|
||||
this.ClearBeforeFill = true;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
||||
get {
|
||||
if ((this._adapter == null)) {
|
||||
this.InitAdapter();
|
||||
}
|
||||
return this._adapter;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal global::System.Data.SqlClient.SqlConnection Connection {
|
||||
get {
|
||||
if ((this._connection == null)) {
|
||||
this.InitConnection();
|
||||
}
|
||||
return this._connection;
|
||||
}
|
||||
set {
|
||||
this._connection = value;
|
||||
if ((this.Adapter.InsertCommand != null)) {
|
||||
this.Adapter.InsertCommand.Connection = value;
|
||||
}
|
||||
if ((this.Adapter.DeleteCommand != null)) {
|
||||
this.Adapter.DeleteCommand.Connection = value;
|
||||
}
|
||||
if ((this.Adapter.UpdateCommand != null)) {
|
||||
this.Adapter.UpdateCommand.Connection = value;
|
||||
}
|
||||
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
||||
if ((this.CommandCollection[i] != null)) {
|
||||
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
||||
get {
|
||||
return this._transaction;
|
||||
}
|
||||
set {
|
||||
this._transaction = value;
|
||||
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
||||
this.CommandCollection[i].Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.DeleteCommand != null))) {
|
||||
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.InsertCommand != null))) {
|
||||
this.Adapter.InsertCommand.Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.UpdateCommand != null))) {
|
||||
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
||||
get {
|
||||
if ((this._commandCollection == null)) {
|
||||
this.InitCommandCollection();
|
||||
}
|
||||
return this._commandCollection;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool ClearBeforeFill {
|
||||
get {
|
||||
return this._clearBeforeFill;
|
||||
}
|
||||
set {
|
||||
this._clearBeforeFill = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitAdapter() {
|
||||
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
||||
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
||||
tableMapping.SourceTable = "Table";
|
||||
tableMapping.DataSetTable = "v_selEmailFornitori";
|
||||
tableMapping.ColumnMappings.Add("codFornitore", "codFornitore");
|
||||
tableMapping.ColumnMappings.Add("Email", "Email");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitConnection() {
|
||||
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
||||
this._connection.ConnectionString = global::ETS_Data.Properties.Settings.Default.ETS_WSConnectionString;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT codFornitore, Email FROM dbo.v_selEmailFornitori";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[1].Connection = this.Connection;
|
||||
this._commandCollection[1].CommandText = "dbo.stp_EF_byCodFornitore";
|
||||
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codFornitore", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
||||
public virtual int Fill(DS_utils.v_selEmailFornitoriDataTable dataTable) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((this.ClearBeforeFill == true)) {
|
||||
dataTable.Clear();
|
||||
}
|
||||
int returnValue = this.Adapter.Fill(dataTable);
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
||||
public virtual DS_utils.v_selEmailFornitoriDataTable GetData() {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
DS_utils.v_selEmailFornitoriDataTable dataTable = new DS_utils.v_selEmailFornitoriDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_utils.v_selEmailFornitoriDataTable getByCodForn(string codFornitore) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
if ((codFornitore == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(codFornitore));
|
||||
}
|
||||
DS_utils.v_selEmailFornitoriDataTable dataTable = new DS_utils.v_selEmailFornitoriDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
|
||||
///</summary>
|
||||
|
||||
+59
-10
@@ -267,6 +267,35 @@ ORDER BY value</CommandText>
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selEmailFornitoriTableAdapter" GeneratorDataComponentClassName="v_selEmailFornitoriTableAdapter" Name="v_selEmailFornitori" UserDataComponentName="v_selEmailFornitoriTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.v_selEmailFornitori" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT codFornitore, Email FROM dbo.v_selEmailFornitori</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="codFornitore" DataSetColumn="codFornitore" />
|
||||
<Mapping SourceColumn="Email" DataSetColumn="Email" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.stp_EF_byCodFornitore" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCodForn" GetMethodModifier="Public" GetMethodName="getByCodForn" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCodForn" UserSourceName="getByCodForn">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_EF_byCodFornitore</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@codFornitore" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -275,7 +304,7 @@ ORDER BY value</CommandText>
|
||||
<xs:element name="DS_utils" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_utils" msprop:Generator_UserDSName="DS_utils">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="v_selFonti" msprop:Generator_TableClassName="v_selFontiDataTable" msprop:Generator_TableVarName="tablev_selFonti" msprop:Generator_TablePropName="v_selFonti" msprop:Generator_RowDeletingName="v_selFontiRowDeleting" msprop:Generator_RowChangingName="v_selFontiRowChanging" msprop:Generator_RowEvHandlerName="v_selFontiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFontiRowDeleted" msprop:Generator_UserTableName="v_selFonti" msprop:Generator_RowChangedName="v_selFontiRowChanged" msprop:Generator_RowEvArgName="v_selFontiRowChangeEvent" msprop:Generator_RowClassName="v_selFontiRow">
|
||||
<xs:element name="v_selFonti" msprop:Generator_TableClassName="v_selFontiDataTable" msprop:Generator_TableVarName="tablev_selFonti" msprop:Generator_RowChangedName="v_selFontiRowChanged" msprop:Generator_TablePropName="v_selFonti" msprop:Generator_RowDeletingName="v_selFontiRowDeleting" msprop:Generator_RowChangingName="v_selFontiRowChanging" msprop:Generator_RowEvHandlerName="v_selFontiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFontiRowDeleted" msprop:Generator_RowClassName="v_selFontiRow" msprop:Generator_UserTableName="v_selFonti" msprop:Generator_RowEvArgName="v_selFontiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -295,7 +324,7 @@ ORDER BY value</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selCommesse" msprop:Generator_TableClassName="v_selCommesseDataTable" msprop:Generator_TableVarName="tablev_selCommesse" msprop:Generator_RowChangedName="v_selCommesseRowChanged" msprop:Generator_TablePropName="v_selCommesse" msprop:Generator_RowDeletingName="v_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCommesseRowDeleted" msprop:Generator_RowClassName="v_selCommesseRow" msprop:Generator_UserTableName="v_selCommesse" msprop:Generator_RowEvArgName="v_selCommesseRowChangeEvent">
|
||||
<xs:element name="v_selCommesse" msprop:Generator_TableClassName="v_selCommesseDataTable" msprop:Generator_TableVarName="tablev_selCommesse" msprop:Generator_TablePropName="v_selCommesse" msprop:Generator_RowDeletingName="v_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCommesseRowDeleted" msprop:Generator_UserTableName="v_selCommesse" msprop:Generator_RowChangedName="v_selCommesseRowChanged" msprop:Generator_RowEvArgName="v_selCommesseRowChangeEvent" msprop:Generator_RowClassName="v_selCommesseRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:string" />
|
||||
@@ -309,7 +338,7 @@ ORDER BY value</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selFasi" msprop:Generator_TableClassName="v_selFasiDataTable" msprop:Generator_TableVarName="tablev_selFasi" msprop:Generator_RowChangedName="v_selFasiRowChanged" msprop:Generator_TablePropName="v_selFasi" msprop:Generator_RowDeletingName="v_selFasiRowDeleting" msprop:Generator_RowChangingName="v_selFasiRowChanging" msprop:Generator_RowEvHandlerName="v_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFasiRowDeleted" msprop:Generator_RowClassName="v_selFasiRow" msprop:Generator_UserTableName="v_selFasi" msprop:Generator_RowEvArgName="v_selFasiRowChangeEvent">
|
||||
<xs:element name="v_selFasi" msprop:Generator_TableClassName="v_selFasiDataTable" msprop:Generator_TableVarName="tablev_selFasi" msprop:Generator_TablePropName="v_selFasi" msprop:Generator_RowDeletingName="v_selFasiRowDeleting" msprop:Generator_RowChangingName="v_selFasiRowChanging" msprop:Generator_RowEvHandlerName="v_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFasiRowDeleted" msprop:Generator_UserTableName="v_selFasi" msprop:Generator_RowChangedName="v_selFasiRowChanged" msprop:Generator_RowEvArgName="v_selFasiRowChangeEvent" msprop:Generator_RowClassName="v_selFasiRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:string" />
|
||||
@@ -323,7 +352,7 @@ ORDER BY value</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="files" msprop:Generator_TableClassName="filesDataTable" msprop:Generator_TableVarName="tablefiles" msprop:Generator_TablePropName="files" msprop:Generator_RowDeletingName="filesRowDeleting" msprop:Generator_RowChangingName="filesRowChanging" msprop:Generator_RowEvHandlerName="filesRowChangeEventHandler" msprop:Generator_RowDeletedName="filesRowDeleted" msprop:Generator_UserTableName="files" msprop:Generator_RowChangedName="filesRowChanged" msprop:Generator_RowEvArgName="filesRowChangeEvent" msprop:Generator_RowClassName="filesRow">
|
||||
<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" />
|
||||
@@ -333,7 +362,7 @@ ORDER BY value</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_tbDocs_selCommesse" msprop:Generator_TableClassName="v_tbDocs_selCommesseDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selCommesse" msprop:Generator_RowChangedName="v_tbDocs_selCommesseRowChanged" msprop:Generator_TablePropName="v_tbDocs_selCommesse" msprop:Generator_RowDeletingName="v_tbDocs_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selCommesseRowDeleted" msprop:Generator_RowClassName="v_tbDocs_selCommesseRow" msprop:Generator_UserTableName="v_tbDocs_selCommesse" msprop:Generator_RowEvArgName="v_tbDocs_selCommesseRowChangeEvent">
|
||||
<xs:element name="v_tbDocs_selCommesse" msprop:Generator_TableClassName="v_tbDocs_selCommesseDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selCommesse" msprop:Generator_TablePropName="v_tbDocs_selCommesse" msprop:Generator_RowDeletingName="v_tbDocs_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selCommesseRowDeleted" msprop:Generator_UserTableName="v_tbDocs_selCommesse" msprop:Generator_RowChangedName="v_tbDocs_selCommesseRowChanged" msprop:Generator_RowEvArgName="v_tbDocs_selCommesseRowChangeEvent" msprop:Generator_RowClassName="v_tbDocs_selCommesseRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
|
||||
@@ -353,7 +382,7 @@ ORDER BY value</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_tbDocs_selFasi" msprop:Generator_TableClassName="v_tbDocs_selFasiDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selFasi" msprop:Generator_RowChangedName="v_tbDocs_selFasiRowChanged" msprop:Generator_TablePropName="v_tbDocs_selFasi" msprop:Generator_RowDeletingName="v_tbDocs_selFasiRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selFasiRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selFasiRowDeleted" msprop:Generator_RowClassName="v_tbDocs_selFasiRow" msprop:Generator_UserTableName="v_tbDocs_selFasi" msprop:Generator_RowEvArgName="v_tbDocs_selFasiRowChangeEvent">
|
||||
<xs:element name="v_tbDocs_selFasi" msprop:Generator_TableClassName="v_tbDocs_selFasiDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selFasi" msprop:Generator_TablePropName="v_tbDocs_selFasi" msprop:Generator_RowDeletingName="v_tbDocs_selFasiRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selFasiRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selFasiRowDeleted" msprop:Generator_UserTableName="v_tbDocs_selFasi" msprop:Generator_RowChangedName="v_tbDocs_selFasiRowChanged" msprop:Generator_RowEvArgName="v_tbDocs_selFasiRowChangeEvent" msprop:Generator_RowClassName="v_tbDocs_selFasiRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
|
||||
@@ -373,7 +402,7 @@ ORDER BY value</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_tbDocs_selFonti" msprop:Generator_TableClassName="v_tbDocs_selFontiDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selFonti" msprop:Generator_RowChangedName="v_tbDocs_selFontiRowChanged" msprop:Generator_TablePropName="v_tbDocs_selFonti" msprop:Generator_RowDeletingName="v_tbDocs_selFontiRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selFontiRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selFontiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selFontiRowDeleted" msprop:Generator_RowClassName="v_tbDocs_selFontiRow" msprop:Generator_UserTableName="v_tbDocs_selFonti" msprop:Generator_RowEvArgName="v_tbDocs_selFontiRowChangeEvent">
|
||||
<xs:element name="v_tbDocs_selFonti" msprop:Generator_TableClassName="v_tbDocs_selFontiDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selFonti" msprop:Generator_TablePropName="v_tbDocs_selFonti" msprop:Generator_RowDeletingName="v_tbDocs_selFontiRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selFontiRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selFontiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selFontiRowDeleted" msprop:Generator_UserTableName="v_tbDocs_selFonti" msprop:Generator_RowChangedName="v_tbDocs_selFontiRowChanged" msprop:Generator_RowEvArgName="v_tbDocs_selFontiRowChangeEvent" msprop:Generator_RowClassName="v_tbDocs_selFontiRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
|
||||
@@ -393,7 +422,7 @@ ORDER BY value</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_tbDocs_selOggetto" msprop:Generator_TableClassName="v_tbDocs_selOggettoDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selOggetto" msprop:Generator_RowChangedName="v_tbDocs_selOggettoRowChanged" msprop:Generator_TablePropName="v_tbDocs_selOggetto" msprop:Generator_RowDeletingName="v_tbDocs_selOggettoRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selOggettoRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selOggettoRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selOggettoRowDeleted" msprop:Generator_RowClassName="v_tbDocs_selOggettoRow" msprop:Generator_UserTableName="v_tbDocs_selOggetto" msprop:Generator_RowEvArgName="v_tbDocs_selOggettoRowChangeEvent">
|
||||
<xs:element name="v_tbDocs_selOggetto" msprop:Generator_TableClassName="v_tbDocs_selOggettoDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selOggetto" msprop:Generator_TablePropName="v_tbDocs_selOggetto" msprop:Generator_RowDeletingName="v_tbDocs_selOggettoRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selOggettoRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selOggettoRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selOggettoRowDeleted" msprop:Generator_UserTableName="v_tbDocs_selOggetto" msprop:Generator_RowChangedName="v_tbDocs_selOggettoRowChanged" msprop:Generator_RowEvArgName="v_tbDocs_selOggettoRowChangeEvent" msprop:Generator_RowClassName="v_tbDocs_selOggettoRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
|
||||
@@ -413,7 +442,7 @@ ORDER BY value</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selAutori" msprop:Generator_TableClassName="v_selAutoriDataTable" msprop:Generator_TableVarName="tablev_selAutori" msprop:Generator_TablePropName="v_selAutori" msprop:Generator_RowDeletingName="v_selAutoriRowDeleting" msprop:Generator_RowChangingName="v_selAutoriRowChanging" msprop:Generator_RowEvHandlerName="v_selAutoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selAutoriRowDeleted" msprop:Generator_UserTableName="v_selAutori" msprop:Generator_RowChangedName="v_selAutoriRowChanged" msprop:Generator_RowEvArgName="v_selAutoriRowChangeEvent" msprop:Generator_RowClassName="v_selAutoriRow">
|
||||
<xs:element name="v_selAutori" msprop:Generator_TableClassName="v_selAutoriDataTable" msprop:Generator_TableVarName="tablev_selAutori" msprop:Generator_RowChangedName="v_selAutoriRowChanged" msprop:Generator_TablePropName="v_selAutori" msprop:Generator_RowDeletingName="v_selAutoriRowDeleting" msprop:Generator_RowChangingName="v_selAutoriRowChanging" msprop:Generator_RowEvHandlerName="v_selAutoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selAutoriRowDeleted" msprop:Generator_RowClassName="v_selAutoriRow" msprop:Generator_UserTableName="v_selAutori" msprop:Generator_RowEvArgName="v_selAutoriRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -433,7 +462,7 @@ ORDER BY value</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="stp_calcolaProtocollo" msprop:Generator_TableClassName="stp_calcolaProtocolloDataTable" msprop:Generator_TableVarName="tablestp_calcolaProtocollo" msprop:Generator_TablePropName="stp_calcolaProtocollo" msprop:Generator_RowDeletingName="stp_calcolaProtocolloRowDeleting" msprop:Generator_RowChangingName="stp_calcolaProtocolloRowChanging" msprop:Generator_RowEvHandlerName="stp_calcolaProtocolloRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_calcolaProtocolloRowDeleted" msprop:Generator_UserTableName="stp_calcolaProtocollo" msprop:Generator_RowChangedName="stp_calcolaProtocolloRowChanged" msprop:Generator_RowEvArgName="stp_calcolaProtocolloRowChangeEvent" msprop:Generator_RowClassName="stp_calcolaProtocolloRow">
|
||||
<xs:element name="stp_calcolaProtocollo" msprop:Generator_TableClassName="stp_calcolaProtocolloDataTable" msprop:Generator_TableVarName="tablestp_calcolaProtocollo" msprop:Generator_RowChangedName="stp_calcolaProtocolloRowChanged" msprop:Generator_TablePropName="stp_calcolaProtocollo" msprop:Generator_RowDeletingName="stp_calcolaProtocolloRowDeleting" msprop:Generator_RowChangingName="stp_calcolaProtocolloRowChanging" msprop:Generator_RowEvHandlerName="stp_calcolaProtocolloRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_calcolaProtocolloRowDeleted" msprop:Generator_RowClassName="stp_calcolaProtocolloRow" msprop:Generator_UserTableName="stp_calcolaProtocollo" msprop:Generator_RowEvArgName="stp_calcolaProtocolloRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Anno" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" minOccurs="0" />
|
||||
@@ -442,6 +471,26 @@ ORDER BY value</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selEmailFornitori" msprop:Generator_TableClassName="v_selEmailFornitoriDataTable" msprop:Generator_TableVarName="tablev_selEmailFornitori" msprop:Generator_TablePropName="v_selEmailFornitori" msprop:Generator_RowDeletingName="v_selEmailFornitoriRowDeleting" msprop:Generator_RowChangingName="v_selEmailFornitoriRowChanging" msprop:Generator_RowEvHandlerName="v_selEmailFornitoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selEmailFornitoriRowDeleted" msprop:Generator_UserTableName="v_selEmailFornitori" msprop:Generator_RowChangedName="v_selEmailFornitoriRowChanged" msprop:Generator_RowEvArgName="v_selEmailFornitoriRowChangeEvent" msprop:Generator_RowClassName="v_selEmailFornitoriRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="codFornitore" msprop:Generator_ColumnVarNameInTable="columncodFornitore" msprop:Generator_ColumnPropNameInRow="codFornitore" msprop:Generator_ColumnPropNameInTable="codFornitoreColumn" msprop:Generator_UserColumnName="codFornitore">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="200" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Email" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnEmail" msprop:Generator_ColumnPropNameInRow="Email" msprop:Generator_ColumnPropNameInTable="EmailColumn" msprop:Generator_UserColumnName="Email" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="200" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
|
||||
+11
-9
@@ -6,15 +6,17 @@
|
||||
</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:v_selFonti" ZOrder="9" X="167" Y="206" Height="134" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selCommesse" ZOrder="8" X="551" Y="226" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selFasi" ZOrder="7" X="894" Y="226" Height="134" Width="194" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selCommesse" ZOrder="3" X="141" Y="449" Height="134" Width="280" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selFasi" ZOrder="2" X="511" Y="462" Height="134" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selFonti" ZOrder="1" X="841" Y="473" Height="134" Width="247" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selOggetto" ZOrder="5" X="182" Y="672" Height="134" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selAutori" ZOrder="4" X="885" Y="653" Height="134" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:files" ZOrder="6" X="1115" Y="226" Height="125" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:v_selFonti" ZOrder="11" X="167" Y="206" Height="134" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selCommesse" ZOrder="10" X="551" Y="226" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selFasi" ZOrder="9" X="894" Y="226" Height="134" Width="194" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selCommesse" ZOrder="5" X="141" Y="449" Height="134" Width="280" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selFasi" ZOrder="4" X="511" Y="462" Height="134" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selFonti" ZOrder="3" X="841" Y="473" Height="134" Width="247" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selOggetto" ZOrder="7" X="182" Y="672" Height="134" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selAutori" ZOrder="6" X="885" Y="653" Height="134" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:stp_calcolaProtocollo" ZOrder="2" X="729" Y="66" Height="130" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="40" />
|
||||
<Shape ID="DesignTable:files" ZOrder="8" X="1115" Y="226" Height="125" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:v_selEmailFornitori" ZOrder="1" X="539" Y="679" Height="134" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
@@ -107,6 +107,26 @@ namespace ETS_Data
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
/// <summary>
|
||||
/// elimina un file dato path completo del file
|
||||
/// </summary>
|
||||
/// <param name="fileFullPath"></param>
|
||||
/// <returns></returns>
|
||||
public bool eliminaFile(string fileFullPath)
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
//elimino file!
|
||||
FileInfo _fi = new FileInfo(System.Web.HttpContext.Current.Server.MapPath(fileFullPath));
|
||||
_fi.Delete();
|
||||
lg.Info("Eliminazione file: {0}", fileFullPath);
|
||||
answ = true;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
#if false
|
||||
/// <summary>
|
||||
/// elimina i file dato path
|
||||
|
||||
@@ -40,6 +40,5 @@ namespace ETS_Data
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace ETS_Data
|
||||
public DS_utilsTableAdapters.v_tbDocs_selFasiTableAdapter taTDSelFasi;
|
||||
public DS_utilsTableAdapters.v_tbDocs_selOggettoTableAdapter taTDSelOggetti;
|
||||
public DS_utilsTableAdapters.stp_calcolaProtocolloTableAdapter taCalcProto;
|
||||
public DS_utilsTableAdapters.v_selEmailFornitoriTableAdapter taEmailForn;
|
||||
|
||||
public DS_WebScipTableAdapters.tbDocumentiTableAdapter taDoc;
|
||||
public DS_WebScipTableAdapters.Tags2DocTableAdapter taTags2Doc;
|
||||
@@ -42,6 +43,7 @@ namespace ETS_Data
|
||||
taTDSelFasi = new DS_utilsTableAdapters.v_tbDocs_selFasiTableAdapter();
|
||||
taTDSelOggetti = new DS_utilsTableAdapters.v_tbDocs_selOggettoTableAdapter();
|
||||
taCalcProto = new DS_utilsTableAdapters.stp_calcolaProtocolloTableAdapter();
|
||||
taEmailForn = new DS_utilsTableAdapters.v_selEmailFornitoriTableAdapter();
|
||||
taDoc = new DS_WebScipTableAdapters.tbDocumentiTableAdapter();
|
||||
taTags2Doc = new DS_WebScipTableAdapters.Tags2DocTableAdapter();
|
||||
}
|
||||
@@ -64,6 +66,7 @@ namespace ETS_Data
|
||||
taTDSelFasi.Connection.ConnectionString = connStringETS_WS;
|
||||
taTDSelOggetti.Connection.ConnectionString = connStringETS_WS;
|
||||
taCalcProto.Connection.ConnectionString = connStringETS_WS;
|
||||
taEmailForn.Connection.ConnectionString = connStringETS_WS;
|
||||
taDoc.Connection.ConnectionString = connStringETS_WS;
|
||||
taTags2Doc.Connection.ConnectionString = connStringETS_WS;
|
||||
}
|
||||
@@ -146,6 +149,36 @@ namespace ETS_Data
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// EMAIL utente correntemente connesso
|
||||
/// </summary>
|
||||
public string currUserEmail
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "info@ets.it";
|
||||
try
|
||||
{
|
||||
// controllo in sessione...
|
||||
if (isInSessionObject("currUserEmail"))
|
||||
{
|
||||
answ = StringSessionObj("currUserEmail");
|
||||
}
|
||||
else
|
||||
{
|
||||
// cerco user da elenco...
|
||||
DS_Anagrafica.UtentiRow riga = (DS_Anagrafica.UtentiRow)taUtenti.getByKey(currUserAD)[0];
|
||||
answ = riga.email;
|
||||
setSessionVal("currUserEmail", answ);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
answ = "info@ets.it";
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user