bozza gestione con buchi protocollo (1/gg)

This commit is contained in:
samuele
2012-10-24 14:26:41 +02:00
parent a9297ec479
commit 6712bc5e32
12 changed files with 159 additions and 71 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
<add key="appName" value="ETS-WS" />
<add key="SiteName" value="ETS" />
<add key="mainRev" value="1.0" />
<add key="minRev" value="102" />
<add key="minRev" value="103" />
<add key="copyRight" value="SteamWare, ETS © 2012" />
<add key="tempUplDir" value="~/TempUploads" />
<add key="archiveDir" value="~/ArchivioDocs" />
+93
View File
@@ -526,7 +526,100 @@ namespace ETS_WS
return answ;
}
}
/// <summary>
/// determina se la data sia coperta da almeno un record segnaposto isRed, altrimenti lo crea!
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
public static void dateIsOk(DateTime data)
{
bool answ = false;
string commessa = string.Format("0000-{1}", data.Year);
string fase = "- ALTRE ...";
string fonte = "ETS Engineering & Technical Services S.p.A.";
string InOut = "Out";
string oggetto = "n.d.";
bool isRed = true;
try
{
answ = utils.obj.taDoc.getBySearch(data.Date, data.Date.AddDays(1), commessa, fase, fonte, InOut, oggetto, isRed).Rows.Count > 0;
}
catch
{ }
// se non c'è doc hole quotidiano lo crea!
if (!answ)
{
string nomeFile = "ETS-Proto.docx";
docMetaDataSet docsData = new docMetaDataSet();
docsData.commessa = commessa;
docsData.fase = fase;
docsData.fonte = fonte;
docsData.InOut = InOut;
docsData.oggetto = oggetto;
docsData.isRed = isRed;
WebShipUtils.mng.generaDocDaTemplate(nomeFile, docsData);
}
}
/// <summary>
/// genera un doc da template, tramite
/// - salvataggio
/// - spostamento "dummy file"
/// - enter in modalità editing
/// </summary>
/// <param name="nomeTemplate">file TEMPLATE</param>
/// <param name="docsData">metadati</param>
public int generaDocDaTemplate(string nomeTemplate, docMetaDataSet docsData)
{
int idxFile = 0;
fileMover.obj.muoviFile("~/DocTemplates/", UserTempPath, nomeTemplate, false);
//check del path
string pathDest = docsData.path;
if (pathDest != "")
{
// verifico se è comunicazione red = riservata
string comPath = "";
if (!docsData.isRed)
{
comPath = utils.obj.confReadString("archiveDir");
}
else
{
comPath = utils.obj.confReadString("archiveDirRed");
}
// aggiunto al path cartella archivio corretta...
pathDest = string.Format("{0}{1}", comPath, docsData.path);
// fix redattore
string redattore = utils.obj.currUserNomeCognome; // usa utente corrente
idxFile = WebShipUtils.archiviaFile(docsData, UserTempPath, pathDest, nomeTemplate, redattore);
// recupero dati documento
docsData = docMetaFromIdxFile(idxFile);
// recupero full path del documento
string fullPath = HttpContext.Current.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, HttpContext.Current.Server.MapPath(pathDest));
// sostituisco file appena creato con quello nuovo
fileMover.obj.muoviFile(pathDest, pathDest, newFileName, WebShipUtils.nomeFileFullFromIdxFile(idxFile), true);
}
}
return idxFile;
}
}
/// <summary>
@@ -42,38 +42,38 @@
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel" ImageUrl="~/images/cancel_m.png" ToolTip="Cancel" />
</EditItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Comm." SortExpression="Commessa" ItemStyle-Wrap="false">
<asp:TemplateField HeaderText="Comm." SortExpression="Commessa" ItemStyle-Wrap="false" ItemStyle-CssClass="padSxDx">
<EditItemTemplate>
<asp:TextBox ID="txtCommessa" runat="server" Text='<%# Bind("Commessa") %>' Width="5em" />
<asp:AutoCompleteExtender ID="aceCommessa" runat="server" TargetControlID="txtCommessa" ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoCommesseSoloCod" CompletionInterval="10" MinimumPrefixLength="1" CompletionListCssClass="autocompleteListCssClass" CompletionListItemCssClass="autocomplete" CompletionListHighlightedItemCssClass="autocompleteHiglight" CompletionListElementID="autocompleteElemID" />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("Commessa") %>' />
<asp:Label ID="Label1" runat="server" Text='<%# Eval("Commessa") %>' ForeColor="#DD8800" />
</ItemTemplate>
<ItemStyle Wrap="False"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField>
<asp:TemplateField ItemStyle-CssClass="padSxDx">
<ItemTemplate>
<asp:Image runat="server" ID="lblFileType" Width="22" Height="22" ImageUrl='<%# imgFromName(Eval("Nome")) %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Nome" SortExpression="Nome" ItemStyle-Wrap="false">
<asp:TemplateField HeaderText="Nome" SortExpression="Nome" ItemStyle-Wrap="false" ItemStyle-CssClass="padSxDx">
<ItemTemplate>
<asp:HyperLink runat="server" ID="hlFile" Text='<%# shortMe(Eval("NomeFile"),25,4) %>' ToolTip='<%# accoda("{0}/{1}",new object[]{Eval("fullPath"),Eval("Nome")}) %>' Target="_blank" NavigateUrl='<%# accoda("{0}/{1}",new object[]{Eval("fullPath"),Eval("Nome")})%>' />
</ItemTemplate>
<ItemStyle Wrap="true"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="">
<asp:TemplateField HeaderText="" ItemStyle-CssClass="padSxDx">
<ItemTemplate>
<asp:HyperLink runat="server" ImageUrl="~/images/folder_m.png" Text="folder" ToolTip='<%# Eval("fullPath") %>' Target="_blank" NavigateUrl='<%# filePath(Eval("fullPath"), true) %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="NrProt." SortExpression="Numero">
<asp:TemplateField HeaderText="NrProt." SortExpression="Numero" ItemStyle-Wrap="false" ItemStyle-CssClass="padSxDx">
<ItemTemplate>
<asp:Label ID="lblProto" runat="server" Text='<%# Eval("Numero") %>' ToolTip='<%# Eval("NrProtocollo") %>' />
<asp:Label ID="lblProto" runat="server" Text='<%# nrProtoAnno(Eval("Numero"),Eval("Anno")) %>' ToolTip='<%# Eval("NrProtocollo") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="DataRic" SortExpression="DataRic" ItemStyle-VerticalAlign="Top">
<asp:TemplateField HeaderText="DataRic" SortExpression="DataRic" ItemStyle-VerticalAlign="Top" ItemStyle-CssClass="padSxDx">
<EditItemTemplate>
<asp:Label runat="server" ID="lblDataDoc" Text="DataDoc:" />
<asp:TextBox ID="txtDataDoc" runat="server" Text='<%# Bind("DataDoc","{0:dd/MM/yyyy}") %>' Width="5em" ToolTip="Data Documento" />
@@ -84,11 +84,11 @@
<asp:CalendarExtender runat="server" FirstDayOfWeek="Monday" ID="ceDataRic" TargetControlID="txtDataRic" />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblDataDoc" runat="server" Text='<%# Eval("DataRic","{0:dd/MM/yy}") %>' ToolTip='<%# Eval("DataDoc","data doc: {0:dd/MM/yy}") %>' />
<asp:Label ID="lblDataDoc" runat="server" Text='<%# Eval("DataRic","{0:dd/MM/yy}") %>' ToolTip='<%# Eval("DataDoc","data doc: {0:dd/MM/yy}") %>' ForeColor="#777777" />
</ItemTemplate>
<ItemStyle VerticalAlign="Top"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Fase" SortExpression="Fase">
<asp:TemplateField HeaderText="Fase" SortExpression="Fase" ItemStyle-CssClass="padSxDx">
<EditItemTemplate>
<div style="vertical-align: text-bottom;">
<asp:TextBox ID="txtFase" runat="server" Text='<%# Bind("Fase") %>' Width="10em" TextMode="MultiLine" Rows="3" />
@@ -99,16 +99,16 @@
<asp:Label ID="Label2" runat="server" Text='<%# Eval("Fase") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Fonte" SortExpression="Fonte">
<asp:TemplateField HeaderText="Fonte" SortExpression="Fonte" ItemStyle-CssClass="padSxDx">
<EditItemTemplate>
<asp:TextBox ID="txtFonte" runat="server" Text='<%# Bind("Fonte") %>' Width="10em" TextMode="MultiLine" Rows="3" />
<asp:AutoCompleteExtender ID="aceFonte" runat="server" TargetControlID="txtFonte" ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoFonti" CompletionInterval="10" MinimumPrefixLength="1" CompletionListCssClass="autocompleteListCssClass" CompletionListItemCssClass="autocomplete" CompletionListHighlightedItemCssClass="autocompleteHiglight" CompletionListElementID="autocompleteElemID" />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Eval("Fonte") %>' />
<asp:Label ID="Label3" runat="server" Text='<%# Eval("Fonte") %>' ForeColor="#777777" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Oggetto" SortExpression="Oggetto">
<asp:TemplateField HeaderText="Oggetto" SortExpression="Oggetto" ItemStyle-CssClass="padSxDx">
<EditItemTemplate>
<asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("Oggetto") %>' Width="20em" TextMode="MultiLine" Rows="3" />
</EditItemTemplate>
@@ -116,7 +116,7 @@
<asp:Label ID="Label4" runat="server" Text='<%# Eval("Oggetto") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="&uarr;&darr;">
<asp:TemplateField HeaderText="&uarr;&darr;" ItemStyle-CssClass="padSxDx">
<EditItemTemplate>
<asp:DropDownList ID="ddlInOut" runat="server" SelectedValue='<%# Bind("InOut") %>'>
<asp:ListItem Text="In" Value="In" />
@@ -124,10 +124,10 @@
</asp:DropDownList>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label5" runat="server" Text='<%# Eval("InOut") %>' />
<asp:Label ID="Label5" runat="server" Text='<%# Eval("InOut") %>' ForeColor="#777777" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="R">
<asp:TemplateField HeaderText="Red" ItemStyle-CssClass="padSxDx">
<EditItemTemplate>
<asp:CheckBox ID="chkisRed" runat="server" Checked='<%# Bind("isRed") %>' />
</EditItemTemplate>
@@ -358,6 +358,15 @@ namespace ETS_WS.WebUserControls
}
return answ;
}
/// <summary>
/// formatta protocollo come numero/anno
/// </summary>
/// <param name="numero"></param>
/// <param name="anno"></param>
/// <returns></returns>
public string nrProtoAnno(object numero, object anno)
{
return string.Format("{0}-{1}", numero, anno);
}
}
}
@@ -231,6 +231,7 @@ namespace ETS_WS.WebUserControls
}
}
}
WebShipUtils.dateIsOk(DateTime.Now);
grView.DataBind();
return answ;
}
@@ -35,11 +35,6 @@ 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
@@ -66,6 +61,7 @@ namespace ETS_WS.WebUserControls
eh_reqSalva(this, new EventArgs());
}
}
#if false
/// <summary>
/// genera un doc da template, tramite
/// - salvataggio
@@ -124,7 +120,8 @@ namespace ETS_WS.WebUserControls
}
}
return idxFile;
}
}
#endif
/// <summary>
/// richiede salvataggio del protocollo, tramite
/// - salvataggio
@@ -137,7 +134,8 @@ namespace ETS_WS.WebUserControls
{
// effettua upload del documento "dummy" proto
string nomeFile = "ETS-Proto.docx";
generaDocDaTemplate(nomeFile);
WebShipUtils.mng.generaDocDaTemplate(nomeFile, WebShipUtils.mng.currMetaData);
WebShipUtils.dateIsOk(DateTime.Now);
Response.Redirect("~/GestioneDocumenti.aspx");
}
/// <summary>
@@ -149,7 +147,8 @@ namespace ETS_WS.WebUserControls
{
// effettua upload del documento "dummy" lettera
string nomeFile = "ETS-Lettera.docx";
generaDocDaTemplate(nomeFile);
WebShipUtils.mng.generaDocDaTemplate(nomeFile, WebShipUtils.mng.currMetaData);
WebShipUtils.dateIsOk(DateTime.Now);
Response.Redirect("~/GestioneDocumenti.aspx");
}
/// <summary>
@@ -161,7 +160,8 @@ namespace ETS_WS.WebUserControls
{
// effettua upload del documento "dummy" fax
string nomeFile = "ETS-Fax.docx";
generaDocDaTemplate(nomeFile);
WebShipUtils.mng.generaDocDaTemplate(nomeFile, WebShipUtils.mng.currMetaData);
WebShipUtils.dateIsOk(DateTime.Now);
Response.Redirect("~/GestioneDocumenti.aspx");
}
/// <summary>
@@ -173,40 +173,9 @@ namespace ETS_WS.WebUserControls
{
// effettua upload del documento "dummy" fax
string nomeFile = "email.eml";
generaDocDaTemplate(nomeFile);
WebShipUtils.mng.generaDocDaTemplate(nomeFile, WebShipUtils.mng.currMetaData);
WebShipUtils.dateIsOk(DateTime.Now);
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.
+5 -1
View File
@@ -22,7 +22,11 @@
{
clear: both;
}
.padSxDx
{
padding-left: 2px;
padding-right: 2px;
}
/* @end */
/* zona size % div */
+5 -1
View File
@@ -22,7 +22,11 @@
{
clear: both;
}
.padSxDx
{
padding-left: 2px;
padding-right: 2px;
}
/* @end */
/* zona size % div */
+8 -1
View File
@@ -5892,6 +5892,7 @@ FROM tbDocumenti";
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fonte", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InOut", global::System.Data.SqlDbType.NVarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@searchAll", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isRed", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_tbDocs_getBySearch_Count";
@@ -6033,7 +6034,7 @@ FROM tbDocumenti";
[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_WebScip.tbDocumentiDataTable getBySearch(global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine, string Commessa, string Fase, string Fonte, string InOut, string searchAll) {
public virtual DS_WebScip.tbDocumentiDataTable getBySearch(global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine, string Commessa, string Fase, string Fonte, string InOut, string searchAll, global::System.Nullable<bool> isRed) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((inizio.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value));
@@ -6077,6 +6078,12 @@ FROM tbDocumenti";
else {
this.Adapter.SelectCommand.Parameters[7].Value = ((string)(searchAll));
}
if ((isRed.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[8].Value = ((bool)(isRed.Value));
}
else {
this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
}
DS_WebScip.tbDocumentiDataTable dataTable = new DS_WebScip.tbDocumentiDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
+9 -8
View File
@@ -372,6 +372,7 @@ SELECT idxFile, NomeFile, Nome, fullPath, userId, isRed, NrProtocollo, Numero, A
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Fonte" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@InOut" Precision="0" ProviderType="NVarChar" Scale="0" Size="3" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@searchAll" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isRed" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -902,7 +903,7 @@ SELECT userId, setName, Commessa, Fase, Fonte, Oggetto, DataRic, DataDoc, path,
<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_RowChangedName="tmpFileUtRowChanged" msprop:Generator_TablePropName="tmpFileUt" msprop:Generator_RowDeletingName="tmpFileUtRowDeleting" msprop:Generator_RowChangingName="tmpFileUtRowChanging" msprop:Generator_RowEvHandlerName="tmpFileUtRowChangeEventHandler" msprop:Generator_RowDeletedName="tmpFileUtRowDeleted" msprop:Generator_RowClassName="tmpFileUtRow" msprop:Generator_UserTableName="tmpFileUt" msprop:Generator_RowEvArgName="tmpFileUtRowChangeEvent">
<xs:element name="tmpFileUt" msprop:Generator_TableClassName="tmpFileUtDataTable" msprop:Generator_TableVarName="tabletmpFileUt" msprop:Generator_TablePropName="tmpFileUt" msprop:Generator_RowDeletingName="tmpFileUtRowDeleting" msprop:Generator_RowChangingName="tmpFileUtRowChanging" msprop:Generator_RowEvHandlerName="tmpFileUtRowChangeEventHandler" msprop:Generator_RowDeletedName="tmpFileUtRowDeleted" msprop:Generator_UserTableName="tmpFileUt" msprop:Generator_RowChangedName="tmpFileUtRowChanged" msprop:Generator_RowEvArgName="tmpFileUtRowChangeEvent" msprop:Generator_RowClassName="tmpFileUtRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFile" msprop:Generator_ColumnVarNameInTable="columnidxFile" msprop:Generator_ColumnPropNameInRow="idxFile" msprop:Generator_ColumnPropNameInTable="idxFileColumn" msprop:Generator_UserColumnName="idxFile" type="xs:int" />
@@ -974,7 +975,7 @@ SELECT userId, setName, Commessa, Fase, Fonte, Oggetto, DataRic, DataDoc, path,
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="tbDocumenti" msprop:Generator_TableClassName="tbDocumentiDataTable" msprop:Generator_TableVarName="tabletbDocumenti" msprop:Generator_TablePropName="tbDocumenti" msprop:Generator_RowDeletingName="tbDocumentiRowDeleting" msprop:Generator_RowChangingName="tbDocumentiRowChanging" msprop:Generator_RowEvHandlerName="tbDocumentiRowChangeEventHandler" msprop:Generator_RowDeletedName="tbDocumentiRowDeleted" msprop:Generator_UserTableName="tbDocumenti" msprop:Generator_RowChangedName="tbDocumentiRowChanged" msprop:Generator_RowEvArgName="tbDocumentiRowChangeEvent" msprop:Generator_RowClassName="tbDocumentiRow">
<xs:element name="tbDocumenti" msprop:Generator_TableClassName="tbDocumentiDataTable" msprop:Generator_TableVarName="tabletbDocumenti" msprop:Generator_RowChangedName="tbDocumentiRowChanged" msprop:Generator_TablePropName="tbDocumenti" msprop:Generator_RowDeletingName="tbDocumentiRowDeleting" msprop:Generator_RowChangingName="tbDocumentiRowChanging" msprop:Generator_RowEvHandlerName="tbDocumentiRowChangeEventHandler" msprop:Generator_RowDeletedName="tbDocumentiRowDeleted" msprop:Generator_RowClassName="tbDocumentiRow" msprop:Generator_UserTableName="tbDocumenti" msprop:Generator_RowEvArgName="tbDocumentiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFile" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxFile" msprop:Generator_ColumnPropNameInRow="idxFile" msprop:Generator_ColumnPropNameInTable="idxFileColumn" msprop:Generator_UserColumnName="idxFile" type="xs:int" />
@@ -1142,7 +1143,7 @@ SELECT userId, setName, Commessa, Fase, Fonte, Oggetto, DataRic, DataDoc, path,
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_RowClassName="AnagFasiRow" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent">
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent" msprop:Generator_RowClassName="AnagFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -1170,7 +1171,7 @@ SELECT userId, setName, Commessa, Fase, Fonte, Oggetto, DataRic, DataDoc, path,
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagTags" msprop:Generator_TableClassName="AnagTagsDataTable" msprop:Generator_TableVarName="tableAnagTags" msprop:Generator_RowChangedName="AnagTagsRowChanged" msprop:Generator_TablePropName="AnagTags" msprop:Generator_RowDeletingName="AnagTagsRowDeleting" msprop:Generator_RowChangingName="AnagTagsRowChanging" msprop:Generator_RowEvHandlerName="AnagTagsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTagsRowDeleted" msprop:Generator_RowClassName="AnagTagsRow" msprop:Generator_UserTableName="AnagTags" msprop:Generator_RowEvArgName="AnagTagsRowChangeEvent">
<xs:element name="AnagTags" msprop:Generator_TableClassName="AnagTagsDataTable" msprop:Generator_TableVarName="tableAnagTags" msprop:Generator_TablePropName="AnagTags" msprop:Generator_RowDeletingName="AnagTagsRowDeleting" msprop:Generator_RowChangingName="AnagTagsRowChanging" msprop:Generator_RowEvHandlerName="AnagTagsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTagsRowDeleted" msprop:Generator_UserTableName="AnagTags" msprop:Generator_RowChangedName="AnagTagsRowChanged" msprop:Generator_RowEvArgName="AnagTagsRowChangeEvent" msprop:Generator_RowClassName="AnagTagsRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxTag" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxTag" msprop:Generator_ColumnPropNameInRow="idxTag" msprop:Generator_ColumnPropNameInTable="idxTagColumn" msprop:Generator_UserColumnName="idxTag" type="xs:int" />
@@ -1184,7 +1185,7 @@ SELECT userId, setName, Commessa, Fase, Fonte, Oggetto, DataRic, DataDoc, path,
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Tags2Doc" msprop:Generator_TableClassName="Tags2DocDataTable" msprop:Generator_TableVarName="tableTags2Doc" msprop:Generator_RowChangedName="Tags2DocRowChanged" msprop:Generator_TablePropName="Tags2Doc" msprop:Generator_RowDeletingName="Tags2DocRowDeleting" msprop:Generator_RowChangingName="Tags2DocRowChanging" msprop:Generator_RowEvHandlerName="Tags2DocRowChangeEventHandler" msprop:Generator_RowDeletedName="Tags2DocRowDeleted" msprop:Generator_RowClassName="Tags2DocRow" msprop:Generator_UserTableName="Tags2Doc" msprop:Generator_RowEvArgName="Tags2DocRowChangeEvent">
<xs:element name="Tags2Doc" msprop:Generator_TableClassName="Tags2DocDataTable" msprop:Generator_TableVarName="tableTags2Doc" msprop:Generator_TablePropName="Tags2Doc" msprop:Generator_RowDeletingName="Tags2DocRowDeleting" msprop:Generator_RowChangingName="Tags2DocRowChanging" msprop:Generator_RowEvHandlerName="Tags2DocRowChangeEventHandler" msprop:Generator_RowDeletedName="Tags2DocRowDeleted" msprop:Generator_UserTableName="Tags2Doc" msprop:Generator_RowChangedName="Tags2DocRowChanged" msprop:Generator_RowEvArgName="Tags2DocRowChangeEvent" msprop:Generator_RowClassName="Tags2DocRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFile" msprop:Generator_ColumnVarNameInTable="columnidxFile" msprop:Generator_ColumnPropNameInRow="idxFile" msprop:Generator_ColumnPropNameInTable="idxFileColumn" msprop:Generator_UserColumnName="idxFile" type="xs:int" />
@@ -1192,7 +1193,7 @@ SELECT userId, setName, Commessa, Fase, Fonte, Oggetto, DataRic, DataDoc, path,
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="tbMetaDataSet" msprop:Generator_TableClassName="tbMetaDataSetDataTable" msprop:Generator_TableVarName="tabletbMetaDataSet" msprop:Generator_TablePropName="tbMetaDataSet" msprop:Generator_RowDeletingName="tbMetaDataSetRowDeleting" msprop:Generator_RowChangingName="tbMetaDataSetRowChanging" msprop:Generator_RowEvHandlerName="tbMetaDataSetRowChangeEventHandler" msprop:Generator_RowDeletedName="tbMetaDataSetRowDeleted" msprop:Generator_UserTableName="tbMetaDataSet" msprop:Generator_RowChangedName="tbMetaDataSetRowChanged" msprop:Generator_RowEvArgName="tbMetaDataSetRowChangeEvent" msprop:Generator_RowClassName="tbMetaDataSetRow">
<xs:element name="tbMetaDataSet" msprop:Generator_TableClassName="tbMetaDataSetDataTable" msprop:Generator_TableVarName="tabletbMetaDataSet" msprop:Generator_RowChangedName="tbMetaDataSetRowChanged" msprop:Generator_TablePropName="tbMetaDataSet" msprop:Generator_RowDeletingName="tbMetaDataSetRowDeleting" msprop:Generator_RowChangingName="tbMetaDataSetRowChanging" msprop:Generator_RowEvHandlerName="tbMetaDataSetRowChangeEventHandler" msprop:Generator_RowDeletedName="tbMetaDataSetRowDeleted" msprop:Generator_RowClassName="tbMetaDataSetRow" msprop:Generator_UserTableName="tbMetaDataSet" msprop:Generator_RowEvArgName="tbMetaDataSetRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="userId" msprop:Generator_ColumnVarNameInTable="columnuserId" msprop:Generator_ColumnPropNameInRow="userId" msprop:Generator_ColumnPropNameInTable="userIdColumn" msprop:Generator_UserColumnName="userId">
@@ -1296,8 +1297,8 @@ SELECT userId, setName, Commessa, Fase, Fonte, Oggetto, DataRic, DataDoc, path,
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_Tags2Doc_AnagTags" msdata:parent="AnagTags" msdata:child="Tags2Doc" msdata:parentkey="idxTag" msdata:childkey="idxTag" msprop:Generator_UserChildTable="Tags2Doc" msprop:Generator_ChildPropName="GetTags2DocRows" msprop:Generator_UserRelationName="FK_Tags2Doc_AnagTags" msprop:Generator_RelationVarName="relationFK_Tags2Doc_AnagTags" msprop:Generator_UserParentTable="AnagTags" msprop:Generator_ParentPropName="AnagTagsRow" />
<msdata:Relationship name="FK_Tags2Doc_tbDocumenti" msdata:parent="tbDocumenti" msdata:child="Tags2Doc" msdata:parentkey="idxFile" msdata:childkey="idxFile" msprop:Generator_UserChildTable="Tags2Doc" msprop:Generator_ChildPropName="GetTags2DocRows" msprop:Generator_UserRelationName="FK_Tags2Doc_tbDocumenti" msprop:Generator_RelationVarName="relationFK_Tags2Doc_tbDocumenti" msprop:Generator_UserParentTable="tbDocumenti" msprop:Generator_ParentPropName="tbDocumentiRow" />
<msdata:Relationship name="FK_Tags2Doc_AnagTags" msdata:parent="AnagTags" msdata:child="Tags2Doc" msdata:parentkey="idxTag" msdata:childkey="idxTag" msprop:Generator_UserChildTable="Tags2Doc" msprop:Generator_ChildPropName="GetTags2DocRows" msprop:Generator_UserRelationName="FK_Tags2Doc_AnagTags" msprop:Generator_ParentPropName="AnagTagsRow" msprop:Generator_RelationVarName="relationFK_Tags2Doc_AnagTags" msprop:Generator_UserParentTable="AnagTags" />
<msdata:Relationship name="FK_Tags2Doc_tbDocumenti" msdata:parent="tbDocumenti" msdata:child="Tags2Doc" msdata:parentkey="idxFile" msdata:childkey="idxFile" msprop:Generator_UserChildTable="Tags2Doc" msprop:Generator_ChildPropName="GetTags2DocRows" msprop:Generator_UserRelationName="FK_Tags2Doc_tbDocumenti" msprop:Generator_ParentPropName="tbDocumentiRow" msprop:Generator_RelationVarName="relationFK_Tags2Doc_tbDocumenti" msprop:Generator_UserParentTable="tbDocumenti" />
</xs:appinfo>
</xs:annotation>
</xs:schema>