Merge branch 'ADM' into ES3

This commit is contained in:
Samuele E. Locatelli
2021-01-05 10:40:40 +01:00
18 changed files with 511 additions and 62 deletions
Vendored
+1 -1
View File
@@ -13,7 +13,7 @@ pipeline {
steps {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=1356']) {
withEnv(['NEXT_BUILD_NUMBER=1357']) {
// env.versionNumber = VersionNumber(versionNumberString : '6.12.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '6.12.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'MAPO'
+6
View File
@@ -42,6 +42,12 @@ body {
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#787878', endColorstr='#DEDEDE', GradientType=0);
}
.bgLightGrayUp {
background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201%201%22%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%25%22%20y1%3D%220%25%22%20x2%3D%220%25%22%20y2%3D%22100%25%22%3E%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%23dedede%22%2F%3E%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23cdcdcd%22%2F%3E%3C%2FlinearGradient%3E%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22url(%23g)%22%20%2F%3E%3C%2Fsvg%3E');
}
.bgLightGrayDown {
background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201%201%22%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%25%22%20y1%3D%220%25%22%20x2%3D%220%25%22%20y2%3D%22100%25%22%3E%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%23cdcdcd%22%2F%3E%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23fafafa%22%2F%3E%3C%2FlinearGradient%3E%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22url(%23g)%22%20%2F%3E%3C%2Fsvg%3E');
}
/*------------------------------------------------------------------
[ Shortcuts / .shortcuts ]
*/
+12
View File
@@ -2,6 +2,10 @@
/*Import fonts!*/
@import url('./fonts.less');
@lgStart: #DEDEDE;
@lgMid: #CDCDCD;
@lgEnd: #FAFAFA;
.body {
font-family: 'Open Sans Condensed', sans-serif;
margin-top: 0px;
@@ -22,6 +26,14 @@ body {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#787878', endColorstr='#DEDEDE', GradientType=0);
}
.bgLightGrayUp {
background-image: svg-gradient(to bottom, @lgStart, @lgMid);
}
.bgLightGrayDown {
background-image: svg-gradient(to bottom, @lgMid, @lgEnd);
}
/*------------------------------------------------------------------
[ Shortcuts / .shortcuts ]
*/
+1 -1
View File
File diff suppressed because one or more lines are too long
+8
View File
@@ -603,6 +603,7 @@
<Content Include="WebUserControls\cmp_ST_objView.ascx" />
<Content Include="WebUserControls\cmp_ST_preview.ascx" />
<Content Include="WebUserControls\cmp_TechSheetArt.ascx" />
<Content Include="WebUserControls\cmp_TechSheetArtAddNew.ascx" />
<Content Include="WebUserControls\cmp_TechSheetDetail.ascx" />
<Content Include="WebUserControls\cmp_TechSheetMan.ascx" />
<Content Include="WebUserControls\mod_anagArticoli.ascx" />
@@ -957,6 +958,13 @@
<Compile Include="WebUserControls\cmp_TechSheetArt.ascx.designer.cs">
<DependentUpon>cmp_TechSheetArt.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_TechSheetArtAddNew.ascx.cs">
<DependentUpon>cmp_TechSheetArtAddNew.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_TechSheetArtAddNew.ascx.designer.cs">
<DependentUpon>cmp_TechSheetArtAddNew.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_TechSheetDetail.ascx.cs">
<DependentUpon>cmp_TechSheetDetail.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
+6 -6
View File
@@ -1,9 +1,9 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_ImageArchive.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_ImageArchive" %>
<div class="bg-light">
<div class="row">
<div class="bg-light my-1">
<div class="row py-0">
<div class="col-12 col-md-8">
<div class="input-group mb-3">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">Ricerca [ALT-T]</span>
</div>
@@ -14,7 +14,7 @@
</div>
</div>
<div class="col-6 col-md-2">
<div class="input-group mb-3">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">col</span>
</div>
@@ -27,7 +27,7 @@
</div>
</div>
<div class="col-6 col-md-2">
<div class="input-group mb-3">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">show max</span>
</div>
@@ -46,7 +46,7 @@
<asp:Repeater runat="server" ID="repImages" DataSourceID="ods">
<ItemTemplate>
<div class='<%# ddlSize.SelectedValue + " text-center" %>'>
<asp:LinkButton runat="server" ID="lbtImage" OnClick="lbtImage_Click" CssClass="btn btn-outline-dark btn-block" CommandArgument='<%# Eval("name") %>'>
<asp:LinkButton runat="server" ID="lbtImage" OnClick="lbtImage_Click" CssClass="btn btn-block btn-outline-info text-dark my-1" CommandArgument='<%# Eval("name") %>'>
<b><%# Eval("name") %></b>
<asp:Image runat="server" ID="imgFile" CssClass="img-fluid" ImageUrl='<%# Eval("relPath") %>' AlternateText='<%# Eval("relPath") %>' />
</asp:LinkButton>
+3 -1
View File
@@ -4,9 +4,11 @@
<div class="card text-dark textCondens">
<div class="card-header bg-info text-light">
<div class="row">
<div class="col-9 col-md-10">
<div class="col-6 col-md-8">
<h4>Scheda Tecnica Articolo</h4>
</div>
<div class="col-3 col-md-2">
</div>
<div class="col-3 col-md-2">
<asp:LinkButton runat="server" ID="lbtDoEdit" CssClass="btn btn-block btn-light" OnClick="lbtDoEdit_Click"><i class="fa fa-pencil" aria-hidden="true"></i> Modifica Scheda</asp:LinkButton>
</div>
+27 -15
View File
@@ -1,10 +1,11 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_TechSheetArt.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_TechSheetArt" %>
<%@ Register Src="~/WebUserControls/cmp_TechSheetArtAddNew.ascx" TagPrefix="uc1" TagName="cmp_TechSheetArtAddNew" %>
<div class="row">
<div class="col-12">
<div class="input-group mb-3">
<div class="row bgLightGrayUp py-1">
<div class="col-12 mb-1">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">Ricerca [ALT-T]</span>
<span class="input-group-text">Schede [ALT-T]</span>
</div>
<asp:TextBox runat="server" ID="txtSearchArt" CssClass="form-control" AutoPostBack="True" OnTextChanged="txtSearchArt_TextChanged" placeholder="Codice Articolo / Descrizione" AccessKey="T" />
<div class="input-group-append">
@@ -13,20 +14,27 @@
</div>
</div>
<div class="col-6">
<asp:DropDownList runat="server" ID="ddlTipo" DataSourceID="odsTipo" DataTextField="DescTempl" DataValueField="CodTempl" AppendDataBoundItems="True" AutoPostBack="true">
<asp:ListItem Text="--- Mostra Tutto ---" Value="ALL"></asp:ListItem>
</asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odsTipo" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_TemplateTableAdapter"></asp:ObjectDataSource>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">Tipologia</span>
</div>
<asp:DropDownList runat="server" ID="ddlTipo" DataSourceID="odsTipo" CssClass="form-control" DataTextField="DescTempl" DataValueField="CodTempl" AppendDataBoundItems="True" AutoPostBack="true" OnSelectedIndexChanged="ddlTipo_SelectedIndexChanged">
<asp:ListItem Text="--- Mostra Tutto ---" Value="ALL"></asp:ListItem>
</asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odsTipo" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_TemplateTableAdapter"></asp:ObjectDataSource>
</div>
</div>
<div class="col-6">
<asp:LinkButton runat="server" ID="lbtAddNew" CssClass="btn btn-sm btn-block btn-info py-0">NUOVA <i class="fa fa-plus" aria-hidden="true"></i></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtApprove" CssClass="btn btn-sm btn-block btn-success py-0" OnClick="lbtApprove_Click">Approva <i class="fa fa-certificate" aria-hidden="true"></i></asp:LinkButton>
</div>
<div class="col-12">
cod art + btnNew
<asp:LinkButton runat="server" ID="lbtAddNew" CssClass="btn btn-block btn-primary" OnClick="lbtAddNew_Click">Nuova Scheda <i class="fa fa-caret-down" aria-hidden="true"></i> <i class="fa fa-caret-up" aria-hidden="true"></i></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtApprove" CssClass="btn btn-block btn-success" OnClick="lbtApprove_Click">Approva <i class="fa fa-certificate" aria-hidden="true"></i></asp:LinkButton>
</div>
</div>
<div class="row">
<div class="row table-primary">
<div class="col-12">
<uc1:cmp_TechSheetArtAddNew runat="server" ID="cmp_TechSheetArtAddNew" />
</div>
</div>
<div class="row bgLightGrayDown">
<div class="col-12">
<asp:GridView runat="server" ID="grView" AutoGenerateColumns="False" DataKeyNames="IdxST" DataSourceID="ods" CssClass="table table-sm table-striped" AllowPaging="True" AllowSorting="True" OnSelectedIndexChanged="grView_SelectedIndexChanged">
<EditRowStyle CssClass="table-info" />
@@ -56,11 +64,15 @@
<ItemTemplate>
<asp:Label ID="lblValid" runat="server" Visible='<%# getBool(Eval("IsValidated")) %>' CssClass="text-success" ToolTip='<%# "Approvato: " + Eval("UserLogin") +" "+ Eval("DtMod") %>'><i class="fa fa-certificate" aria-hidden="true"></i></asp:Label>
<asp:Label ID="lblUnvalidated" runat="server" Visible='<%# !getBool(Eval("IsValidated")) %>' CssClass="text-danger" ToolTip='<%# "Ultima modifica: " + Eval("UserLogin") +" "+ Eval("DtMod") %>'><i class="fa fa-ban" aria-hidden="true"></i></asp:Label>
<asp:LinkButton ID="lbtDelete" runat="server" CausesValidation="False" CommandName="Delete" Visible='<%# DelEnabled(Eval("NumRow")) %>' CssClass="btn btn-sm btn-danger" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmDelete") %>'><i class="fa fa-trash" aria-hidden="true"></i></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="Original_{0}" SelectMethod="getBySearchArt" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_ActualTableAdapter">
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="original_{0}" SelectMethod="getBySearchArt" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_ActualTableAdapter" DeleteMethod="DeleteQuery">
<DeleteParameters>
<asp:Parameter Name="Original_IdxST" Type="Int32" />
</DeleteParameters>
<SelectParameters>
<asp:ControlParameter ControlID="txtSearchArt" DefaultValue="" Name="SearchCodArt" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="ddlTipo" DefaultValue="ALL" Name="CodTempl" PropertyName="SelectedValue" Type="String" />
@@ -48,16 +48,38 @@ namespace MP_ADM.WebUserControls
}
}
private void Cmp_TechSheetArtAddNew_eh_nuovoValore(object sender, EventArgs e)
{
resetSelezione();
checkVisibility();
}
#endregion Private Methods
#region Protected Methods
protected void ddlTipo_SelectedIndexChanged(object sender, EventArgs e)
{
// imposto sul componente addNew tranne il valore ALL didefault...
cmp_TechSheetArtAddNew.CodTempl = ddlTipo.SelectedValue == "ALL" ? "" : ddlTipo.SelectedValue;
}
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
{
raiseSelNew();
checkVisibility();
}
/// <summary>
/// RIchiesta nuova scheda
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtAddNew_Click(object sender, EventArgs e)
{
cmp_TechSheetArtAddNew.Visible = !cmp_TechSheetArtAddNew.Visible;
}
/// <summary>
/// /esegue salvataggio validazione scheda tecnica
/// </summary>
@@ -89,7 +111,12 @@ namespace MP_ADM.WebUserControls
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
cmp_TechSheetArtAddNew.Visible = false;
}
checkVisibility();
cmp_TechSheetArtAddNew.eh_nuovoValore += Cmp_TechSheetArtAddNew_eh_nuovoValore;
}
protected void txtSearchArt_TextChanged(object sender, EventArgs e)
@@ -100,6 +127,13 @@ namespace MP_ADM.WebUserControls
#region Public Methods
public bool DelEnabled(object _numRow)
{
int numRows = 1;
int.TryParse(_numRow.ToString(), out numRows);
return numRows == 0;
}
public void doUpdate()
{
grView.DataBind();
@@ -68,6 +68,15 @@ namespace MP_ADM.WebUserControls
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtApprove;
/// <summary>
/// Controllo cmp_TechSheetArtAddNew.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::MP_ADM.WebUserControls.cmp_TechSheetArtAddNew cmp_TechSheetArtAddNew;
/// <summary>
/// Controllo grView.
/// </summary>
@@ -0,0 +1,24 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_TechSheetArtAddNew.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_TechSheetArtAddNew" %>
<div class="row my-1">
<div class="col-9">
<div class="input-group">
<div class="input-group-prepend">
<asp:TextBox runat="server" ID="txtSearch" CssClass="form form-control" AutoPostBack="True" OnTextChanged="txtSearch_TextChanged" placeholder="Ricerca" Width="5em" />
</div>
<asp:DropDownList runat="server" ID="ddlArticolo" DataSourceID="odsArticoli" DataTextField="label" DataValueField="value" CssClass="form-control" OnSelectedIndexChanged="ddlArticolo_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList>
<asp:ObjectDataSource ID="odsArticoli" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="getByConditio" TypeName="MapoDb.DS_UtilityTableAdapters.v_selArticoliTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="txtSearch" DefaultValue="Non definito" Name="conditio" PropertyName="Text" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:HiddenField runat="server" ID="hfCodTipo" />
</div>
</div>
<div class="col-3">
<asp:LinkButton runat="server" ID="lbtAddNew" CssClass="btn btn-block btn-success" OnClick="lbtAddNew_Click">SAVE <i class="fa fa-floppy-o" aria-hidden="true"></i></asp:LinkButton>
</div>
<div class="col-12">
<asp:Label runat="server" ID="lblMessage" CssClass="text-danger" />
</div>
</div>
@@ -0,0 +1,112 @@
using SteamWare;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MP_ADM.WebUserControls
{
public partial class cmp_TechSheetArtAddNew : BaseUserControl
{
#region Public Properties
public string CodArticolo
{
get
{
return ddlArticolo.SelectedValue;
}
}
public string CodTempl
{
get
{
return hfCodTipo.Value;
}
set
{
hfCodTipo.Value = value;
preliminaryCheck();
}
}
#endregion Public Properties
#region Private Methods
/// <summary>
/// verifiche preliminari inserimento scheda
/// </summary>
/// <returns></returns>
private bool preliminaryCheck()
{
bool answ = false;
// verifico OK selezione tipo
if (string.IsNullOrEmpty(CodTempl))
{
displError("Errore! prego selezionare tipo scheda per proseguire.");
}
else
{
// verifico NON esista già
var tabST = DataLayerObj.taSTA.getBySearchArt(CodArticolo, CodTempl);
if (tabST.Rows.Count > 0)
{
displError("Errore! Scheda articolo già presente.");
}
else
{
// ok valido!
answ = true;
}
}
lbtAddNew.Enabled = answ;
return answ;
}
#endregion Private Methods
#region Protected Methods
/// <summary>
/// selezione articolo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ddlArticolo_SelectedIndexChanged(object sender, EventArgs e)
{
preliminaryCheck();
}
protected void displError(string message)
{
lblMessage.Text = message;
lblMessage.Visible = !string.IsNullOrEmpty(message);
}
protected void lbtAddNew_Click(object sender, EventArgs e)
{
bool checkOk = preliminaryCheck();
if (checkOk)
{
DataLayerObj.taSTA.InsertQuery(CodTempl, CodArticolo, user_std.UtSn.userNameAD);
raiseNewVal();
}
}
protected void Page_Load(object sender, EventArgs e)
{
lblMessage.Visible = false;
}
protected void txtSearch_TextChanged(object sender, EventArgs e)
{
ddlArticolo.DataBind();
}
#endregion Protected Methods
}
}
@@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace MP_ADM.WebUserControls
{
public partial class cmp_TechSheetArtAddNew
{
/// <summary>
/// Controllo txtSearch.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtSearch;
/// <summary>
/// Controllo ddlArticolo.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlArticolo;
/// <summary>
/// Controllo odsArticoli.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsArticoli;
/// <summary>
/// Controllo hfCodTipo.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfCodTipo;
/// <summary>
/// Controllo lbtAddNew.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtAddNew;
/// <summary>
/// Controllo lblMessage.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblMessage;
}
}
@@ -24,7 +24,7 @@
<asp:HiddenField runat="server" ID="hfSelImage" />
</div>
<div class="col-12">
<asp:GridView runat="server" ID="grView" DataSourceID="ods" CssClass="table table-sm table-striped" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="IdxST,Label,Oggetto" OnRowUpdated="grView_RowUpdated" OnRowCancelingEdit="grView_RowCancelingEdit" OnRowEditing="grView_RowEditing">
<asp:GridView runat="server" ID="grView" DataSourceID="ods" CssClass="table table-sm table-striped" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="IdxST,Label,Oggetto" OnRowUpdated="grView_RowUpdated" OnRowCancelingEdit="grView_RowCancelingEdit" OnRowEditing="grView_RowEditing" OnRowDeleted="grView_RowDeleted">
<EditRowStyle CssClass="table-info" />
<SelectedRowStyle CssClass="table-info" />
<PagerStyle CssClass="active GridPager" />
@@ -86,6 +86,13 @@ namespace MP_ADM.WebUserControls
checkVisibility();
}
protected void grView_RowDeleted(object sender, GridViewDeletedEventArgs e)
{
selImage = "";
checkVisibility();
raiseNewVal();
}
protected void grView_RowEditing(object sender, GridViewEditEventArgs e)
{
selImage = "";
+141 -15
View File
@@ -542,6 +542,8 @@ namespace MapoDb {
private global::System.Data.DataColumn columnIsValidated;
private global::System.Data.DataColumn columnNumRow;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public ST_ActualDataTable() {
@@ -647,6 +649,14 @@ namespace MapoDb {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn NumRowColumn {
get {
return this.columnNumRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -684,7 +694,7 @@ namespace MapoDb {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public ST_ActualRow AddST_ActualRow(ST_TemplateRow parentST_TemplateRowByST_Template_ST_Actual, string CodArticolo, int MatrOpr, System.DateTime DtMod, string DescArticolo, string DescTempl, string UserLogin, bool IsValidated) {
public ST_ActualRow AddST_ActualRow(ST_TemplateRow parentST_TemplateRowByST_Template_ST_Actual, string CodArticolo, int MatrOpr, System.DateTime DtMod, string DescArticolo, string DescTempl, string UserLogin, bool IsValidated, int NumRow) {
ST_ActualRow rowST_ActualRow = ((ST_ActualRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -695,7 +705,8 @@ namespace MapoDb {
DescArticolo,
DescTempl,
UserLogin,
IsValidated};
IsValidated,
NumRow};
if ((parentST_TemplateRowByST_Template_ST_Actual != null)) {
columnValuesArray[1] = parentST_TemplateRowByST_Template_ST_Actual[0];
}
@@ -737,6 +748,7 @@ namespace MapoDb {
this.columnDescTempl = base.Columns["DescTempl"];
this.columnUserLogin = base.Columns["UserLogin"];
this.columnIsValidated = base.Columns["IsValidated"];
this.columnNumRow = base.Columns["NumRow"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -760,6 +772,8 @@ namespace MapoDb {
base.Columns.Add(this.columnUserLogin);
this.columnIsValidated = new global::System.Data.DataColumn("IsValidated", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnIsValidated);
this.columnNumRow = new global::System.Data.DataColumn("NumRow", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumRow);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnIdxST}, true));
this.columnIdxST.AutoIncrement = true;
@@ -781,6 +795,7 @@ namespace MapoDb {
this.columnUserLogin.AllowDBNull = false;
this.columnUserLogin.MaxLength = 50;
this.columnIsValidated.AllowDBNull = false;
this.columnNumRow.ReadOnly = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -3146,6 +3161,22 @@ namespace MapoDb {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int NumRow {
get {
try {
return ((int)(this[this.tableST_Actual.NumRowColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'NumRow\' nella tabella \'ST_Actual\' è DBNull.", e);
}
}
set {
this[this.tableST_Actual.NumRowColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public ST_TemplateRow ST_TemplateRow {
@@ -3157,6 +3188,18 @@ namespace MapoDb {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsNumRowNull() {
return this.IsNull(this.tableST_Actual.NumRowColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetNumRowNull() {
this[this.tableST_Actual.NumRowColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public ST_ActualRowRow[] GetST_ActualRowRows() {
@@ -4187,6 +4230,7 @@ namespace MapoDb.DS_SheetTechTableAdapters {
tableMapping.ColumnMappings.Add("DescTempl", "DescTempl");
tableMapping.ColumnMappings.Add("UserLogin", "UserLogin");
tableMapping.ColumnMappings.Add("IsValidated", "IsValidated");
tableMapping.ColumnMappings.Add("NumRow", "NumRow");
this._adapter.TableMappings.Add(tableMapping);
}
@@ -4200,32 +4244,46 @@ namespace MapoDb.DS_SheetTechTableAdapters {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_ST_Actual";
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_ST_A_getByKey";
this._commandCollection[1].CommandText = "dbo.stp_ST_A_DeleteQuery";
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("@IdxST", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxST", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_ST_A_getBySearch";
this._commandCollection[2].CommandText = "dbo.stp_ST_A_getByKey";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SearchCodArt", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTempl", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxST", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_ST_A_updateValid";
this._commandCollection[3].CommandText = "dbo.stp_ST_A_getBySearch";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxST", 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("@IsValidated", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserLogin", 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("@SearchCodArt", 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("@CodTempl", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].CommandText = "dbo.stp_ST_A_InsertQuery";
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTempl", 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("@CodArticolo", 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("@UserLogin", global::System.Data.SqlDbType.NVarChar, 50, 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;
this._commandCollection[5].CommandText = "dbo.stp_ST_A_updateValid";
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxST", 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("@IsValidated", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserLogin", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -4257,7 +4315,7 @@ namespace MapoDb.DS_SheetTechTableAdapters {
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_SheetTech.ST_ActualDataTable getByKey(global::System.Nullable<int> IdxST) {
this.Adapter.SelectCommand = this.CommandCollection[1];
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((IdxST.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxST.Value));
}
@@ -4274,7 +4332,7 @@ namespace MapoDb.DS_SheetTechTableAdapters {
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_SheetTech.ST_ActualDataTable getBySearchArt(string SearchCodArt, string CodTempl) {
this.Adapter.SelectCommand = this.CommandCollection[2];
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((SearchCodArt == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -4292,11 +4350,79 @@ namespace MapoDb.DS_SheetTechTableAdapters {
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int DeleteQuery(global::System.Nullable<int> Original_IdxST) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
if ((Original_IdxST.HasValue == true)) {
command.Parameters[1].Value = ((int)(Original_IdxST.Value));
}
else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int InsertQuery(string CodTempl, string CodArticolo, string UserLogin) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
if ((CodTempl == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(CodTempl));
}
if ((CodArticolo == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(CodArticolo));
}
if ((UserLogin == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
else {
command.Parameters[3].Value = ((string)(UserLogin));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updateValid(global::System.Nullable<int> IdxST, global::System.Nullable<bool> IsValidated, string UserLogin) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
if ((IdxST.HasValue == true)) {
command.Parameters[1].Value = ((int)(IdxST.Value));
}
+40 -14
View File
@@ -29,8 +29,20 @@ FROM v_ST_Actual</CommandText>
<Mapping SourceColumn="DescTempl" DataSetColumn="DescTempl" />
<Mapping SourceColumn="UserLogin" DataSetColumn="UserLogin" />
<Mapping SourceColumn="IsValidated" DataSetColumn="IsValidated" />
<Mapping SourceColumn="NumRow" DataSetColumn="NumRow" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ST_A_DeleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="DeleteQuery" Modifier="Public" Name="DeleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="DeleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ST_A_DeleteQuery</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="int" DbType="Int32" Direction="Input" ParameterName="@Original_IdxST" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ST_A_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -54,6 +66,19 @@ FROM v_ST_Actual</CommandText>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ST_A_InsertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="InsertQuery" Modifier="Public" Name="InsertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="InsertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ST_A_InsertQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodTempl" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserLogin" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ST_A_updateValid" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateValid" Modifier="Public" Name="updateValid" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="updateValid">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -162,7 +187,7 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
<Mapping SourceColumn="DescTipo" DataSetColumn="DescTipo" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ST_AR_AddByTemplate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="addByTemplate" Modifier="Public" Name="addByTemplate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="addByTemplate">
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ST_AR_AddByTemplate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="addByTemplate" Modifier="Public" Name="addByTemplate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="addByTemplate">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ST_AR_AddByTemplate</CommandText>
@@ -174,7 +199,7 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ST_AR_deleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="DeleteQuery" Modifier="Public" Name="DeleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteQuery">
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ST_AR_deleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="DeleteQuery" Modifier="Public" Name="DeleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="DeleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ST_AR_deleteQuery</CommandText>
@@ -642,7 +667,7 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
<xs:element name="DS_SheetTech" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_SheetTech" msprop:Generator_UserDSName="DS_SheetTech">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="ST_Actual" msprop:Generator_TableClassName="ST_ActualDataTable" msprop:Generator_TableVarName="tableST_Actual" msprop:Generator_TablePropName="ST_Actual" msprop:Generator_RowDeletingName="ST_ActualRowDeleting" msprop:Generator_RowChangingName="ST_ActualRowChanging" msprop:Generator_RowEvHandlerName="ST_ActualRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_ActualRowDeleted" msprop:Generator_UserTableName="ST_Actual" msprop:Generator_RowChangedName="ST_ActualRowChanged" msprop:Generator_RowEvArgName="ST_ActualRowChangeEvent" msprop:Generator_RowClassName="ST_ActualRow">
<xs:element name="ST_Actual" msprop:Generator_TableClassName="ST_ActualDataTable" msprop:Generator_TableVarName="tableST_Actual" msprop:Generator_RowChangedName="ST_ActualRowChanged" msprop:Generator_TablePropName="ST_Actual" msprop:Generator_RowDeletingName="ST_ActualRowDeleting" msprop:Generator_RowChangingName="ST_ActualRowChanging" msprop:Generator_RowEvHandlerName="ST_ActualRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_ActualRowDeleted" msprop:Generator_RowClassName="ST_ActualRow" msprop:Generator_UserTableName="ST_Actual" msprop:Generator_RowEvArgName="ST_ActualRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxST" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxST" msprop:Generator_ColumnPropNameInRow="IdxST" msprop:Generator_ColumnPropNameInTable="IdxSTColumn" msprop:Generator_UserColumnName="IdxST" type="xs:int" />
@@ -684,10 +709,11 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
</xs:simpleType>
</xs:element>
<xs:element name="IsValidated" msprop:Generator_ColumnVarNameInTable="columnIsValidated" msprop:Generator_ColumnPropNameInRow="IsValidated" msprop:Generator_ColumnPropNameInTable="IsValidatedColumn" msprop:Generator_UserColumnName="IsValidated" type="xs:boolean" />
<xs:element name="NumRow" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNumRow" msprop:Generator_ColumnPropNameInRow="NumRow" msprop:Generator_ColumnPropNameInTable="NumRowColumn" msprop:Generator_UserColumnName="NumRow" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ST_ActualRow" msprop:Generator_TableClassName="ST_ActualRowDataTable" msprop:Generator_TableVarName="tableST_ActualRow" msprop:Generator_TablePropName="_ST_ActualRow" msprop:Generator_RowDeletingName="ST_ActualRowRowDeleting" msprop:Generator_RowChangingName="ST_ActualRowRowChanging" msprop:Generator_RowEvHandlerName="ST_ActualRowRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_ActualRowRowDeleted" msprop:Generator_UserTableName="ST_ActualRow" msprop:Generator_RowChangedName="ST_ActualRowRowChanged" msprop:Generator_RowEvArgName="ST_ActualRowRowChangeEvent" msprop:Generator_RowClassName="ST_ActualRowRow">
<xs:element name="ST_ActualRow" msprop:Generator_TableClassName="ST_ActualRowDataTable" msprop:Generator_TableVarName="tableST_ActualRow" msprop:Generator_RowChangedName="ST_ActualRowRowChanged" msprop:Generator_TablePropName="_ST_ActualRow" msprop:Generator_RowDeletingName="ST_ActualRowRowDeleting" msprop:Generator_RowChangingName="ST_ActualRowRowChanging" msprop:Generator_RowEvHandlerName="ST_ActualRowRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_ActualRowRowDeleted" msprop:Generator_RowClassName="ST_ActualRowRow" msprop:Generator_UserTableName="ST_ActualRow" msprop:Generator_RowEvArgName="ST_ActualRowRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxST" msprop:Generator_ColumnVarNameInTable="columnIdxST" msprop:Generator_ColumnPropNameInRow="IdxST" msprop:Generator_ColumnPropNameInTable="IdxSTColumn" msprop:Generator_UserColumnName="IdxST" type="xs:int" />
@@ -760,7 +786,7 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ST_Check" msprop:Generator_TableClassName="ST_CheckDataTable" msprop:Generator_TableVarName="tableST_Check" msprop:Generator_TablePropName="ST_Check" msprop:Generator_RowDeletingName="ST_CheckRowDeleting" msprop:Generator_RowChangingName="ST_CheckRowChanging" msprop:Generator_RowEvHandlerName="ST_CheckRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_CheckRowDeleted" msprop:Generator_UserTableName="ST_Check" msprop:Generator_RowChangedName="ST_CheckRowChanged" msprop:Generator_RowEvArgName="ST_CheckRowChangeEvent" msprop:Generator_RowClassName="ST_CheckRow">
<xs:element name="ST_Check" msprop:Generator_TableClassName="ST_CheckDataTable" msprop:Generator_TableVarName="tableST_Check" msprop:Generator_RowChangedName="ST_CheckRowChanged" msprop:Generator_TablePropName="ST_Check" msprop:Generator_RowDeletingName="ST_CheckRowDeleting" msprop:Generator_RowChangingName="ST_CheckRowChanging" msprop:Generator_RowEvHandlerName="ST_CheckRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_CheckRowDeleted" msprop:Generator_RowClassName="ST_CheckRow" msprop:Generator_UserTableName="ST_Check" msprop:Generator_RowEvArgName="ST_CheckRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="DtEvent" msprop:Generator_ColumnVarNameInTable="columnDtEvent" msprop:Generator_ColumnPropNameInRow="DtEvent" msprop:Generator_ColumnPropNameInTable="DtEventColumn" msprop:Generator_UserColumnName="DtEvent" type="xs:dateTime" />
@@ -800,7 +826,7 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ST_AnagGruppi" msprop:Generator_TableClassName="ST_AnagGruppiDataTable" msprop:Generator_TableVarName="tableST_AnagGruppi" msprop:Generator_TablePropName="ST_AnagGruppi" msprop:Generator_RowDeletingName="ST_AnagGruppiRowDeleting" msprop:Generator_RowChangingName="ST_AnagGruppiRowChanging" msprop:Generator_RowEvHandlerName="ST_AnagGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_AnagGruppiRowDeleted" msprop:Generator_UserTableName="ST_AnagGruppi" msprop:Generator_RowChangedName="ST_AnagGruppiRowChanged" msprop:Generator_RowEvArgName="ST_AnagGruppiRowChangeEvent" msprop:Generator_RowClassName="ST_AnagGruppiRow">
<xs:element name="ST_AnagGruppi" msprop:Generator_TableClassName="ST_AnagGruppiDataTable" msprop:Generator_TableVarName="tableST_AnagGruppi" msprop:Generator_RowChangedName="ST_AnagGruppiRowChanged" msprop:Generator_TablePropName="ST_AnagGruppi" msprop:Generator_RowDeletingName="ST_AnagGruppiRowDeleting" msprop:Generator_RowChangingName="ST_AnagGruppiRowChanging" msprop:Generator_RowEvHandlerName="ST_AnagGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_AnagGruppiRowDeleted" msprop:Generator_RowClassName="ST_AnagGruppiRow" msprop:Generator_UserTableName="ST_AnagGruppi" msprop:Generator_RowEvArgName="ST_AnagGruppiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodGruppo" msprop:Generator_ColumnVarNameInTable="columnCodGruppo" msprop:Generator_ColumnPropNameInRow="CodGruppo" msprop:Generator_ColumnPropNameInTable="CodGruppoColumn" msprop:Generator_UserColumnName="CodGruppo">
@@ -828,7 +854,7 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ST_AnagTipi" msprop:Generator_TableClassName="ST_AnagTipiDataTable" msprop:Generator_TableVarName="tableST_AnagTipi" msprop:Generator_TablePropName="ST_AnagTipi" msprop:Generator_RowDeletingName="ST_AnagTipiRowDeleting" msprop:Generator_RowChangingName="ST_AnagTipiRowChanging" msprop:Generator_RowEvHandlerName="ST_AnagTipiRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_AnagTipiRowDeleted" msprop:Generator_UserTableName="ST_AnagTipi" msprop:Generator_RowChangedName="ST_AnagTipiRowChanged" msprop:Generator_RowEvArgName="ST_AnagTipiRowChangeEvent" msprop:Generator_RowClassName="ST_AnagTipiRow">
<xs:element name="ST_AnagTipi" msprop:Generator_TableClassName="ST_AnagTipiDataTable" msprop:Generator_TableVarName="tableST_AnagTipi" msprop:Generator_RowChangedName="ST_AnagTipiRowChanged" msprop:Generator_TablePropName="ST_AnagTipi" msprop:Generator_RowDeletingName="ST_AnagTipiRowDeleting" msprop:Generator_RowChangingName="ST_AnagTipiRowChanging" msprop:Generator_RowEvHandlerName="ST_AnagTipiRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_AnagTipiRowDeleted" msprop:Generator_RowClassName="ST_AnagTipiRow" msprop:Generator_UserTableName="ST_AnagTipi" msprop:Generator_RowEvArgName="ST_AnagTipiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodTipo" msprop:Generator_ColumnVarNameInTable="columnCodTipo" msprop:Generator_ColumnPropNameInRow="CodTipo" msprop:Generator_ColumnPropNameInTable="CodTipoColumn" msprop:Generator_UserColumnName="CodTipo">
@@ -848,7 +874,7 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ST_Template" msprop:Generator_TableClassName="ST_TemplateDataTable" msprop:Generator_TableVarName="tableST_Template" msprop:Generator_TablePropName="ST_Template" msprop:Generator_RowDeletingName="ST_TemplateRowDeleting" msprop:Generator_RowChangingName="ST_TemplateRowChanging" msprop:Generator_RowEvHandlerName="ST_TemplateRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_TemplateRowDeleted" msprop:Generator_UserTableName="ST_Template" msprop:Generator_RowChangedName="ST_TemplateRowChanged" msprop:Generator_RowEvArgName="ST_TemplateRowChangeEvent" msprop:Generator_RowClassName="ST_TemplateRow">
<xs:element name="ST_Template" msprop:Generator_TableClassName="ST_TemplateDataTable" msprop:Generator_TableVarName="tableST_Template" msprop:Generator_RowChangedName="ST_TemplateRowChanged" msprop:Generator_TablePropName="ST_Template" msprop:Generator_RowDeletingName="ST_TemplateRowDeleting" msprop:Generator_RowChangingName="ST_TemplateRowChanging" msprop:Generator_RowEvHandlerName="ST_TemplateRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_TemplateRowDeleted" msprop:Generator_RowClassName="ST_TemplateRow" msprop:Generator_UserTableName="ST_Template" msprop:Generator_RowEvArgName="ST_TemplateRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodTempl" msprop:Generator_ColumnVarNameInTable="columnCodTempl" msprop:Generator_ColumnPropNameInRow="CodTempl" msprop:Generator_ColumnPropNameInTable="CodTemplColumn" msprop:Generator_UserColumnName="CodTempl">
@@ -868,7 +894,7 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ST_TemplateRows" msprop:Generator_TableClassName="ST_TemplateRowsDataTable" msprop:Generator_TableVarName="tableST_TemplateRows" msprop:Generator_TablePropName="ST_TemplateRows" msprop:Generator_RowDeletingName="ST_TemplateRowsRowDeleting" msprop:Generator_RowChangingName="ST_TemplateRowsRowChanging" msprop:Generator_RowEvHandlerName="ST_TemplateRowsRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_TemplateRowsRowDeleted" msprop:Generator_UserTableName="ST_TemplateRows" msprop:Generator_RowChangedName="ST_TemplateRowsRowChanged" msprop:Generator_RowEvArgName="ST_TemplateRowsRowChangeEvent" msprop:Generator_RowClassName="ST_TemplateRowsRow">
<xs:element name="ST_TemplateRows" msprop:Generator_TableClassName="ST_TemplateRowsDataTable" msprop:Generator_TableVarName="tableST_TemplateRows" msprop:Generator_RowChangedName="ST_TemplateRowsRowChanged" msprop:Generator_TablePropName="ST_TemplateRows" msprop:Generator_RowDeletingName="ST_TemplateRowsRowDeleting" msprop:Generator_RowChangingName="ST_TemplateRowsRowChanging" msprop:Generator_RowEvHandlerName="ST_TemplateRowsRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_TemplateRowsRowDeleted" msprop:Generator_RowClassName="ST_TemplateRowsRow" msprop:Generator_UserTableName="ST_TemplateRows" msprop:Generator_RowEvArgName="ST_TemplateRowsRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodTempl" msprop:Generator_ColumnVarNameInTable="columnCodTempl" msprop:Generator_ColumnPropNameInRow="CodTempl" msprop:Generator_ColumnPropNameInTable="CodTemplColumn" msprop:Generator_UserColumnName="CodTempl">
@@ -967,11 +993,11 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_ST_ActualRows_ST_Actual" msdata:parent="ST_Actual" msdata:child="ST_ActualRow" msdata:parentkey="IdxST" msdata:childkey="IdxST" msprop:Generator_UserChildTable="ST_ActualRow" msprop:Generator_ChildPropName="GetST_ActualRowRows" msprop:Generator_UserRelationName="FK_ST_ActualRows_ST_Actual" msprop:Generator_ParentPropName="ST_ActualRow" msprop:Generator_RelationVarName="relationFK_ST_ActualRows_ST_Actual" msprop:Generator_UserParentTable="ST_Actual" />
<msdata:Relationship name="FK_ST_TemplateRows_ST_AnagGruppi" msdata:parent="ST_AnagGruppi" msdata:child="ST_TemplateRows" msdata:parentkey="CodGruppo" msdata:childkey="CodGruppo" msprop:Generator_UserChildTable="ST_TemplateRows" msprop:Generator_ChildPropName="GetST_TemplateRowsRows" msprop:Generator_UserRelationName="FK_ST_TemplateRows_ST_AnagGruppi" msprop:Generator_ParentPropName="ST_AnagGruppiRow" msprop:Generator_RelationVarName="relationFK_ST_TemplateRows_ST_AnagGruppi" msprop:Generator_UserParentTable="ST_AnagGruppi" />
<msdata:Relationship name="FK_ST_TemplateRows_ST_AnagTipi1" msdata:parent="ST_AnagTipi" msdata:child="ST_TemplateRows" msdata:parentkey="CodTipo" msdata:childkey="CodTipo" msprop:Generator_UserChildTable="ST_TemplateRows" msprop:Generator_ChildPropName="GetST_TemplateRowsRows" msprop:Generator_UserRelationName="FK_ST_TemplateRows_ST_AnagTipi1" msprop:Generator_ParentPropName="ST_AnagTipiRow" msprop:Generator_RelationVarName="relationFK_ST_TemplateRows_ST_AnagTipi1" msprop:Generator_UserParentTable="ST_AnagTipi" />
<msdata:Relationship name="FK_ST_TemplateRows_ST_Template" msdata:parent="ST_Template" msdata:child="ST_TemplateRows" msdata:parentkey="CodTempl" msdata:childkey="CodTempl" msprop:Generator_UserChildTable="ST_TemplateRows" msprop:Generator_ChildPropName="GetST_TemplateRowsRows" msprop:Generator_UserRelationName="FK_ST_TemplateRows_ST_Template" msprop:Generator_ParentPropName="ST_TemplateRow" msprop:Generator_RelationVarName="relationFK_ST_TemplateRows_ST_Template" msprop:Generator_UserParentTable="ST_Template" />
<msdata:Relationship name="ST_Template_ST_Actual" msdata:parent="ST_Template" msdata:child="ST_Actual" msdata:parentkey="CodTempl" msdata:childkey="CodTempl" msprop:Generator_UserChildTable="ST_Actual" msprop:Generator_ChildPropName="GetST_ActualRows" msprop:Generator_UserRelationName="ST_Template_ST_Actual" msprop:Generator_RelationVarName="relationST_Template_ST_Actual" msprop:Generator_UserParentTable="ST_Template" msprop:Generator_ParentPropName="ST_TemplateRow" />
<msdata:Relationship name="FK_ST_ActualRows_ST_Actual" msdata:parent="ST_Actual" msdata:child="ST_ActualRow" msdata:parentkey="IdxST" msdata:childkey="IdxST" msprop:Generator_UserChildTable="ST_ActualRow" msprop:Generator_ChildPropName="GetST_ActualRowRows" msprop:Generator_UserRelationName="FK_ST_ActualRows_ST_Actual" msprop:Generator_RelationVarName="relationFK_ST_ActualRows_ST_Actual" msprop:Generator_UserParentTable="ST_Actual" msprop:Generator_ParentPropName="ST_ActualRow" />
<msdata:Relationship name="FK_ST_TemplateRows_ST_AnagGruppi" msdata:parent="ST_AnagGruppi" msdata:child="ST_TemplateRows" msdata:parentkey="CodGruppo" msdata:childkey="CodGruppo" msprop:Generator_UserChildTable="ST_TemplateRows" msprop:Generator_ChildPropName="GetST_TemplateRowsRows" msprop:Generator_UserRelationName="FK_ST_TemplateRows_ST_AnagGruppi" msprop:Generator_RelationVarName="relationFK_ST_TemplateRows_ST_AnagGruppi" msprop:Generator_UserParentTable="ST_AnagGruppi" msprop:Generator_ParentPropName="ST_AnagGruppiRow" />
<msdata:Relationship name="FK_ST_TemplateRows_ST_AnagTipi1" msdata:parent="ST_AnagTipi" msdata:child="ST_TemplateRows" msdata:parentkey="CodTipo" msdata:childkey="CodTipo" msprop:Generator_UserChildTable="ST_TemplateRows" msprop:Generator_ChildPropName="GetST_TemplateRowsRows" msprop:Generator_UserRelationName="FK_ST_TemplateRows_ST_AnagTipi1" msprop:Generator_RelationVarName="relationFK_ST_TemplateRows_ST_AnagTipi1" msprop:Generator_UserParentTable="ST_AnagTipi" msprop:Generator_ParentPropName="ST_AnagTipiRow" />
<msdata:Relationship name="FK_ST_TemplateRows_ST_Template" msdata:parent="ST_Template" msdata:child="ST_TemplateRows" msdata:parentkey="CodTempl" msdata:childkey="CodTempl" msprop:Generator_UserChildTable="ST_TemplateRows" msprop:Generator_ChildPropName="GetST_TemplateRowsRows" msprop:Generator_UserRelationName="FK_ST_TemplateRows_ST_Template" msprop:Generator_RelationVarName="relationFK_ST_TemplateRows_ST_Template" msprop:Generator_UserParentTable="ST_Template" msprop:Generator_ParentPropName="ST_TemplateRow" />
<msdata:Relationship name="ST_Template_ST_Actual" msdata:parent="ST_Template" msdata:child="ST_Actual" msdata:parentkey="CodTempl" msdata:childkey="CodTempl" msprop:Generator_UserChildTable="ST_Actual" msprop:Generator_ChildPropName="GetST_ActualRows" msprop:Generator_UserRelationName="ST_Template_ST_Actual" msprop:Generator_ParentPropName="ST_TemplateRow" msprop:Generator_RelationVarName="relationST_Template_ST_Actual" msprop:Generator_UserParentTable="ST_Template" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+8 -8
View File
@@ -4,9 +4,9 @@
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="150" 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="77" ViewPortY="3" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:ST_Actual" ZOrder="1" X="351" Y="438" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:ST_Actual" ZOrder="1" X="353" Y="398" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:ST_ActualRow" ZOrder="2" X="368" Y="805" Height="440" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="275" />
<Shape ID="DesignTable:ST_Check" ZOrder="4" X="776" Y="782" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:ST_AnagGruppi" ZOrder="11" X="1137" Y="199" Height="153" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
@@ -18,11 +18,11 @@
<Connector ID="DesignRelation:FK_ST_ActualRows_ST_Actual" ZOrder="12" LineWidth="11">
<RoutePoints>
<Point>
<X>452</X>
<Y>743</Y>
<X>454</X>
<Y>760</Y>
</Point>
<Point>
<X>452</X>
<X>454</X>
<Y>805</Y>
</Point>
</RoutePoints>
@@ -71,11 +71,11 @@
<RoutePoints>
<Point>
<X>727</X>
<Y>547</Y>
<Y>566</Y>
</Point>
<Point>
<X>651</X>
<Y>547</Y>
<X>653</X>
<Y>566</Y>
</Point>
</RoutePoints>
</Connector>