completata gestione copy/paste schede

This commit is contained in:
Samuele E. Locatelli
2021-01-05 12:20:09 +01:00
parent da6b36a74f
commit 36822c2a6b
9 changed files with 210 additions and 27 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=1357']) {
withEnv(['NEXT_BUILD_NUMBER=1358']) {
// 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'
+15
View File
@@ -76,6 +76,21 @@ namespace MP_ADM
#region Public Properties
/// <summary>
/// Clipboard corrente utente
/// </summary>
public string clipboard
{
get
{
return memLayer.ML.StringSessionObj("UserClipboard");
}
set
{
memLayer.ML.setSessionVal("UserClipboard", value);
}
}
/// <summary>
/// titolo pagina
/// </summary>
+11 -3
View File
@@ -4,12 +4,20 @@
<div class="card text-dark textCondens">
<div class="card-header bg-info text-light">
<div class="row">
<div class="col-6 col-md-8">
<div class="col-6">
<h4>Scheda Tecnica Articolo</h4>
</div>
<div class="col-3 col-md-2">
<div class="col-2">
<asp:LinkButton runat="server" ID="lbtPaste" CssClass="btn btn-block btn-outline-light" OnClick="lbtPaste_Click">
<i class="fa fa-clone" aria-hidden="true"></i> PASTE
</asp:LinkButton>
</div>
<div class="col-3 col-md-2">
<div class="col-2">
<asp:LinkButton runat="server" ID="lbtCopy" CssClass="btn btn-block btn-outline-light" OnClick="lbtCopy_Click">
<i class="fa fa-clone" aria-hidden="true"></i> COPY
</asp:LinkButton>
</div>
<div class="col-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>
</div>
@@ -9,6 +9,29 @@ namespace MP_ADM.WebUserControls
{
public partial class cmp_ST_preview : BaseUserControl
{
#region Protected Fields
protected string preClip = "IdxST:";
#endregion Protected Fields
#region Protected Properties
protected int clipbIdxST
{
get
{
int answ = 0;
if (!string.IsNullOrEmpty(clipboard))
{
int.TryParse(clipboard.Replace(preClip, ""), out answ);
}
return answ;
}
}
#endregion Protected Properties
#region Public Properties
public int IdxST
@@ -28,15 +51,73 @@ namespace MP_ADM.WebUserControls
#endregion Public Properties
#region Private Methods
private void checkClipboard()
{
bool showPaste = false;
// verifico ci sia qualcosa
if (!string.IsNullOrEmpty(clipboard))
{
// verifico sia tipo clipboard valida
if (clipboard.StartsWith(preClip))
{
//verifico sia intero valido
if (clipbIdxST > 0)
{
// verifico SIA una ST esistente...
var tabSTA = DataLayerObj.taSTA.getByKey(clipbIdxST);
showPaste = (tabSTA.Rows.Count > 0);
}
}
}
lbtPaste.Visible = showPaste;
}
#endregion Private Methods
#region Protected Methods
protected void lbtCopy_Click(object sender, EventArgs e)
{
// salvo il clipboard la ST corrente...
clipboard = $"{preClip}{IdxST}";
checkClipboard();
}
protected void lbtDoEdit_Click(object sender, EventArgs e)
{
raiseNewVal();
}
/// <summary>
/// Effettua paste --> duplicazione Scheda Tecnica
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtPaste_Click(object sender, EventArgs e)
{
// verifico codici...
if (clipbIdxST > 0 && IdxST > 0)
{
// se diversi...
if (clipbIdxST != IdxST)
{
// effettuo chiamata copy/paste
DataLayerObj.taSTAR.PasteAll(clipbIdxST, IdxST);
}
clipboard = "";
}
raiseReset();
}
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
clipboard = "";
}
checkClipboard();
}
#endregion Protected Methods
+18
View File
@@ -14,6 +14,24 @@ namespace MP_ADM.WebUserControls
public partial class cmp_ST_preview
{
/// <summary>
/// Controllo lbtPaste.
/// </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 lbtPaste;
/// <summary>
/// Controllo lbtCopy.
/// </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 lbtCopy;
/// <summary>
/// Controllo lbtDoEdit.
/// </summary>
@@ -63,6 +63,13 @@ namespace MP_ADM.WebUserControls
editMode = true;
}
private void Cmp_ST_preview_eh_resetSelezione(object sender, EventArgs e)
{
// resetto...
IdxST = dummyArt;
cmp_TechSheetArt.doUpdate();
}
private void Cmp_TechSheetArt_eh_nuovoValore(object sender, EventArgs e)
{
IdxST = dummyArt;
@@ -121,6 +128,7 @@ namespace MP_ADM.WebUserControls
cmp_TechSheetArt.eh_resetSelezione += Cmp_TechSheetArt_eh_resetSelezione;
cmp_TechSheetDetail.eh_nuovoValore += Cmp_TechSheetDetail_eh_nuovoValore;
cmp_ST_preview.eh_nuovoValore += Cmp_ST_preview_eh_nuovoValore;
cmp_ST_preview.eh_resetSelezione += Cmp_ST_preview_eh_resetSelezione;
}
#endregion Protected Methods
+48 -7
View File
@@ -4662,7 +4662,7 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
[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[9];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[10];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT DescGruppo, DescTipo, IdxST, Label, Oggetto, Num, CodGruppo, CodTip" +
@@ -4719,13 +4719,20 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[8].Connection = this.Connection;
this._commandCollection[8].CommandText = "dbo.stp_ST_AR_UpdateVal";
this._commandCollection[8].CommandText = "dbo.stp_ST_AR_PasteAll";
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[8].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[8].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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Label", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Oggetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Value", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Src_IdxST", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tgt_IdxST", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[9].Connection = this.Connection;
this._commandCollection[9].CommandText = "dbo.stp_ST_AR_UpdateVal";
this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[9].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[9].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[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Label", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Oggetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Value", 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()]
@@ -5280,8 +5287,42 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
[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 UpdateVal(global::System.Nullable<int> Original_IdxST, string Original_Label, global::System.Nullable<int> Original_Oggetto, string Value) {
public virtual int PasteAll(global::System.Nullable<int> Src_IdxST, global::System.Nullable<int> Tgt_IdxST) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
if ((Src_IdxST.HasValue == true)) {
command.Parameters[1].Value = ((int)(Src_IdxST.Value));
}
else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
if ((Tgt_IdxST.HasValue == true)) {
command.Parameters[2].Value = ((int)(Tgt_IdxST.Value));
}
else {
command.Parameters[2].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 UpdateVal(global::System.Nullable<int> Original_IdxST, string Original_Label, global::System.Nullable<int> Original_Oggetto, string Value) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
if ((Original_IdxST.HasValue == true)) {
command.Parameters[1].Value = ((int)(Original_IdxST.Value));
}
+27 -15
View File
@@ -32,7 +32,7 @@ FROM v_ST_Actual</CommandText>
<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">
<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="GetDataBy" UserSourceName="DeleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ST_A_DeleteQuery</CommandText>
@@ -66,7 +66,7 @@ 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">
<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="GetDataBy1" UserSourceName="InsertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ST_A_InsertQuery</CommandText>
@@ -79,7 +79,7 @@ FROM v_ST_Actual</CommandText>
</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">
<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="GetDataBy2" UserSourceName="updateValid">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ST_A_updateValid</CommandText>
@@ -271,6 +271,18 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ST_AR_PasteAll" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="PasteAll" Modifier="Public" Name="PasteAll" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="PasteAll">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ST_AR_PasteAll</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="@Src_IdxST" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Tgt_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_AR_UpdateVal" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="UpdateVal" Modifier="Public" Name="UpdateVal" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="UpdateVal">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -667,7 +679,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_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: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: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" />
@@ -713,7 +725,7 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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: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" />
@@ -786,7 +798,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_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: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: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" />
@@ -826,7 +838,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_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: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:complexType>
<xs:sequence>
<xs:element name="CodGruppo" msprop:Generator_ColumnVarNameInTable="columnCodGruppo" msprop:Generator_ColumnPropNameInRow="CodGruppo" msprop:Generator_ColumnPropNameInTable="CodGruppoColumn" msprop:Generator_UserColumnName="CodGruppo">
@@ -854,7 +866,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_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: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:complexType>
<xs:sequence>
<xs:element name="CodTipo" msprop:Generator_ColumnVarNameInTable="columnCodTipo" msprop:Generator_ColumnPropNameInRow="CodTipo" msprop:Generator_ColumnPropNameInTable="CodTipoColumn" msprop:Generator_UserColumnName="CodTipo">
@@ -874,7 +886,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_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: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:complexType>
<xs:sequence>
<xs:element name="CodTempl" msprop:Generator_ColumnVarNameInTable="columnCodTempl" msprop:Generator_ColumnPropNameInRow="CodTempl" msprop:Generator_ColumnPropNameInTable="CodTemplColumn" msprop:Generator_UserColumnName="CodTempl">
@@ -894,7 +906,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_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: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:complexType>
<xs:sequence>
<xs:element name="CodTempl" msprop:Generator_ColumnVarNameInTable="columnCodTempl" msprop:Generator_ColumnPropNameInRow="CodTempl" msprop:Generator_ColumnPropNameInTable="CodTemplColumn" msprop:Generator_UserColumnName="CodTempl">
@@ -993,11 +1005,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_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" />
<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" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+1 -1
View File
@@ -4,7 +4,7 @@
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="77" ViewPortY="3" 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="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="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" />