Merge branch 'develop'

This commit is contained in:
Samuele E. Locatelli
2020-02-18 17:23:20 +01:00
3 changed files with 216 additions and 175 deletions
+177 -142
View File
@@ -349,25 +349,23 @@ namespace AppData {
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class stp_prt_StackLabelDataTable : global::System.Data.TypedTableBase<stp_prt_StackLabelRow> {
private global::System.Data.DataColumn columnSheetID;
private global::System.Data.DataColumn columnStackID;
private global::System.Data.DataColumn columnStackIndex;
private global::System.Data.DataColumn columnSheetIndex;
private global::System.Data.DataColumn columnPrepared;
private global::System.Data.DataColumn columnMatID;
private global::System.Data.DataColumn columnDueDate;
private global::System.Data.DataColumn columnStackDtmx;
private global::System.Data.DataColumn columnSheetIndexMax;
private global::System.Data.DataColumn columnMatExtCode;
private global::System.Data.DataColumn columnMatDesc;
private global::System.Data.DataColumn columnStackDtmx;
private global::System.Data.DataColumn columnSheetSequ;
private global::System.Data.DataColumn columnPrepared;
private global::System.Data.DataColumn columnDueDate;
private global::System.Data.DataColumn columnSheetTot;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
@@ -402,22 +400,6 @@ namespace AppData {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn SheetIDColumn {
get {
return this.columnSheetID;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn StackIDColumn {
get {
return this.columnStackID;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn StackIndexColumn {
@@ -428,17 +410,33 @@ namespace AppData {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn SheetIndexColumn {
public global::System.Data.DataColumn PreparedColumn {
get {
return this.columnSheetIndex;
return this.columnPrepared;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn MatIDColumn {
public global::System.Data.DataColumn DueDateColumn {
get {
return this.columnMatID;
return this.columnDueDate;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn StackDtmxColumn {
get {
return this.columnStackDtmx;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn SheetIndexMaxColumn {
get {
return this.columnSheetIndexMax;
}
}
@@ -460,25 +458,17 @@ namespace AppData {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn StackDtmxColumn {
public global::System.Data.DataColumn SheetSequColumn {
get {
return this.columnStackDtmx;
return this.columnSheetSequ;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn PreparedColumn {
public global::System.Data.DataColumn SheetTotColumn {
get {
return this.columnPrepared;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn DueDateColumn {
get {
return this.columnDueDate;
return this.columnSheetTot;
}
}
@@ -519,31 +509,23 @@ namespace AppData {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public stp_prt_StackLabelRow Addstp_prt_StackLabelRow(int SheetID, int StackID, int StackIndex, int SheetIndex, int MatID, int MatExtCode, string MatDesc, string StackDtmx, System.DateTime Prepared, System.DateTime DueDate) {
public stp_prt_StackLabelRow Addstp_prt_StackLabelRow(int StackIndex, System.DateTime Prepared, System.DateTime DueDate, string StackDtmx, int SheetIndexMax, int MatExtCode, string MatDesc, string SheetSequ, string SheetTot) {
stp_prt_StackLabelRow rowstp_prt_StackLabelRow = ((stp_prt_StackLabelRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
SheetID,
StackID,
StackIndex,
SheetIndex,
MatID,
Prepared,
DueDate,
StackDtmx,
SheetIndexMax,
MatExtCode,
MatDesc,
StackDtmx,
Prepared,
DueDate};
SheetSequ,
SheetTot};
rowstp_prt_StackLabelRow.ItemArray = columnValuesArray;
this.Rows.Add(rowstp_prt_StackLabelRow);
return rowstp_prt_StackLabelRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public stp_prt_StackLabelRow FindBySheetID(int SheetID) {
return ((stp_prt_StackLabelRow)(this.Rows.Find(new object[] {
SheetID})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public override global::System.Data.DataTable Clone() {
@@ -561,55 +543,51 @@ namespace AppData {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal void InitVars() {
this.columnSheetID = base.Columns["SheetID"];
this.columnStackID = base.Columns["StackID"];
this.columnStackIndex = base.Columns["StackIndex"];
this.columnSheetIndex = base.Columns["SheetIndex"];
this.columnMatID = base.Columns["MatID"];
this.columnMatExtCode = base.Columns["MatExtCode"];
this.columnMatDesc = base.Columns["MatDesc"];
this.columnStackDtmx = base.Columns["StackDtmx"];
this.columnPrepared = base.Columns["Prepared"];
this.columnDueDate = base.Columns["DueDate"];
this.columnStackDtmx = base.Columns["StackDtmx"];
this.columnSheetIndexMax = base.Columns["SheetIndexMax"];
this.columnMatExtCode = base.Columns["MatExtCode"];
this.columnMatDesc = base.Columns["MatDesc"];
this.columnSheetSequ = base.Columns["SheetSequ"];
this.columnSheetTot = base.Columns["SheetTot"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitClass() {
this.columnSheetID = new global::System.Data.DataColumn("SheetID", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSheetID);
this.columnStackID = new global::System.Data.DataColumn("StackID", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStackID);
this.columnStackIndex = new global::System.Data.DataColumn("StackIndex", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStackIndex);
this.columnSheetIndex = new global::System.Data.DataColumn("SheetIndex", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSheetIndex);
this.columnMatID = new global::System.Data.DataColumn("MatID", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMatID);
this.columnMatExtCode = new global::System.Data.DataColumn("MatExtCode", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMatExtCode);
this.columnMatDesc = new global::System.Data.DataColumn("MatDesc", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMatDesc);
this.columnStackDtmx = new global::System.Data.DataColumn("StackDtmx", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStackDtmx);
this.columnPrepared = new global::System.Data.DataColumn("Prepared", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPrepared);
this.columnDueDate = new global::System.Data.DataColumn("DueDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDueDate);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnSheetID}, true));
this.columnSheetID.AllowDBNull = false;
this.columnSheetID.Unique = true;
this.columnStackID.AllowDBNull = false;
this.columnStackDtmx = new global::System.Data.DataColumn("StackDtmx", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStackDtmx);
this.columnSheetIndexMax = new global::System.Data.DataColumn("SheetIndexMax", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSheetIndexMax);
this.columnMatExtCode = new global::System.Data.DataColumn("MatExtCode", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMatExtCode);
this.columnMatDesc = new global::System.Data.DataColumn("MatDesc", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMatDesc);
this.columnSheetSequ = new global::System.Data.DataColumn("SheetSequ", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSheetSequ);
this.columnSheetTot = new global::System.Data.DataColumn("SheetTot", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSheetTot);
this.columnStackIndex.AllowDBNull = false;
this.columnSheetIndex.AllowDBNull = false;
this.columnMatID.AllowDBNull = false;
this.columnPrepared.ReadOnly = true;
this.columnDueDate.ReadOnly = true;
this.columnStackDtmx.ReadOnly = true;
this.columnStackDtmx.MaxLength = 50;
this.columnSheetIndexMax.ReadOnly = true;
this.columnMatExtCode.AllowDBNull = false;
this.columnMatDesc.AllowDBNull = false;
this.columnMatDesc.MaxLength = 500;
this.columnStackDtmx.ReadOnly = true;
this.columnStackDtmx.MaxLength = 10;
this.columnDueDate.AllowDBNull = false;
this.columnSheetSequ.ReadOnly = true;
this.columnSheetSequ.MaxLength = 50;
this.columnSheetTot.ReadOnly = true;
this.columnSheetTot.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1407,28 +1385,6 @@ namespace AppData {
this.tablestp_prt_StackLabel = ((stp_prt_StackLabelDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int SheetID {
get {
return ((int)(this[this.tablestp_prt_StackLabel.SheetIDColumn]));
}
set {
this[this.tablestp_prt_StackLabel.SheetIDColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int StackID {
get {
return ((int)(this[this.tablestp_prt_StackLabel.StackIDColumn]));
}
set {
this[this.tablestp_prt_StackLabel.StackIDColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int StackIndex {
@@ -1442,23 +1398,66 @@ namespace AppData {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int SheetIndex {
public System.DateTime Prepared {
get {
return ((int)(this[this.tablestp_prt_StackLabel.SheetIndexColumn]));
try {
return ((global::System.DateTime)(this[this.tablestp_prt_StackLabel.PreparedColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Prepared\' nella tabella \'stp_prt_StackLabel\' è DBNull.", e);
}
}
set {
this[this.tablestp_prt_StackLabel.SheetIndexColumn] = value;
this[this.tablestp_prt_StackLabel.PreparedColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int MatID {
public System.DateTime DueDate {
get {
return ((int)(this[this.tablestp_prt_StackLabel.MatIDColumn]));
try {
return ((global::System.DateTime)(this[this.tablestp_prt_StackLabel.DueDateColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DueDate\' nella tabella \'stp_prt_StackLabel\' è DBNull.", e);
}
}
set {
this[this.tablestp_prt_StackLabel.MatIDColumn] = value;
this[this.tablestp_prt_StackLabel.DueDateColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string StackDtmx {
get {
try {
return ((string)(this[this.tablestp_prt_StackLabel.StackDtmxColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'StackDtmx\' nella tabella \'stp_prt_StackLabel\' è DBNull.", e);
}
}
set {
this[this.tablestp_prt_StackLabel.StackDtmxColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int SheetIndexMax {
get {
try {
return ((int)(this[this.tablestp_prt_StackLabel.SheetIndexMaxColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'SheetIndexMax\' nella tabella \'stp_prt_StackLabel\' è DBNu" +
"ll.", e);
}
}
set {
this[this.tablestp_prt_StackLabel.SheetIndexMaxColumn] = value;
}
}
@@ -1486,45 +1485,58 @@ namespace AppData {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string StackDtmx {
public string SheetSequ {
get {
try {
return ((string)(this[this.tablestp_prt_StackLabel.StackDtmxColumn]));
return ((string)(this[this.tablestp_prt_StackLabel.SheetSequColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'StackDtmx\' nella tabella \'stp_prt_StackLabel\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("Il valore della colonna \'SheetSequ\' nella tabella \'stp_prt_StackLabel\' è DBNull.", e);
}
}
set {
this[this.tablestp_prt_StackLabel.StackDtmxColumn] = value;
this[this.tablestp_prt_StackLabel.SheetSequColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public System.DateTime Prepared {
public string SheetTot {
get {
try {
return ((global::System.DateTime)(this[this.tablestp_prt_StackLabel.PreparedColumn]));
return ((string)(this[this.tablestp_prt_StackLabel.SheetTotColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Prepared\' nella tabella \'stp_prt_StackLabel\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("Il valore della colonna \'SheetTot\' nella tabella \'stp_prt_StackLabel\' è DBNull.", e);
}
}
set {
this[this.tablestp_prt_StackLabel.PreparedColumn] = value;
this[this.tablestp_prt_StackLabel.SheetTotColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public System.DateTime DueDate {
get {
return ((global::System.DateTime)(this[this.tablestp_prt_StackLabel.DueDateColumn]));
}
set {
this[this.tablestp_prt_StackLabel.DueDateColumn] = value;
}
public bool IsPreparedNull() {
return this.IsNull(this.tablestp_prt_StackLabel.PreparedColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetPreparedNull() {
this[this.tablestp_prt_StackLabel.PreparedColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsDueDateNull() {
return this.IsNull(this.tablestp_prt_StackLabel.DueDateColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetDueDateNull() {
this[this.tablestp_prt_StackLabel.DueDateColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1541,14 +1553,38 @@ namespace AppData {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsPreparedNull() {
return this.IsNull(this.tablestp_prt_StackLabel.PreparedColumn);
public bool IsSheetIndexMaxNull() {
return this.IsNull(this.tablestp_prt_StackLabel.SheetIndexMaxColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetPreparedNull() {
this[this.tablestp_prt_StackLabel.PreparedColumn] = global::System.Convert.DBNull;
public void SetSheetIndexMaxNull() {
this[this.tablestp_prt_StackLabel.SheetIndexMaxColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsSheetSequNull() {
return this.IsNull(this.tablestp_prt_StackLabel.SheetSequColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetSheetSequNull() {
this[this.tablestp_prt_StackLabel.SheetSequColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsSheetTotNull() {
return this.IsNull(this.tablestp_prt_StackLabel.SheetTotColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetSheetTotNull() {
this[this.tablestp_prt_StackLabel.SheetTotColumn] = global::System.Convert.DBNull;
}
}
@@ -1998,16 +2034,15 @@ namespace AppData.DS_ReportTableAdapters {
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "stp_prt_StackLabel";
tableMapping.ColumnMappings.Add("SheetID", "SheetID");
tableMapping.ColumnMappings.Add("StackID", "StackID");
tableMapping.ColumnMappings.Add("StackIndex", "StackIndex");
tableMapping.ColumnMappings.Add("SheetIndex", "SheetIndex");
tableMapping.ColumnMappings.Add("MatID", "MatID");
tableMapping.ColumnMappings.Add("MatExtCode", "MatExtCode");
tableMapping.ColumnMappings.Add("MatDesc", "MatDesc");
tableMapping.ColumnMappings.Add("StackDtmx", "StackDtmx");
tableMapping.ColumnMappings.Add("Prepared", "Prepared");
tableMapping.ColumnMappings.Add("DueDate", "DueDate");
tableMapping.ColumnMappings.Add("StackDtmx", "StackDtmx");
tableMapping.ColumnMappings.Add("SheetIndexMax", "SheetIndexMax");
tableMapping.ColumnMappings.Add("MatExtCode", "MatExtCode");
tableMapping.ColumnMappings.Add("MatDesc", "MatDesc");
tableMapping.ColumnMappings.Add("SheetSequ", "SheetSequ");
tableMapping.ColumnMappings.Add("SheetTot", "SheetTot");
this._adapter.TableMappings.Add(tableMapping);
}
+29 -23
View File
@@ -9,7 +9,7 @@
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="stp_prt_StackLabelTableAdapter" GeneratorDataComponentClassName="stp_prt_StackLabelTableAdapter" Name="stp_prt_StackLabel" UserDataComponentName="stp_prt_StackLabelTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.prt.stp_prt_StackLabel" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.prt.stp_prt_StackLabel" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>prt.stp_prt_StackLabel</CommandText>
@@ -22,16 +22,15 @@
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="SheetID" DataSetColumn="SheetID" />
<Mapping SourceColumn="StackID" DataSetColumn="StackID" />
<Mapping SourceColumn="StackIndex" DataSetColumn="StackIndex" />
<Mapping SourceColumn="SheetIndex" DataSetColumn="SheetIndex" />
<Mapping SourceColumn="MatID" DataSetColumn="MatID" />
<Mapping SourceColumn="MatExtCode" DataSetColumn="MatExtCode" />
<Mapping SourceColumn="MatDesc" DataSetColumn="MatDesc" />
<Mapping SourceColumn="StackDtmx" DataSetColumn="StackDtmx" />
<Mapping SourceColumn="Prepared" DataSetColumn="Prepared" />
<Mapping SourceColumn="DueDate" DataSetColumn="DueDate" />
<Mapping SourceColumn="StackDtmx" DataSetColumn="StackDtmx" />
<Mapping SourceColumn="SheetIndexMax" DataSetColumn="SheetIndexMax" />
<Mapping SourceColumn="MatExtCode" DataSetColumn="MatExtCode" />
<Mapping SourceColumn="MatDesc" DataSetColumn="MatDesc" />
<Mapping SourceColumn="SheetSequ" DataSetColumn="SheetSequ" />
<Mapping SourceColumn="SheetTot" DataSetColumn="SheetTot" />
</Mappings>
<Sources />
</TableAdapter>
@@ -294,14 +293,20 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione
<xs:element name="DS_Report" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Report" msprop:Generator_UserDSName="DS_Report">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="stp_prt_StackLabel" msprop:Generator_TableClassName="stp_prt_StackLabelDataTable" msprop:Generator_TableVarName="tablestp_prt_StackLabel" msprop:Generator_TablePropName="stp_prt_StackLabel" msprop:Generator_RowDeletingName="stp_prt_StackLabelRowDeleting" msprop:Generator_RowChangingName="stp_prt_StackLabelRowChanging" msprop:Generator_RowEvHandlerName="stp_prt_StackLabelRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_prt_StackLabelRowDeleted" msprop:Generator_UserTableName="stp_prt_StackLabel" msprop:Generator_RowChangedName="stp_prt_StackLabelRowChanged" msprop:Generator_RowEvArgName="stp_prt_StackLabelRowChangeEvent" msprop:Generator_RowClassName="stp_prt_StackLabelRow">
<xs:element name="stp_prt_StackLabel" msprop:Generator_TableClassName="stp_prt_StackLabelDataTable" msprop:Generator_TableVarName="tablestp_prt_StackLabel" msprop:Generator_RowChangedName="stp_prt_StackLabelRowChanged" msprop:Generator_TablePropName="stp_prt_StackLabel" msprop:Generator_RowDeletingName="stp_prt_StackLabelRowDeleting" msprop:Generator_RowChangingName="stp_prt_StackLabelRowChanging" msprop:Generator_RowEvHandlerName="stp_prt_StackLabelRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_prt_StackLabelRowDeleted" msprop:Generator_RowClassName="stp_prt_StackLabelRow" msprop:Generator_UserTableName="stp_prt_StackLabel" msprop:Generator_RowEvArgName="stp_prt_StackLabelRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="SheetID" msprop:Generator_ColumnVarNameInTable="columnSheetID" msprop:Generator_ColumnPropNameInRow="SheetID" msprop:Generator_ColumnPropNameInTable="SheetIDColumn" msprop:Generator_UserColumnName="SheetID" type="xs:int" />
<xs:element name="StackID" msprop:Generator_ColumnVarNameInTable="columnStackID" msprop:Generator_ColumnPropNameInRow="StackID" msprop:Generator_ColumnPropNameInTable="StackIDColumn" msprop:Generator_UserColumnName="StackID" type="xs:int" />
<xs:element name="StackIndex" msprop:Generator_ColumnVarNameInTable="columnStackIndex" msprop:Generator_ColumnPropNameInRow="StackIndex" msprop:Generator_ColumnPropNameInTable="StackIndexColumn" msprop:Generator_UserColumnName="StackIndex" type="xs:int" />
<xs:element name="SheetIndex" msprop:Generator_ColumnVarNameInTable="columnSheetIndex" msprop:Generator_ColumnPropNameInRow="SheetIndex" msprop:Generator_ColumnPropNameInTable="SheetIndexColumn" msprop:Generator_UserColumnName="SheetIndex" type="xs:int" />
<xs:element name="MatID" msprop:Generator_ColumnVarNameInTable="columnMatID" msprop:Generator_ColumnPropNameInRow="MatID" msprop:Generator_ColumnPropNameInTable="MatIDColumn" msprop:Generator_UserColumnName="MatID" type="xs:int" />
<xs:element name="Prepared" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnPrepared" msprop:Generator_ColumnPropNameInRow="Prepared" msprop:Generator_ColumnPropNameInTable="PreparedColumn" msprop:Generator_UserColumnName="Prepared" type="xs:dateTime" minOccurs="0" />
<xs:element name="DueDate" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDueDate" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" msprop:Generator_UserColumnName="DueDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="StackDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnStackDtmx" msprop:Generator_ColumnPropNameInRow="StackDtmx" msprop:Generator_ColumnPropNameInTable="StackDtmxColumn" msprop:Generator_UserColumnName="StackDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SheetIndexMax" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnSheetIndexMax" msprop:Generator_ColumnPropNameInRow="SheetIndexMax" msprop:Generator_ColumnPropNameInTable="SheetIndexMaxColumn" msprop:Generator_UserColumnName="SheetIndexMax" type="xs:int" minOccurs="0" />
<xs:element name="MatExtCode" msprop:Generator_ColumnVarNameInTable="columnMatExtCode" msprop:Generator_ColumnPropNameInRow="MatExtCode" msprop:Generator_ColumnPropNameInTable="MatExtCodeColumn" msprop:Generator_UserColumnName="MatExtCode" type="xs:int" />
<xs:element name="MatDesc" msprop:Generator_ColumnVarNameInTable="columnMatDesc" msprop:Generator_ColumnPropNameInRow="MatDesc" msprop:Generator_ColumnPropNameInTable="MatDescColumn" msprop:Generator_UserColumnName="MatDesc">
<xs:simpleType>
@@ -310,19 +315,24 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="StackDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnStackDtmx" msprop:Generator_ColumnPropNameInRow="StackDtmx" msprop:Generator_ColumnPropNameInTable="StackDtmxColumn" msprop:Generator_UserColumnName="StackDtmx" minOccurs="0">
<xs:element name="SheetSequ" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnSheetSequ" msprop:Generator_ColumnPropNameInRow="SheetSequ" msprop:Generator_ColumnPropNameInTable="SheetSequColumn" msprop:Generator_UserColumnName="SheetSequ" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SheetTot" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnSheetTot" msprop:Generator_ColumnPropNameInRow="SheetTot" msprop:Generator_ColumnPropNameInTable="SheetTotColumn" msprop:Generator_UserColumnName="SheetTot" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Prepared" msprop:Generator_ColumnVarNameInTable="columnPrepared" msprop:Generator_ColumnPropNameInRow="Prepared" msprop:Generator_ColumnPropNameInTable="PreparedColumn" msprop:Generator_UserColumnName="Prepared" type="xs:dateTime" minOccurs="0" />
<xs:element name="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" msprop:Generator_UserColumnName="DueDate" type="xs:dateTime" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PrintJobQueue" msprop:Generator_TableClassName="PrintJobQueueDataTable" msprop:Generator_TableVarName="tablePrintJobQueue" msprop:Generator_RowChangedName="PrintJobQueueRowChanged" msprop:Generator_TablePropName="PrintJobQueue" msprop:Generator_RowDeletingName="PrintJobQueueRowDeleting" msprop:Generator_RowChangingName="PrintJobQueueRowChanging" msprop:Generator_RowEvHandlerName="PrintJobQueueRowChangeEventHandler" msprop:Generator_RowDeletedName="PrintJobQueueRowDeleted" msprop:Generator_RowClassName="PrintJobQueueRow" msprop:Generator_UserTableName="PrintJobQueue" msprop:Generator_RowEvArgName="PrintJobQueueRowChangeEvent">
<xs:element name="PrintJobQueue" msprop:Generator_TableClassName="PrintJobQueueDataTable" msprop:Generator_TableVarName="tablePrintJobQueue" msprop:Generator_TablePropName="PrintJobQueue" msprop:Generator_RowDeletingName="PrintJobQueueRowDeleting" msprop:Generator_RowChangingName="PrintJobQueueRowChanging" msprop:Generator_RowEvHandlerName="PrintJobQueueRowChangeEventHandler" msprop:Generator_RowDeletedName="PrintJobQueueRowDeleted" msprop:Generator_UserTableName="PrintJobQueue" msprop:Generator_RowChangedName="PrintJobQueueRowChanged" msprop:Generator_RowEvArgName="PrintJobQueueRowChangeEvent" msprop:Generator_RowClassName="PrintJobQueueRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxPrintJob" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxPrintJob" msprop:Generator_ColumnPropNameInRow="IdxPrintJob" msprop:Generator_ColumnPropNameInTable="IdxPrintJobColumn" msprop:Generator_UserColumnName="IdxPrintJob" type="xs:int" />
@@ -354,7 +364,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoPostazioni" msprop:Generator_TableClassName="ElencoPostazioniDataTable" msprop:Generator_TableVarName="tableElencoPostazioni" msprop:Generator_RowChangedName="ElencoPostazioniRowChanged" msprop:Generator_TablePropName="ElencoPostazioni" msprop:Generator_RowDeletingName="ElencoPostazioniRowDeleting" msprop:Generator_RowChangingName="ElencoPostazioniRowChanging" msprop:Generator_RowEvHandlerName="ElencoPostazioniRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoPostazioniRowDeleted" msprop:Generator_RowClassName="ElencoPostazioniRow" msprop:Generator_UserTableName="ElencoPostazioni" msprop:Generator_RowEvArgName="ElencoPostazioniRowChangeEvent">
<xs:element name="ElencoPostazioni" msprop:Generator_TableClassName="ElencoPostazioniDataTable" msprop:Generator_TableVarName="tableElencoPostazioni" msprop:Generator_TablePropName="ElencoPostazioni" msprop:Generator_RowDeletingName="ElencoPostazioniRowDeleting" msprop:Generator_RowChangingName="ElencoPostazioniRowChanging" msprop:Generator_RowEvHandlerName="ElencoPostazioniRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoPostazioniRowDeleted" msprop:Generator_UserTableName="ElencoPostazioni" msprop:Generator_RowChangedName="ElencoPostazioniRowChanged" msprop:Generator_RowEvArgName="ElencoPostazioniRowChangeEvent" msprop:Generator_RowClassName="ElencoPostazioniRow">
<xs:complexType>
<xs:sequence>
<xs:element name="codPostazione" msprop:Generator_ColumnVarNameInTable="columncodPostazione" msprop:Generator_ColumnPropNameInRow="codPostazione" msprop:Generator_ColumnPropNameInTable="codPostazioneColumn" msprop:Generator_UserColumnName="codPostazione">
@@ -384,10 +394,6 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:stp_prt_StackLabel" />
<xs:field xpath="mstns:SheetID" />
</xs:unique>
<xs:unique name="PrintJobQueue_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:PrintJobQueue" />
<xs:field xpath="mstns:IdxPrintJob" />
</xs:unique>
+10 -10
View File
@@ -267,14 +267,14 @@
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="ShitSequ">
<Textbox Name="SheetSequ">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!ShitSequ.Value</Value>
<Value>=Fields!SheetSequ.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
@@ -286,7 +286,7 @@
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ShitSequ</rd:DefaultName>
<rd:DefaultName>SheetSequ</rd:DefaultName>
<Style>
<Border>
<Style>None</Style>
@@ -301,14 +301,14 @@
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="ShitTot">
<Textbox Name="SheetTot">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!ShitTot.Value</Value>
<Value>=Fields!SheetTot.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
@@ -320,7 +320,7 @@
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ShitTot</rd:DefaultName>
<rd:DefaultName>SheetTot</rd:DefaultName>
<Style>
<Border>
<Style>None</Style>
@@ -861,16 +861,16 @@
<DataField>StackIndex</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="ShitSequ">
<DataField>ShitSequ</DataField>
<Field Name="SheetSequ">
<DataField>SheetSequ</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="StackDtmx">
<DataField>StackDtmx</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ShitTot">
<DataField>ShitTot</DataField>
<Field Name="SheetTot">
<DataField>SheetTot</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Prepared">