Files
XPS/PrintLocalReport/DS_applicazione.Designer.cs
Samuele Locatelli f53dc86e67 update reports!
2017-01-31 14:35:06 +01:00

1888 lines
89 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
#pragma warning disable 1591
namespace PrintLocalReport {
/// <summary>
///Represents a strongly typed in-memory cache of data.
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[global::System.Serializable()]
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
[global::System.Xml.Serialization.XmlRootAttribute("DS_applicazione")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
public partial class DS_applicazione : global::System.Data.DataSet {
private sp_schedaIdentDataTable tablesp_schedaIdent;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public DS_applicazione() {
this.BeginInit();
this.InitClass();
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
base.Relations.CollectionChanged += schemaChangedHandler;
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected DS_applicazione(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context, false) {
if ((this.IsBinarySerialized(info, context) == true)) {
this.InitVars(false);
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler1;
this.Relations.CollectionChanged += schemaChangedHandler1;
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
global::System.Data.DataSet ds = new global::System.Data.DataSet();
ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
if ((ds.Tables["sp_schedaIdent"] != null)) {
base.Tables.Add(new sp_schedaIdentDataTable(ds.Tables["sp_schedaIdent"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
}
this.GetSerializationData(info, context);
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public sp_schedaIdentDataTable sp_schedaIdent {
get {
return this.tablesp_schedaIdent;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.BrowsableAttribute(true)]
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
get {
return this._schemaSerializationMode;
}
set {
this._schemaSerializationMode = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public new global::System.Data.DataTableCollection Tables {
get {
return base.Tables;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public new global::System.Data.DataRelationCollection Relations {
get {
return base.Relations;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void InitializeDerivedDataSet() {
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override global::System.Data.DataSet Clone() {
DS_applicazione cln = ((DS_applicazione)(base.Clone()));
cln.InitVars();
cln.SchemaSerializationMode = this.SchemaSerializationMode;
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override bool ShouldSerializeTables() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override bool ShouldSerializeRelations() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
this.Reset();
global::System.Data.DataSet ds = new global::System.Data.DataSet();
ds.ReadXml(reader);
if ((ds.Tables["sp_schedaIdent"] != null)) {
base.Tables.Add(new sp_schedaIdentDataTable(ds.Tables["sp_schedaIdent"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.ReadXml(reader);
this.InitVars();
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
stream.Position = 0;
return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.InitVars(true);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars(bool initTable) {
this.tablesp_schedaIdent = ((sp_schedaIdentDataTable)(base.Tables["sp_schedaIdent"]));
if ((initTable == true)) {
if ((this.tablesp_schedaIdent != null)) {
this.tablesp_schedaIdent.InitVars();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.DataSetName = "DS_applicazione";
this.Prefix = "";
this.Namespace = "http://tempuri.org/DS_applicazione.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
this.tablesp_schedaIdent = new sp_schedaIdentDataTable();
base.Tables.Add(this.tablesp_schedaIdent);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializesp_schedaIdent() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
this.InitVars();
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
DS_applicazione ds = new DS_applicazione();
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
any.Namespace = ds.Namespace;
sequence.Items.Add(any);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
public delegate void sp_schedaIdentRowChangeEventHandler(object sender, sp_schedaIdentRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class sp_schedaIdentDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
private global::System.Data.DataColumn columnIdxObj;
private global::System.Data.DataColumn columnCliente;
private global::System.Data.DataColumn columnDDT;
private global::System.Data.DataColumn columnDDT_del;
private global::System.Data.DataColumn columnDataArrivo;
private global::System.Data.DataColumn columnCodProdotto;
private global::System.Data.DataColumn columnConsegnaPrevista;
private global::System.Data.DataColumn columnPeso;
private global::System.Data.DataColumn columnFosfManganese;
private global::System.Data.DataColumn columnBrunitura;
private global::System.Data.DataColumn columnFosfTeflon;
private global::System.Data.DataColumn columnSabbiatura;
private global::System.Data.DataColumn columnF1;
private global::System.Data.DataColumn columnF2;
private global::System.Data.DataColumn columnFosfZinco;
private global::System.Data.DataColumn columnTeflon;
private global::System.Data.DataColumn columnFosfPreVern;
private global::System.Data.DataColumn columnPzRoto;
private global::System.Data.DataColumn columnZinchlorex;
private global::System.Data.DataColumn columnPeekVicote;
private global::System.Data.DataColumn columnCodCli;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sp_schedaIdentDataTable() {
this.TableName = "sp_schedaIdent";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal sp_schedaIdentDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected sp_schedaIdentDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn IdxObjColumn {
get {
return this.columnIdxObj;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn ClienteColumn {
get {
return this.columnCliente;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn DDTColumn {
get {
return this.columnDDT;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn DDT_delColumn {
get {
return this.columnDDT_del;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn DataArrivoColumn {
get {
return this.columnDataArrivo;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn CodProdottoColumn {
get {
return this.columnCodProdotto;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn ConsegnaPrevistaColumn {
get {
return this.columnConsegnaPrevista;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn PesoColumn {
get {
return this.columnPeso;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn FosfManganeseColumn {
get {
return this.columnFosfManganese;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn BrunituraColumn {
get {
return this.columnBrunitura;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn FosfTeflonColumn {
get {
return this.columnFosfTeflon;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn SabbiaturaColumn {
get {
return this.columnSabbiatura;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn F1Column {
get {
return this.columnF1;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn F2Column {
get {
return this.columnF2;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn FosfZincoColumn {
get {
return this.columnFosfZinco;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn TeflonColumn {
get {
return this.columnTeflon;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn FosfPreVernColumn {
get {
return this.columnFosfPreVern;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn PzRotoColumn {
get {
return this.columnPzRoto;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn ZinchlorexColumn {
get {
return this.columnZinchlorex;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn PeekVicoteColumn {
get {
return this.columnPeekVicote;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn CodCliColumn {
get {
return this.columnCodCli;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sp_schedaIdentRow this[int index] {
get {
return ((sp_schedaIdentRow)(this.Rows[index]));
}
}
public event sp_schedaIdentRowChangeEventHandler sp_schedaIdentRowChanging;
public event sp_schedaIdentRowChangeEventHandler sp_schedaIdentRowChanged;
public event sp_schedaIdentRowChangeEventHandler sp_schedaIdentRowDeleting;
public event sp_schedaIdentRowChangeEventHandler sp_schedaIdentRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Addsp_schedaIdentRow(sp_schedaIdentRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sp_schedaIdentRow Addsp_schedaIdentRow(
string IdxObj,
string Cliente,
string DDT,
System.DateTime DDT_del,
System.DateTime DataArrivo,
string CodProdotto,
System.DateTime ConsegnaPrevista,
double Peso,
string FosfManganese,
string Brunitura,
string FosfTeflon,
string Sabbiatura,
string F1,
string F2,
string FosfZinco,
string Teflon,
string FosfPreVern,
string PzRoto,
string Zinchlorex,
string PeekVicote,
string CodCli) {
sp_schedaIdentRow rowsp_schedaIdentRow = ((sp_schedaIdentRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
IdxObj,
Cliente,
DDT,
DDT_del,
DataArrivo,
CodProdotto,
ConsegnaPrevista,
Peso,
FosfManganese,
Brunitura,
FosfTeflon,
Sabbiatura,
F1,
F2,
FosfZinco,
Teflon,
FosfPreVern,
PzRoto,
Zinchlorex,
PeekVicote,
CodCli};
rowsp_schedaIdentRow.ItemArray = columnValuesArray;
this.Rows.Add(rowsp_schedaIdentRow);
return rowsp_schedaIdentRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sp_schedaIdentRow FindByIdxObj(string IdxObj) {
return ((sp_schedaIdentRow)(this.Rows.Find(new object[] {
IdxObj})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual global::System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override global::System.Data.DataTable Clone() {
sp_schedaIdentDataTable cln = ((sp_schedaIdentDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataTable CreateInstance() {
return new sp_schedaIdentDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnIdxObj = base.Columns["IdxObj"];
this.columnCliente = base.Columns["Cliente"];
this.columnDDT = base.Columns["DDT"];
this.columnDDT_del = base.Columns["DDT_del"];
this.columnDataArrivo = base.Columns["DataArrivo"];
this.columnCodProdotto = base.Columns["CodProdotto"];
this.columnConsegnaPrevista = base.Columns["ConsegnaPrevista"];
this.columnPeso = base.Columns["Peso"];
this.columnFosfManganese = base.Columns["FosfManganese"];
this.columnBrunitura = base.Columns["Brunitura"];
this.columnFosfTeflon = base.Columns["FosfTeflon"];
this.columnSabbiatura = base.Columns["Sabbiatura"];
this.columnF1 = base.Columns["F1"];
this.columnF2 = base.Columns["F2"];
this.columnFosfZinco = base.Columns["FosfZinco"];
this.columnTeflon = base.Columns["Teflon"];
this.columnFosfPreVern = base.Columns["FosfPreVern"];
this.columnPzRoto = base.Columns["PzRoto"];
this.columnZinchlorex = base.Columns["Zinchlorex"];
this.columnPeekVicote = base.Columns["PeekVicote"];
this.columnCodCli = base.Columns["CodCli"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnIdxObj = new global::System.Data.DataColumn("IdxObj", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnIdxObj);
this.columnCliente = new global::System.Data.DataColumn("Cliente", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCliente);
this.columnDDT = new global::System.Data.DataColumn("DDT", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDDT);
this.columnDDT_del = new global::System.Data.DataColumn("DDT_del", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDDT_del);
this.columnDataArrivo = new global::System.Data.DataColumn("DataArrivo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDataArrivo);
this.columnCodProdotto = new global::System.Data.DataColumn("CodProdotto", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodProdotto);
this.columnConsegnaPrevista = new global::System.Data.DataColumn("ConsegnaPrevista", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnConsegnaPrevista);
this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(double), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPeso);
this.columnFosfManganese = new global::System.Data.DataColumn("FosfManganese", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFosfManganese);
this.columnBrunitura = new global::System.Data.DataColumn("Brunitura", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnBrunitura);
this.columnFosfTeflon = new global::System.Data.DataColumn("FosfTeflon", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFosfTeflon);
this.columnSabbiatura = new global::System.Data.DataColumn("Sabbiatura", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSabbiatura);
this.columnF1 = new global::System.Data.DataColumn("F1", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnF1);
this.columnF2 = new global::System.Data.DataColumn("F2", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnF2);
this.columnFosfZinco = new global::System.Data.DataColumn("FosfZinco", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFosfZinco);
this.columnTeflon = new global::System.Data.DataColumn("Teflon", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnTeflon);
this.columnFosfPreVern = new global::System.Data.DataColumn("FosfPreVern", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFosfPreVern);
this.columnPzRoto = new global::System.Data.DataColumn("PzRoto", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPzRoto);
this.columnZinchlorex = new global::System.Data.DataColumn("Zinchlorex", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnZinchlorex);
this.columnPeekVicote = new global::System.Data.DataColumn("PeekVicote", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPeekVicote);
this.columnCodCli = new global::System.Data.DataColumn("CodCli", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodCli);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnIdxObj}, true));
this.columnIdxObj.AllowDBNull = false;
this.columnIdxObj.Unique = true;
this.columnIdxObj.MaxLength = 50;
this.columnCliente.ReadOnly = true;
this.columnCliente.MaxLength = 50;
this.columnDDT.MaxLength = 50;
this.columnCodProdotto.ReadOnly = true;
this.columnCodProdotto.MaxLength = 50;
this.columnPeso.ReadOnly = true;
this.columnFosfManganese.ReadOnly = true;
this.columnFosfManganese.MaxLength = 1;
this.columnBrunitura.ReadOnly = true;
this.columnBrunitura.MaxLength = 1;
this.columnFosfTeflon.ReadOnly = true;
this.columnFosfTeflon.MaxLength = 1;
this.columnSabbiatura.ReadOnly = true;
this.columnSabbiatura.MaxLength = 1;
this.columnF1.ReadOnly = true;
this.columnF1.MaxLength = 1;
this.columnF2.ReadOnly = true;
this.columnF2.MaxLength = 1;
this.columnFosfZinco.ReadOnly = true;
this.columnFosfZinco.MaxLength = 1;
this.columnTeflon.ReadOnly = true;
this.columnTeflon.MaxLength = 1;
this.columnFosfPreVern.ReadOnly = true;
this.columnFosfPreVern.MaxLength = 1;
this.columnPzRoto.ReadOnly = true;
this.columnPzRoto.MaxLength = 1;
this.columnZinchlorex.ReadOnly = true;
this.columnZinchlorex.MaxLength = 1;
this.columnPeekVicote.ReadOnly = true;
this.columnPeekVicote.MaxLength = 1;
this.columnCodCli.ReadOnly = true;
this.columnCodCli.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sp_schedaIdentRow Newsp_schedaIdentRow() {
return ((sp_schedaIdentRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new sp_schedaIdentRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Type GetRowType() {
return typeof(sp_schedaIdentRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.sp_schedaIdentRowChanged != null)) {
this.sp_schedaIdentRowChanged(this, new sp_schedaIdentRowChangeEvent(((sp_schedaIdentRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.sp_schedaIdentRowChanging != null)) {
this.sp_schedaIdentRowChanging(this, new sp_schedaIdentRowChangeEvent(((sp_schedaIdentRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.sp_schedaIdentRowDeleted != null)) {
this.sp_schedaIdentRowDeleted(this, new sp_schedaIdentRowChangeEvent(((sp_schedaIdentRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.sp_schedaIdentRowDeleting != null)) {
this.sp_schedaIdentRowDeleting(this, new sp_schedaIdentRowChangeEvent(((sp_schedaIdentRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Removesp_schedaIdentRow(sp_schedaIdentRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_applicazione ds = new DS_applicazione();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "sp_schedaIdentDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class sp_schedaIdentRow : global::System.Data.DataRow {
private sp_schedaIdentDataTable tablesp_schedaIdent;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal sp_schedaIdentRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablesp_schedaIdent = ((sp_schedaIdentDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string IdxObj {
get {
return ((string)(this[this.tablesp_schedaIdent.IdxObjColumn]));
}
set {
this[this.tablesp_schedaIdent.IdxObjColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Cliente {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.ClienteColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Cliente\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.ClienteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string DDT {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.DDTColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DDT\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.DDTColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.DateTime DDT_del {
get {
try {
return ((global::System.DateTime)(this[this.tablesp_schedaIdent.DDT_delColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DDT_del\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.DDT_delColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.DateTime DataArrivo {
get {
try {
return ((global::System.DateTime)(this[this.tablesp_schedaIdent.DataArrivoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DataArrivo\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.DataArrivoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string CodProdotto {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.CodProdottoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'CodProdotto\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.CodProdottoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.DateTime ConsegnaPrevista {
get {
try {
return ((global::System.DateTime)(this[this.tablesp_schedaIdent.ConsegnaPrevistaColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'ConsegnaPrevista\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.ConsegnaPrevistaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public double Peso {
get {
try {
return ((double)(this[this.tablesp_schedaIdent.PesoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.PesoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string FosfManganese {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.FosfManganeseColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'FosfManganese\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.FosfManganeseColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Brunitura {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.BrunituraColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Brunitura\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.BrunituraColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string FosfTeflon {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.FosfTeflonColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'FosfTeflon\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.FosfTeflonColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Sabbiatura {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.SabbiaturaColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Sabbiatura\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.SabbiaturaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string F1 {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.F1Column]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'F1\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.F1Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string F2 {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.F2Column]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'F2\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.F2Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string FosfZinco {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.FosfZincoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'FosfZinco\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.FosfZincoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Teflon {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.TeflonColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Teflon\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.TeflonColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string FosfPreVern {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.FosfPreVernColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'FosfPreVern\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.FosfPreVernColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string PzRoto {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.PzRotoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'PzRoto\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.PzRotoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Zinchlorex {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.ZinchlorexColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Zinchlorex\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.ZinchlorexColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string PeekVicote {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.PeekVicoteColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'PeekVicote\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.PeekVicoteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string CodCli {
get {
try {
return ((string)(this[this.tablesp_schedaIdent.CodCliColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'CodCli\' in table \'sp_schedaIdent\' is DBNull.", e);
}
}
set {
this[this.tablesp_schedaIdent.CodCliColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsClienteNull() {
return this.IsNull(this.tablesp_schedaIdent.ClienteColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetClienteNull() {
this[this.tablesp_schedaIdent.ClienteColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsDDTNull() {
return this.IsNull(this.tablesp_schedaIdent.DDTColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetDDTNull() {
this[this.tablesp_schedaIdent.DDTColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsDDT_delNull() {
return this.IsNull(this.tablesp_schedaIdent.DDT_delColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetDDT_delNull() {
this[this.tablesp_schedaIdent.DDT_delColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsDataArrivoNull() {
return this.IsNull(this.tablesp_schedaIdent.DataArrivoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetDataArrivoNull() {
this[this.tablesp_schedaIdent.DataArrivoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsCodProdottoNull() {
return this.IsNull(this.tablesp_schedaIdent.CodProdottoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetCodProdottoNull() {
this[this.tablesp_schedaIdent.CodProdottoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsConsegnaPrevistaNull() {
return this.IsNull(this.tablesp_schedaIdent.ConsegnaPrevistaColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetConsegnaPrevistaNull() {
this[this.tablesp_schedaIdent.ConsegnaPrevistaColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsPesoNull() {
return this.IsNull(this.tablesp_schedaIdent.PesoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetPesoNull() {
this[this.tablesp_schedaIdent.PesoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsFosfManganeseNull() {
return this.IsNull(this.tablesp_schedaIdent.FosfManganeseColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetFosfManganeseNull() {
this[this.tablesp_schedaIdent.FosfManganeseColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsBrunituraNull() {
return this.IsNull(this.tablesp_schedaIdent.BrunituraColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetBrunituraNull() {
this[this.tablesp_schedaIdent.BrunituraColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsFosfTeflonNull() {
return this.IsNull(this.tablesp_schedaIdent.FosfTeflonColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetFosfTeflonNull() {
this[this.tablesp_schedaIdent.FosfTeflonColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsSabbiaturaNull() {
return this.IsNull(this.tablesp_schedaIdent.SabbiaturaColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetSabbiaturaNull() {
this[this.tablesp_schedaIdent.SabbiaturaColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsF1Null() {
return this.IsNull(this.tablesp_schedaIdent.F1Column);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetF1Null() {
this[this.tablesp_schedaIdent.F1Column] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsF2Null() {
return this.IsNull(this.tablesp_schedaIdent.F2Column);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetF2Null() {
this[this.tablesp_schedaIdent.F2Column] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsFosfZincoNull() {
return this.IsNull(this.tablesp_schedaIdent.FosfZincoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetFosfZincoNull() {
this[this.tablesp_schedaIdent.FosfZincoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsTeflonNull() {
return this.IsNull(this.tablesp_schedaIdent.TeflonColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetTeflonNull() {
this[this.tablesp_schedaIdent.TeflonColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsFosfPreVernNull() {
return this.IsNull(this.tablesp_schedaIdent.FosfPreVernColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetFosfPreVernNull() {
this[this.tablesp_schedaIdent.FosfPreVernColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsPzRotoNull() {
return this.IsNull(this.tablesp_schedaIdent.PzRotoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetPzRotoNull() {
this[this.tablesp_schedaIdent.PzRotoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsZinchlorexNull() {
return this.IsNull(this.tablesp_schedaIdent.ZinchlorexColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetZinchlorexNull() {
this[this.tablesp_schedaIdent.ZinchlorexColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsPeekVicoteNull() {
return this.IsNull(this.tablesp_schedaIdent.PeekVicoteColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetPeekVicoteNull() {
this[this.tablesp_schedaIdent.PeekVicoteColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsCodCliNull() {
return this.IsNull(this.tablesp_schedaIdent.CodCliColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetCodCliNull() {
this[this.tablesp_schedaIdent.CodCliColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class sp_schedaIdentRowChangeEvent : global::System.EventArgs {
private sp_schedaIdentRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sp_schedaIdentRowChangeEvent(sp_schedaIdentRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sp_schedaIdentRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace PrintLocalReport.DS_applicazioneTableAdapters {
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class sp_schedaIdentTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sp_schedaIdentTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "sp_schedaIdent";
tableMapping.ColumnMappings.Add("IdxObj", "IdxObj");
tableMapping.ColumnMappings.Add("Cliente", "Cliente");
tableMapping.ColumnMappings.Add("DDT", "DDT");
tableMapping.ColumnMappings.Add("DDT_del", "DDT_del");
tableMapping.ColumnMappings.Add("DataArrivo", "DataArrivo");
tableMapping.ColumnMappings.Add("CodProdotto", "CodProdotto");
tableMapping.ColumnMappings.Add("ConsegnaPrevista", "ConsegnaPrevista");
tableMapping.ColumnMappings.Add("Peso", "Peso");
tableMapping.ColumnMappings.Add("FosfManganese", "FosfManganese");
tableMapping.ColumnMappings.Add("Brunitura", "Brunitura");
tableMapping.ColumnMappings.Add("FosfTeflon", "FosfTeflon");
tableMapping.ColumnMappings.Add("Sabbiatura", "Sabbiatura");
tableMapping.ColumnMappings.Add("F1", "F1");
tableMapping.ColumnMappings.Add("F2", "F2");
tableMapping.ColumnMappings.Add("FosfZinco", "FosfZinco");
tableMapping.ColumnMappings.Add("Teflon", "Teflon");
tableMapping.ColumnMappings.Add("FosfPreVern", "FosfPreVern");
tableMapping.ColumnMappings.Add("PzRoto", "PzRoto");
tableMapping.ColumnMappings.Add("Zinchlorex", "Zinchlorex");
tableMapping.ColumnMappings.Add("PeekVicote", "PeekVicote");
tableMapping.ColumnMappings.Add("CodCli", "CodCli");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::PrintLocalReport.Properties.Settings.Default.SteamWare_XPSConnectionString1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "dbo.sp_schedaIdent";
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxObj", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_applicazione.sp_schedaIdentDataTable dataTable, string IdxObj) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((IdxObj == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxObj));
}
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_applicazione.sp_schedaIdentDataTable GetData(string IdxObj) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((IdxObj == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxObj));
}
DS_applicazione.sp_schedaIdentDataTable dataTable = new DS_applicazione.sp_schedaIdentDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
"esigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
public partial class TableAdapterManager : global::System.ComponentModel.Component {
private UpdateOrderOption _updateOrder;
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public UpdateOrderOption UpdateOrder {
get {
return this._updateOrder;
}
set {
this._updateOrder = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool BackupDataSetBeforeUpdate {
get {
return this._backupDataSetBeforeUpdate;
}
set {
this._backupDataSetBeforeUpdate = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
public global::System.Data.IDbConnection Connection {
get {
if ((this._connection != null)) {
return this._connection;
}
return null;
}
set {
this._connection = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
public int TableAdapterInstanceCount {
get {
int count = 0;
return count;
}
}
/// <summary>
///Update rows in top-down order.
///</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private int UpdateUpdatedRows(DS_applicazione dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
int result = 0;
return result;
}
/// <summary>
///Insert rows in top-down order.
///</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private int UpdateInsertedRows(DS_applicazione dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
int result = 0;
return result;
}
/// <summary>
///Delete rows in bottom-up order.
///</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private int UpdateDeletedRows(DS_applicazione dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
int result = 0;
return result;
}
/// <summary>
///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
///</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
if (((updatedRows == null)
|| (updatedRows.Length < 1))) {
return updatedRows;
}
if (((allAddedRows == null)
|| (allAddedRows.Count < 1))) {
return updatedRows;
}
global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
global::System.Data.DataRow row = updatedRows[i];
if ((allAddedRows.Contains(row) == false)) {
realUpdatedRows.Add(row);
}
}
return realUpdatedRows.ToArray();
}
/// <summary>
///Update all changes to the dataset.
///</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual int UpdateAll(DS_applicazione dataSet) {
if ((dataSet == null)) {
throw new global::System.ArgumentNullException("dataSet");
}
if ((dataSet.HasChanges() == false)) {
return 0;
}
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
"ger TableAdapter property to a valid TableAdapter instance.");
}
bool workConnOpened = false;
if (((workConnection.State & global::System.Data.ConnectionState.Broken)
== global::System.Data.ConnectionState.Broken)) {
workConnection.Close();
}
if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
workConnection.Open();
workConnOpened = true;
}
global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
if ((workTransaction == null)) {
throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" +
"ctions or the current state is not allowing the transaction to begin.");
}
global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
int result = 0;
global::System.Data.DataSet backupDataSet = null;
if (this.BackupDataSetBeforeUpdate) {
backupDataSet = new global::System.Data.DataSet();
backupDataSet.Merge(dataSet);
}
try {
// ---- Prepare for update -----------
//
//
//---- Perform updates -----------
//
if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
}
else {
result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
}
result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
//
//---- Commit updates -----------
//
workTransaction.Commit();
if ((0 < allAddedRows.Count)) {
global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
allAddedRows.CopyTo(rows);
for (int i = 0; (i < rows.Length); i = (i + 1)) {
global::System.Data.DataRow row = rows[i];
row.AcceptChanges();
}
}
if ((0 < allChangedRows.Count)) {
global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
allChangedRows.CopyTo(rows);
for (int i = 0; (i < rows.Length); i = (i + 1)) {
global::System.Data.DataRow row = rows[i];
row.AcceptChanges();
}
}
}
catch (global::System.Exception ex) {
workTransaction.Rollback();
// ---- Restore the dataset -----------
if (this.BackupDataSetBeforeUpdate) {
global::System.Diagnostics.Debug.Assert((backupDataSet != null));
dataSet.Clear();
dataSet.Merge(backupDataSet);
}
else {
if ((0 < allAddedRows.Count)) {
global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
allAddedRows.CopyTo(rows);
for (int i = 0; (i < rows.Length); i = (i + 1)) {
global::System.Data.DataRow row = rows[i];
row.AcceptChanges();
row.SetAdded();
}
}
}
throw ex;
}
finally {
if (workConnOpened) {
workConnection.Close();
}
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
for (int i = 0; (i < adapters.Length); i = (i + 1)) {
global::System.Data.Common.DataAdapter adapter = adapters[i];
adapter.AcceptChangesDuringUpdate = true;
}
}
}
return result;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
if ((this._connection != null)) {
return true;
}
if (((this.Connection == null)
|| (inputConnection == null))) {
return true;
}
if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
return true;
}
return false;
}
/// <summary>
///Update Order Option
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public enum UpdateOrderOption {
InsertUpdateDelete = 0,
UpdateInsertDelete = 1,
}
/// <summary>
///Used to sort self-referenced table's rows
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
private global::System.Data.DataRelation _relation;
private int _childFirst;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
this._relation = relation;
if (childFirst) {
this._childFirst = -1;
}
else {
this._childFirst = 1;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool IsChildAndParent(global::System.Data.DataRow child, global::System.Data.DataRow parent) {
global::System.Diagnostics.Debug.Assert((child != null));
global::System.Diagnostics.Debug.Assert((parent != null));
global::System.Data.DataRow newParent = child.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
for (
; ((newParent != null)
&& ((object.ReferenceEquals(newParent, child) == false)
&& (object.ReferenceEquals(newParent, parent) == false)));
) {
newParent = newParent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
}
if ((newParent == null)) {
for (newParent = child.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); ((newParent != null)
&& ((object.ReferenceEquals(newParent, child) == false)
&& (object.ReferenceEquals(newParent, parent) == false)));
) {
newParent = newParent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
}
}
if (object.ReferenceEquals(newParent, parent)) {
return true;
}
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
if (object.ReferenceEquals(row1, row2)) {
return 0;
}
if ((row1 == null)) {
return -1;
}
if ((row2 == null)) {
return 1;
}
// Is row1 the child or grandchild of row2
if (this.IsChildAndParent(row1, row2)) {
return this._childFirst;
}
// Is row2 the child or grandchild of row1
if (this.IsChildAndParent(row2, row1)) {
return (-1 * this._childFirst);
}
return 0;
}
}
}
}
#pragma warning restore 1591