prima versioen filtro redattore...
This commit is contained in:
@@ -329,6 +329,45 @@ namespace ETS_WS.WS
|
||||
}
|
||||
return suggerimenti.ToArray();
|
||||
}
|
||||
[System.Web.Services.WebMethod]
|
||||
public string[] elencoRedattoriByDoc(string prefixText, int count, string contextKey)
|
||||
{
|
||||
// leggo dalla session utente i valori periodo desiderati...
|
||||
DateTime inizio = DateTime.Now.AddYears(-1);
|
||||
DateTime fine = DateTime.Now;
|
||||
try
|
||||
{
|
||||
int charPos = contextKey.IndexOf("#");
|
||||
inizio = Convert.ToDateTime(contextKey.Substring(0, charPos));
|
||||
fine = Convert.ToDateTime(contextKey.Substring(charPos + 1));
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
// inizializzo risposta
|
||||
List<string> suggerimenti = new List<string>();
|
||||
// proseguo SOLO SE min "MinCharAutocomplete" char...
|
||||
if (count >= Convert.ToInt32(ConfigurationManager.AppSettings.Get("MinCharAutocomplete")))
|
||||
{
|
||||
// elenco candidati
|
||||
DS_utils.v_tbDocs_selRedattoreDataTable tabella = utils.obj.taTDSelRedattore.getByLikeSearch(inizio, fine, prefixText);
|
||||
// contatore risultati
|
||||
int i = 0;
|
||||
// aggiungo ogni riga...
|
||||
foreach (DS_utils.v_tbDocs_selRedattoreRow riga in tabella)
|
||||
{
|
||||
//suggerimenti.Add(riga.label);
|
||||
suggerimenti.Add(AjaxControlToolkit.AutoCompleteExtender.CreateAutoCompleteItem(riga.label, riga.value.ToString()));
|
||||
// controllo se ho meno risultati di quanti richiesti x filtraggio
|
||||
if (i == maxResults)
|
||||
{
|
||||
suggerimenti.Add(string.Format("+{0}...", tabella.Rows.Count - maxResults));
|
||||
break;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
}
|
||||
return suggerimenti.ToArray();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -133,6 +133,7 @@
|
||||
<asp:SessionParameter DefaultValue="*" Name="Fase" SessionField="srcFase" Type="String" />
|
||||
<asp:SessionParameter DefaultValue="*" Name="Fonte" SessionField="srcFonte" Type="String" />
|
||||
<asp:SessionParameter DefaultValue="*" Name="InOut" SessionField="srcInOut" Type="String" />
|
||||
<asp:SessionParameter DefaultValue="*" Name="Redattore" SessionField="srcRedattore" Type="String" />
|
||||
<asp:SessionParameter DefaultValue="*" Name="searchAll" SessionField="srcSearchAll" Type="String" />
|
||||
<asp:Parameter Name="startRowIndex" Type="Int32" />
|
||||
<asp:Parameter Name="maximumRows" Type="Int32" />
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<div style="padding: 4px 8px 4px 8px; font-size: 8pt;">
|
||||
<%--area dx: update + scelta dim pagina--%>
|
||||
<div class="divDx">
|
||||
<asp:Label runat="server" ID="LabelblPageSize" Text="Risultati per pagina" CssClass="labelInput" /><br />
|
||||
<asp:Label runat="server" ID="LabelblPageSize" Text="Record / pagina" CssClass="labelInput" /><br />
|
||||
<asp:DropDownList ID="ddlPageSize" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||
<asp:ListItem Text="10" Value="10" />
|
||||
<asp:ListItem Text="15" Value="15" Selected="True" />
|
||||
@@ -26,7 +26,7 @@
|
||||
/ <asp:Label runat="server" ID="lblTotRec" />
|
||||
</div>
|
||||
<div class="divDx">
|
||||
<asp:UpdateProgress ID="updtRicerca" runat="server" DisplayAfter="5" DynamicLayout="true">
|
||||
<asp:UpdateProgress ID="updtRicerca" runat="server" DisplayAfter="2" DynamicLayout="true">
|
||||
<ProgressTemplate>
|
||||
<div id="progress_back">
|
||||
</div>
|
||||
@@ -64,9 +64,14 @@
|
||||
<asp:ListItem Value="Out" Text="Out" Selected="True" />
|
||||
</asp:RadioButtonList>
|
||||
</div>
|
||||
<div class="divSx" style="margin-top: -2px; width: 150px;">
|
||||
<asp:CheckBox runat="server" ID="chkRedattore" Text="Filtra Redattore" CssClass="labelInput" AutoPostBack="true" OnCheckedChanged="chkRedattore_CheckedChanged" />
|
||||
<br />
|
||||
<uc1:mod_textAutocomplete ID="tacRedattore" runat="server" ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoRedattoriByDoc" minCharAutocomplete="1" showKey="false" toolTip="Digitare per iniziare ricerca, min 1 char" Visible="false" />
|
||||
</div>
|
||||
<div class="divSx" style="margin-top: -2px; width: 175px;">
|
||||
<asp:Label runat="server" ID="lblCerca" Text="Ricerca Libera" CssClass="labelInput" /><br />
|
||||
<asp:TextBox runat="server" ID="txtSearchAll" OnTextChanged="txtSearchAll_TextChanged" AutoPostBack="True" Width="15em" />
|
||||
<asp:TextBox runat="server" ID="txtSearchAll" OnTextChanged="txtSearchAll_TextChanged" AutoPostBack="True" Width="12em" />
|
||||
<asp:AutoCompleteExtender ID="txtSearchAllAce" runat="server" TargetControlID="txtSearchAll" ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoTagRicerca" CompletionInterval="10" MinimumPrefixLength="1" CompletionListCssClass="autocompleteListCssClass" CompletionListItemCssClass="autocomplete" CompletionListHighlightedItemCssClass="autocompleteHiglight" CompletionListElementID="autocompleteElemID" />
|
||||
</div>
|
||||
<div class="divSx blockSizeSmall">
|
||||
|
||||
@@ -136,8 +136,9 @@ namespace ETS_WS.WebUserControls
|
||||
string fase = utils.obj.StringSessionObj("srcFase");
|
||||
string fonte = utils.obj.StringSessionObj("srcFonte");
|
||||
string InOut = utils.obj.StringSessionObj("srcInOut");
|
||||
string redattore = utils.obj.StringSessionObj("srcRedattore");
|
||||
string ricercaLibera = txtSearchAll.Text.Trim();
|
||||
lblTotRec.Text = utils.obj.taDoc.getBySearch_Count_only(inizio, fine, commessa, fase, fonte, InOut, ricercaLibera).ToString();
|
||||
lblTotRec.Text = utils.obj.taDoc.getBySearch_Count_only(inizio, fine, commessa, fase, fonte, InOut, redattore, ricercaLibera).ToString();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -226,7 +227,27 @@ namespace ETS_WS.WebUserControls
|
||||
}
|
||||
rblInOut.Visible = chkInOut.Checked;
|
||||
updateVisual();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// imposto visibilità campo ricerca da selezione check
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void chkRedattore_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (chkRedattore.Checked)
|
||||
{
|
||||
tacRedattore.contextKey = string.Format("{0}#{1}", utils.obj.StringSessionObj("_inizio"), utils.obj.StringSessionObj("_fine"));
|
||||
chkRedattore.Text = "Elimina Filtro Redattore";
|
||||
tacRedattore.setFocus();
|
||||
}
|
||||
else
|
||||
{
|
||||
chkRedattore.Text = "Filtra Redattore";
|
||||
}
|
||||
tacRedattore.Visible = chkRedattore.Checked;
|
||||
updateVisual();
|
||||
}
|
||||
/// <summary>
|
||||
/// selezionata nuova dim pagina
|
||||
/// </summary>
|
||||
@@ -279,6 +300,14 @@ namespace ETS_WS.WebUserControls
|
||||
{
|
||||
utils.obj.emptySessionVal("srcInOut");
|
||||
}
|
||||
if (chkRedattore.Checked)
|
||||
{
|
||||
utils.obj.setSessionVal("srcRedattore", tacRedattore.valore);
|
||||
}
|
||||
else
|
||||
{
|
||||
utils.obj.emptySessionVal("srcRedattore");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// richiede update valori
|
||||
@@ -303,6 +332,6 @@ namespace ETS_WS.WebUserControls
|
||||
eh_reqSearch(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -129,6 +129,24 @@ namespace ETS_WS.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RadioButtonList rblInOut;
|
||||
|
||||
/// <summary>
|
||||
/// chkRedattore control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.CheckBox chkRedattore;
|
||||
|
||||
/// <summary>
|
||||
/// tacRedattore control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::ETS_WS.WebUserControls.mod_textAutocomplete tacRedattore;
|
||||
|
||||
/// <summary>
|
||||
/// lblCerca control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Generated
+48
-27
@@ -5052,6 +5052,7 @@ FROM tbDocumenti";
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fase", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].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[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Redattore", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@startRowIndex", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@maximumRows", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -5067,6 +5068,7 @@ FROM tbDocumenti";
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fase", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].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[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Redattore", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].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[5] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[5].Connection = this.Connection;
|
||||
@@ -5079,6 +5081,7 @@ FROM tbDocumenti";
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fase", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].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[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Redattore", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@startRowIndex", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@maximumRows", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -5229,7 +5232,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_paged(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<int> startRowIndex, global::System.Nullable<int> maximumRows, string SortExpression) {
|
||||
public virtual DS_WebScip.tbDocumentiDataTable getBySearch_paged(global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine, string Commessa, string Fase, string Fonte, string InOut, string Redattore, string searchAll, global::System.Nullable<int> startRowIndex, global::System.Nullable<int> maximumRows, string SortExpression) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[5];
|
||||
if ((inizio.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value));
|
||||
@@ -5267,29 +5270,35 @@ FROM tbDocumenti";
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[6].Value = ((string)(InOut));
|
||||
}
|
||||
if ((searchAll == null)) {
|
||||
if ((Redattore == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[7].Value = ((string)(searchAll));
|
||||
this.Adapter.SelectCommand.Parameters[7].Value = ((string)(Redattore));
|
||||
}
|
||||
if ((startRowIndex.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[8].Value = ((int)(startRowIndex.Value));
|
||||
}
|
||||
else {
|
||||
if ((searchAll == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((maximumRows.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[9].Value = ((int)(maximumRows.Value));
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[8].Value = ((string)(searchAll));
|
||||
}
|
||||
if ((startRowIndex.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[9].Value = ((int)(startRowIndex.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((SortExpression == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value;
|
||||
if ((maximumRows.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[10].Value = ((int)(maximumRows.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[10].Value = ((string)(SortExpression));
|
||||
this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((SortExpression == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[11].Value = ((string)(SortExpression));
|
||||
}
|
||||
DS_WebScip.tbDocumentiDataTable dataTable = new DS_WebScip.tbDocumentiDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
@@ -6305,7 +6314,7 @@ FROM tbDocumenti";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual object getBySearch_Count(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<int> startRowIndex, global::System.Nullable<int> maximumRows, string SortExpression) {
|
||||
public virtual object getBySearch_Count(global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine, string Commessa, string Fase, string Fonte, string InOut, string Redattore, string searchAll, global::System.Nullable<int> startRowIndex, global::System.Nullable<int> maximumRows, string SortExpression) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
||||
if ((inizio.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((System.DateTime)(inizio.Value));
|
||||
@@ -6343,29 +6352,35 @@ FROM tbDocumenti";
|
||||
else {
|
||||
command.Parameters[6].Value = ((string)(InOut));
|
||||
}
|
||||
if ((searchAll == null)) {
|
||||
if ((Redattore == null)) {
|
||||
command.Parameters[7].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[7].Value = ((string)(searchAll));
|
||||
command.Parameters[7].Value = ((string)(Redattore));
|
||||
}
|
||||
if ((startRowIndex.HasValue == true)) {
|
||||
command.Parameters[8].Value = ((int)(startRowIndex.Value));
|
||||
}
|
||||
else {
|
||||
if ((searchAll == null)) {
|
||||
command.Parameters[8].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((maximumRows.HasValue == true)) {
|
||||
command.Parameters[9].Value = ((int)(maximumRows.Value));
|
||||
else {
|
||||
command.Parameters[8].Value = ((string)(searchAll));
|
||||
}
|
||||
if ((startRowIndex.HasValue == true)) {
|
||||
command.Parameters[9].Value = ((int)(startRowIndex.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[9].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((SortExpression == null)) {
|
||||
command.Parameters[10].Value = global::System.DBNull.Value;
|
||||
if ((maximumRows.HasValue == true)) {
|
||||
command.Parameters[10].Value = ((int)(maximumRows.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[10].Value = ((string)(SortExpression));
|
||||
command.Parameters[10].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((SortExpression == null)) {
|
||||
command.Parameters[11].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[11].Value = ((string)(SortExpression));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
@@ -6393,7 +6408,7 @@ FROM tbDocumenti";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual object getBySearch_Count_only(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 object getBySearch_Count_only(global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine, string Commessa, string Fase, string Fonte, string InOut, string Redattore, string searchAll) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
||||
if ((inizio.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((System.DateTime)(inizio.Value));
|
||||
@@ -6431,11 +6446,17 @@ FROM tbDocumenti";
|
||||
else {
|
||||
command.Parameters[6].Value = ((string)(InOut));
|
||||
}
|
||||
if ((searchAll == null)) {
|
||||
if ((Redattore == null)) {
|
||||
command.Parameters[7].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[7].Value = ((string)(searchAll));
|
||||
command.Parameters[7].Value = ((string)(Redattore));
|
||||
}
|
||||
if ((searchAll == null)) {
|
||||
command.Parameters[8].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[8].Value = ((string)(searchAll));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
|
||||
+12
-9
@@ -388,6 +388,7 @@ SELECT idxFile, NomeFile, Nome, fullPath, userId, isRed, NrProtocollo, Numero, A
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Fase" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<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="@Redattore" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" 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="int" DbType="Int32" Direction="Input" ParameterName="@startRowIndex" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@maximumRows" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -408,6 +409,7 @@ SELECT idxFile, NomeFile, Nome, fullPath, userId, isRed, NrProtocollo, Numero, A
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Fase" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<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="@Redattore" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" 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" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
@@ -425,6 +427,7 @@ SELECT idxFile, NomeFile, Nome, fullPath, userId, isRed, NrProtocollo, Numero, A
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Fase" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<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="@Redattore" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" 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="int" DbType="Int32" Direction="Input" ParameterName="@startRowIndex" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@maximumRows" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -459,7 +462,7 @@ SELECT idxFile, NomeFile, Nome, fullPath, userId, isRed, NrProtocollo, Numero, A
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.stp_tbDocs_updateFile" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateFile" Modifier="Public" Name="updateFile" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="updateFile">
|
||||
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.stp_tbDocs_updateFile" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateFile" Modifier="Public" Name="updateFile" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="updateFile">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_tbDocs_updateFile</CommandText>
|
||||
@@ -473,7 +476,7 @@ SELECT idxFile, NomeFile, Nome, fullPath, userId, isRed, NrProtocollo, Numero, A
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.stp_tbDocs_update" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="updateQuery">
|
||||
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.stp_tbDocs_update" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="updateQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_tbDocs_update</CommandText>
|
||||
@@ -724,7 +727,7 @@ SELECT idxFile, idxTag FROM Tags2Doc WHERE (idxFile = @idxFile) AND (idxTag = @i
|
||||
<xs:element name="DS_WebScip" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_WebScip" msprop:Generator_UserDSName="DS_WebScip">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="tmpFileUt" msprop:Generator_TableClassName="tmpFileUtDataTable" msprop:Generator_TableVarName="tabletmpFileUt" msprop:Generator_TablePropName="tmpFileUt" msprop:Generator_RowDeletingName="tmpFileUtRowDeleting" msprop:Generator_RowChangingName="tmpFileUtRowChanging" msprop:Generator_RowEvHandlerName="tmpFileUtRowChangeEventHandler" msprop:Generator_RowDeletedName="tmpFileUtRowDeleted" msprop:Generator_UserTableName="tmpFileUt" msprop:Generator_RowChangedName="tmpFileUtRowChanged" msprop:Generator_RowEvArgName="tmpFileUtRowChangeEvent" msprop:Generator_RowClassName="tmpFileUtRow">
|
||||
<xs:element name="tmpFileUt" msprop:Generator_TableClassName="tmpFileUtDataTable" msprop:Generator_TableVarName="tabletmpFileUt" msprop:Generator_RowChangedName="tmpFileUtRowChanged" msprop:Generator_TablePropName="tmpFileUt" msprop:Generator_RowDeletingName="tmpFileUtRowDeleting" msprop:Generator_RowChangingName="tmpFileUtRowChanging" msprop:Generator_RowEvHandlerName="tmpFileUtRowChangeEventHandler" msprop:Generator_RowDeletedName="tmpFileUtRowDeleted" msprop:Generator_RowClassName="tmpFileUtRow" msprop:Generator_UserTableName="tmpFileUt" msprop:Generator_RowEvArgName="tmpFileUtRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxFile" msprop:Generator_ColumnVarNameInTable="columnidxFile" msprop:Generator_ColumnPropNameInRow="idxFile" msprop:Generator_ColumnPropNameInTable="idxFileColumn" msprop:Generator_UserColumnName="idxFile" type="xs:int" />
|
||||
@@ -796,7 +799,7 @@ SELECT idxFile, idxTag FROM Tags2Doc WHERE (idxFile = @idxFile) AND (idxTag = @i
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="tbDocumenti" msprop:Generator_TableClassName="tbDocumentiDataTable" msprop:Generator_TableVarName="tabletbDocumenti" msprop:Generator_RowChangedName="tbDocumentiRowChanged" msprop:Generator_TablePropName="tbDocumenti" msprop:Generator_RowDeletingName="tbDocumentiRowDeleting" msprop:Generator_RowChangingName="tbDocumentiRowChanging" msprop:Generator_RowEvHandlerName="tbDocumentiRowChangeEventHandler" msprop:Generator_RowDeletedName="tbDocumentiRowDeleted" msprop:Generator_RowClassName="tbDocumentiRow" msprop:Generator_UserTableName="tbDocumenti" msprop:Generator_RowEvArgName="tbDocumentiRowChangeEvent">
|
||||
<xs:element name="tbDocumenti" msprop:Generator_TableClassName="tbDocumentiDataTable" msprop:Generator_TableVarName="tabletbDocumenti" msprop:Generator_TablePropName="tbDocumenti" msprop:Generator_RowDeletingName="tbDocumentiRowDeleting" msprop:Generator_RowChangingName="tbDocumentiRowChanging" msprop:Generator_RowEvHandlerName="tbDocumentiRowChangeEventHandler" msprop:Generator_RowDeletedName="tbDocumentiRowDeleted" msprop:Generator_UserTableName="tbDocumenti" msprop:Generator_RowChangedName="tbDocumentiRowChanged" msprop:Generator_RowEvArgName="tbDocumentiRowChangeEvent" msprop:Generator_RowClassName="tbDocumentiRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxFile" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxFile" msprop:Generator_ColumnPropNameInRow="idxFile" msprop:Generator_ColumnPropNameInTable="idxFileColumn" msprop:Generator_UserColumnName="idxFile" type="xs:int" />
|
||||
@@ -964,7 +967,7 @@ SELECT idxFile, idxTag FROM Tags2Doc WHERE (idxFile = @idxFile) AND (idxTag = @i
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<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: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: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" />
|
||||
@@ -992,7 +995,7 @@ SELECT idxFile, idxTag FROM Tags2Doc WHERE (idxFile = @idxFile) AND (idxTag = @i
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<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: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: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" />
|
||||
@@ -1006,7 +1009,7 @@ SELECT idxFile, idxTag FROM Tags2Doc WHERE (idxFile = @idxFile) AND (idxTag = @i
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<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: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: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" />
|
||||
@@ -1040,8 +1043,8 @@ SELECT idxFile, idxTag FROM Tags2Doc WHERE (idxFile = @idxFile) AND (idxTag = @i
|
||||
</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_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" />
|
||||
<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" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
Generated
+608
@@ -46,6 +46,8 @@ namespace ETS_Data {
|
||||
|
||||
private AnagSuggestTagsDataTable tableAnagSuggestTags;
|
||||
|
||||
private v_tbDocs_selRedattoreDataTable tablev_tbDocs_selRedattore;
|
||||
|
||||
private filesDataTable tablefiles;
|
||||
|
||||
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
@@ -109,6 +111,9 @@ namespace ETS_Data {
|
||||
if ((ds.Tables["AnagSuggestTags"] != null)) {
|
||||
base.Tables.Add(new AnagSuggestTagsDataTable(ds.Tables["AnagSuggestTags"]));
|
||||
}
|
||||
if ((ds.Tables["v_tbDocs_selRedattore"] != null)) {
|
||||
base.Tables.Add(new v_tbDocs_selRedattoreDataTable(ds.Tables["v_tbDocs_selRedattore"]));
|
||||
}
|
||||
if ((ds.Tables["files"] != null)) {
|
||||
base.Tables.Add(new filesDataTable(ds.Tables["files"]));
|
||||
}
|
||||
@@ -240,6 +245,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_tbDocs_selRedattoreDataTable v_tbDocs_selRedattore {
|
||||
get {
|
||||
return this.tablev_tbDocs_selRedattore;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -350,6 +365,9 @@ namespace ETS_Data {
|
||||
if ((ds.Tables["AnagSuggestTags"] != null)) {
|
||||
base.Tables.Add(new AnagSuggestTagsDataTable(ds.Tables["AnagSuggestTags"]));
|
||||
}
|
||||
if ((ds.Tables["v_tbDocs_selRedattore"] != null)) {
|
||||
base.Tables.Add(new v_tbDocs_selRedattoreDataTable(ds.Tables["v_tbDocs_selRedattore"]));
|
||||
}
|
||||
if ((ds.Tables["files"] != null)) {
|
||||
base.Tables.Add(new filesDataTable(ds.Tables["files"]));
|
||||
}
|
||||
@@ -452,6 +470,12 @@ namespace ETS_Data {
|
||||
this.tableAnagSuggestTags.InitVars();
|
||||
}
|
||||
}
|
||||
this.tablev_tbDocs_selRedattore = ((v_tbDocs_selRedattoreDataTable)(base.Tables["v_tbDocs_selRedattore"]));
|
||||
if ((initTable == true)) {
|
||||
if ((this.tablev_tbDocs_selRedattore != null)) {
|
||||
this.tablev_tbDocs_selRedattore.InitVars();
|
||||
}
|
||||
}
|
||||
this.tablefiles = ((filesDataTable)(base.Tables["files"]));
|
||||
if ((initTable == true)) {
|
||||
if ((this.tablefiles != null)) {
|
||||
@@ -490,6 +514,8 @@ namespace ETS_Data {
|
||||
base.Tables.Add(this.tablev_selEmailFornitori);
|
||||
this.tableAnagSuggestTags = new AnagSuggestTagsDataTable();
|
||||
base.Tables.Add(this.tableAnagSuggestTags);
|
||||
this.tablev_tbDocs_selRedattore = new v_tbDocs_selRedattoreDataTable();
|
||||
base.Tables.Add(this.tablev_tbDocs_selRedattore);
|
||||
this.tablefiles = new filesDataTable();
|
||||
base.Tables.Add(this.tablefiles);
|
||||
}
|
||||
@@ -560,6 +586,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_tbDocs_selRedattore() {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private bool ShouldSerializefiles() {
|
||||
@@ -654,6 +686,9 @@ namespace ETS_Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public delegate void AnagSuggestTagsRowChangeEventHandler(object sender, AnagSuggestTagsRowChangeEvent e);
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public delegate void v_tbDocs_selRedattoreRowChangeEventHandler(object sender, v_tbDocs_selRedattoreRowChangeEvent e);
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public delegate void filesRowChangeEventHandler(object sender, filesRowChangeEvent e);
|
||||
|
||||
@@ -3608,6 +3643,269 @@ namespace ETS_Data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
[global::System.Serializable()]
|
||||
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
||||
public partial class v_tbDocs_selRedattoreDataTable : global::System.Data.TypedTableBase<v_tbDocs_selRedattoreRow> {
|
||||
|
||||
private global::System.Data.DataColumn columnvalue;
|
||||
|
||||
private global::System.Data.DataColumn columnlabel;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_tbDocs_selRedattoreDataTable() {
|
||||
this.TableName = "v_tbDocs_selRedattore";
|
||||
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_tbDocs_selRedattoreDataTable(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_tbDocs_selRedattoreDataTable(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 valueColumn {
|
||||
get {
|
||||
return this.columnvalue;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn labelColumn {
|
||||
get {
|
||||
return this.columnlabel;
|
||||
}
|
||||
}
|
||||
|
||||
[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_tbDocs_selRedattoreRow this[int index] {
|
||||
get {
|
||||
return ((v_tbDocs_selRedattoreRow)(this.Rows[index]));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_tbDocs_selRedattoreRowChangeEventHandler v_tbDocs_selRedattoreRowChanging;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_tbDocs_selRedattoreRowChangeEventHandler v_tbDocs_selRedattoreRowChanged;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_tbDocs_selRedattoreRowChangeEventHandler v_tbDocs_selRedattoreRowDeleting;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_tbDocs_selRedattoreRowChangeEventHandler v_tbDocs_selRedattoreRowDeleted;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void Addv_tbDocs_selRedattoreRow(v_tbDocs_selRedattoreRow row) {
|
||||
this.Rows.Add(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_tbDocs_selRedattoreRow Addv_tbDocs_selRedattoreRow(string value, string label) {
|
||||
v_tbDocs_selRedattoreRow rowv_tbDocs_selRedattoreRow = ((v_tbDocs_selRedattoreRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
value,
|
||||
label};
|
||||
rowv_tbDocs_selRedattoreRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowv_tbDocs_selRedattoreRow);
|
||||
return rowv_tbDocs_selRedattoreRow;
|
||||
}
|
||||
|
||||
[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_tbDocs_selRedattoreDataTable cln = ((v_tbDocs_selRedattoreDataTable)(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_tbDocs_selRedattoreDataTable();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal void InitVars() {
|
||||
this.columnvalue = base.Columns["value"];
|
||||
this.columnlabel = base.Columns["label"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitClass() {
|
||||
this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnvalue);
|
||||
this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnlabel);
|
||||
this.columnvalue.MaxLength = 50;
|
||||
this.columnlabel.MaxLength = 50;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_tbDocs_selRedattoreRow Newv_tbDocs_selRedattoreRow() {
|
||||
return ((v_tbDocs_selRedattoreRow)(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_tbDocs_selRedattoreRow(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_tbDocs_selRedattoreRow);
|
||||
}
|
||||
|
||||
[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_tbDocs_selRedattoreRowChanged != null)) {
|
||||
this.v_tbDocs_selRedattoreRowChanged(this, new v_tbDocs_selRedattoreRowChangeEvent(((v_tbDocs_selRedattoreRow)(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_tbDocs_selRedattoreRowChanging != null)) {
|
||||
this.v_tbDocs_selRedattoreRowChanging(this, new v_tbDocs_selRedattoreRowChangeEvent(((v_tbDocs_selRedattoreRow)(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_tbDocs_selRedattoreRowDeleted != null)) {
|
||||
this.v_tbDocs_selRedattoreRowDeleted(this, new v_tbDocs_selRedattoreRowChangeEvent(((v_tbDocs_selRedattoreRow)(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_tbDocs_selRedattoreRowDeleting != null)) {
|
||||
this.v_tbDocs_selRedattoreRowDeleting(this, new v_tbDocs_selRedattoreRowChangeEvent(((v_tbDocs_selRedattoreRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void Removev_tbDocs_selRedattoreRow(v_tbDocs_selRedattoreRow 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_tbDocs_selRedattoreDataTable";
|
||||
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>
|
||||
@@ -4543,6 +4841,77 @@ namespace ETS_Data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
public partial class v_tbDocs_selRedattoreRow : global::System.Data.DataRow {
|
||||
|
||||
private v_tbDocs_selRedattoreDataTable tablev_tbDocs_selRedattore;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal v_tbDocs_selRedattoreRow(global::System.Data.DataRowBuilder rb) :
|
||||
base(rb) {
|
||||
this.tablev_tbDocs_selRedattore = ((v_tbDocs_selRedattoreDataTable)(this.Table));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string value {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tablev_tbDocs_selRedattore.valueColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'value\' in table \'v_tbDocs_selRedattore\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablev_tbDocs_selRedattore.valueColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string label {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tablev_tbDocs_selRedattore.labelColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_tbDocs_selRedattore\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablev_tbDocs_selRedattore.labelColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsvalueNull() {
|
||||
return this.IsNull(this.tablev_tbDocs_selRedattore.valueColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetvalueNull() {
|
||||
this[this.tablev_tbDocs_selRedattore.valueColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IslabelNull() {
|
||||
return this.IsNull(this.tablev_tbDocs_selRedattore.labelColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetlabelNull() {
|
||||
this[this.tablev_tbDocs_selRedattore.labelColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
@@ -5044,6 +5413,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_tbDocs_selRedattoreRowChangeEvent : global::System.EventArgs {
|
||||
|
||||
private v_tbDocs_selRedattoreRow 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_tbDocs_selRedattoreRowChangeEvent(v_tbDocs_selRedattoreRow 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_tbDocs_selRedattoreRow 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>
|
||||
@@ -7349,6 +7752,211 @@ 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_tbDocs_selRedattoreTableAdapter : 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_tbDocs_selRedattoreTableAdapter() {
|
||||
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_tbDocs_selRedattore";
|
||||
tableMapping.ColumnMappings.Add("value", "value");
|
||||
tableMapping.ColumnMappings.Add("label", "label");
|
||||
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 value, label FROM dbo.v_tbDocs_selRedattore";
|
||||
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_tbDocs_Redattore_likeSearch";
|
||||
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("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 250, 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_tbDocs_selRedattoreDataTable 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_tbDocs_selRedattoreDataTable GetData() {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
DS_utils.v_tbDocs_selRedattoreDataTable dataTable = new DS_utils.v_tbDocs_selRedattoreDataTable();
|
||||
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_tbDocs_selRedattoreDataTable getByLikeSearch(global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine, string search) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
if ((inizio.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((fine.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(fine.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((search == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(search));
|
||||
}
|
||||
DS_utils.v_tbDocs_selRedattoreDataTable dataTable = new DS_utils.v_tbDocs_selRedattoreDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
|
||||
///</summary>
|
||||
|
||||
+63
-12
@@ -353,6 +353,37 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_tbDocs_selRedattoreTableAdapter" GeneratorDataComponentClassName="v_tbDocs_selRedattoreTableAdapter" Name="v_tbDocs_selRedattore" UserDataComponentName="v_tbDocs_selRedattoreTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.v_tbDocs_selRedattore" 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 value, label FROM dbo.v_tbDocs_selRedattore</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="value" DataSetColumn="value" />
|
||||
<Mapping SourceColumn="label" DataSetColumn="label" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.stp_tbDocs_Redattore_likeSearch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByLikeSearch" GetMethodModifier="Public" GetMethodName="getByLikeSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByLikeSearch" UserSourceName="getByLikeSearch">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_tbDocs_Redattore_likeSearch</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="datetime" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@fine" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@search" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -361,7 +392,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
<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">
|
||||
@@ -381,7 +412,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</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" />
|
||||
@@ -395,7 +426,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</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" />
|
||||
@@ -409,7 +440,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</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" />
|
||||
@@ -419,7 +450,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</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">
|
||||
@@ -439,7 +470,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</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">
|
||||
@@ -459,7 +490,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</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">
|
||||
@@ -479,7 +510,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</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">
|
||||
@@ -499,7 +530,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</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">
|
||||
@@ -519,7 +550,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</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" />
|
||||
@@ -528,7 +559,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selEmailFornitori" msprop:Generator_TableClassName="v_selEmailFornitoriDataTable" msprop:Generator_TableVarName="tablev_selEmailFornitori" msprop:Generator_RowChangedName="v_selEmailFornitoriRowChanged" 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_RowClassName="v_selEmailFornitoriRow" msprop:Generator_UserTableName="v_selEmailFornitori" msprop:Generator_RowEvArgName="v_selEmailFornitoriRowChangeEvent">
|
||||
<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">
|
||||
@@ -548,7 +579,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagSuggestTags" msprop:Generator_TableClassName="AnagSuggestTagsDataTable" msprop:Generator_TableVarName="tableAnagSuggestTags" msprop:Generator_TablePropName="AnagSuggestTags" msprop:Generator_RowDeletingName="AnagSuggestTagsRowDeleting" msprop:Generator_RowChangingName="AnagSuggestTagsRowChanging" msprop:Generator_RowEvHandlerName="AnagSuggestTagsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSuggestTagsRowDeleted" msprop:Generator_UserTableName="AnagSuggestTags" msprop:Generator_RowChangedName="AnagSuggestTagsRowChanged" msprop:Generator_RowEvArgName="AnagSuggestTagsRowChangeEvent" msprop:Generator_RowClassName="AnagSuggestTagsRow">
|
||||
<xs:element name="AnagSuggestTags" msprop:Generator_TableClassName="AnagSuggestTagsDataTable" msprop:Generator_TableVarName="tableAnagSuggestTags" msprop:Generator_RowChangedName="AnagSuggestTagsRowChanged" msprop:Generator_TablePropName="AnagSuggestTags" msprop:Generator_RowDeletingName="AnagSuggestTagsRowDeleting" msprop:Generator_RowChangingName="AnagSuggestTagsRowChanging" msprop:Generator_RowEvHandlerName="AnagSuggestTagsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSuggestTagsRowDeleted" msprop:Generator_RowClassName="AnagSuggestTagsRow" msprop:Generator_UserTableName="AnagSuggestTags" msprop:Generator_RowEvArgName="AnagSuggestTagsRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="TagAutocomplete" msprop:Generator_ColumnVarNameInTable="columnTagAutocomplete" msprop:Generator_ColumnPropNameInRow="TagAutocomplete" msprop:Generator_ColumnPropNameInTable="TagAutocompleteColumn" msprop:Generator_UserColumnName="TagAutocomplete">
|
||||
@@ -561,6 +592,26 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_tbDocs_selRedattore" msprop:Generator_TableClassName="v_tbDocs_selRedattoreDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selRedattore" msprop:Generator_TablePropName="v_tbDocs_selRedattore" msprop:Generator_RowDeletingName="v_tbDocs_selRedattoreRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selRedattoreRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selRedattoreRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selRedattoreRowDeleted" msprop:Generator_UserTableName="v_tbDocs_selRedattore" msprop:Generator_RowChangedName="v_tbDocs_selRedattoreRowChanged" msprop:Generator_RowEvArgName="v_tbDocs_selRedattoreRowChangeEvent" msprop:Generator_RowClassName="v_tbDocs_selRedattoreRow">
|
||||
<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">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
|
||||
+14
-13
@@ -4,20 +4,21 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="7" 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="12" X="167" Y="206" Height="134" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selCommesse" ZOrder="11" X="551" Y="226" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selFasi" ZOrder="10" 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="6" 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="5" 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="4" 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="8" X="182" Y="672" Height="134" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selAutori" ZOrder="7" X="885" Y="653" Height="134" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:stp_calcolaProtocollo" ZOrder="3" X="729" Y="66" Height="130" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="40" />
|
||||
<Shape ID="DesignTable:v_selEmailFornitori" ZOrder="2" X="539" Y="679" Height="134" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:files" ZOrder="9" X="1115" Y="226" Height="125" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AnagSuggestTags" ZOrder="1" X="187" Y="58" Height="116" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
<Shape ID="DesignTable:v_selFonti" ZOrder="13" X="167" Y="206" Height="134" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selCommesse" ZOrder="12" X="551" Y="226" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selFasi" ZOrder="11" 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="7" 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="6" 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="5" 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="9" X="182" Y="672" Height="134" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selAutori" ZOrder="8" X="885" Y="653" Height="134" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:stp_calcolaProtocollo" ZOrder="4" X="729" Y="66" Height="130" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="40" />
|
||||
<Shape ID="DesignTable:v_selEmailFornitori" ZOrder="3" X="539" Y="679" Height="134" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagSuggestTags" ZOrder="2" X="187" Y="58" Height="116" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
<Shape ID="DesignTable:files" ZOrder="10" X="1115" Y="226" Height="125" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selRedattore" ZOrder="1" X="891" Y="844" Height="134" Width="275" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
+33
-2
@@ -21,6 +21,7 @@ namespace ETS_Data
|
||||
public DS_utilsTableAdapters.v_tbDocs_selCommesseTableAdapter taTDSelCommesse;
|
||||
public DS_utilsTableAdapters.v_tbDocs_selFasiTableAdapter taTDSelFasi;
|
||||
public DS_utilsTableAdapters.v_tbDocs_selOggettoTableAdapter taTDSelOggetti;
|
||||
public DS_utilsTableAdapters.v_tbDocs_selRedattoreTableAdapter taTDSelRedattore;
|
||||
public DS_utilsTableAdapters.stp_calcolaProtocolloTableAdapter taCalcProto;
|
||||
public DS_utilsTableAdapters.v_selEmailFornitoriTableAdapter taEmailForn;
|
||||
public DS_utilsTableAdapters.AnagSuggestTagsTableAdapter taAST;
|
||||
@@ -43,6 +44,7 @@ namespace ETS_Data
|
||||
taTDSelCommesse = new DS_utilsTableAdapters.v_tbDocs_selCommesseTableAdapter();
|
||||
taTDSelFasi = new DS_utilsTableAdapters.v_tbDocs_selFasiTableAdapter();
|
||||
taTDSelOggetti = new DS_utilsTableAdapters.v_tbDocs_selOggettoTableAdapter();
|
||||
taTDSelRedattore = new DS_utilsTableAdapters.v_tbDocs_selRedattoreTableAdapter();
|
||||
taCalcProto = new DS_utilsTableAdapters.stp_calcolaProtocolloTableAdapter();
|
||||
taEmailForn = new DS_utilsTableAdapters.v_selEmailFornitoriTableAdapter();
|
||||
taAST = new DS_utilsTableAdapters.AnagSuggestTagsTableAdapter();
|
||||
@@ -67,6 +69,7 @@ namespace ETS_Data
|
||||
taTDSelCommesse.Connection.ConnectionString = connStringETS_WS;
|
||||
taTDSelFasi.Connection.ConnectionString = connStringETS_WS;
|
||||
taTDSelOggetti.Connection.ConnectionString = connStringETS_WS;
|
||||
taTDSelRedattore.Connection.ConnectionString = connStringETS_WS;
|
||||
taCalcProto.Connection.ConnectionString = connStringETS_WS;
|
||||
taEmailForn.Connection.ConnectionString = connStringETS_WS;
|
||||
taAST.Connection.ConnectionString = connStringETS_WS;
|
||||
@@ -125,7 +128,7 @@ namespace ETS_Data
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// utente correntemente connesso (Formato Cognome, nome)
|
||||
/// utente correntemente connesso (Formato Cognome nome)
|
||||
/// </summary>
|
||||
public string currUserCognomeNome
|
||||
{
|
||||
@@ -143,7 +146,7 @@ namespace ETS_Data
|
||||
{
|
||||
// cerco user da elenco...
|
||||
DS_Anagrafica.UtentiRow riga = (DS_Anagrafica.UtentiRow)taUtenti.getByKey(currUserAD)[0];
|
||||
answ = string.Format("{0} {1}", riga.Cognome.ToUpper(), riga.Nome);
|
||||
answ = string.Format("{0} {1}", riga.Cognome, riga.Nome);
|
||||
setSessionVal("currUserCognomeNome", answ);
|
||||
}
|
||||
}
|
||||
@@ -153,6 +156,34 @@ namespace ETS_Data
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// utente correntemente connesso (Formato Nome Cognome)
|
||||
/// </summary>
|
||||
public string currUserNomeCognome
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "-";
|
||||
try
|
||||
{
|
||||
// controllo in sessione...
|
||||
if (isInSessionObject("currUserNomeCognome"))
|
||||
{
|
||||
answ = StringSessionObj("currUserNomeCognome");
|
||||
}
|
||||
else
|
||||
{
|
||||
// cerco user da elenco...
|
||||
DS_Anagrafica.UtentiRow riga = (DS_Anagrafica.UtentiRow)taUtenti.getByKey(currUserAD)[0];
|
||||
answ = string.Format("{0} {1}", riga.Nome, riga.Cognome);
|
||||
setSessionVal("currUserNomeCognome", answ);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// EMAIL utente correntemente connesso
|
||||
/// </summary>
|
||||
public string currUserEmail
|
||||
|
||||
Reference in New Issue
Block a user