Files
C2P/C2P_Data/DS_Quotes.Designer.cs
T
Samuele E. Locatelli ec1afc7fa5 primo refresh grafico
2014-02-07 12:41:05 +01:00

12476 lines
742 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
#pragma warning disable 1591
namespace C2P_Data {
/// <summary>
///Represents a strongly typed in-memory cache of data.
///</summary>
[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_Quotes")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
public partial class DS_Quotes : global::System.Data.DataSet {
private QuoteListDataTable tableQuoteList;
private QuoteRMDataTable tableQuoteRM;
private QuoteWorkExtDataTable tableQuoteWorkExt;
private QuoteWorkIntDataTable tableQuoteWorkInt;
private QuoteParamDataTable tableQuoteParam;
private QuoteOCDataTable tableQuoteOC;
private QuoteFull_QDataTable tableQuoteFull_Q;
private global::System.Data.DataRelation relationFK_QuoteRM_QuoteList;
private global::System.Data.DataRelation relationFK_QuoteWorkExt_QuoteList;
private global::System.Data.DataRelation relationFK_QuoteWorkInt_QuoteList;
private global::System.Data.DataRelation relationFK_QuoteParam_QuoteList;
private global::System.Data.DataRelation relationFK_QuoteExtra_QuoteList;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DS_Quotes() {
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()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected DS_Quotes(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["QuoteList"] != null)) {
base.Tables.Add(new QuoteListDataTable(ds.Tables["QuoteList"]));
}
if ((ds.Tables["QuoteRM"] != null)) {
base.Tables.Add(new QuoteRMDataTable(ds.Tables["QuoteRM"]));
}
if ((ds.Tables["QuoteWorkExt"] != null)) {
base.Tables.Add(new QuoteWorkExtDataTable(ds.Tables["QuoteWorkExt"]));
}
if ((ds.Tables["QuoteWorkInt"] != null)) {
base.Tables.Add(new QuoteWorkIntDataTable(ds.Tables["QuoteWorkInt"]));
}
if ((ds.Tables["QuoteParam"] != null)) {
base.Tables.Add(new QuoteParamDataTable(ds.Tables["QuoteParam"]));
}
if ((ds.Tables["QuoteOC"] != null)) {
base.Tables.Add(new QuoteOCDataTable(ds.Tables["QuoteOC"]));
}
if ((ds.Tables["QuoteFull_Q"] != null)) {
base.Tables.Add(new QuoteFull_QDataTable(ds.Tables["QuoteFull_Q"]));
}
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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public QuoteListDataTable QuoteList {
get {
return this.tableQuoteList;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public QuoteRMDataTable QuoteRM {
get {
return this.tableQuoteRM;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public QuoteWorkExtDataTable QuoteWorkExt {
get {
return this.tableQuoteWorkExt;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public QuoteWorkIntDataTable QuoteWorkInt {
get {
return this.tableQuoteWorkInt;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public QuoteParamDataTable QuoteParam {
get {
return this.tableQuoteParam;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public QuoteOCDataTable QuoteOC {
get {
return this.tableQuoteOC;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public QuoteFull_QDataTable QuoteFull_Q {
get {
return this.tableQuoteFull_Q;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public new global::System.Data.DataRelationCollection Relations {
get {
return base.Relations;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void InitializeDerivedDataSet() {
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataSet Clone() {
DS_Quotes cln = ((DS_Quotes)(base.Clone()));
cln.InitVars();
cln.SchemaSerializationMode = this.SchemaSerializationMode;
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override bool ShouldSerializeTables() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override bool ShouldSerializeRelations() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
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["QuoteList"] != null)) {
base.Tables.Add(new QuoteListDataTable(ds.Tables["QuoteList"]));
}
if ((ds.Tables["QuoteRM"] != null)) {
base.Tables.Add(new QuoteRMDataTable(ds.Tables["QuoteRM"]));
}
if ((ds.Tables["QuoteWorkExt"] != null)) {
base.Tables.Add(new QuoteWorkExtDataTable(ds.Tables["QuoteWorkExt"]));
}
if ((ds.Tables["QuoteWorkInt"] != null)) {
base.Tables.Add(new QuoteWorkIntDataTable(ds.Tables["QuoteWorkInt"]));
}
if ((ds.Tables["QuoteParam"] != null)) {
base.Tables.Add(new QuoteParamDataTable(ds.Tables["QuoteParam"]));
}
if ((ds.Tables["QuoteOC"] != null)) {
base.Tables.Add(new QuoteOCDataTable(ds.Tables["QuoteOC"]));
}
if ((ds.Tables["QuoteFull_Q"] != null)) {
base.Tables.Add(new QuoteFull_QDataTable(ds.Tables["QuoteFull_Q"]));
}
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()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
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()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.InitVars(true);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars(bool initTable) {
this.tableQuoteList = ((QuoteListDataTable)(base.Tables["QuoteList"]));
if ((initTable == true)) {
if ((this.tableQuoteList != null)) {
this.tableQuoteList.InitVars();
}
}
this.tableQuoteRM = ((QuoteRMDataTable)(base.Tables["QuoteRM"]));
if ((initTable == true)) {
if ((this.tableQuoteRM != null)) {
this.tableQuoteRM.InitVars();
}
}
this.tableQuoteWorkExt = ((QuoteWorkExtDataTable)(base.Tables["QuoteWorkExt"]));
if ((initTable == true)) {
if ((this.tableQuoteWorkExt != null)) {
this.tableQuoteWorkExt.InitVars();
}
}
this.tableQuoteWorkInt = ((QuoteWorkIntDataTable)(base.Tables["QuoteWorkInt"]));
if ((initTable == true)) {
if ((this.tableQuoteWorkInt != null)) {
this.tableQuoteWorkInt.InitVars();
}
}
this.tableQuoteParam = ((QuoteParamDataTable)(base.Tables["QuoteParam"]));
if ((initTable == true)) {
if ((this.tableQuoteParam != null)) {
this.tableQuoteParam.InitVars();
}
}
this.tableQuoteOC = ((QuoteOCDataTable)(base.Tables["QuoteOC"]));
if ((initTable == true)) {
if ((this.tableQuoteOC != null)) {
this.tableQuoteOC.InitVars();
}
}
this.tableQuoteFull_Q = ((QuoteFull_QDataTable)(base.Tables["QuoteFull_Q"]));
if ((initTable == true)) {
if ((this.tableQuoteFull_Q != null)) {
this.tableQuoteFull_Q.InitVars();
}
}
this.relationFK_QuoteRM_QuoteList = this.Relations["FK_QuoteRM_QuoteList"];
this.relationFK_QuoteWorkExt_QuoteList = this.Relations["FK_QuoteWorkExt_QuoteList"];
this.relationFK_QuoteWorkInt_QuoteList = this.Relations["FK_QuoteWorkInt_QuoteList"];
this.relationFK_QuoteParam_QuoteList = this.Relations["FK_QuoteParam_QuoteList"];
this.relationFK_QuoteExtra_QuoteList = this.Relations["FK_QuoteExtra_QuoteList"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.DataSetName = "DS_Quotes";
this.Prefix = "";
this.Namespace = "http://tempuri.org/DS_Quotes.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
this.tableQuoteList = new QuoteListDataTable();
base.Tables.Add(this.tableQuoteList);
this.tableQuoteRM = new QuoteRMDataTable();
base.Tables.Add(this.tableQuoteRM);
this.tableQuoteWorkExt = new QuoteWorkExtDataTable();
base.Tables.Add(this.tableQuoteWorkExt);
this.tableQuoteWorkInt = new QuoteWorkIntDataTable();
base.Tables.Add(this.tableQuoteWorkInt);
this.tableQuoteParam = new QuoteParamDataTable();
base.Tables.Add(this.tableQuoteParam);
this.tableQuoteOC = new QuoteOCDataTable();
base.Tables.Add(this.tableQuoteOC);
this.tableQuoteFull_Q = new QuoteFull_QDataTable();
base.Tables.Add(this.tableQuoteFull_Q);
this.relationFK_QuoteRM_QuoteList = new global::System.Data.DataRelation("FK_QuoteRM_QuoteList", new global::System.Data.DataColumn[] {
this.tableQuoteList.QuoteTypeColumn,
this.tableQuoteList.CodQuoteColumn,
this.tableQuoteList.QuoteRevColumn}, new global::System.Data.DataColumn[] {
this.tableQuoteRM.QuoteTypeColumn,
this.tableQuoteRM.CodQuoteColumn,
this.tableQuoteRM.QuoteRevColumn}, false);
this.Relations.Add(this.relationFK_QuoteRM_QuoteList);
this.relationFK_QuoteWorkExt_QuoteList = new global::System.Data.DataRelation("FK_QuoteWorkExt_QuoteList", new global::System.Data.DataColumn[] {
this.tableQuoteList.QuoteTypeColumn,
this.tableQuoteList.CodQuoteColumn,
this.tableQuoteList.QuoteRevColumn}, new global::System.Data.DataColumn[] {
this.tableQuoteWorkExt.QuoteTypeColumn,
this.tableQuoteWorkExt.CodQuoteColumn,
this.tableQuoteWorkExt.QuoteRevColumn}, false);
this.Relations.Add(this.relationFK_QuoteWorkExt_QuoteList);
this.relationFK_QuoteWorkInt_QuoteList = new global::System.Data.DataRelation("FK_QuoteWorkInt_QuoteList", new global::System.Data.DataColumn[] {
this.tableQuoteList.QuoteTypeColumn,
this.tableQuoteList.CodQuoteColumn,
this.tableQuoteList.QuoteRevColumn}, new global::System.Data.DataColumn[] {
this.tableQuoteWorkInt.QuoteTypeColumn,
this.tableQuoteWorkInt.CodQuoteColumn,
this.tableQuoteWorkInt.QuoteRevColumn}, false);
this.Relations.Add(this.relationFK_QuoteWorkInt_QuoteList);
this.relationFK_QuoteParam_QuoteList = new global::System.Data.DataRelation("FK_QuoteParam_QuoteList", new global::System.Data.DataColumn[] {
this.tableQuoteList.QuoteTypeColumn,
this.tableQuoteList.CodQuoteColumn,
this.tableQuoteList.QuoteRevColumn}, new global::System.Data.DataColumn[] {
this.tableQuoteParam.QuoteTypeColumn,
this.tableQuoteParam.CodQuoteColumn,
this.tableQuoteParam.QuoteRevColumn}, false);
this.Relations.Add(this.relationFK_QuoteParam_QuoteList);
this.relationFK_QuoteExtra_QuoteList = new global::System.Data.DataRelation("FK_QuoteExtra_QuoteList", new global::System.Data.DataColumn[] {
this.tableQuoteList.QuoteTypeColumn,
this.tableQuoteList.CodQuoteColumn,
this.tableQuoteList.QuoteRevColumn}, new global::System.Data.DataColumn[] {
this.tableQuoteOC.QuoteTypeColumn,
this.tableQuoteOC.CodQuoteColumn,
this.tableQuoteOC.QuoteRevColumn}, false);
this.Relations.Add(this.relationFK_QuoteExtra_QuoteList);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeQuoteList() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeQuoteRM() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeQuoteWorkExt() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeQuoteWorkInt() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeQuoteParam() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeQuoteOC() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeQuoteFull_Q() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
this.InitVars();
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
DS_Quotes ds = new DS_Quotes();
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;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void QuoteListRowChangeEventHandler(object sender, QuoteListRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void QuoteRMRowChangeEventHandler(object sender, QuoteRMRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void QuoteWorkExtRowChangeEventHandler(object sender, QuoteWorkExtRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void QuoteWorkIntRowChangeEventHandler(object sender, QuoteWorkIntRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void QuoteParamRowChangeEventHandler(object sender, QuoteParamRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void QuoteOCRowChangeEventHandler(object sender, QuoteOCRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void QuoteFull_QRowChangeEventHandler(object sender, QuoteFull_QRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class QuoteListDataTable : global::System.Data.TypedTableBase<QuoteListRow> {
private global::System.Data.DataColumn columnQuoteType;
private global::System.Data.DataColumn columnCodQuote;
private global::System.Data.DataColumn columnQuoteRev;
private global::System.Data.DataColumn columnCodClient;
private global::System.Data.DataColumn columnCodItem;
private global::System.Data.DataColumn columnCodItemGroup;
private global::System.Data.DataColumn columnRawMat;
private global::System.Data.DataColumn columnUnitWeight;
private global::System.Data.DataColumn columnBatchQty;
private global::System.Data.DataColumn columnCodInco;
private global::System.Data.DataColumn columnKeyAM;
private global::System.Data.DataColumn columnNote;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteListDataTable() {
this.TableName = "QuoteList";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal QuoteListDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected QuoteListDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuoteTypeColumn {
get {
return this.columnQuoteType;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodQuoteColumn {
get {
return this.columnCodQuote;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuoteRevColumn {
get {
return this.columnQuoteRev;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodClientColumn {
get {
return this.columnCodClient;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodItemColumn {
get {
return this.columnCodItem;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodItemGroupColumn {
get {
return this.columnCodItemGroup;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RawMatColumn {
get {
return this.columnRawMat;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn UnitWeightColumn {
get {
return this.columnUnitWeight;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn BatchQtyColumn {
get {
return this.columnBatchQty;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodIncoColumn {
get {
return this.columnCodInco;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn KeyAMColumn {
get {
return this.columnKeyAM;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NoteColumn {
get {
return this.columnNote;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteListRow this[int index] {
get {
return ((QuoteListRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteListRowChangeEventHandler QuoteListRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteListRowChangeEventHandler QuoteListRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteListRowChangeEventHandler QuoteListRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteListRowChangeEventHandler QuoteListRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddQuoteListRow(QuoteListRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteListRow AddQuoteListRow(string QuoteType, long CodQuote, int QuoteRev, string CodClient, string CodItem, string CodItemGroup, string RawMat, decimal UnitWeight, int BatchQty, string CodInco, string KeyAM, string Note) {
QuoteListRow rowQuoteListRow = ((QuoteListRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
QuoteType,
CodQuote,
QuoteRev,
CodClient,
CodItem,
CodItemGroup,
RawMat,
UnitWeight,
BatchQty,
CodInco,
KeyAM,
Note};
rowQuoteListRow.ItemArray = columnValuesArray;
this.Rows.Add(rowQuoteListRow);
return rowQuoteListRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteListRow FindByQuoteTypeCodQuoteQuoteRev(string QuoteType, long CodQuote, int QuoteRev) {
return ((QuoteListRow)(this.Rows.Find(new object[] {
QuoteType,
CodQuote,
QuoteRev})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
QuoteListDataTable cln = ((QuoteListDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new QuoteListDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnQuoteType = base.Columns["QuoteType"];
this.columnCodQuote = base.Columns["CodQuote"];
this.columnQuoteRev = base.Columns["QuoteRev"];
this.columnCodClient = base.Columns["CodClient"];
this.columnCodItem = base.Columns["CodItem"];
this.columnCodItemGroup = base.Columns["CodItemGroup"];
this.columnRawMat = base.Columns["RawMat"];
this.columnUnitWeight = base.Columns["UnitWeight"];
this.columnBatchQty = base.Columns["BatchQty"];
this.columnCodInco = base.Columns["CodInco"];
this.columnKeyAM = base.Columns["KeyAM"];
this.columnNote = base.Columns["Note"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnQuoteType = new global::System.Data.DataColumn("QuoteType", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuoteType);
this.columnCodQuote = new global::System.Data.DataColumn("CodQuote", typeof(long), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodQuote);
this.columnQuoteRev = new global::System.Data.DataColumn("QuoteRev", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuoteRev);
this.columnCodClient = new global::System.Data.DataColumn("CodClient", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodClient);
this.columnCodItem = new global::System.Data.DataColumn("CodItem", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodItem);
this.columnCodItemGroup = new global::System.Data.DataColumn("CodItemGroup", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodItemGroup);
this.columnRawMat = new global::System.Data.DataColumn("RawMat", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRawMat);
this.columnUnitWeight = new global::System.Data.DataColumn("UnitWeight", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnUnitWeight);
this.columnBatchQty = new global::System.Data.DataColumn("BatchQty", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnBatchQty);
this.columnCodInco = new global::System.Data.DataColumn("CodInco", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodInco);
this.columnKeyAM = new global::System.Data.DataColumn("KeyAM", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnKeyAM);
this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNote);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnQuoteType,
this.columnCodQuote,
this.columnQuoteRev}, true));
this.columnQuoteType.AllowDBNull = false;
this.columnQuoteType.MaxLength = 1;
this.columnCodQuote.AllowDBNull = false;
this.columnQuoteRev.AllowDBNull = false;
this.columnCodClient.AllowDBNull = false;
this.columnCodClient.MaxLength = 50;
this.columnCodItem.AllowDBNull = false;
this.columnCodItem.MaxLength = 50;
this.columnCodItemGroup.AllowDBNull = false;
this.columnCodItemGroup.MaxLength = 50;
this.columnRawMat.AllowDBNull = false;
this.columnRawMat.MaxLength = 50;
this.columnUnitWeight.AllowDBNull = false;
this.columnBatchQty.AllowDBNull = false;
this.columnCodInco.AllowDBNull = false;
this.columnCodInco.MaxLength = 5;
this.columnKeyAM.ReadOnly = true;
this.columnKeyAM.MaxLength = 101;
this.columnNote.AllowDBNull = false;
this.columnNote.MaxLength = 2500;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteListRow NewQuoteListRow() {
return ((QuoteListRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new QuoteListRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(QuoteListRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.QuoteListRowChanged != null)) {
this.QuoteListRowChanged(this, new QuoteListRowChangeEvent(((QuoteListRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.QuoteListRowChanging != null)) {
this.QuoteListRowChanging(this, new QuoteListRowChangeEvent(((QuoteListRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.QuoteListRowDeleted != null)) {
this.QuoteListRowDeleted(this, new QuoteListRowChangeEvent(((QuoteListRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.QuoteListRowDeleting != null)) {
this.QuoteListRowDeleting(this, new QuoteListRowChangeEvent(((QuoteListRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveQuoteListRow(QuoteListRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Quotes ds = new DS_Quotes();
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 = "QuoteListDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class QuoteRMDataTable : global::System.Data.TypedTableBase<QuoteRMRow> {
private global::System.Data.DataColumn columnQuoteType;
private global::System.Data.DataColumn columnCodQuote;
private global::System.Data.DataColumn columnQuoteRev;
private global::System.Data.DataColumn columnNumRM;
private global::System.Data.DataColumn columnRawMat;
private global::System.Data.DataColumn columnRawMatCost;
private global::System.Data.DataColumn columnRawMatExtraCost;
private global::System.Data.DataColumn columnCodPackag;
private global::System.Data.DataColumn columnFCR;
private global::System.Data.DataColumn columnFYR;
private global::System.Data.DataColumn columnFSR;
private global::System.Data.DataColumn columnvalid;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteRMDataTable() {
this.TableName = "QuoteRM";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal QuoteRMDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected QuoteRMDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuoteTypeColumn {
get {
return this.columnQuoteType;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodQuoteColumn {
get {
return this.columnCodQuote;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuoteRevColumn {
get {
return this.columnQuoteRev;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NumRMColumn {
get {
return this.columnNumRM;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RawMatColumn {
get {
return this.columnRawMat;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RawMatCostColumn {
get {
return this.columnRawMatCost;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RawMatExtraCostColumn {
get {
return this.columnRawMatExtraCost;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodPackagColumn {
get {
return this.columnCodPackag;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FCRColumn {
get {
return this.columnFCR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FYRColumn {
get {
return this.columnFYR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FSRColumn {
get {
return this.columnFSR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn validColumn {
get {
return this.columnvalid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteRMRow this[int index] {
get {
return ((QuoteRMRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteRMRowChangeEventHandler QuoteRMRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteRMRowChangeEventHandler QuoteRMRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteRMRowChangeEventHandler QuoteRMRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteRMRowChangeEventHandler QuoteRMRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddQuoteRMRow(QuoteRMRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteRMRow AddQuoteRMRow(string QuoteType, long CodQuote, int QuoteRev, int NumRM, string RawMat, decimal RawMatCost, decimal RawMatExtraCost, string CodPackag, decimal FCR, decimal FYR, decimal FSR, bool valid) {
QuoteRMRow rowQuoteRMRow = ((QuoteRMRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
QuoteType,
CodQuote,
QuoteRev,
NumRM,
RawMat,
RawMatCost,
RawMatExtraCost,
CodPackag,
FCR,
FYR,
FSR,
valid};
rowQuoteRMRow.ItemArray = columnValuesArray;
this.Rows.Add(rowQuoteRMRow);
return rowQuoteRMRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteRMRow FindByQuoteTypeCodQuoteQuoteRevNumRM(string QuoteType, long CodQuote, int QuoteRev, int NumRM) {
return ((QuoteRMRow)(this.Rows.Find(new object[] {
QuoteType,
CodQuote,
QuoteRev,
NumRM})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
QuoteRMDataTable cln = ((QuoteRMDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new QuoteRMDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnQuoteType = base.Columns["QuoteType"];
this.columnCodQuote = base.Columns["CodQuote"];
this.columnQuoteRev = base.Columns["QuoteRev"];
this.columnNumRM = base.Columns["NumRM"];
this.columnRawMat = base.Columns["RawMat"];
this.columnRawMatCost = base.Columns["RawMatCost"];
this.columnRawMatExtraCost = base.Columns["RawMatExtraCost"];
this.columnCodPackag = base.Columns["CodPackag"];
this.columnFCR = base.Columns["FCR"];
this.columnFYR = base.Columns["FYR"];
this.columnFSR = base.Columns["FSR"];
this.columnvalid = base.Columns["valid"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnQuoteType = new global::System.Data.DataColumn("QuoteType", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuoteType);
this.columnCodQuote = new global::System.Data.DataColumn("CodQuote", typeof(long), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodQuote);
this.columnQuoteRev = new global::System.Data.DataColumn("QuoteRev", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuoteRev);
this.columnNumRM = new global::System.Data.DataColumn("NumRM", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumRM);
this.columnRawMat = new global::System.Data.DataColumn("RawMat", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRawMat);
this.columnRawMatCost = new global::System.Data.DataColumn("RawMatCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRawMatCost);
this.columnRawMatExtraCost = new global::System.Data.DataColumn("RawMatExtraCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRawMatExtraCost);
this.columnCodPackag = new global::System.Data.DataColumn("CodPackag", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodPackag);
this.columnFCR = new global::System.Data.DataColumn("FCR", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFCR);
this.columnFYR = new global::System.Data.DataColumn("FYR", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFYR);
this.columnFSR = new global::System.Data.DataColumn("FSR", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFSR);
this.columnvalid = new global::System.Data.DataColumn("valid", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnvalid);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnQuoteType,
this.columnCodQuote,
this.columnQuoteRev,
this.columnNumRM}, true));
this.columnQuoteType.AllowDBNull = false;
this.columnQuoteType.MaxLength = 1;
this.columnCodQuote.AllowDBNull = false;
this.columnQuoteRev.AllowDBNull = false;
this.columnNumRM.AllowDBNull = false;
this.columnRawMat.AllowDBNull = false;
this.columnRawMat.MaxLength = 50;
this.columnRawMatCost.AllowDBNull = false;
this.columnRawMatExtraCost.AllowDBNull = false;
this.columnCodPackag.AllowDBNull = false;
this.columnCodPackag.MaxLength = 50;
this.columnFCR.AllowDBNull = false;
this.columnFYR.ReadOnly = true;
this.columnFSR.ReadOnly = true;
this.columnvalid.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteRMRow NewQuoteRMRow() {
return ((QuoteRMRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new QuoteRMRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(QuoteRMRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.QuoteRMRowChanged != null)) {
this.QuoteRMRowChanged(this, new QuoteRMRowChangeEvent(((QuoteRMRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.QuoteRMRowChanging != null)) {
this.QuoteRMRowChanging(this, new QuoteRMRowChangeEvent(((QuoteRMRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.QuoteRMRowDeleted != null)) {
this.QuoteRMRowDeleted(this, new QuoteRMRowChangeEvent(((QuoteRMRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.QuoteRMRowDeleting != null)) {
this.QuoteRMRowDeleting(this, new QuoteRMRowChangeEvent(((QuoteRMRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveQuoteRMRow(QuoteRMRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Quotes ds = new DS_Quotes();
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 = "QuoteRMDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class QuoteWorkExtDataTable : global::System.Data.TypedTableBase<QuoteWorkExtRow> {
private global::System.Data.DataColumn columnQuoteType;
private global::System.Data.DataColumn columnCodQuote;
private global::System.Data.DataColumn columnQuoteRev;
private global::System.Data.DataColumn columnNumWE;
private global::System.Data.DataColumn columnEWC4UG;
private global::System.Data.DataColumn columnUM;
private global::System.Data.DataColumn columnvalid;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkExtDataTable() {
this.TableName = "QuoteWorkExt";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal QuoteWorkExtDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected QuoteWorkExtDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuoteTypeColumn {
get {
return this.columnQuoteType;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodQuoteColumn {
get {
return this.columnCodQuote;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuoteRevColumn {
get {
return this.columnQuoteRev;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NumWEColumn {
get {
return this.columnNumWE;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn EWC4UGColumn {
get {
return this.columnEWC4UG;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn UMColumn {
get {
return this.columnUM;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn validColumn {
get {
return this.columnvalid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkExtRow this[int index] {
get {
return ((QuoteWorkExtRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteWorkExtRowChangeEventHandler QuoteWorkExtRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteWorkExtRowChangeEventHandler QuoteWorkExtRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteWorkExtRowChangeEventHandler QuoteWorkExtRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteWorkExtRowChangeEventHandler QuoteWorkExtRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddQuoteWorkExtRow(QuoteWorkExtRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkExtRow AddQuoteWorkExtRow(string QuoteType, long CodQuote, int QuoteRev, int NumWE, decimal EWC4UG, string UM, bool valid) {
QuoteWorkExtRow rowQuoteWorkExtRow = ((QuoteWorkExtRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
QuoteType,
CodQuote,
QuoteRev,
NumWE,
EWC4UG,
UM,
valid};
rowQuoteWorkExtRow.ItemArray = columnValuesArray;
this.Rows.Add(rowQuoteWorkExtRow);
return rowQuoteWorkExtRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkExtRow FindByQuoteTypeCodQuoteQuoteRevNumWE(string QuoteType, long CodQuote, int QuoteRev, int NumWE) {
return ((QuoteWorkExtRow)(this.Rows.Find(new object[] {
QuoteType,
CodQuote,
QuoteRev,
NumWE})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
QuoteWorkExtDataTable cln = ((QuoteWorkExtDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new QuoteWorkExtDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnQuoteType = base.Columns["QuoteType"];
this.columnCodQuote = base.Columns["CodQuote"];
this.columnQuoteRev = base.Columns["QuoteRev"];
this.columnNumWE = base.Columns["NumWE"];
this.columnEWC4UG = base.Columns["EWC4UG"];
this.columnUM = base.Columns["UM"];
this.columnvalid = base.Columns["valid"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnQuoteType = new global::System.Data.DataColumn("QuoteType", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuoteType);
this.columnCodQuote = new global::System.Data.DataColumn("CodQuote", typeof(long), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodQuote);
this.columnQuoteRev = new global::System.Data.DataColumn("QuoteRev", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuoteRev);
this.columnNumWE = new global::System.Data.DataColumn("NumWE", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumWE);
this.columnEWC4UG = new global::System.Data.DataColumn("EWC4UG", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnEWC4UG);
this.columnUM = new global::System.Data.DataColumn("UM", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnUM);
this.columnvalid = new global::System.Data.DataColumn("valid", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnvalid);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnQuoteType,
this.columnCodQuote,
this.columnQuoteRev,
this.columnNumWE}, true));
this.columnQuoteType.AllowDBNull = false;
this.columnQuoteType.MaxLength = 1;
this.columnCodQuote.AllowDBNull = false;
this.columnQuoteRev.AllowDBNull = false;
this.columnNumWE.AllowDBNull = false;
this.columnEWC4UG.AllowDBNull = false;
this.columnUM.AllowDBNull = false;
this.columnUM.MaxLength = 50;
this.columnvalid.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkExtRow NewQuoteWorkExtRow() {
return ((QuoteWorkExtRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new QuoteWorkExtRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(QuoteWorkExtRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.QuoteWorkExtRowChanged != null)) {
this.QuoteWorkExtRowChanged(this, new QuoteWorkExtRowChangeEvent(((QuoteWorkExtRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.QuoteWorkExtRowChanging != null)) {
this.QuoteWorkExtRowChanging(this, new QuoteWorkExtRowChangeEvent(((QuoteWorkExtRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.QuoteWorkExtRowDeleted != null)) {
this.QuoteWorkExtRowDeleted(this, new QuoteWorkExtRowChangeEvent(((QuoteWorkExtRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.QuoteWorkExtRowDeleting != null)) {
this.QuoteWorkExtRowDeleting(this, new QuoteWorkExtRowChangeEvent(((QuoteWorkExtRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveQuoteWorkExtRow(QuoteWorkExtRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Quotes ds = new DS_Quotes();
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 = "QuoteWorkExtDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class QuoteWorkIntDataTable : global::System.Data.TypedTableBase<QuoteWorkIntRow> {
private global::System.Data.DataColumn columnQuoteType;
private global::System.Data.DataColumn columnCodQuote;
private global::System.Data.DataColumn columnQuoteRev;
private global::System.Data.DataColumn columnNumWI;
private global::System.Data.DataColumn columnProcessNum;
private global::System.Data.DataColumn columnCodPlant;
private global::System.Data.DataColumn columnClass01;
private global::System.Data.DataColumn columnClass02;
private global::System.Data.DataColumn columnClass03;
private global::System.Data.DataColumn columnClass04;
private global::System.Data.DataColumn columnClass05;
private global::System.Data.DataColumn columnNetProd;
private global::System.Data.DataColumn columnWSR;
private global::System.Data.DataColumn columnMSR;
private global::System.Data.DataColumn columnDSR;
private global::System.Data.DataColumn columnFC4UG;
private global::System.Data.DataColumn columnVC4UG;
private global::System.Data.DataColumn columnOH4UG;
private global::System.Data.DataColumn columnSC4UG;
private global::System.Data.DataColumn columnWYR;
private global::System.Data.DataColumn columnMYR;
private global::System.Data.DataColumn columnDYR;
private global::System.Data.DataColumn columnWCR;
private global::System.Data.DataColumn columnMCR;
private global::System.Data.DataColumn columnDCR;
private global::System.Data.DataColumn columnvalid;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkIntDataTable() {
this.TableName = "QuoteWorkInt";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal QuoteWorkIntDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected QuoteWorkIntDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuoteTypeColumn {
get {
return this.columnQuoteType;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodQuoteColumn {
get {
return this.columnCodQuote;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuoteRevColumn {
get {
return this.columnQuoteRev;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NumWIColumn {
get {
return this.columnNumWI;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ProcessNumColumn {
get {
return this.columnProcessNum;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodPlantColumn {
get {
return this.columnCodPlant;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn Class01Column {
get {
return this.columnClass01;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn Class02Column {
get {
return this.columnClass02;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn Class03Column {
get {
return this.columnClass03;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn Class04Column {
get {
return this.columnClass04;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn Class05Column {
get {
return this.columnClass05;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NetProdColumn {
get {
return this.columnNetProd;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn WSRColumn {
get {
return this.columnWSR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MSRColumn {
get {
return this.columnMSR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DSRColumn {
get {
return this.columnDSR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FC4UGColumn {
get {
return this.columnFC4UG;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn VC4UGColumn {
get {
return this.columnVC4UG;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn OH4UGColumn {
get {
return this.columnOH4UG;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn SC4UGColumn {
get {
return this.columnSC4UG;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn WYRColumn {
get {
return this.columnWYR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MYRColumn {
get {
return this.columnMYR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DYRColumn {
get {
return this.columnDYR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn WCRColumn {
get {
return this.columnWCR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MCRColumn {
get {
return this.columnMCR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DCRColumn {
get {
return this.columnDCR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn validColumn {
get {
return this.columnvalid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkIntRow this[int index] {
get {
return ((QuoteWorkIntRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteWorkIntRowChangeEventHandler QuoteWorkIntRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteWorkIntRowChangeEventHandler QuoteWorkIntRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteWorkIntRowChangeEventHandler QuoteWorkIntRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteWorkIntRowChangeEventHandler QuoteWorkIntRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddQuoteWorkIntRow(QuoteWorkIntRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkIntRow AddQuoteWorkIntRow(
string QuoteType,
long CodQuote,
int QuoteRev,
int NumWI,
string ProcessNum,
string CodPlant,
string Class01,
string Class02,
string Class03,
string Class04,
string Class05,
decimal NetProd,
decimal WSR,
decimal MSR,
decimal DSR,
decimal FC4UG,
decimal VC4UG,
decimal OH4UG,
decimal SC4UG,
decimal WYR,
decimal MYR,
decimal DYR,
decimal WCR,
decimal MCR,
decimal DCR,
bool valid) {
QuoteWorkIntRow rowQuoteWorkIntRow = ((QuoteWorkIntRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
QuoteType,
CodQuote,
QuoteRev,
NumWI,
ProcessNum,
CodPlant,
Class01,
Class02,
Class03,
Class04,
Class05,
NetProd,
WSR,
MSR,
DSR,
FC4UG,
VC4UG,
OH4UG,
SC4UG,
WYR,
MYR,
DYR,
WCR,
MCR,
DCR,
valid};
rowQuoteWorkIntRow.ItemArray = columnValuesArray;
this.Rows.Add(rowQuoteWorkIntRow);
return rowQuoteWorkIntRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkIntRow FindByQuoteTypeCodQuoteQuoteRevNumWI(string QuoteType, long CodQuote, int QuoteRev, int NumWI) {
return ((QuoteWorkIntRow)(this.Rows.Find(new object[] {
QuoteType,
CodQuote,
QuoteRev,
NumWI})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
QuoteWorkIntDataTable cln = ((QuoteWorkIntDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new QuoteWorkIntDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnQuoteType = base.Columns["QuoteType"];
this.columnCodQuote = base.Columns["CodQuote"];
this.columnQuoteRev = base.Columns["QuoteRev"];
this.columnNumWI = base.Columns["NumWI"];
this.columnProcessNum = base.Columns["ProcessNum"];
this.columnCodPlant = base.Columns["CodPlant"];
this.columnClass01 = base.Columns["Class01"];
this.columnClass02 = base.Columns["Class02"];
this.columnClass03 = base.Columns["Class03"];
this.columnClass04 = base.Columns["Class04"];
this.columnClass05 = base.Columns["Class05"];
this.columnNetProd = base.Columns["NetProd"];
this.columnWSR = base.Columns["WSR"];
this.columnMSR = base.Columns["MSR"];
this.columnDSR = base.Columns["DSR"];
this.columnFC4UG = base.Columns["FC4UG"];
this.columnVC4UG = base.Columns["VC4UG"];
this.columnOH4UG = base.Columns["OH4UG"];
this.columnSC4UG = base.Columns["SC4UG"];
this.columnWYR = base.Columns["WYR"];
this.columnMYR = base.Columns["MYR"];
this.columnDYR = base.Columns["DYR"];
this.columnWCR = base.Columns["WCR"];
this.columnMCR = base.Columns["MCR"];
this.columnDCR = base.Columns["DCR"];
this.columnvalid = base.Columns["valid"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnQuoteType = new global::System.Data.DataColumn("QuoteType", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuoteType);
this.columnCodQuote = new global::System.Data.DataColumn("CodQuote", typeof(long), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodQuote);
this.columnQuoteRev = new global::System.Data.DataColumn("QuoteRev", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuoteRev);
this.columnNumWI = new global::System.Data.DataColumn("NumWI", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumWI);
this.columnProcessNum = new global::System.Data.DataColumn("ProcessNum", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnProcessNum);
this.columnCodPlant = new global::System.Data.DataColumn("CodPlant", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodPlant);
this.columnClass01 = new global::System.Data.DataColumn("Class01", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClass01);
this.columnClass02 = new global::System.Data.DataColumn("Class02", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClass02);
this.columnClass03 = new global::System.Data.DataColumn("Class03", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClass03);
this.columnClass04 = new global::System.Data.DataColumn("Class04", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClass04);
this.columnClass05 = new global::System.Data.DataColumn("Class05", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClass05);
this.columnNetProd = new global::System.Data.DataColumn("NetProd", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNetProd);
this.columnWSR = new global::System.Data.DataColumn("WSR", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnWSR);
this.columnMSR = new global::System.Data.DataColumn("MSR", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMSR);
this.columnDSR = new global::System.Data.DataColumn("DSR", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDSR);
this.columnFC4UG = new global::System.Data.DataColumn("FC4UG", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFC4UG);
this.columnVC4UG = new global::System.Data.DataColumn("VC4UG", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnVC4UG);
this.columnOH4UG = new global::System.Data.DataColumn("OH4UG", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnOH4UG);
this.columnSC4UG = new global::System.Data.DataColumn("SC4UG", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSC4UG);
this.columnWYR = new global::System.Data.DataColumn("WYR", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnWYR);
this.columnMYR = new global::System.Data.DataColumn("MYR", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMYR);
this.columnDYR = new global::System.Data.DataColumn("DYR", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDYR);
this.columnWCR = new global::System.Data.DataColumn("WCR", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnWCR);
this.columnMCR = new global::System.Data.DataColumn("MCR", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMCR);
this.columnDCR = new global::System.Data.DataColumn("DCR", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDCR);
this.columnvalid = new global::System.Data.DataColumn("valid", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnvalid);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnQuoteType,
this.columnCodQuote,
this.columnQuoteRev,
this.columnNumWI}, true));
this.columnQuoteType.AllowDBNull = false;
this.columnQuoteType.MaxLength = 1;
this.columnCodQuote.AllowDBNull = false;
this.columnQuoteRev.AllowDBNull = false;
this.columnNumWI.AllowDBNull = false;
this.columnProcessNum.AllowDBNull = false;
this.columnProcessNum.MaxLength = 50;
this.columnCodPlant.AllowDBNull = false;
this.columnCodPlant.MaxLength = 50;
this.columnClass01.AllowDBNull = false;
this.columnClass01.MaxLength = 50;
this.columnClass02.AllowDBNull = false;
this.columnClass02.MaxLength = 50;
this.columnClass03.AllowDBNull = false;
this.columnClass03.MaxLength = 50;
this.columnClass04.AllowDBNull = false;
this.columnClass04.MaxLength = 50;
this.columnClass05.AllowDBNull = false;
this.columnClass05.MaxLength = 50;
this.columnNetProd.AllowDBNull = false;
this.columnWSR.AllowDBNull = false;
this.columnMSR.AllowDBNull = false;
this.columnDSR.AllowDBNull = false;
this.columnFC4UG.AllowDBNull = false;
this.columnVC4UG.AllowDBNull = false;
this.columnOH4UG.AllowDBNull = false;
this.columnSC4UG.AllowDBNull = false;
this.columnWYR.ReadOnly = true;
this.columnMYR.ReadOnly = true;
this.columnDYR.ReadOnly = true;
this.columnWCR.ReadOnly = true;
this.columnMCR.ReadOnly = true;
this.columnDCR.ReadOnly = true;
this.columnvalid.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkIntRow NewQuoteWorkIntRow() {
return ((QuoteWorkIntRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new QuoteWorkIntRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(QuoteWorkIntRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.QuoteWorkIntRowChanged != null)) {
this.QuoteWorkIntRowChanged(this, new QuoteWorkIntRowChangeEvent(((QuoteWorkIntRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.QuoteWorkIntRowChanging != null)) {
this.QuoteWorkIntRowChanging(this, new QuoteWorkIntRowChangeEvent(((QuoteWorkIntRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.QuoteWorkIntRowDeleted != null)) {
this.QuoteWorkIntRowDeleted(this, new QuoteWorkIntRowChangeEvent(((QuoteWorkIntRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.QuoteWorkIntRowDeleting != null)) {
this.QuoteWorkIntRowDeleting(this, new QuoteWorkIntRowChangeEvent(((QuoteWorkIntRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveQuoteWorkIntRow(QuoteWorkIntRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Quotes ds = new DS_Quotes();
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 = "QuoteWorkIntDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class QuoteParamDataTable : global::System.Data.TypedTableBase<QuoteParamRow> {
private global::System.Data.DataColumn columnQuoteType;
private global::System.Data.DataColumn columnCodQuote;
private global::System.Data.DataColumn columnQuoteRev;
private global::System.Data.DataColumn columnNumP;
private global::System.Data.DataColumn columnProcessNum;
private global::System.Data.DataColumn columnDescr;
private global::System.Data.DataColumn columnParameter;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteParamDataTable() {
this.TableName = "QuoteParam";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal QuoteParamDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected QuoteParamDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuoteTypeColumn {
get {
return this.columnQuoteType;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodQuoteColumn {
get {
return this.columnCodQuote;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuoteRevColumn {
get {
return this.columnQuoteRev;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NumPColumn {
get {
return this.columnNumP;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ProcessNumColumn {
get {
return this.columnProcessNum;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DescrColumn {
get {
return this.columnDescr;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ParameterColumn {
get {
return this.columnParameter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteParamRow this[int index] {
get {
return ((QuoteParamRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteParamRowChangeEventHandler QuoteParamRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteParamRowChangeEventHandler QuoteParamRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteParamRowChangeEventHandler QuoteParamRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteParamRowChangeEventHandler QuoteParamRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddQuoteParamRow(QuoteParamRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteParamRow AddQuoteParamRow(string QuoteType, long CodQuote, int QuoteRev, int NumP, string ProcessNum, string Descr, string Parameter) {
QuoteParamRow rowQuoteParamRow = ((QuoteParamRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
QuoteType,
CodQuote,
QuoteRev,
NumP,
ProcessNum,
Descr,
Parameter};
rowQuoteParamRow.ItemArray = columnValuesArray;
this.Rows.Add(rowQuoteParamRow);
return rowQuoteParamRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteParamRow FindByQuoteTypeCodQuoteQuoteRevNumP(string QuoteType, long CodQuote, int QuoteRev, int NumP) {
return ((QuoteParamRow)(this.Rows.Find(new object[] {
QuoteType,
CodQuote,
QuoteRev,
NumP})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
QuoteParamDataTable cln = ((QuoteParamDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new QuoteParamDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnQuoteType = base.Columns["QuoteType"];
this.columnCodQuote = base.Columns["CodQuote"];
this.columnQuoteRev = base.Columns["QuoteRev"];
this.columnNumP = base.Columns["NumP"];
this.columnProcessNum = base.Columns["ProcessNum"];
this.columnDescr = base.Columns["Descr"];
this.columnParameter = base.Columns["Parameter"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnQuoteType = new global::System.Data.DataColumn("QuoteType", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuoteType);
this.columnCodQuote = new global::System.Data.DataColumn("CodQuote", typeof(long), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodQuote);
this.columnQuoteRev = new global::System.Data.DataColumn("QuoteRev", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuoteRev);
this.columnNumP = new global::System.Data.DataColumn("NumP", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumP);
this.columnProcessNum = new global::System.Data.DataColumn("ProcessNum", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnProcessNum);
this.columnDescr = new global::System.Data.DataColumn("Descr", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescr);
this.columnParameter = new global::System.Data.DataColumn("Parameter", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnParameter);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnQuoteType,
this.columnCodQuote,
this.columnQuoteRev,
this.columnNumP}, true));
this.columnQuoteType.AllowDBNull = false;
this.columnQuoteType.MaxLength = 1;
this.columnCodQuote.AllowDBNull = false;
this.columnQuoteRev.AllowDBNull = false;
this.columnNumP.AllowDBNull = false;
this.columnProcessNum.AllowDBNull = false;
this.columnProcessNum.MaxLength = 50;
this.columnDescr.AllowDBNull = false;
this.columnDescr.MaxLength = 50;
this.columnParameter.AllowDBNull = false;
this.columnParameter.MaxLength = 100;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteParamRow NewQuoteParamRow() {
return ((QuoteParamRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new QuoteParamRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(QuoteParamRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.QuoteParamRowChanged != null)) {
this.QuoteParamRowChanged(this, new QuoteParamRowChangeEvent(((QuoteParamRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.QuoteParamRowChanging != null)) {
this.QuoteParamRowChanging(this, new QuoteParamRowChangeEvent(((QuoteParamRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.QuoteParamRowDeleted != null)) {
this.QuoteParamRowDeleted(this, new QuoteParamRowChangeEvent(((QuoteParamRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.QuoteParamRowDeleting != null)) {
this.QuoteParamRowDeleting(this, new QuoteParamRowChangeEvent(((QuoteParamRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveQuoteParamRow(QuoteParamRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Quotes ds = new DS_Quotes();
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 = "QuoteParamDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class QuoteOCDataTable : global::System.Data.TypedTableBase<QuoteOCRow> {
private global::System.Data.DataColumn columnQuoteType;
private global::System.Data.DataColumn columnCodQuote;
private global::System.Data.DataColumn columnQuoteRev;
private global::System.Data.DataColumn columnNumEx;
private global::System.Data.DataColumn columnProcessNum;
private global::System.Data.DataColumn columnCodPlant;
private global::System.Data.DataColumn columnClass01;
private global::System.Data.DataColumn columnClass02;
private global::System.Data.DataColumn columnClass03;
private global::System.Data.DataColumn columnClass04;
private global::System.Data.DataColumn columnClass05;
private global::System.Data.DataColumn columnTotQty;
private global::System.Data.DataColumn columnTotCost;
private global::System.Data.DataColumn columnQuota;
private global::System.Data.DataColumn columnC4UG;
private global::System.Data.DataColumn columnvalid;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteOCDataTable() {
this.TableName = "QuoteOC";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal QuoteOCDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected QuoteOCDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuoteTypeColumn {
get {
return this.columnQuoteType;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodQuoteColumn {
get {
return this.columnCodQuote;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuoteRevColumn {
get {
return this.columnQuoteRev;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NumExColumn {
get {
return this.columnNumEx;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ProcessNumColumn {
get {
return this.columnProcessNum;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodPlantColumn {
get {
return this.columnCodPlant;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn Class01Column {
get {
return this.columnClass01;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn Class02Column {
get {
return this.columnClass02;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn Class03Column {
get {
return this.columnClass03;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn Class04Column {
get {
return this.columnClass04;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn Class05Column {
get {
return this.columnClass05;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn TotQtyColumn {
get {
return this.columnTotQty;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn TotCostColumn {
get {
return this.columnTotCost;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuotaColumn {
get {
return this.columnQuota;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn C4UGColumn {
get {
return this.columnC4UG;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn validColumn {
get {
return this.columnvalid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteOCRow this[int index] {
get {
return ((QuoteOCRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteOCRowChangeEventHandler QuoteOCRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteOCRowChangeEventHandler QuoteOCRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteOCRowChangeEventHandler QuoteOCRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteOCRowChangeEventHandler QuoteOCRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddQuoteOCRow(QuoteOCRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteOCRow AddQuoteOCRow(
string QuoteType,
long CodQuote,
int QuoteRev,
int NumEx,
string ProcessNum,
string CodPlant,
string Class01,
string Class02,
string Class03,
string Class04,
string Class05,
decimal TotQty,
decimal TotCost,
decimal Quota,
decimal C4UG,
bool valid) {
QuoteOCRow rowQuoteOCRow = ((QuoteOCRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
QuoteType,
CodQuote,
QuoteRev,
NumEx,
ProcessNum,
CodPlant,
Class01,
Class02,
Class03,
Class04,
Class05,
TotQty,
TotCost,
Quota,
C4UG,
valid};
rowQuoteOCRow.ItemArray = columnValuesArray;
this.Rows.Add(rowQuoteOCRow);
return rowQuoteOCRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteOCRow FindByQuoteTypeCodQuoteQuoteRevNumEx(string QuoteType, long CodQuote, int QuoteRev, int NumEx) {
return ((QuoteOCRow)(this.Rows.Find(new object[] {
QuoteType,
CodQuote,
QuoteRev,
NumEx})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
QuoteOCDataTable cln = ((QuoteOCDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new QuoteOCDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnQuoteType = base.Columns["QuoteType"];
this.columnCodQuote = base.Columns["CodQuote"];
this.columnQuoteRev = base.Columns["QuoteRev"];
this.columnNumEx = base.Columns["NumEx"];
this.columnProcessNum = base.Columns["ProcessNum"];
this.columnCodPlant = base.Columns["CodPlant"];
this.columnClass01 = base.Columns["Class01"];
this.columnClass02 = base.Columns["Class02"];
this.columnClass03 = base.Columns["Class03"];
this.columnClass04 = base.Columns["Class04"];
this.columnClass05 = base.Columns["Class05"];
this.columnTotQty = base.Columns["TotQty"];
this.columnTotCost = base.Columns["TotCost"];
this.columnQuota = base.Columns["Quota"];
this.columnC4UG = base.Columns["C4UG"];
this.columnvalid = base.Columns["valid"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnQuoteType = new global::System.Data.DataColumn("QuoteType", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuoteType);
this.columnCodQuote = new global::System.Data.DataColumn("CodQuote", typeof(long), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodQuote);
this.columnQuoteRev = new global::System.Data.DataColumn("QuoteRev", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuoteRev);
this.columnNumEx = new global::System.Data.DataColumn("NumEx", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumEx);
this.columnProcessNum = new global::System.Data.DataColumn("ProcessNum", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnProcessNum);
this.columnCodPlant = new global::System.Data.DataColumn("CodPlant", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodPlant);
this.columnClass01 = new global::System.Data.DataColumn("Class01", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClass01);
this.columnClass02 = new global::System.Data.DataColumn("Class02", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClass02);
this.columnClass03 = new global::System.Data.DataColumn("Class03", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClass03);
this.columnClass04 = new global::System.Data.DataColumn("Class04", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClass04);
this.columnClass05 = new global::System.Data.DataColumn("Class05", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClass05);
this.columnTotQty = new global::System.Data.DataColumn("TotQty", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnTotQty);
this.columnTotCost = new global::System.Data.DataColumn("TotCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnTotCost);
this.columnQuota = new global::System.Data.DataColumn("Quota", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuota);
this.columnC4UG = new global::System.Data.DataColumn("C4UG", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnC4UG);
this.columnvalid = new global::System.Data.DataColumn("valid", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnvalid);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnQuoteType,
this.columnCodQuote,
this.columnQuoteRev,
this.columnNumEx}, true));
this.columnQuoteType.AllowDBNull = false;
this.columnQuoteType.MaxLength = 1;
this.columnCodQuote.AllowDBNull = false;
this.columnQuoteRev.AllowDBNull = false;
this.columnNumEx.AllowDBNull = false;
this.columnProcessNum.AllowDBNull = false;
this.columnProcessNum.MaxLength = 50;
this.columnCodPlant.AllowDBNull = false;
this.columnCodPlant.MaxLength = 50;
this.columnClass01.AllowDBNull = false;
this.columnClass01.MaxLength = 50;
this.columnClass02.AllowDBNull = false;
this.columnClass02.MaxLength = 50;
this.columnClass03.AllowDBNull = false;
this.columnClass03.MaxLength = 50;
this.columnClass04.AllowDBNull = false;
this.columnClass04.MaxLength = 50;
this.columnClass05.AllowDBNull = false;
this.columnClass05.MaxLength = 50;
this.columnTotQty.AllowDBNull = false;
this.columnTotCost.AllowDBNull = false;
this.columnQuota.AllowDBNull = false;
this.columnC4UG.ReadOnly = true;
this.columnvalid.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteOCRow NewQuoteOCRow() {
return ((QuoteOCRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new QuoteOCRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(QuoteOCRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.QuoteOCRowChanged != null)) {
this.QuoteOCRowChanged(this, new QuoteOCRowChangeEvent(((QuoteOCRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.QuoteOCRowChanging != null)) {
this.QuoteOCRowChanging(this, new QuoteOCRowChangeEvent(((QuoteOCRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.QuoteOCRowDeleted != null)) {
this.QuoteOCRowDeleted(this, new QuoteOCRowChangeEvent(((QuoteOCRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.QuoteOCRowDeleting != null)) {
this.QuoteOCRowDeleting(this, new QuoteOCRowChangeEvent(((QuoteOCRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveQuoteOCRow(QuoteOCRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Quotes ds = new DS_Quotes();
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 = "QuoteOCDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class QuoteFull_QDataTable : global::System.Data.TypedTableBase<QuoteFull_QRow> {
private global::System.Data.DataColumn columnVers;
private global::System.Data.DataColumn columnQuoteType;
private global::System.Data.DataColumn columnCodQuote;
private global::System.Data.DataColumn columnQuoteRev;
private global::System.Data.DataColumn columnCodClient;
private global::System.Data.DataColumn columnClientName;
private global::System.Data.DataColumn columnCodItem;
private global::System.Data.DataColumn columnCodItemGroup;
private global::System.Data.DataColumn columnRawMat;
private global::System.Data.DataColumn columnUnitWeight;
private global::System.Data.DataColumn columnBatchQty;
private global::System.Data.DataColumn columnCodInco;
private global::System.Data.DataColumn columnKeyAM;
private global::System.Data.DataColumn columnNote;
private global::System.Data.DataColumn columnPriceOff;
private global::System.Data.DataColumn columnCodClientAssoc;
private global::System.Data.DataColumn columnClientNameAssoc;
private global::System.Data.DataColumn columnItemDescr;
private global::System.Data.DataColumn columnCodifProfilo;
private global::System.Data.DataColumn columnClasseMerc;
private global::System.Data.DataColumn columnTipoDies;
private global::System.Data.DataColumn columnCodDiesGroup;
private global::System.Data.DataColumn columnDiamDies;
private global::System.Data.DataColumn columnHoleNumDies;
private global::System.Data.DataColumn columnDiesPrice;
private global::System.Data.DataColumn columnDiesExpLife;
private global::System.Data.DataColumn columnDiesEOLife;
private global::System.Data.DataColumn columnNumDiesInList;
private global::System.Data.DataColumn columnNumDiesExaust;
private global::System.Data.DataColumn columnCodPlant;
private global::System.Data.DataColumn columnKeyAMIL;
private global::System.Data.DataColumn columnKgTeo;
private global::System.Data.DataColumn columnNumSMED;
private global::System.Data.DataColumn columnQuotaMan;
private global::System.Data.DataColumn columnPRMWeight;
private global::System.Data.DataColumn columnPWeight;
private global::System.Data.DataColumn columnPTare;
private global::System.Data.DataColumn columnLivPackage;
private global::System.Data.DataColumn columnLivPackageDett;
private global::System.Data.DataColumn columnRawMatCost;
private global::System.Data.DataColumn columnRawMatExtraCost;
private global::System.Data.DataColumn columnRawMatFullCost;
private global::System.Data.DataColumn columnCodPackag;
private global::System.Data.DataColumn columnPkgDesc;
private global::System.Data.DataColumn columnFSR;
private global::System.Data.DataColumn columnProvvCost;
private global::System.Data.DataColumn columnEECost;
private global::System.Data.DataColumn columnGasCost;
private global::System.Data.DataColumn columnDiesCost;
private global::System.Data.DataColumn columnPackCost;
private global::System.Data.DataColumn columnTranspCost;
private global::System.Data.DataColumn columnSellCost01;
private global::System.Data.DataColumn columnRefCost01;
private global::System.Data.DataColumn columnSellCost04;
private global::System.Data.DataColumn columnRefCost04;
private global::System.Data.DataColumn columnWSR01;
private global::System.Data.DataColumn columnMSR01;
private global::System.Data.DataColumn columnNetProd01;
private global::System.Data.DataColumn columnFC4UG01;
private global::System.Data.DataColumn columnVC4UG01;
private global::System.Data.DataColumn columnOH4UG01;
private global::System.Data.DataColumn columnSC4UG01;
private global::System.Data.DataColumn columnDSR;
private global::System.Data.DataColumn columnNetProd04;
private global::System.Data.DataColumn columnFC4UG04;
private global::System.Data.DataColumn columnVC4UG04;
private global::System.Data.DataColumn columnFVC;
private global::System.Data.DataColumn columnCharge;
private global::System.Data.DataColumn columnP_FVC;
private global::System.Data.DataColumn columnCPS;
private global::System.Data.DataColumn columnP_CPS;
private global::System.Data.DataColumn columnP_FC4UG04;
private global::System.Data.DataColumn columnFullCost;
private global::System.Data.DataColumn columnP_FullCost;
private global::System.Data.DataColumn columnMinPrice;
private global::System.Data.DataColumn columnP_MinPrice;
private global::System.Data.DataColumn columnP_PriceOff;
private global::System.Data.DataColumn columnNetMar;
private global::System.Data.DataColumn columnFCShield;
private global::System.Data.DataColumn columnPckSur;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteFull_QDataTable() {
this.TableName = "QuoteFull_Q";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal QuoteFull_QDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected QuoteFull_QDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn VersColumn {
get {
return this.columnVers;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuoteTypeColumn {
get {
return this.columnQuoteType;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodQuoteColumn {
get {
return this.columnCodQuote;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuoteRevColumn {
get {
return this.columnQuoteRev;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodClientColumn {
get {
return this.columnCodClient;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ClientNameColumn {
get {
return this.columnClientName;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodItemColumn {
get {
return this.columnCodItem;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodItemGroupColumn {
get {
return this.columnCodItemGroup;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RawMatColumn {
get {
return this.columnRawMat;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn UnitWeightColumn {
get {
return this.columnUnitWeight;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn BatchQtyColumn {
get {
return this.columnBatchQty;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodIncoColumn {
get {
return this.columnCodInco;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn KeyAMColumn {
get {
return this.columnKeyAM;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NoteColumn {
get {
return this.columnNote;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn PriceOffColumn {
get {
return this.columnPriceOff;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodClientAssocColumn {
get {
return this.columnCodClientAssoc;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ClientNameAssocColumn {
get {
return this.columnClientNameAssoc;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ItemDescrColumn {
get {
return this.columnItemDescr;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodifProfiloColumn {
get {
return this.columnCodifProfilo;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ClasseMercColumn {
get {
return this.columnClasseMerc;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn TipoDiesColumn {
get {
return this.columnTipoDies;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodDiesGroupColumn {
get {
return this.columnCodDiesGroup;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DiamDiesColumn {
get {
return this.columnDiamDies;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn HoleNumDiesColumn {
get {
return this.columnHoleNumDies;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DiesPriceColumn {
get {
return this.columnDiesPrice;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DiesExpLifeColumn {
get {
return this.columnDiesExpLife;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DiesEOLifeColumn {
get {
return this.columnDiesEOLife;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NumDiesInListColumn {
get {
return this.columnNumDiesInList;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NumDiesExaustColumn {
get {
return this.columnNumDiesExaust;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodPlantColumn {
get {
return this.columnCodPlant;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn KeyAMILColumn {
get {
return this.columnKeyAMIL;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn KgTeoColumn {
get {
return this.columnKgTeo;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NumSMEDColumn {
get {
return this.columnNumSMED;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn QuotaManColumn {
get {
return this.columnQuotaMan;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn PRMWeightColumn {
get {
return this.columnPRMWeight;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn PWeightColumn {
get {
return this.columnPWeight;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn PTareColumn {
get {
return this.columnPTare;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn LivPackageColumn {
get {
return this.columnLivPackage;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn LivPackageDettColumn {
get {
return this.columnLivPackageDett;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RawMatCostColumn {
get {
return this.columnRawMatCost;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RawMatExtraCostColumn {
get {
return this.columnRawMatExtraCost;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RawMatFullCostColumn {
get {
return this.columnRawMatFullCost;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodPackagColumn {
get {
return this.columnCodPackag;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn PkgDescColumn {
get {
return this.columnPkgDesc;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FSRColumn {
get {
return this.columnFSR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ProvvCostColumn {
get {
return this.columnProvvCost;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn EECostColumn {
get {
return this.columnEECost;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn GasCostColumn {
get {
return this.columnGasCost;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DiesCostColumn {
get {
return this.columnDiesCost;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn PackCostColumn {
get {
return this.columnPackCost;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn TranspCostColumn {
get {
return this.columnTranspCost;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn SellCost01Column {
get {
return this.columnSellCost01;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RefCost01Column {
get {
return this.columnRefCost01;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn SellCost04Column {
get {
return this.columnSellCost04;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RefCost04Column {
get {
return this.columnRefCost04;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn WSR01Column {
get {
return this.columnWSR01;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MSR01Column {
get {
return this.columnMSR01;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NetProd01Column {
get {
return this.columnNetProd01;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FC4UG01Column {
get {
return this.columnFC4UG01;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn VC4UG01Column {
get {
return this.columnVC4UG01;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn OH4UG01Column {
get {
return this.columnOH4UG01;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn SC4UG01Column {
get {
return this.columnSC4UG01;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DSRColumn {
get {
return this.columnDSR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NetProd04Column {
get {
return this.columnNetProd04;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FC4UG04Column {
get {
return this.columnFC4UG04;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn VC4UG04Column {
get {
return this.columnVC4UG04;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FVCColumn {
get {
return this.columnFVC;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ChargeColumn {
get {
return this.columnCharge;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn P_FVCColumn {
get {
return this.columnP_FVC;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CPSColumn {
get {
return this.columnCPS;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn P_CPSColumn {
get {
return this.columnP_CPS;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn P_FC4UG04Column {
get {
return this.columnP_FC4UG04;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FullCostColumn {
get {
return this.columnFullCost;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn P_FullCostColumn {
get {
return this.columnP_FullCost;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MinPriceColumn {
get {
return this.columnMinPrice;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn P_MinPriceColumn {
get {
return this.columnP_MinPrice;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn P_PriceOffColumn {
get {
return this.columnP_PriceOff;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NetMarColumn {
get {
return this.columnNetMar;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FCShieldColumn {
get {
return this.columnFCShield;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn PckSurColumn {
get {
return this.columnPckSur;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteFull_QRow this[int index] {
get {
return ((QuoteFull_QRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteFull_QRowChangeEventHandler QuoteFull_QRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteFull_QRowChangeEventHandler QuoteFull_QRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteFull_QRowChangeEventHandler QuoteFull_QRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event QuoteFull_QRowChangeEventHandler QuoteFull_QRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddQuoteFull_QRow(QuoteFull_QRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteFull_QRow AddQuoteFull_QRow(
string Vers,
string QuoteType,
long CodQuote,
int QuoteRev,
string CodClient,
string ClientName,
string CodItem,
string CodItemGroup,
string RawMat,
decimal UnitWeight,
int BatchQty,
string CodInco,
string KeyAM,
string Note,
decimal PriceOff,
string CodClientAssoc,
string ClientNameAssoc,
string ItemDescr,
string CodifProfilo,
string ClasseMerc,
string TipoDies,
string CodDiesGroup,
decimal DiamDies,
int HoleNumDies,
decimal DiesPrice,
decimal DiesExpLife,
decimal DiesEOLife,
decimal NumDiesInList,
decimal NumDiesExaust,
string CodPlant,
string KeyAMIL,
decimal KgTeo,
decimal NumSMED,
decimal QuotaMan,
decimal PRMWeight,
decimal PWeight,
decimal PTare,
string LivPackage,
string LivPackageDett,
decimal RawMatCost,
decimal RawMatExtraCost,
decimal RawMatFullCost,
string CodPackag,
string PkgDesc,
decimal FSR,
decimal ProvvCost,
decimal EECost,
decimal GasCost,
decimal DiesCost,
decimal PackCost,
decimal TranspCost,
decimal SellCost01,
decimal RefCost01,
decimal SellCost04,
decimal RefCost04,
decimal WSR01,
decimal MSR01,
decimal NetProd01,
decimal FC4UG01,
decimal VC4UG01,
decimal OH4UG01,
decimal SC4UG01,
decimal DSR,
decimal NetProd04,
decimal FC4UG04,
decimal VC4UG04,
decimal FVC,
decimal Charge,
decimal P_FVC,
decimal CPS,
decimal P_CPS,
decimal P_FC4UG04,
decimal FullCost,
decimal P_FullCost,
decimal MinPrice,
decimal P_MinPrice,
decimal P_PriceOff,
decimal NetMar,
decimal FCShield,
decimal PckSur) {
QuoteFull_QRow rowQuoteFull_QRow = ((QuoteFull_QRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
Vers,
QuoteType,
CodQuote,
QuoteRev,
CodClient,
ClientName,
CodItem,
CodItemGroup,
RawMat,
UnitWeight,
BatchQty,
CodInco,
KeyAM,
Note,
PriceOff,
CodClientAssoc,
ClientNameAssoc,
ItemDescr,
CodifProfilo,
ClasseMerc,
TipoDies,
CodDiesGroup,
DiamDies,
HoleNumDies,
DiesPrice,
DiesExpLife,
DiesEOLife,
NumDiesInList,
NumDiesExaust,
CodPlant,
KeyAMIL,
KgTeo,
NumSMED,
QuotaMan,
PRMWeight,
PWeight,
PTare,
LivPackage,
LivPackageDett,
RawMatCost,
RawMatExtraCost,
RawMatFullCost,
CodPackag,
PkgDesc,
FSR,
ProvvCost,
EECost,
GasCost,
DiesCost,
PackCost,
TranspCost,
SellCost01,
RefCost01,
SellCost04,
RefCost04,
WSR01,
MSR01,
NetProd01,
FC4UG01,
VC4UG01,
OH4UG01,
SC4UG01,
DSR,
NetProd04,
FC4UG04,
VC4UG04,
FVC,
Charge,
P_FVC,
CPS,
P_CPS,
P_FC4UG04,
FullCost,
P_FullCost,
MinPrice,
P_MinPrice,
P_PriceOff,
NetMar,
FCShield,
PckSur};
rowQuoteFull_QRow.ItemArray = columnValuesArray;
this.Rows.Add(rowQuoteFull_QRow);
return rowQuoteFull_QRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteFull_QRow FindByQuoteTypeCodQuoteQuoteRev(string QuoteType, long CodQuote, int QuoteRev) {
return ((QuoteFull_QRow)(this.Rows.Find(new object[] {
QuoteType,
CodQuote,
QuoteRev})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
QuoteFull_QDataTable cln = ((QuoteFull_QDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new QuoteFull_QDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnVers = base.Columns["Vers"];
this.columnQuoteType = base.Columns["QuoteType"];
this.columnCodQuote = base.Columns["CodQuote"];
this.columnQuoteRev = base.Columns["QuoteRev"];
this.columnCodClient = base.Columns["CodClient"];
this.columnClientName = base.Columns["ClientName"];
this.columnCodItem = base.Columns["CodItem"];
this.columnCodItemGroup = base.Columns["CodItemGroup"];
this.columnRawMat = base.Columns["RawMat"];
this.columnUnitWeight = base.Columns["UnitWeight"];
this.columnBatchQty = base.Columns["BatchQty"];
this.columnCodInco = base.Columns["CodInco"];
this.columnKeyAM = base.Columns["KeyAM"];
this.columnNote = base.Columns["Note"];
this.columnPriceOff = base.Columns["PriceOff"];
this.columnCodClientAssoc = base.Columns["CodClientAssoc"];
this.columnClientNameAssoc = base.Columns["ClientNameAssoc"];
this.columnItemDescr = base.Columns["ItemDescr"];
this.columnCodifProfilo = base.Columns["CodifProfilo"];
this.columnClasseMerc = base.Columns["ClasseMerc"];
this.columnTipoDies = base.Columns["TipoDies"];
this.columnCodDiesGroup = base.Columns["CodDiesGroup"];
this.columnDiamDies = base.Columns["DiamDies"];
this.columnHoleNumDies = base.Columns["HoleNumDies"];
this.columnDiesPrice = base.Columns["DiesPrice"];
this.columnDiesExpLife = base.Columns["DiesExpLife"];
this.columnDiesEOLife = base.Columns["DiesEOLife"];
this.columnNumDiesInList = base.Columns["NumDiesInList"];
this.columnNumDiesExaust = base.Columns["NumDiesExaust"];
this.columnCodPlant = base.Columns["CodPlant"];
this.columnKeyAMIL = base.Columns["KeyAMIL"];
this.columnKgTeo = base.Columns["KgTeo"];
this.columnNumSMED = base.Columns["NumSMED"];
this.columnQuotaMan = base.Columns["QuotaMan"];
this.columnPRMWeight = base.Columns["PRMWeight"];
this.columnPWeight = base.Columns["PWeight"];
this.columnPTare = base.Columns["PTare"];
this.columnLivPackage = base.Columns["LivPackage"];
this.columnLivPackageDett = base.Columns["LivPackageDett"];
this.columnRawMatCost = base.Columns["RawMatCost"];
this.columnRawMatExtraCost = base.Columns["RawMatExtraCost"];
this.columnRawMatFullCost = base.Columns["RawMatFullCost"];
this.columnCodPackag = base.Columns["CodPackag"];
this.columnPkgDesc = base.Columns["PkgDesc"];
this.columnFSR = base.Columns["FSR"];
this.columnProvvCost = base.Columns["ProvvCost"];
this.columnEECost = base.Columns["EECost"];
this.columnGasCost = base.Columns["GasCost"];
this.columnDiesCost = base.Columns["DiesCost"];
this.columnPackCost = base.Columns["PackCost"];
this.columnTranspCost = base.Columns["TranspCost"];
this.columnSellCost01 = base.Columns["SellCost01"];
this.columnRefCost01 = base.Columns["RefCost01"];
this.columnSellCost04 = base.Columns["SellCost04"];
this.columnRefCost04 = base.Columns["RefCost04"];
this.columnWSR01 = base.Columns["WSR01"];
this.columnMSR01 = base.Columns["MSR01"];
this.columnNetProd01 = base.Columns["NetProd01"];
this.columnFC4UG01 = base.Columns["FC4UG01"];
this.columnVC4UG01 = base.Columns["VC4UG01"];
this.columnOH4UG01 = base.Columns["OH4UG01"];
this.columnSC4UG01 = base.Columns["SC4UG01"];
this.columnDSR = base.Columns["DSR"];
this.columnNetProd04 = base.Columns["NetProd04"];
this.columnFC4UG04 = base.Columns["FC4UG04"];
this.columnVC4UG04 = base.Columns["VC4UG04"];
this.columnFVC = base.Columns["FVC"];
this.columnCharge = base.Columns["Charge"];
this.columnP_FVC = base.Columns["P_FVC"];
this.columnCPS = base.Columns["CPS"];
this.columnP_CPS = base.Columns["P_CPS"];
this.columnP_FC4UG04 = base.Columns["P_FC4UG04"];
this.columnFullCost = base.Columns["FullCost"];
this.columnP_FullCost = base.Columns["P_FullCost"];
this.columnMinPrice = base.Columns["MinPrice"];
this.columnP_MinPrice = base.Columns["P_MinPrice"];
this.columnP_PriceOff = base.Columns["P_PriceOff"];
this.columnNetMar = base.Columns["NetMar"];
this.columnFCShield = base.Columns["FCShield"];
this.columnPckSur = base.Columns["PckSur"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnVers = new global::System.Data.DataColumn("Vers", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnVers);
this.columnQuoteType = new global::System.Data.DataColumn("QuoteType", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuoteType);
this.columnCodQuote = new global::System.Data.DataColumn("CodQuote", typeof(long), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodQuote);
this.columnQuoteRev = new global::System.Data.DataColumn("QuoteRev", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuoteRev);
this.columnCodClient = new global::System.Data.DataColumn("CodClient", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodClient);
this.columnClientName = new global::System.Data.DataColumn("ClientName", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClientName);
this.columnCodItem = new global::System.Data.DataColumn("CodItem", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodItem);
this.columnCodItemGroup = new global::System.Data.DataColumn("CodItemGroup", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodItemGroup);
this.columnRawMat = new global::System.Data.DataColumn("RawMat", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRawMat);
this.columnUnitWeight = new global::System.Data.DataColumn("UnitWeight", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnUnitWeight);
this.columnBatchQty = new global::System.Data.DataColumn("BatchQty", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnBatchQty);
this.columnCodInco = new global::System.Data.DataColumn("CodInco", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodInco);
this.columnKeyAM = new global::System.Data.DataColumn("KeyAM", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnKeyAM);
this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNote);
this.columnPriceOff = new global::System.Data.DataColumn("PriceOff", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPriceOff);
this.columnCodClientAssoc = new global::System.Data.DataColumn("CodClientAssoc", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodClientAssoc);
this.columnClientNameAssoc = new global::System.Data.DataColumn("ClientNameAssoc", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClientNameAssoc);
this.columnItemDescr = new global::System.Data.DataColumn("ItemDescr", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnItemDescr);
this.columnCodifProfilo = new global::System.Data.DataColumn("CodifProfilo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodifProfilo);
this.columnClasseMerc = new global::System.Data.DataColumn("ClasseMerc", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClasseMerc);
this.columnTipoDies = new global::System.Data.DataColumn("TipoDies", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnTipoDies);
this.columnCodDiesGroup = new global::System.Data.DataColumn("CodDiesGroup", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodDiesGroup);
this.columnDiamDies = new global::System.Data.DataColumn("DiamDies", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDiamDies);
this.columnHoleNumDies = new global::System.Data.DataColumn("HoleNumDies", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnHoleNumDies);
this.columnDiesPrice = new global::System.Data.DataColumn("DiesPrice", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDiesPrice);
this.columnDiesExpLife = new global::System.Data.DataColumn("DiesExpLife", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDiesExpLife);
this.columnDiesEOLife = new global::System.Data.DataColumn("DiesEOLife", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDiesEOLife);
this.columnNumDiesInList = new global::System.Data.DataColumn("NumDiesInList", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumDiesInList);
this.columnNumDiesExaust = new global::System.Data.DataColumn("NumDiesExaust", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumDiesExaust);
this.columnCodPlant = new global::System.Data.DataColumn("CodPlant", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodPlant);
this.columnKeyAMIL = new global::System.Data.DataColumn("KeyAMIL", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnKeyAMIL);
this.columnKgTeo = new global::System.Data.DataColumn("KgTeo", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnKgTeo);
this.columnNumSMED = new global::System.Data.DataColumn("NumSMED", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumSMED);
this.columnQuotaMan = new global::System.Data.DataColumn("QuotaMan", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQuotaMan);
this.columnPRMWeight = new global::System.Data.DataColumn("PRMWeight", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPRMWeight);
this.columnPWeight = new global::System.Data.DataColumn("PWeight", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPWeight);
this.columnPTare = new global::System.Data.DataColumn("PTare", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPTare);
this.columnLivPackage = new global::System.Data.DataColumn("LivPackage", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnLivPackage);
this.columnLivPackageDett = new global::System.Data.DataColumn("LivPackageDett", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnLivPackageDett);
this.columnRawMatCost = new global::System.Data.DataColumn("RawMatCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRawMatCost);
this.columnRawMatExtraCost = new global::System.Data.DataColumn("RawMatExtraCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRawMatExtraCost);
this.columnRawMatFullCost = new global::System.Data.DataColumn("RawMatFullCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRawMatFullCost);
this.columnCodPackag = new global::System.Data.DataColumn("CodPackag", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodPackag);
this.columnPkgDesc = new global::System.Data.DataColumn("PkgDesc", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPkgDesc);
this.columnFSR = new global::System.Data.DataColumn("FSR", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFSR);
this.columnProvvCost = new global::System.Data.DataColumn("ProvvCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnProvvCost);
this.columnEECost = new global::System.Data.DataColumn("EECost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnEECost);
this.columnGasCost = new global::System.Data.DataColumn("GasCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnGasCost);
this.columnDiesCost = new global::System.Data.DataColumn("DiesCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDiesCost);
this.columnPackCost = new global::System.Data.DataColumn("PackCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPackCost);
this.columnTranspCost = new global::System.Data.DataColumn("TranspCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnTranspCost);
this.columnSellCost01 = new global::System.Data.DataColumn("SellCost01", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSellCost01);
this.columnRefCost01 = new global::System.Data.DataColumn("RefCost01", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRefCost01);
this.columnSellCost04 = new global::System.Data.DataColumn("SellCost04", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSellCost04);
this.columnRefCost04 = new global::System.Data.DataColumn("RefCost04", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRefCost04);
this.columnWSR01 = new global::System.Data.DataColumn("WSR01", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnWSR01);
this.columnMSR01 = new global::System.Data.DataColumn("MSR01", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMSR01);
this.columnNetProd01 = new global::System.Data.DataColumn("NetProd01", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNetProd01);
this.columnFC4UG01 = new global::System.Data.DataColumn("FC4UG01", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFC4UG01);
this.columnVC4UG01 = new global::System.Data.DataColumn("VC4UG01", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnVC4UG01);
this.columnOH4UG01 = new global::System.Data.DataColumn("OH4UG01", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnOH4UG01);
this.columnSC4UG01 = new global::System.Data.DataColumn("SC4UG01", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSC4UG01);
this.columnDSR = new global::System.Data.DataColumn("DSR", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDSR);
this.columnNetProd04 = new global::System.Data.DataColumn("NetProd04", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNetProd04);
this.columnFC4UG04 = new global::System.Data.DataColumn("FC4UG04", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFC4UG04);
this.columnVC4UG04 = new global::System.Data.DataColumn("VC4UG04", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnVC4UG04);
this.columnFVC = new global::System.Data.DataColumn("FVC", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFVC);
this.columnCharge = new global::System.Data.DataColumn("Charge", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCharge);
this.columnP_FVC = new global::System.Data.DataColumn("P_FVC", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnP_FVC);
this.columnCPS = new global::System.Data.DataColumn("CPS", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCPS);
this.columnP_CPS = new global::System.Data.DataColumn("P_CPS", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnP_CPS);
this.columnP_FC4UG04 = new global::System.Data.DataColumn("P_FC4UG04", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnP_FC4UG04);
this.columnFullCost = new global::System.Data.DataColumn("FullCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFullCost);
this.columnP_FullCost = new global::System.Data.DataColumn("P_FullCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnP_FullCost);
this.columnMinPrice = new global::System.Data.DataColumn("MinPrice", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMinPrice);
this.columnP_MinPrice = new global::System.Data.DataColumn("P_MinPrice", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnP_MinPrice);
this.columnP_PriceOff = new global::System.Data.DataColumn("P_PriceOff", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnP_PriceOff);
this.columnNetMar = new global::System.Data.DataColumn("NetMar", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNetMar);
this.columnFCShield = new global::System.Data.DataColumn("FCShield", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFCShield);
this.columnPckSur = new global::System.Data.DataColumn("PckSur", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPckSur);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnQuoteType,
this.columnCodQuote,
this.columnQuoteRev}, true));
this.columnVers.AllowDBNull = false;
this.columnVers.MaxLength = 5;
this.columnQuoteType.AllowDBNull = false;
this.columnQuoteType.MaxLength = 1;
this.columnCodQuote.AllowDBNull = false;
this.columnQuoteRev.AllowDBNull = false;
this.columnCodClient.AllowDBNull = false;
this.columnCodClient.MaxLength = 50;
this.columnClientName.AllowDBNull = false;
this.columnClientName.MaxLength = 250;
this.columnCodItem.AllowDBNull = false;
this.columnCodItem.MaxLength = 50;
this.columnCodItemGroup.AllowDBNull = false;
this.columnCodItemGroup.MaxLength = 50;
this.columnRawMat.AllowDBNull = false;
this.columnRawMat.MaxLength = 50;
this.columnUnitWeight.AllowDBNull = false;
this.columnBatchQty.AllowDBNull = false;
this.columnCodInco.AllowDBNull = false;
this.columnCodInco.MaxLength = 5;
this.columnKeyAM.AllowDBNull = false;
this.columnKeyAM.MaxLength = 101;
this.columnNote.AllowDBNull = false;
this.columnNote.MaxLength = 2500;
this.columnPriceOff.AllowDBNull = false;
this.columnCodClientAssoc.MaxLength = 100;
this.columnClientNameAssoc.MaxLength = 100;
this.columnItemDescr.MaxLength = 100;
this.columnCodifProfilo.MaxLength = 100;
this.columnClasseMerc.MaxLength = 100;
this.columnTipoDies.MaxLength = 100;
this.columnCodDiesGroup.MaxLength = 100;
this.columnCodPlant.MaxLength = 100;
this.columnKeyAMIL.MaxLength = 100;
this.columnLivPackage.MaxLength = 100;
this.columnLivPackageDett.MaxLength = 100;
this.columnRawMatCost.AllowDBNull = false;
this.columnRawMatExtraCost.AllowDBNull = false;
this.columnCodPackag.AllowDBNull = false;
this.columnCodPackag.MaxLength = 50;
this.columnPkgDesc.MaxLength = 100;
this.columnProvvCost.AllowDBNull = false;
this.columnEECost.AllowDBNull = false;
this.columnGasCost.AllowDBNull = false;
this.columnDiesCost.AllowDBNull = false;
this.columnPackCost.AllowDBNull = false;
this.columnTranspCost.AllowDBNull = false;
this.columnSellCost01.AllowDBNull = false;
this.columnRefCost01.AllowDBNull = false;
this.columnSellCost04.AllowDBNull = false;
this.columnRefCost04.AllowDBNull = false;
this.columnWSR01.AllowDBNull = false;
this.columnMSR01.AllowDBNull = false;
this.columnNetProd01.AllowDBNull = false;
this.columnFC4UG01.AllowDBNull = false;
this.columnVC4UG01.AllowDBNull = false;
this.columnOH4UG01.AllowDBNull = false;
this.columnSC4UG01.AllowDBNull = false;
this.columnNetProd04.AllowDBNull = false;
this.columnFC4UG04.AllowDBNull = false;
this.columnVC4UG04.AllowDBNull = false;
this.columnCharge.AllowDBNull = false;
this.columnP_FVC.ReadOnly = true;
this.columnCPS.ReadOnly = true;
this.columnP_CPS.ReadOnly = true;
this.columnP_FC4UG04.ReadOnly = true;
this.columnFullCost.ReadOnly = true;
this.columnP_FullCost.ReadOnly = true;
this.columnMinPrice.ReadOnly = true;
this.columnP_MinPrice.ReadOnly = true;
this.columnP_PriceOff.ReadOnly = true;
this.columnNetMar.ReadOnly = true;
this.columnFCShield.ReadOnly = true;
this.columnPckSur.ReadOnly = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteFull_QRow NewQuoteFull_QRow() {
return ((QuoteFull_QRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new QuoteFull_QRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(QuoteFull_QRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.QuoteFull_QRowChanged != null)) {
this.QuoteFull_QRowChanged(this, new QuoteFull_QRowChangeEvent(((QuoteFull_QRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.QuoteFull_QRowChanging != null)) {
this.QuoteFull_QRowChanging(this, new QuoteFull_QRowChangeEvent(((QuoteFull_QRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.QuoteFull_QRowDeleted != null)) {
this.QuoteFull_QRowDeleted(this, new QuoteFull_QRowChangeEvent(((QuoteFull_QRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.QuoteFull_QRowDeleting != null)) {
this.QuoteFull_QRowDeleting(this, new QuoteFull_QRowChangeEvent(((QuoteFull_QRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveQuoteFull_QRow(QuoteFull_QRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Quotes ds = new DS_Quotes();
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 = "QuoteFull_QDataTable";
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>
public partial class QuoteListRow : global::System.Data.DataRow {
private QuoteListDataTable tableQuoteList;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal QuoteListRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableQuoteList = ((QuoteListDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string QuoteType {
get {
return ((string)(this[this.tableQuoteList.QuoteTypeColumn]));
}
set {
this[this.tableQuoteList.QuoteTypeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public long CodQuote {
get {
return ((long)(this[this.tableQuoteList.CodQuoteColumn]));
}
set {
this[this.tableQuoteList.CodQuoteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int QuoteRev {
get {
return ((int)(this[this.tableQuoteList.QuoteRevColumn]));
}
set {
this[this.tableQuoteList.QuoteRevColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodClient {
get {
return ((string)(this[this.tableQuoteList.CodClientColumn]));
}
set {
this[this.tableQuoteList.CodClientColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodItem {
get {
return ((string)(this[this.tableQuoteList.CodItemColumn]));
}
set {
this[this.tableQuoteList.CodItemColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodItemGroup {
get {
return ((string)(this[this.tableQuoteList.CodItemGroupColumn]));
}
set {
this[this.tableQuoteList.CodItemGroupColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string RawMat {
get {
return ((string)(this[this.tableQuoteList.RawMatColumn]));
}
set {
this[this.tableQuoteList.RawMatColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal UnitWeight {
get {
return ((decimal)(this[this.tableQuoteList.UnitWeightColumn]));
}
set {
this[this.tableQuoteList.UnitWeightColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int BatchQty {
get {
return ((int)(this[this.tableQuoteList.BatchQtyColumn]));
}
set {
this[this.tableQuoteList.BatchQtyColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodInco {
get {
return ((string)(this[this.tableQuoteList.CodIncoColumn]));
}
set {
this[this.tableQuoteList.CodIncoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string KeyAM {
get {
try {
return ((string)(this[this.tableQuoteList.KeyAMColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'KeyAM\' in table \'QuoteList\' is DBNull.", e);
}
}
set {
this[this.tableQuoteList.KeyAMColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Note {
get {
return ((string)(this[this.tableQuoteList.NoteColumn]));
}
set {
this[this.tableQuoteList.NoteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsKeyAMNull() {
return this.IsNull(this.tableQuoteList.KeyAMColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetKeyAMNull() {
this[this.tableQuoteList.KeyAMColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteRMRow[] GetQuoteRMRows() {
if ((this.Table.ChildRelations["FK_QuoteRM_QuoteList"] == null)) {
return new QuoteRMRow[0];
}
else {
return ((QuoteRMRow[])(base.GetChildRows(this.Table.ChildRelations["FK_QuoteRM_QuoteList"])));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkExtRow[] GetQuoteWorkExtRows() {
if ((this.Table.ChildRelations["FK_QuoteWorkExt_QuoteList"] == null)) {
return new QuoteWorkExtRow[0];
}
else {
return ((QuoteWorkExtRow[])(base.GetChildRows(this.Table.ChildRelations["FK_QuoteWorkExt_QuoteList"])));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkIntRow[] GetQuoteWorkIntRows() {
if ((this.Table.ChildRelations["FK_QuoteWorkInt_QuoteList"] == null)) {
return new QuoteWorkIntRow[0];
}
else {
return ((QuoteWorkIntRow[])(base.GetChildRows(this.Table.ChildRelations["FK_QuoteWorkInt_QuoteList"])));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteParamRow[] GetQuoteParamRows() {
if ((this.Table.ChildRelations["FK_QuoteParam_QuoteList"] == null)) {
return new QuoteParamRow[0];
}
else {
return ((QuoteParamRow[])(base.GetChildRows(this.Table.ChildRelations["FK_QuoteParam_QuoteList"])));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteOCRow[] GetQuoteOCRows() {
if ((this.Table.ChildRelations["FK_QuoteExtra_QuoteList"] == null)) {
return new QuoteOCRow[0];
}
else {
return ((QuoteOCRow[])(base.GetChildRows(this.Table.ChildRelations["FK_QuoteExtra_QuoteList"])));
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class QuoteRMRow : global::System.Data.DataRow {
private QuoteRMDataTable tableQuoteRM;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal QuoteRMRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableQuoteRM = ((QuoteRMDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string QuoteType {
get {
return ((string)(this[this.tableQuoteRM.QuoteTypeColumn]));
}
set {
this[this.tableQuoteRM.QuoteTypeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public long CodQuote {
get {
return ((long)(this[this.tableQuoteRM.CodQuoteColumn]));
}
set {
this[this.tableQuoteRM.CodQuoteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int QuoteRev {
get {
return ((int)(this[this.tableQuoteRM.QuoteRevColumn]));
}
set {
this[this.tableQuoteRM.QuoteRevColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int NumRM {
get {
return ((int)(this[this.tableQuoteRM.NumRMColumn]));
}
set {
this[this.tableQuoteRM.NumRMColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string RawMat {
get {
return ((string)(this[this.tableQuoteRM.RawMatColumn]));
}
set {
this[this.tableQuoteRM.RawMatColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal RawMatCost {
get {
return ((decimal)(this[this.tableQuoteRM.RawMatCostColumn]));
}
set {
this[this.tableQuoteRM.RawMatCostColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal RawMatExtraCost {
get {
return ((decimal)(this[this.tableQuoteRM.RawMatExtraCostColumn]));
}
set {
this[this.tableQuoteRM.RawMatExtraCostColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodPackag {
get {
return ((string)(this[this.tableQuoteRM.CodPackagColumn]));
}
set {
this[this.tableQuoteRM.CodPackagColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal FCR {
get {
return ((decimal)(this[this.tableQuoteRM.FCRColumn]));
}
set {
this[this.tableQuoteRM.FCRColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal FYR {
get {
try {
return ((decimal)(this[this.tableQuoteRM.FYRColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'FYR\' in table \'QuoteRM\' is DBNull.", e);
}
}
set {
this[this.tableQuoteRM.FYRColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal FSR {
get {
try {
return ((decimal)(this[this.tableQuoteRM.FSRColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'FSR\' in table \'QuoteRM\' is DBNull.", e);
}
}
set {
this[this.tableQuoteRM.FSRColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool valid {
get {
return ((bool)(this[this.tableQuoteRM.validColumn]));
}
set {
this[this.tableQuoteRM.validColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteListRow QuoteListRowParent {
get {
return ((QuoteListRow)(this.GetParentRow(this.Table.ParentRelations["FK_QuoteRM_QuoteList"])));
}
set {
this.SetParentRow(value, this.Table.ParentRelations["FK_QuoteRM_QuoteList"]);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsFYRNull() {
return this.IsNull(this.tableQuoteRM.FYRColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetFYRNull() {
this[this.tableQuoteRM.FYRColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsFSRNull() {
return this.IsNull(this.tableQuoteRM.FSRColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetFSRNull() {
this[this.tableQuoteRM.FSRColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class QuoteWorkExtRow : global::System.Data.DataRow {
private QuoteWorkExtDataTable tableQuoteWorkExt;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal QuoteWorkExtRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableQuoteWorkExt = ((QuoteWorkExtDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string QuoteType {
get {
return ((string)(this[this.tableQuoteWorkExt.QuoteTypeColumn]));
}
set {
this[this.tableQuoteWorkExt.QuoteTypeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public long CodQuote {
get {
return ((long)(this[this.tableQuoteWorkExt.CodQuoteColumn]));
}
set {
this[this.tableQuoteWorkExt.CodQuoteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int QuoteRev {
get {
return ((int)(this[this.tableQuoteWorkExt.QuoteRevColumn]));
}
set {
this[this.tableQuoteWorkExt.QuoteRevColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int NumWE {
get {
return ((int)(this[this.tableQuoteWorkExt.NumWEColumn]));
}
set {
this[this.tableQuoteWorkExt.NumWEColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal EWC4UG {
get {
return ((decimal)(this[this.tableQuoteWorkExt.EWC4UGColumn]));
}
set {
this[this.tableQuoteWorkExt.EWC4UGColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string UM {
get {
return ((string)(this[this.tableQuoteWorkExt.UMColumn]));
}
set {
this[this.tableQuoteWorkExt.UMColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool valid {
get {
return ((bool)(this[this.tableQuoteWorkExt.validColumn]));
}
set {
this[this.tableQuoteWorkExt.validColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteListRow QuoteListRowParent {
get {
return ((QuoteListRow)(this.GetParentRow(this.Table.ParentRelations["FK_QuoteWorkExt_QuoteList"])));
}
set {
this.SetParentRow(value, this.Table.ParentRelations["FK_QuoteWorkExt_QuoteList"]);
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class QuoteWorkIntRow : global::System.Data.DataRow {
private QuoteWorkIntDataTable tableQuoteWorkInt;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal QuoteWorkIntRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableQuoteWorkInt = ((QuoteWorkIntDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string QuoteType {
get {
return ((string)(this[this.tableQuoteWorkInt.QuoteTypeColumn]));
}
set {
this[this.tableQuoteWorkInt.QuoteTypeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public long CodQuote {
get {
return ((long)(this[this.tableQuoteWorkInt.CodQuoteColumn]));
}
set {
this[this.tableQuoteWorkInt.CodQuoteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int QuoteRev {
get {
return ((int)(this[this.tableQuoteWorkInt.QuoteRevColumn]));
}
set {
this[this.tableQuoteWorkInt.QuoteRevColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int NumWI {
get {
return ((int)(this[this.tableQuoteWorkInt.NumWIColumn]));
}
set {
this[this.tableQuoteWorkInt.NumWIColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string ProcessNum {
get {
return ((string)(this[this.tableQuoteWorkInt.ProcessNumColumn]));
}
set {
this[this.tableQuoteWorkInt.ProcessNumColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodPlant {
get {
return ((string)(this[this.tableQuoteWorkInt.CodPlantColumn]));
}
set {
this[this.tableQuoteWorkInt.CodPlantColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Class01 {
get {
return ((string)(this[this.tableQuoteWorkInt.Class01Column]));
}
set {
this[this.tableQuoteWorkInt.Class01Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Class02 {
get {
return ((string)(this[this.tableQuoteWorkInt.Class02Column]));
}
set {
this[this.tableQuoteWorkInt.Class02Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Class03 {
get {
return ((string)(this[this.tableQuoteWorkInt.Class03Column]));
}
set {
this[this.tableQuoteWorkInt.Class03Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Class04 {
get {
return ((string)(this[this.tableQuoteWorkInt.Class04Column]));
}
set {
this[this.tableQuoteWorkInt.Class04Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Class05 {
get {
return ((string)(this[this.tableQuoteWorkInt.Class05Column]));
}
set {
this[this.tableQuoteWorkInt.Class05Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal NetProd {
get {
return ((decimal)(this[this.tableQuoteWorkInt.NetProdColumn]));
}
set {
this[this.tableQuoteWorkInt.NetProdColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal WSR {
get {
return ((decimal)(this[this.tableQuoteWorkInt.WSRColumn]));
}
set {
this[this.tableQuoteWorkInt.WSRColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal MSR {
get {
return ((decimal)(this[this.tableQuoteWorkInt.MSRColumn]));
}
set {
this[this.tableQuoteWorkInt.MSRColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal DSR {
get {
return ((decimal)(this[this.tableQuoteWorkInt.DSRColumn]));
}
set {
this[this.tableQuoteWorkInt.DSRColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal FC4UG {
get {
return ((decimal)(this[this.tableQuoteWorkInt.FC4UGColumn]));
}
set {
this[this.tableQuoteWorkInt.FC4UGColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal VC4UG {
get {
return ((decimal)(this[this.tableQuoteWorkInt.VC4UGColumn]));
}
set {
this[this.tableQuoteWorkInt.VC4UGColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal OH4UG {
get {
return ((decimal)(this[this.tableQuoteWorkInt.OH4UGColumn]));
}
set {
this[this.tableQuoteWorkInt.OH4UGColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal SC4UG {
get {
return ((decimal)(this[this.tableQuoteWorkInt.SC4UGColumn]));
}
set {
this[this.tableQuoteWorkInt.SC4UGColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal WYR {
get {
try {
return ((decimal)(this[this.tableQuoteWorkInt.WYRColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'WYR\' in table \'QuoteWorkInt\' is DBNull.", e);
}
}
set {
this[this.tableQuoteWorkInt.WYRColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal MYR {
get {
try {
return ((decimal)(this[this.tableQuoteWorkInt.MYRColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'MYR\' in table \'QuoteWorkInt\' is DBNull.", e);
}
}
set {
this[this.tableQuoteWorkInt.MYRColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal DYR {
get {
try {
return ((decimal)(this[this.tableQuoteWorkInt.DYRColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DYR\' in table \'QuoteWorkInt\' is DBNull.", e);
}
}
set {
this[this.tableQuoteWorkInt.DYRColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal WCR {
get {
try {
return ((decimal)(this[this.tableQuoteWorkInt.WCRColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'WCR\' in table \'QuoteWorkInt\' is DBNull.", e);
}
}
set {
this[this.tableQuoteWorkInt.WCRColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal MCR {
get {
try {
return ((decimal)(this[this.tableQuoteWorkInt.MCRColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'MCR\' in table \'QuoteWorkInt\' is DBNull.", e);
}
}
set {
this[this.tableQuoteWorkInt.MCRColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal DCR {
get {
try {
return ((decimal)(this[this.tableQuoteWorkInt.DCRColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DCR\' in table \'QuoteWorkInt\' is DBNull.", e);
}
}
set {
this[this.tableQuoteWorkInt.DCRColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool valid {
get {
return ((bool)(this[this.tableQuoteWorkInt.validColumn]));
}
set {
this[this.tableQuoteWorkInt.validColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteListRow QuoteListRowParent {
get {
return ((QuoteListRow)(this.GetParentRow(this.Table.ParentRelations["FK_QuoteWorkInt_QuoteList"])));
}
set {
this.SetParentRow(value, this.Table.ParentRelations["FK_QuoteWorkInt_QuoteList"]);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsWYRNull() {
return this.IsNull(this.tableQuoteWorkInt.WYRColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetWYRNull() {
this[this.tableQuoteWorkInt.WYRColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsMYRNull() {
return this.IsNull(this.tableQuoteWorkInt.MYRColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetMYRNull() {
this[this.tableQuoteWorkInt.MYRColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsDYRNull() {
return this.IsNull(this.tableQuoteWorkInt.DYRColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetDYRNull() {
this[this.tableQuoteWorkInt.DYRColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsWCRNull() {
return this.IsNull(this.tableQuoteWorkInt.WCRColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetWCRNull() {
this[this.tableQuoteWorkInt.WCRColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsMCRNull() {
return this.IsNull(this.tableQuoteWorkInt.MCRColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetMCRNull() {
this[this.tableQuoteWorkInt.MCRColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsDCRNull() {
return this.IsNull(this.tableQuoteWorkInt.DCRColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetDCRNull() {
this[this.tableQuoteWorkInt.DCRColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class QuoteParamRow : global::System.Data.DataRow {
private QuoteParamDataTable tableQuoteParam;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal QuoteParamRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableQuoteParam = ((QuoteParamDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string QuoteType {
get {
return ((string)(this[this.tableQuoteParam.QuoteTypeColumn]));
}
set {
this[this.tableQuoteParam.QuoteTypeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public long CodQuote {
get {
return ((long)(this[this.tableQuoteParam.CodQuoteColumn]));
}
set {
this[this.tableQuoteParam.CodQuoteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int QuoteRev {
get {
return ((int)(this[this.tableQuoteParam.QuoteRevColumn]));
}
set {
this[this.tableQuoteParam.QuoteRevColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int NumP {
get {
return ((int)(this[this.tableQuoteParam.NumPColumn]));
}
set {
this[this.tableQuoteParam.NumPColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string ProcessNum {
get {
return ((string)(this[this.tableQuoteParam.ProcessNumColumn]));
}
set {
this[this.tableQuoteParam.ProcessNumColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Descr {
get {
return ((string)(this[this.tableQuoteParam.DescrColumn]));
}
set {
this[this.tableQuoteParam.DescrColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Parameter {
get {
return ((string)(this[this.tableQuoteParam.ParameterColumn]));
}
set {
this[this.tableQuoteParam.ParameterColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteListRow QuoteListRowParent {
get {
return ((QuoteListRow)(this.GetParentRow(this.Table.ParentRelations["FK_QuoteParam_QuoteList"])));
}
set {
this.SetParentRow(value, this.Table.ParentRelations["FK_QuoteParam_QuoteList"]);
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class QuoteOCRow : global::System.Data.DataRow {
private QuoteOCDataTable tableQuoteOC;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal QuoteOCRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableQuoteOC = ((QuoteOCDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string QuoteType {
get {
return ((string)(this[this.tableQuoteOC.QuoteTypeColumn]));
}
set {
this[this.tableQuoteOC.QuoteTypeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public long CodQuote {
get {
return ((long)(this[this.tableQuoteOC.CodQuoteColumn]));
}
set {
this[this.tableQuoteOC.CodQuoteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int QuoteRev {
get {
return ((int)(this[this.tableQuoteOC.QuoteRevColumn]));
}
set {
this[this.tableQuoteOC.QuoteRevColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int NumEx {
get {
return ((int)(this[this.tableQuoteOC.NumExColumn]));
}
set {
this[this.tableQuoteOC.NumExColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string ProcessNum {
get {
return ((string)(this[this.tableQuoteOC.ProcessNumColumn]));
}
set {
this[this.tableQuoteOC.ProcessNumColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodPlant {
get {
return ((string)(this[this.tableQuoteOC.CodPlantColumn]));
}
set {
this[this.tableQuoteOC.CodPlantColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Class01 {
get {
return ((string)(this[this.tableQuoteOC.Class01Column]));
}
set {
this[this.tableQuoteOC.Class01Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Class02 {
get {
return ((string)(this[this.tableQuoteOC.Class02Column]));
}
set {
this[this.tableQuoteOC.Class02Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Class03 {
get {
return ((string)(this[this.tableQuoteOC.Class03Column]));
}
set {
this[this.tableQuoteOC.Class03Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Class04 {
get {
return ((string)(this[this.tableQuoteOC.Class04Column]));
}
set {
this[this.tableQuoteOC.Class04Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Class05 {
get {
return ((string)(this[this.tableQuoteOC.Class05Column]));
}
set {
this[this.tableQuoteOC.Class05Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal TotQty {
get {
return ((decimal)(this[this.tableQuoteOC.TotQtyColumn]));
}
set {
this[this.tableQuoteOC.TotQtyColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal TotCost {
get {
return ((decimal)(this[this.tableQuoteOC.TotCostColumn]));
}
set {
this[this.tableQuoteOC.TotCostColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal Quota {
get {
return ((decimal)(this[this.tableQuoteOC.QuotaColumn]));
}
set {
this[this.tableQuoteOC.QuotaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal C4UG {
get {
try {
return ((decimal)(this[this.tableQuoteOC.C4UGColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'C4UG\' in table \'QuoteOC\' is DBNull.", e);
}
}
set {
this[this.tableQuoteOC.C4UGColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool valid {
get {
return ((bool)(this[this.tableQuoteOC.validColumn]));
}
set {
this[this.tableQuoteOC.validColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteListRow QuoteListRowParent {
get {
return ((QuoteListRow)(this.GetParentRow(this.Table.ParentRelations["FK_QuoteExtra_QuoteList"])));
}
set {
this.SetParentRow(value, this.Table.ParentRelations["FK_QuoteExtra_QuoteList"]);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsC4UGNull() {
return this.IsNull(this.tableQuoteOC.C4UGColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetC4UGNull() {
this[this.tableQuoteOC.C4UGColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class QuoteFull_QRow : global::System.Data.DataRow {
private QuoteFull_QDataTable tableQuoteFull_Q;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal QuoteFull_QRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableQuoteFull_Q = ((QuoteFull_QDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Vers {
get {
return ((string)(this[this.tableQuoteFull_Q.VersColumn]));
}
set {
this[this.tableQuoteFull_Q.VersColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string QuoteType {
get {
return ((string)(this[this.tableQuoteFull_Q.QuoteTypeColumn]));
}
set {
this[this.tableQuoteFull_Q.QuoteTypeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public long CodQuote {
get {
return ((long)(this[this.tableQuoteFull_Q.CodQuoteColumn]));
}
set {
this[this.tableQuoteFull_Q.CodQuoteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int QuoteRev {
get {
return ((int)(this[this.tableQuoteFull_Q.QuoteRevColumn]));
}
set {
this[this.tableQuoteFull_Q.QuoteRevColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodClient {
get {
return ((string)(this[this.tableQuoteFull_Q.CodClientColumn]));
}
set {
this[this.tableQuoteFull_Q.CodClientColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string ClientName {
get {
return ((string)(this[this.tableQuoteFull_Q.ClientNameColumn]));
}
set {
this[this.tableQuoteFull_Q.ClientNameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodItem {
get {
return ((string)(this[this.tableQuoteFull_Q.CodItemColumn]));
}
set {
this[this.tableQuoteFull_Q.CodItemColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodItemGroup {
get {
return ((string)(this[this.tableQuoteFull_Q.CodItemGroupColumn]));
}
set {
this[this.tableQuoteFull_Q.CodItemGroupColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string RawMat {
get {
return ((string)(this[this.tableQuoteFull_Q.RawMatColumn]));
}
set {
this[this.tableQuoteFull_Q.RawMatColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal UnitWeight {
get {
return ((decimal)(this[this.tableQuoteFull_Q.UnitWeightColumn]));
}
set {
this[this.tableQuoteFull_Q.UnitWeightColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int BatchQty {
get {
return ((int)(this[this.tableQuoteFull_Q.BatchQtyColumn]));
}
set {
this[this.tableQuoteFull_Q.BatchQtyColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodInco {
get {
return ((string)(this[this.tableQuoteFull_Q.CodIncoColumn]));
}
set {
this[this.tableQuoteFull_Q.CodIncoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string KeyAM {
get {
return ((string)(this[this.tableQuoteFull_Q.KeyAMColumn]));
}
set {
this[this.tableQuoteFull_Q.KeyAMColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Note {
get {
return ((string)(this[this.tableQuoteFull_Q.NoteColumn]));
}
set {
this[this.tableQuoteFull_Q.NoteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal PriceOff {
get {
return ((decimal)(this[this.tableQuoteFull_Q.PriceOffColumn]));
}
set {
this[this.tableQuoteFull_Q.PriceOffColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodClientAssoc {
get {
try {
return ((string)(this[this.tableQuoteFull_Q.CodClientAssocColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'CodClientAssoc\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.CodClientAssocColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string ClientNameAssoc {
get {
try {
return ((string)(this[this.tableQuoteFull_Q.ClientNameAssocColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'ClientNameAssoc\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.ClientNameAssocColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string ItemDescr {
get {
try {
return ((string)(this[this.tableQuoteFull_Q.ItemDescrColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'ItemDescr\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.ItemDescrColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodifProfilo {
get {
try {
return ((string)(this[this.tableQuoteFull_Q.CodifProfiloColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'CodifProfilo\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.CodifProfiloColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string ClasseMerc {
get {
try {
return ((string)(this[this.tableQuoteFull_Q.ClasseMercColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'ClasseMerc\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.ClasseMercColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string TipoDies {
get {
try {
return ((string)(this[this.tableQuoteFull_Q.TipoDiesColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'TipoDies\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.TipoDiesColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodDiesGroup {
get {
try {
return ((string)(this[this.tableQuoteFull_Q.CodDiesGroupColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'CodDiesGroup\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.CodDiesGroupColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal DiamDies {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.DiamDiesColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DiamDies\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.DiamDiesColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int HoleNumDies {
get {
try {
return ((int)(this[this.tableQuoteFull_Q.HoleNumDiesColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'HoleNumDies\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.HoleNumDiesColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal DiesPrice {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.DiesPriceColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DiesPrice\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.DiesPriceColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal DiesExpLife {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.DiesExpLifeColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DiesExpLife\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.DiesExpLifeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal DiesEOLife {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.DiesEOLifeColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DiesEOLife\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.DiesEOLifeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal NumDiesInList {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.NumDiesInListColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'NumDiesInList\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.NumDiesInListColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal NumDiesExaust {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.NumDiesExaustColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'NumDiesExaust\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.NumDiesExaustColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodPlant {
get {
try {
return ((string)(this[this.tableQuoteFull_Q.CodPlantColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'CodPlant\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.CodPlantColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string KeyAMIL {
get {
try {
return ((string)(this[this.tableQuoteFull_Q.KeyAMILColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'KeyAMIL\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.KeyAMILColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal KgTeo {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.KgTeoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'KgTeo\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.KgTeoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal NumSMED {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.NumSMEDColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'NumSMED\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.NumSMEDColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal QuotaMan {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.QuotaManColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'QuotaMan\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.QuotaManColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal PRMWeight {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.PRMWeightColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'PRMWeight\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.PRMWeightColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal PWeight {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.PWeightColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'PWeight\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.PWeightColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal PTare {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.PTareColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'PTare\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.PTareColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string LivPackage {
get {
try {
return ((string)(this[this.tableQuoteFull_Q.LivPackageColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'LivPackage\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.LivPackageColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string LivPackageDett {
get {
try {
return ((string)(this[this.tableQuoteFull_Q.LivPackageDettColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'LivPackageDett\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.LivPackageDettColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal RawMatCost {
get {
return ((decimal)(this[this.tableQuoteFull_Q.RawMatCostColumn]));
}
set {
this[this.tableQuoteFull_Q.RawMatCostColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal RawMatExtraCost {
get {
return ((decimal)(this[this.tableQuoteFull_Q.RawMatExtraCostColumn]));
}
set {
this[this.tableQuoteFull_Q.RawMatExtraCostColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal RawMatFullCost {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.RawMatFullCostColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'RawMatFullCost\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.RawMatFullCostColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodPackag {
get {
return ((string)(this[this.tableQuoteFull_Q.CodPackagColumn]));
}
set {
this[this.tableQuoteFull_Q.CodPackagColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string PkgDesc {
get {
try {
return ((string)(this[this.tableQuoteFull_Q.PkgDescColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'PkgDesc\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.PkgDescColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal FSR {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.FSRColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'FSR\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.FSRColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal ProvvCost {
get {
return ((decimal)(this[this.tableQuoteFull_Q.ProvvCostColumn]));
}
set {
this[this.tableQuoteFull_Q.ProvvCostColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal EECost {
get {
return ((decimal)(this[this.tableQuoteFull_Q.EECostColumn]));
}
set {
this[this.tableQuoteFull_Q.EECostColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal GasCost {
get {
return ((decimal)(this[this.tableQuoteFull_Q.GasCostColumn]));
}
set {
this[this.tableQuoteFull_Q.GasCostColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal DiesCost {
get {
return ((decimal)(this[this.tableQuoteFull_Q.DiesCostColumn]));
}
set {
this[this.tableQuoteFull_Q.DiesCostColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal PackCost {
get {
return ((decimal)(this[this.tableQuoteFull_Q.PackCostColumn]));
}
set {
this[this.tableQuoteFull_Q.PackCostColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal TranspCost {
get {
return ((decimal)(this[this.tableQuoteFull_Q.TranspCostColumn]));
}
set {
this[this.tableQuoteFull_Q.TranspCostColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal SellCost01 {
get {
return ((decimal)(this[this.tableQuoteFull_Q.SellCost01Column]));
}
set {
this[this.tableQuoteFull_Q.SellCost01Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal RefCost01 {
get {
return ((decimal)(this[this.tableQuoteFull_Q.RefCost01Column]));
}
set {
this[this.tableQuoteFull_Q.RefCost01Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal SellCost04 {
get {
return ((decimal)(this[this.tableQuoteFull_Q.SellCost04Column]));
}
set {
this[this.tableQuoteFull_Q.SellCost04Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal RefCost04 {
get {
return ((decimal)(this[this.tableQuoteFull_Q.RefCost04Column]));
}
set {
this[this.tableQuoteFull_Q.RefCost04Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal WSR01 {
get {
return ((decimal)(this[this.tableQuoteFull_Q.WSR01Column]));
}
set {
this[this.tableQuoteFull_Q.WSR01Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal MSR01 {
get {
return ((decimal)(this[this.tableQuoteFull_Q.MSR01Column]));
}
set {
this[this.tableQuoteFull_Q.MSR01Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal NetProd01 {
get {
return ((decimal)(this[this.tableQuoteFull_Q.NetProd01Column]));
}
set {
this[this.tableQuoteFull_Q.NetProd01Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal FC4UG01 {
get {
return ((decimal)(this[this.tableQuoteFull_Q.FC4UG01Column]));
}
set {
this[this.tableQuoteFull_Q.FC4UG01Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal VC4UG01 {
get {
return ((decimal)(this[this.tableQuoteFull_Q.VC4UG01Column]));
}
set {
this[this.tableQuoteFull_Q.VC4UG01Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal OH4UG01 {
get {
return ((decimal)(this[this.tableQuoteFull_Q.OH4UG01Column]));
}
set {
this[this.tableQuoteFull_Q.OH4UG01Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal SC4UG01 {
get {
return ((decimal)(this[this.tableQuoteFull_Q.SC4UG01Column]));
}
set {
this[this.tableQuoteFull_Q.SC4UG01Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal DSR {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.DSRColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DSR\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.DSRColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal NetProd04 {
get {
return ((decimal)(this[this.tableQuoteFull_Q.NetProd04Column]));
}
set {
this[this.tableQuoteFull_Q.NetProd04Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal FC4UG04 {
get {
return ((decimal)(this[this.tableQuoteFull_Q.FC4UG04Column]));
}
set {
this[this.tableQuoteFull_Q.FC4UG04Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal VC4UG04 {
get {
return ((decimal)(this[this.tableQuoteFull_Q.VC4UG04Column]));
}
set {
this[this.tableQuoteFull_Q.VC4UG04Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal FVC {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.FVCColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'FVC\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.FVCColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal Charge {
get {
return ((decimal)(this[this.tableQuoteFull_Q.ChargeColumn]));
}
set {
this[this.tableQuoteFull_Q.ChargeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal P_FVC {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.P_FVCColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'P_FVC\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.P_FVCColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal CPS {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.CPSColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'CPS\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.CPSColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal P_CPS {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.P_CPSColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'P_CPS\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.P_CPSColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal P_FC4UG04 {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.P_FC4UG04Column]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'P_FC4UG04\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.P_FC4UG04Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal FullCost {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.FullCostColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'FullCost\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.FullCostColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal P_FullCost {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.P_FullCostColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'P_FullCost\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.P_FullCostColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal MinPrice {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.MinPriceColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'MinPrice\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.MinPriceColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal P_MinPrice {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.P_MinPriceColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'P_MinPrice\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.P_MinPriceColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal P_PriceOff {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.P_PriceOffColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'P_PriceOff\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.P_PriceOffColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal NetMar {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.NetMarColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'NetMar\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.NetMarColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal FCShield {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.FCShieldColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'FCShield\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.FCShieldColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal PckSur {
get {
try {
return ((decimal)(this[this.tableQuoteFull_Q.PckSurColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'PckSur\' in table \'QuoteFull_Q\' is DBNull.", e);
}
}
set {
this[this.tableQuoteFull_Q.PckSurColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsCodClientAssocNull() {
return this.IsNull(this.tableQuoteFull_Q.CodClientAssocColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetCodClientAssocNull() {
this[this.tableQuoteFull_Q.CodClientAssocColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsClientNameAssocNull() {
return this.IsNull(this.tableQuoteFull_Q.ClientNameAssocColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetClientNameAssocNull() {
this[this.tableQuoteFull_Q.ClientNameAssocColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsItemDescrNull() {
return this.IsNull(this.tableQuoteFull_Q.ItemDescrColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetItemDescrNull() {
this[this.tableQuoteFull_Q.ItemDescrColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsCodifProfiloNull() {
return this.IsNull(this.tableQuoteFull_Q.CodifProfiloColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetCodifProfiloNull() {
this[this.tableQuoteFull_Q.CodifProfiloColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsClasseMercNull() {
return this.IsNull(this.tableQuoteFull_Q.ClasseMercColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetClasseMercNull() {
this[this.tableQuoteFull_Q.ClasseMercColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsTipoDiesNull() {
return this.IsNull(this.tableQuoteFull_Q.TipoDiesColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetTipoDiesNull() {
this[this.tableQuoteFull_Q.TipoDiesColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsCodDiesGroupNull() {
return this.IsNull(this.tableQuoteFull_Q.CodDiesGroupColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetCodDiesGroupNull() {
this[this.tableQuoteFull_Q.CodDiesGroupColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsDiamDiesNull() {
return this.IsNull(this.tableQuoteFull_Q.DiamDiesColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetDiamDiesNull() {
this[this.tableQuoteFull_Q.DiamDiesColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsHoleNumDiesNull() {
return this.IsNull(this.tableQuoteFull_Q.HoleNumDiesColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetHoleNumDiesNull() {
this[this.tableQuoteFull_Q.HoleNumDiesColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsDiesPriceNull() {
return this.IsNull(this.tableQuoteFull_Q.DiesPriceColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetDiesPriceNull() {
this[this.tableQuoteFull_Q.DiesPriceColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsDiesExpLifeNull() {
return this.IsNull(this.tableQuoteFull_Q.DiesExpLifeColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetDiesExpLifeNull() {
this[this.tableQuoteFull_Q.DiesExpLifeColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsDiesEOLifeNull() {
return this.IsNull(this.tableQuoteFull_Q.DiesEOLifeColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetDiesEOLifeNull() {
this[this.tableQuoteFull_Q.DiesEOLifeColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsNumDiesInListNull() {
return this.IsNull(this.tableQuoteFull_Q.NumDiesInListColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetNumDiesInListNull() {
this[this.tableQuoteFull_Q.NumDiesInListColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsNumDiesExaustNull() {
return this.IsNull(this.tableQuoteFull_Q.NumDiesExaustColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetNumDiesExaustNull() {
this[this.tableQuoteFull_Q.NumDiesExaustColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsCodPlantNull() {
return this.IsNull(this.tableQuoteFull_Q.CodPlantColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetCodPlantNull() {
this[this.tableQuoteFull_Q.CodPlantColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsKeyAMILNull() {
return this.IsNull(this.tableQuoteFull_Q.KeyAMILColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetKeyAMILNull() {
this[this.tableQuoteFull_Q.KeyAMILColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsKgTeoNull() {
return this.IsNull(this.tableQuoteFull_Q.KgTeoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetKgTeoNull() {
this[this.tableQuoteFull_Q.KgTeoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsNumSMEDNull() {
return this.IsNull(this.tableQuoteFull_Q.NumSMEDColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetNumSMEDNull() {
this[this.tableQuoteFull_Q.NumSMEDColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsQuotaManNull() {
return this.IsNull(this.tableQuoteFull_Q.QuotaManColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetQuotaManNull() {
this[this.tableQuoteFull_Q.QuotaManColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsPRMWeightNull() {
return this.IsNull(this.tableQuoteFull_Q.PRMWeightColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetPRMWeightNull() {
this[this.tableQuoteFull_Q.PRMWeightColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsPWeightNull() {
return this.IsNull(this.tableQuoteFull_Q.PWeightColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetPWeightNull() {
this[this.tableQuoteFull_Q.PWeightColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsPTareNull() {
return this.IsNull(this.tableQuoteFull_Q.PTareColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetPTareNull() {
this[this.tableQuoteFull_Q.PTareColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsLivPackageNull() {
return this.IsNull(this.tableQuoteFull_Q.LivPackageColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetLivPackageNull() {
this[this.tableQuoteFull_Q.LivPackageColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsLivPackageDettNull() {
return this.IsNull(this.tableQuoteFull_Q.LivPackageDettColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetLivPackageDettNull() {
this[this.tableQuoteFull_Q.LivPackageDettColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsRawMatFullCostNull() {
return this.IsNull(this.tableQuoteFull_Q.RawMatFullCostColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetRawMatFullCostNull() {
this[this.tableQuoteFull_Q.RawMatFullCostColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsPkgDescNull() {
return this.IsNull(this.tableQuoteFull_Q.PkgDescColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetPkgDescNull() {
this[this.tableQuoteFull_Q.PkgDescColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsFSRNull() {
return this.IsNull(this.tableQuoteFull_Q.FSRColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetFSRNull() {
this[this.tableQuoteFull_Q.FSRColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsDSRNull() {
return this.IsNull(this.tableQuoteFull_Q.DSRColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetDSRNull() {
this[this.tableQuoteFull_Q.DSRColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsFVCNull() {
return this.IsNull(this.tableQuoteFull_Q.FVCColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetFVCNull() {
this[this.tableQuoteFull_Q.FVCColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsP_FVCNull() {
return this.IsNull(this.tableQuoteFull_Q.P_FVCColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetP_FVCNull() {
this[this.tableQuoteFull_Q.P_FVCColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsCPSNull() {
return this.IsNull(this.tableQuoteFull_Q.CPSColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetCPSNull() {
this[this.tableQuoteFull_Q.CPSColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsP_CPSNull() {
return this.IsNull(this.tableQuoteFull_Q.P_CPSColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetP_CPSNull() {
this[this.tableQuoteFull_Q.P_CPSColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsP_FC4UG04Null() {
return this.IsNull(this.tableQuoteFull_Q.P_FC4UG04Column);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetP_FC4UG04Null() {
this[this.tableQuoteFull_Q.P_FC4UG04Column] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsFullCostNull() {
return this.IsNull(this.tableQuoteFull_Q.FullCostColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetFullCostNull() {
this[this.tableQuoteFull_Q.FullCostColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsP_FullCostNull() {
return this.IsNull(this.tableQuoteFull_Q.P_FullCostColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetP_FullCostNull() {
this[this.tableQuoteFull_Q.P_FullCostColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsMinPriceNull() {
return this.IsNull(this.tableQuoteFull_Q.MinPriceColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetMinPriceNull() {
this[this.tableQuoteFull_Q.MinPriceColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsP_MinPriceNull() {
return this.IsNull(this.tableQuoteFull_Q.P_MinPriceColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetP_MinPriceNull() {
this[this.tableQuoteFull_Q.P_MinPriceColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsP_PriceOffNull() {
return this.IsNull(this.tableQuoteFull_Q.P_PriceOffColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetP_PriceOffNull() {
this[this.tableQuoteFull_Q.P_PriceOffColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsNetMarNull() {
return this.IsNull(this.tableQuoteFull_Q.NetMarColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetNetMarNull() {
this[this.tableQuoteFull_Q.NetMarColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsFCShieldNull() {
return this.IsNull(this.tableQuoteFull_Q.FCShieldColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetFCShieldNull() {
this[this.tableQuoteFull_Q.FCShieldColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsPckSurNull() {
return this.IsNull(this.tableQuoteFull_Q.PckSurColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetPckSurNull() {
this[this.tableQuoteFull_Q.PckSurColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public class QuoteListRowChangeEvent : global::System.EventArgs {
private QuoteListRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteListRowChangeEvent(QuoteListRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteListRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public class QuoteRMRowChangeEvent : global::System.EventArgs {
private QuoteRMRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteRMRowChangeEvent(QuoteRMRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteRMRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public class QuoteWorkExtRowChangeEvent : global::System.EventArgs {
private QuoteWorkExtRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkExtRowChangeEvent(QuoteWorkExtRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkExtRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public class QuoteWorkIntRowChangeEvent : global::System.EventArgs {
private QuoteWorkIntRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkIntRowChangeEvent(QuoteWorkIntRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkIntRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public class QuoteParamRowChangeEvent : global::System.EventArgs {
private QuoteParamRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteParamRowChangeEvent(QuoteParamRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteParamRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public class QuoteOCRowChangeEvent : global::System.EventArgs {
private QuoteOCRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteOCRowChangeEvent(QuoteOCRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteOCRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public class QuoteFull_QRowChangeEvent : global::System.EventArgs {
private QuoteFull_QRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteFull_QRowChangeEvent(QuoteFull_QRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteFull_QRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace C2P_Data.DS_QuotesTableAdapters {
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class QuoteListTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteListTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "QuoteList";
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
tableMapping.ColumnMappings.Add("CodClient", "CodClient");
tableMapping.ColumnMappings.Add("CodItem", "CodItem");
tableMapping.ColumnMappings.Add("CodItemGroup", "CodItemGroup");
tableMapping.ColumnMappings.Add("RawMat", "RawMat");
tableMapping.ColumnMappings.Add("UnitWeight", "UnitWeight");
tableMapping.ColumnMappings.Add("BatchQty", "BatchQty");
tableMapping.ColumnMappings.Add("CodInco", "CodInco");
tableMapping.ColumnMappings.Add("KeyAM", "KeyAM");
tableMapping.ColumnMappings.Add("Note", "Note");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[QuoteList] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodClient", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClient", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodItem", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItem", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodItemGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItemGroup", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RawMat", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UnitWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "UnitWeight", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BatchQty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BatchQty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodInco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodInco", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KeyAM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyAM", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[QuoteList] ([QuoteType], [CodQuote], [QuoteRev], [CodClient], [CodItem], [CodItemGroup], [RawMat], [UnitWeight], [BatchQty], [CodInco], [Note]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @CodClient, @CodItem, @CodItemGroup, @RawMat, @UnitWeight, @BatchQty, @CodInco, @Note);
SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClient", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClient", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItem", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItem", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItemGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RawMat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UnitWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "UnitWeight", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchQty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BatchQty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodInco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodInco", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[QuoteList] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [CodClient] = @CodClient, [CodItem] = @CodItem, [CodItemGroup] = @CodItemGroup, [RawMat] = @RawMat, [UnitWeight] = @UnitWeight, [BatchQty] = @BatchQty, [CodInco] = @CodInco, [Note] = @Note WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note));
SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClient", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClient", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItem", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItem", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItemGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RawMat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UnitWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "UnitWeight", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchQty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BatchQty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodInco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodInco", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodClient", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClient", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodItem", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItem", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodItemGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItemGroup", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RawMat", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UnitWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "UnitWeight", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BatchQty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BatchQty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodInco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodInco", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KeyAM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyAM", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::C2P_Data.Properties.Settings.Default.Proxima_C2PConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat, U" +
"nitWeight, BatchQty, CodInco, KeyAM, Note FROM dbo.QuoteList";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_QL_update";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Quotes.QuoteListDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_Quotes.QuoteListDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Quotes.QuoteListDataTable dataTable = new DS_Quotes.QuoteListDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_Quotes.QuoteListDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_Quotes dataSet) {
return this.Adapter.Update(dataSet, "QuoteList");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(string Original_QuoteType, long Original_CodQuote, int Original_QuoteRev, string Original_CodClient, string Original_CodItem, string Original_CodItemGroup, string Original_RawMat, decimal Original_UnitWeight, int Original_BatchQty, string Original_CodInco, string Original_KeyAM, string Original_Note) {
if ((Original_QuoteType == null)) {
throw new global::System.ArgumentNullException("Original_QuoteType");
}
else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_QuoteType));
}
this.Adapter.DeleteCommand.Parameters[1].Value = ((long)(Original_CodQuote));
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_QuoteRev));
if ((Original_CodClient == null)) {
throw new global::System.ArgumentNullException("Original_CodClient");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodClient));
}
if ((Original_CodItem == null)) {
throw new global::System.ArgumentNullException("Original_CodItem");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodItem));
}
if ((Original_CodItemGroup == null)) {
throw new global::System.ArgumentNullException("Original_CodItemGroup");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_CodItemGroup));
}
if ((Original_RawMat == null)) {
throw new global::System.ArgumentNullException("Original_RawMat");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_RawMat));
}
this.Adapter.DeleteCommand.Parameters[7].Value = ((decimal)(Original_UnitWeight));
this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_BatchQty));
if ((Original_CodInco == null)) {
throw new global::System.ArgumentNullException("Original_CodInco");
}
else {
this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_CodInco));
}
if ((Original_KeyAM == null)) {
throw new global::System.ArgumentNullException("Original_KeyAM");
}
else {
this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_KeyAM));
}
if ((Original_Note == null)) {
throw new global::System.ArgumentNullException("Original_Note");
}
else {
this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_Note));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string QuoteType, long CodQuote, int QuoteRev, string CodClient, string CodItem, string CodItemGroup, string RawMat, decimal UnitWeight, int BatchQty, string CodInco, string Note) {
if ((QuoteType == null)) {
throw new global::System.ArgumentNullException("QuoteType");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(QuoteType));
}
this.Adapter.InsertCommand.Parameters[1].Value = ((long)(CodQuote));
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(QuoteRev));
if ((CodClient == null)) {
throw new global::System.ArgumentNullException("CodClient");
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodClient));
}
if ((CodItem == null)) {
throw new global::System.ArgumentNullException("CodItem");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodItem));
}
if ((CodItemGroup == null)) {
throw new global::System.ArgumentNullException("CodItemGroup");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodItemGroup));
}
if ((RawMat == null)) {
throw new global::System.ArgumentNullException("RawMat");
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(RawMat));
}
this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(UnitWeight));
this.Adapter.InsertCommand.Parameters[8].Value = ((int)(BatchQty));
if ((CodInco == null)) {
throw new global::System.ArgumentNullException("CodInco");
}
else {
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(CodInco));
}
if ((Note == null)) {
throw new global::System.ArgumentNullException("Note");
}
else {
this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Note));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string QuoteType,
long CodQuote,
int QuoteRev,
string CodClient,
string CodItem,
string CodItemGroup,
string RawMat,
decimal UnitWeight,
int BatchQty,
string CodInco,
string Note,
string Original_QuoteType,
long Original_CodQuote,
int Original_QuoteRev,
string Original_CodClient,
string Original_CodItem,
string Original_CodItemGroup,
string Original_RawMat,
decimal Original_UnitWeight,
int Original_BatchQty,
string Original_CodInco,
string Original_KeyAM,
string Original_Note) {
if ((QuoteType == null)) {
throw new global::System.ArgumentNullException("QuoteType");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(QuoteType));
}
this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(CodQuote));
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(QuoteRev));
if ((CodClient == null)) {
throw new global::System.ArgumentNullException("CodClient");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodClient));
}
if ((CodItem == null)) {
throw new global::System.ArgumentNullException("CodItem");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodItem));
}
if ((CodItemGroup == null)) {
throw new global::System.ArgumentNullException("CodItemGroup");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodItemGroup));
}
if ((RawMat == null)) {
throw new global::System.ArgumentNullException("RawMat");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(RawMat));
}
this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(UnitWeight));
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(BatchQty));
if ((CodInco == null)) {
throw new global::System.ArgumentNullException("CodInco");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(CodInco));
}
if ((Note == null)) {
throw new global::System.ArgumentNullException("Note");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Note));
}
if ((Original_QuoteType == null)) {
throw new global::System.ArgumentNullException("Original_QuoteType");
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_QuoteType));
}
this.Adapter.UpdateCommand.Parameters[12].Value = ((long)(Original_CodQuote));
this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_QuoteRev));
if ((Original_CodClient == null)) {
throw new global::System.ArgumentNullException("Original_CodClient");
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_CodClient));
}
if ((Original_CodItem == null)) {
throw new global::System.ArgumentNullException("Original_CodItem");
}
else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_CodItem));
}
if ((Original_CodItemGroup == null)) {
throw new global::System.ArgumentNullException("Original_CodItemGroup");
}
else {
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_CodItemGroup));
}
if ((Original_RawMat == null)) {
throw new global::System.ArgumentNullException("Original_RawMat");
}
else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_RawMat));
}
this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(Original_UnitWeight));
this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_BatchQty));
if ((Original_CodInco == null)) {
throw new global::System.ArgumentNullException("Original_CodInco");
}
else {
this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_CodInco));
}
if ((Original_KeyAM == null)) {
throw new global::System.ArgumentNullException("Original_KeyAM");
}
else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_KeyAM));
}
if ((Original_Note == null)) {
throw new global::System.ArgumentNullException("Original_Note");
}
else {
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_Note));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string CodClient,
string CodItem,
string CodItemGroup,
string RawMat,
decimal UnitWeight,
int BatchQty,
string CodInco,
string Note,
string Original_QuoteType,
long Original_CodQuote,
int Original_QuoteRev,
string Original_CodClient,
string Original_CodItem,
string Original_CodItemGroup,
string Original_RawMat,
decimal Original_UnitWeight,
int Original_BatchQty,
string Original_CodInco,
string Original_KeyAM,
string Original_Note) {
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, Note, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_CodClient, Original_CodItem, Original_CodItemGroup, Original_RawMat, Original_UnitWeight, Original_BatchQty, Original_CodInco, Original_KeyAM, Original_Note);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_QL_update(string QuoteType, global::System.Nullable<long> CodQuote, global::System.Nullable<int> QuoteRev) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
if ((QuoteType == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(QuoteType));
}
if ((CodQuote.HasValue == true)) {
command.Parameters[2].Value = ((long)(CodQuote.Value));
}
else {
command.Parameters[2].Value = global::System.DBNull.Value;
}
if ((QuoteRev.HasValue == true)) {
command.Parameters[3].Value = ((int)(QuoteRev.Value));
}
else {
command.Parameters[3].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class QuoteRMTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteRMTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "QuoteRM";
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
tableMapping.ColumnMappings.Add("NumRM", "NumRM");
tableMapping.ColumnMappings.Add("RawMat", "RawMat");
tableMapping.ColumnMappings.Add("RawMatCost", "RawMatCost");
tableMapping.ColumnMappings.Add("RawMatExtraCost", "RawMatExtraCost");
tableMapping.ColumnMappings.Add("CodPackag", "CodPackag");
tableMapping.ColumnMappings.Add("FCR", "FCR");
tableMapping.ColumnMappings.Add("FYR", "FYR");
tableMapping.ColumnMappings.Add("FSR", "FSR");
tableMapping.ColumnMappings.Add("valid", "valid");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[QuoteRM] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumRM] = @Original_NumRM) AND ([RawMat] = @Original_RawMat) AND ([RawMatCost] = @Original_RawMatCost) AND ([RawMatExtraCost] = @Original_RawMatExtraCost) AND ([CodPackag] = @Original_CodPackag) AND ([FCR] = @Original_FCR) AND ((@IsNull_FYR = 1 AND [FYR] IS NULL) OR ([FYR] = @Original_FYR)) AND ((@IsNull_FSR = 1 AND [FSR] IS NULL) OR ([FSR] = @Original_FSR)) AND ([valid] = @Original_valid))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumRM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumRM", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RawMat", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMatCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMatExtraCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatExtraCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPackag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPackag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FCR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 26, 19, "FYR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FSR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FSR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 27, 19, "FSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[QuoteRM] ([QuoteType], [CodQuote], [QuoteRev], [NumRM], [RawMat], [RawMatCost], [RawMatExtraCost], [CodPackag], [FCR], [valid]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumRM, @RawMat, @RawMatCost, @RawMatExtraCost, @CodPackag, @FCR, @valid);
SELECT QuoteType, CodQuote, QuoteRev, NumRM, RawMat, RawMatCost, RawMatExtraCost, CodPackag, FCR, FYR, FSR, valid FROM QuoteRM WHERE (CodQuote = @CodQuote) AND (NumRM = @NumRM) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumRM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumRM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RawMat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatExtraCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatExtraCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPackag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPackag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FCR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[QuoteRM] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [NumRM] = @NumRM, [RawMat] = @RawMat, [RawMatCost] = @RawMatCost, [RawMatExtraCost] = @RawMatExtraCost, [CodPackag] = @CodPackag, [FCR] = @FCR, [valid] = @valid WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumRM] = @Original_NumRM) AND ([RawMat] = @Original_RawMat) AND ([RawMatCost] = @Original_RawMatCost) AND ([RawMatExtraCost] = @Original_RawMatExtraCost) AND ([CodPackag] = @Original_CodPackag) AND ([FCR] = @Original_FCR) AND ((@IsNull_FYR = 1 AND [FYR] IS NULL) OR ([FYR] = @Original_FYR)) AND ((@IsNull_FSR = 1 AND [FSR] IS NULL) OR ([FSR] = @Original_FSR)) AND ([valid] = @Original_valid));
SELECT QuoteType, CodQuote, QuoteRev, NumRM, RawMat, RawMatCost, RawMatExtraCost, CodPackag, FCR, FYR, FSR, valid FROM QuoteRM WHERE (CodQuote = @CodQuote) AND (NumRM = @NumRM) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumRM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumRM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RawMat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatExtraCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatExtraCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPackag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPackag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FCR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumRM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumRM", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RawMat", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMatCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMatExtraCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatExtraCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPackag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPackag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FCR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 26, 19, "FYR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FSR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FSR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 27, 19, "FSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::C2P_Data.Properties.Settings.Default.Proxima_C2PConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT QuoteType, CodQuote, QuoteRev, NumRM, RawMat, RawMatCost, RawMatExtraCost," +
" CodPackag, FCR, FYR, FSR, valid FROM dbo.QuoteRM";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Quotes.QuoteRMDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_Quotes.QuoteRMDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Quotes.QuoteRMDataTable dataTable = new DS_Quotes.QuoteRMDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_Quotes.QuoteRMDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_Quotes dataSet) {
return this.Adapter.Update(dataSet, "QuoteRM");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(string Original_QuoteType, long Original_CodQuote, int Original_QuoteRev, int Original_NumRM, string Original_RawMat, decimal Original_RawMatCost, decimal Original_RawMatExtraCost, string Original_CodPackag, decimal Original_FCR, global::System.Nullable<decimal> Original_FYR, global::System.Nullable<decimal> Original_FSR, bool Original_valid) {
if ((Original_QuoteType == null)) {
throw new global::System.ArgumentNullException("Original_QuoteType");
}
else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_QuoteType));
}
this.Adapter.DeleteCommand.Parameters[1].Value = ((long)(Original_CodQuote));
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_QuoteRev));
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumRM));
if ((Original_RawMat == null)) {
throw new global::System.ArgumentNullException("Original_RawMat");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_RawMat));
}
this.Adapter.DeleteCommand.Parameters[5].Value = ((decimal)(Original_RawMatCost));
this.Adapter.DeleteCommand.Parameters[6].Value = ((decimal)(Original_RawMatExtraCost));
if ((Original_CodPackag == null)) {
throw new global::System.ArgumentNullException("Original_CodPackag");
}
else {
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CodPackag));
}
this.Adapter.DeleteCommand.Parameters[8].Value = ((decimal)(Original_FCR));
if ((Original_FYR.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[10].Value = ((decimal)(Original_FYR.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
}
if ((Original_FSR.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[12].Value = ((decimal)(Original_FSR.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
}
this.Adapter.DeleteCommand.Parameters[13].Value = ((bool)(Original_valid));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string QuoteType, long CodQuote, int QuoteRev, int NumRM, string RawMat, decimal RawMatCost, decimal RawMatExtraCost, string CodPackag, decimal FCR, bool valid) {
if ((QuoteType == null)) {
throw new global::System.ArgumentNullException("QuoteType");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(QuoteType));
}
this.Adapter.InsertCommand.Parameters[1].Value = ((long)(CodQuote));
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(QuoteRev));
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(NumRM));
if ((RawMat == null)) {
throw new global::System.ArgumentNullException("RawMat");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(RawMat));
}
this.Adapter.InsertCommand.Parameters[5].Value = ((decimal)(RawMatCost));
this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(RawMatExtraCost));
if ((CodPackag == null)) {
throw new global::System.ArgumentNullException("CodPackag");
}
else {
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(CodPackag));
}
this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(FCR));
this.Adapter.InsertCommand.Parameters[9].Value = ((bool)(valid));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string QuoteType,
long CodQuote,
int QuoteRev,
int NumRM,
string RawMat,
decimal RawMatCost,
decimal RawMatExtraCost,
string CodPackag,
decimal FCR,
bool valid,
string Original_QuoteType,
long Original_CodQuote,
int Original_QuoteRev,
int Original_NumRM,
string Original_RawMat,
decimal Original_RawMatCost,
decimal Original_RawMatExtraCost,
string Original_CodPackag,
decimal Original_FCR,
global::System.Nullable<decimal> Original_FYR,
global::System.Nullable<decimal> Original_FSR,
bool Original_valid) {
if ((QuoteType == null)) {
throw new global::System.ArgumentNullException("QuoteType");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(QuoteType));
}
this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(CodQuote));
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(QuoteRev));
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(NumRM));
if ((RawMat == null)) {
throw new global::System.ArgumentNullException("RawMat");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(RawMat));
}
this.Adapter.UpdateCommand.Parameters[5].Value = ((decimal)(RawMatCost));
this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(RawMatExtraCost));
if ((CodPackag == null)) {
throw new global::System.ArgumentNullException("CodPackag");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(CodPackag));
}
this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(FCR));
this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(valid));
if ((Original_QuoteType == null)) {
throw new global::System.ArgumentNullException("Original_QuoteType");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_QuoteType));
}
this.Adapter.UpdateCommand.Parameters[11].Value = ((long)(Original_CodQuote));
this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(Original_QuoteRev));
this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_NumRM));
if ((Original_RawMat == null)) {
throw new global::System.ArgumentNullException("Original_RawMat");
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_RawMat));
}
this.Adapter.UpdateCommand.Parameters[15].Value = ((decimal)(Original_RawMatCost));
this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(Original_RawMatExtraCost));
if ((Original_CodPackag == null)) {
throw new global::System.ArgumentNullException("Original_CodPackag");
}
else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_CodPackag));
}
this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(Original_FCR));
if ((Original_FYR.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[20].Value = ((decimal)(Original_FYR.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
}
if ((Original_FSR.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[22].Value = ((decimal)(Original_FSR.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
}
this.Adapter.UpdateCommand.Parameters[23].Value = ((bool)(Original_valid));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string RawMat,
decimal RawMatCost,
decimal RawMatExtraCost,
string CodPackag,
decimal FCR,
bool valid,
string Original_QuoteType,
long Original_CodQuote,
int Original_QuoteRev,
int Original_NumRM,
string Original_RawMat,
decimal Original_RawMatCost,
decimal Original_RawMatExtraCost,
string Original_CodPackag,
decimal Original_FCR,
global::System.Nullable<decimal> Original_FYR,
global::System.Nullable<decimal> Original_FSR,
bool Original_valid) {
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumRM, RawMat, RawMatCost, RawMatExtraCost, CodPackag, FCR, valid, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumRM, Original_RawMat, Original_RawMatCost, Original_RawMatExtraCost, Original_CodPackag, Original_FCR, Original_FYR, Original_FSR, Original_valid);
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class QuoteWorkExtTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkExtTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "QuoteWorkExt";
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
tableMapping.ColumnMappings.Add("NumWE", "NumWE");
tableMapping.ColumnMappings.Add("EWC4UG", "EWC4UG");
tableMapping.ColumnMappings.Add("UM", "UM");
tableMapping.ColumnMappings.Add("valid", "valid");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[QuoteWorkExt] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumWE] = @Original_NumWE) AND ([EWC4UG] = @Original_EWC4UG) AND ([UM] = @Original_UM) AND ([valid] = @Original_valid))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumWE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWE", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EWC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "EWC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[QuoteWorkExt] ([QuoteType], [CodQuote], [QuoteRev], [NumWE], [EWC4UG], [UM], [valid]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumWE, @EWC4UG, @UM, @valid);
SELECT QuoteType, CodQuote, QuoteRev, NumWE, EWC4UG, UM, valid FROM QuoteWorkExt WHERE (CodQuote = @CodQuote) AND (NumWE = @NumWE) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumWE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWE", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EWC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "EWC4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[QuoteWorkExt] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [NumWE] = @NumWE, [EWC4UG] = @EWC4UG, [UM] = @UM, [valid] = @valid WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumWE] = @Original_NumWE) AND ([EWC4UG] = @Original_EWC4UG) AND ([UM] = @Original_UM) AND ([valid] = @Original_valid));
SELECT QuoteType, CodQuote, QuoteRev, NumWE, EWC4UG, UM, valid FROM QuoteWorkExt WHERE (CodQuote = @CodQuote) AND (NumWE = @NumWE) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumWE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWE", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EWC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "EWC4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumWE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWE", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EWC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "EWC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::C2P_Data.Properties.Settings.Default.Proxima_C2PConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT QuoteType, CodQuote, QuoteRev, NumWE, EWC4UG, UM, valid FROM dbo.QuoteWork" +
"Ext";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Quotes.QuoteWorkExtDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_Quotes.QuoteWorkExtDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Quotes.QuoteWorkExtDataTable dataTable = new DS_Quotes.QuoteWorkExtDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_Quotes.QuoteWorkExtDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_Quotes dataSet) {
return this.Adapter.Update(dataSet, "QuoteWorkExt");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(string Original_QuoteType, long Original_CodQuote, int Original_QuoteRev, int Original_NumWE, decimal Original_EWC4UG, string Original_UM, bool Original_valid) {
if ((Original_QuoteType == null)) {
throw new global::System.ArgumentNullException("Original_QuoteType");
}
else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_QuoteType));
}
this.Adapter.DeleteCommand.Parameters[1].Value = ((long)(Original_CodQuote));
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_QuoteRev));
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumWE));
this.Adapter.DeleteCommand.Parameters[4].Value = ((decimal)(Original_EWC4UG));
if ((Original_UM == null)) {
throw new global::System.ArgumentNullException("Original_UM");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_UM));
}
this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_valid));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string QuoteType, long CodQuote, int QuoteRev, int NumWE, decimal EWC4UG, string UM, bool valid) {
if ((QuoteType == null)) {
throw new global::System.ArgumentNullException("QuoteType");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(QuoteType));
}
this.Adapter.InsertCommand.Parameters[1].Value = ((long)(CodQuote));
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(QuoteRev));
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(NumWE));
this.Adapter.InsertCommand.Parameters[4].Value = ((decimal)(EWC4UG));
if ((UM == null)) {
throw new global::System.ArgumentNullException("UM");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(UM));
}
this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(valid));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string QuoteType, long CodQuote, int QuoteRev, int NumWE, decimal EWC4UG, string UM, bool valid, string Original_QuoteType, long Original_CodQuote, int Original_QuoteRev, int Original_NumWE, decimal Original_EWC4UG, string Original_UM, bool Original_valid) {
if ((QuoteType == null)) {
throw new global::System.ArgumentNullException("QuoteType");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(QuoteType));
}
this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(CodQuote));
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(QuoteRev));
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(NumWE));
this.Adapter.UpdateCommand.Parameters[4].Value = ((decimal)(EWC4UG));
if ((UM == null)) {
throw new global::System.ArgumentNullException("UM");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(UM));
}
this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(valid));
if ((Original_QuoteType == null)) {
throw new global::System.ArgumentNullException("Original_QuoteType");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_QuoteType));
}
this.Adapter.UpdateCommand.Parameters[8].Value = ((long)(Original_CodQuote));
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_QuoteRev));
this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_NumWE));
this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(Original_EWC4UG));
if ((Original_UM == null)) {
throw new global::System.ArgumentNullException("Original_UM");
}
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_UM));
}
this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(Original_valid));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(decimal EWC4UG, string UM, bool valid, string Original_QuoteType, long Original_CodQuote, int Original_QuoteRev, int Original_NumWE, decimal Original_EWC4UG, string Original_UM, bool Original_valid) {
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumWE, EWC4UG, UM, valid, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumWE, Original_EWC4UG, Original_UM, Original_valid);
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class QuoteWorkIntTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteWorkIntTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "QuoteWorkInt";
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
tableMapping.ColumnMappings.Add("NumWI", "NumWI");
tableMapping.ColumnMappings.Add("ProcessNum", "ProcessNum");
tableMapping.ColumnMappings.Add("CodPlant", "CodPlant");
tableMapping.ColumnMappings.Add("Class01", "Class01");
tableMapping.ColumnMappings.Add("Class02", "Class02");
tableMapping.ColumnMappings.Add("Class03", "Class03");
tableMapping.ColumnMappings.Add("Class04", "Class04");
tableMapping.ColumnMappings.Add("Class05", "Class05");
tableMapping.ColumnMappings.Add("NetProd", "NetProd");
tableMapping.ColumnMappings.Add("WSR", "WSR");
tableMapping.ColumnMappings.Add("MSR", "MSR");
tableMapping.ColumnMappings.Add("DSR", "DSR");
tableMapping.ColumnMappings.Add("FC4UG", "FC4UG");
tableMapping.ColumnMappings.Add("VC4UG", "VC4UG");
tableMapping.ColumnMappings.Add("OH4UG", "OH4UG");
tableMapping.ColumnMappings.Add("SC4UG", "SC4UG");
tableMapping.ColumnMappings.Add("WYR", "WYR");
tableMapping.ColumnMappings.Add("MYR", "MYR");
tableMapping.ColumnMappings.Add("DYR", "DYR");
tableMapping.ColumnMappings.Add("WCR", "WCR");
tableMapping.ColumnMappings.Add("MCR", "MCR");
tableMapping.ColumnMappings.Add("DCR", "DCR");
tableMapping.ColumnMappings.Add("valid", "valid");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[QuoteWorkInt] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumWI] = @Original_NumWI) AND ([ProcessNum] = @Original_ProcessNum) AND ([CodPlant] = @Original_CodPlant) AND ([Class01] = @Original_Class01) AND ([Class02] = @Original_Class02) AND ([Class03] = @Original_Class03) AND ([Class04] = @Original_Class04) AND ([Class05] = @Original_Class05) AND ([NetProd] = @Original_NetProd) AND ([WSR] = @Original_WSR) AND ([MSR] = @Original_MSR) AND ([DSR] = @Original_DSR) AND ([FC4UG] = @Original_FC4UG) AND ([VC4UG] = @Original_VC4UG) AND ([OH4UG] = @Original_OH4UG) AND ([SC4UG] = @Original_SC4UG) AND ((@IsNull_WYR = 1 AND [WYR] IS NULL) OR ([WYR] = @Original_WYR)) AND ((@IsNull_MYR = 1 AND [MYR] IS NULL) OR ([MYR] = @Original_MYR)) AND ((@IsNull_DYR = 1 AND [DYR] IS NULL) OR ([DYR] = @Original_DYR)) AND ((@IsNull_WCR = 1 AND [WCR] IS NULL) OR ([WCR] = @Original_WCR)) AND ((@IsNull_MCR = 1 AND [MCR] IS NULL) OR ([MCR] = @Original_MCR)) AND ((@IsNull_DCR = 1 AND [DCR] IS NULL) OR ([DCR] = @Original_DCR)) AND ([valid] = @Original_valid))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumWI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPlant", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPlant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NetProd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "DSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_VC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OH4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OH4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_WYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 8, "WYR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 8, "MYR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 8, "DYR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_WCR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WCR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 20, 11, "WCR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MCR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MCR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 20, 11, "MCR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DCR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DCR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 20, 11, "DCR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[QuoteWorkInt] ([QuoteType], [CodQuote], [QuoteRev], [NumWI], [ProcessNum], [CodPlant], [Class01], [Class02], [Class03], [Class04], [Class05], [NetProd], [WSR], [MSR], [DSR], [FC4UG], [VC4UG], [OH4UG], [SC4UG], [valid]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumWI, @ProcessNum, @CodPlant, @Class01, @Class02, @Class03, @Class04, @Class05, @NetProd, @WSR, @MSR, @DSR, @FC4UG, @VC4UG, @OH4UG, @SC4UG, @valid);
SELECT QuoteType, CodQuote, QuoteRev, NumWI, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, NetProd, WSR, MSR, DSR, FC4UG, VC4UG, OH4UG, SC4UG, WYR, MYR, DYR, WCR, MCR, DCR, valid FROM QuoteWorkInt WHERE (CodQuote = @CodQuote) AND (NumWI = @NumWI) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumWI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPlant", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPlant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetProd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "DSR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OH4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OH4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SC4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[QuoteWorkInt] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote," +
" [QuoteRev] = @QuoteRev, [NumWI] = @NumWI, [ProcessNum] = @ProcessNum, [CodPlant" +
"] = @CodPlant, [Class01] = @Class01, [Class02] = @Class02, [Class03] = @Class03," +
" [Class04] = @Class04, [Class05] = @Class05, [NetProd] = @NetProd, [WSR] = @WSR," +
" [MSR] = @MSR, [DSR] = @DSR, [FC4UG] = @FC4UG, [VC4UG] = @VC4UG, [OH4UG] = @OH4U" +
"G, [SC4UG] = @SC4UG, [valid] = @valid WHERE (([QuoteType] = @Original_QuoteType)" +
" AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND" +
" ([NumWI] = @Original_NumWI) AND ([ProcessNum] = @Original_ProcessNum) AND ([Cod" +
"Plant] = @Original_CodPlant) AND ([Class01] = @Original_Class01) AND ([Class02] " +
"= @Original_Class02) AND ([Class03] = @Original_Class03) AND ([Class04] = @Origi" +
"nal_Class04) AND ([Class05] = @Original_Class05) AND ([NetProd] = @Original_NetP" +
"rod) AND ([WSR] = @Original_WSR) AND ([MSR] = @Original_MSR) AND ([DSR] = @Origi" +
"nal_DSR) AND ([FC4UG] = @Original_FC4UG) AND ([VC4UG] = @Original_VC4UG) AND ([O" +
"H4UG] = @Original_OH4UG) AND ([SC4UG] = @Original_SC4UG) AND ((@IsNull_WYR = 1 A" +
"ND [WYR] IS NULL) OR ([WYR] = @Original_WYR)) AND ((@IsNull_MYR = 1 AND [MYR] IS" +
" NULL) OR ([MYR] = @Original_MYR)) AND ((@IsNull_DYR = 1 AND [DYR] IS NULL) OR (" +
"[DYR] = @Original_DYR)) AND ((@IsNull_WCR = 1 AND [WCR] IS NULL) OR ([WCR] = @Or" +
"iginal_WCR)) AND ((@IsNull_MCR = 1 AND [MCR] IS NULL) OR ([MCR] = @Original_MCR)" +
") AND ((@IsNull_DCR = 1 AND [DCR] IS NULL) OR ([DCR] = @Original_DCR)) AND ([val" +
"id] = @Original_valid));\r\nSELECT QuoteType, CodQuote, QuoteRev, NumWI, ProcessNu" +
"m, CodPlant, Class01, Class02, Class03, Class04, Class05, NetProd, WSR, MSR, DSR" +
", FC4UG, VC4UG, OH4UG, SC4UG, WYR, MYR, DYR, WCR, MCR, DCR, valid FROM QuoteWork" +
"Int WHERE (CodQuote = @CodQuote) AND (NumWI = @NumWI) AND (QuoteRev = @QuoteRev)" +
" AND (QuoteType = @QuoteType)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumWI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPlant", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPlant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetProd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "DSR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OH4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OH4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SC4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumWI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPlant", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPlant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NetProd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "DSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_VC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OH4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OH4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_WYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 8, "WYR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 8, "MYR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 8, "DYR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_WCR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WCR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 20, 11, "WCR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MCR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MCR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 20, 11, "MCR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DCR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DCR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 20, 11, "DCR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::C2P_Data.Properties.Settings.Default.Proxima_C2PConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT QuoteType, CodQuote, QuoteRev, NumWI, ProcessNum, CodPlant, Class01, Class" +
"02, Class03, Class04, Class05, NetProd, WSR, MSR, DSR, FC4UG, VC4UG, OH4UG, SC4U" +
"G, WYR, MYR, DYR, WCR, MCR, DCR, valid FROM dbo.QuoteWorkInt";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Quotes.QuoteWorkIntDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_Quotes.QuoteWorkIntDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Quotes.QuoteWorkIntDataTable dataTable = new DS_Quotes.QuoteWorkIntDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_Quotes.QuoteWorkIntDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_Quotes dataSet) {
return this.Adapter.Update(dataSet, "QuoteWorkInt");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(
string Original_QuoteType,
long Original_CodQuote,
int Original_QuoteRev,
int Original_NumWI,
string Original_ProcessNum,
string Original_CodPlant,
string Original_Class01,
string Original_Class02,
string Original_Class03,
string Original_Class04,
string Original_Class05,
decimal Original_NetProd,
decimal Original_WSR,
decimal Original_MSR,
decimal Original_DSR,
decimal Original_FC4UG,
decimal Original_VC4UG,
decimal Original_OH4UG,
decimal Original_SC4UG,
global::System.Nullable<decimal> Original_WYR,
global::System.Nullable<decimal> Original_MYR,
global::System.Nullable<decimal> Original_DYR,
global::System.Nullable<decimal> Original_WCR,
global::System.Nullable<decimal> Original_MCR,
global::System.Nullable<decimal> Original_DCR,
bool Original_valid) {
if ((Original_QuoteType == null)) {
throw new global::System.ArgumentNullException("Original_QuoteType");
}
else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_QuoteType));
}
this.Adapter.DeleteCommand.Parameters[1].Value = ((long)(Original_CodQuote));
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_QuoteRev));
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumWI));
if ((Original_ProcessNum == null)) {
throw new global::System.ArgumentNullException("Original_ProcessNum");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_ProcessNum));
}
if ((Original_CodPlant == null)) {
throw new global::System.ArgumentNullException("Original_CodPlant");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_CodPlant));
}
if ((Original_Class01 == null)) {
throw new global::System.ArgumentNullException("Original_Class01");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Class01));
}
if ((Original_Class02 == null)) {
throw new global::System.ArgumentNullException("Original_Class02");
}
else {
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_Class02));
}
if ((Original_Class03 == null)) {
throw new global::System.ArgumentNullException("Original_Class03");
}
else {
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Class03));
}
if ((Original_Class04 == null)) {
throw new global::System.ArgumentNullException("Original_Class04");
}
else {
this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_Class04));
}
if ((Original_Class05 == null)) {
throw new global::System.ArgumentNullException("Original_Class05");
}
else {
this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_Class05));
}
this.Adapter.DeleteCommand.Parameters[11].Value = ((decimal)(Original_NetProd));
this.Adapter.DeleteCommand.Parameters[12].Value = ((decimal)(Original_WSR));
this.Adapter.DeleteCommand.Parameters[13].Value = ((decimal)(Original_MSR));
this.Adapter.DeleteCommand.Parameters[14].Value = ((decimal)(Original_DSR));
this.Adapter.DeleteCommand.Parameters[15].Value = ((decimal)(Original_FC4UG));
this.Adapter.DeleteCommand.Parameters[16].Value = ((decimal)(Original_VC4UG));
this.Adapter.DeleteCommand.Parameters[17].Value = ((decimal)(Original_OH4UG));
this.Adapter.DeleteCommand.Parameters[18].Value = ((decimal)(Original_SC4UG));
if ((Original_WYR.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[20].Value = ((decimal)(Original_WYR.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
}
if ((Original_MYR.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[22].Value = ((decimal)(Original_MYR.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
}
if ((Original_DYR.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[24].Value = ((decimal)(Original_DYR.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
}
if ((Original_WCR.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[26].Value = ((decimal)(Original_WCR.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
}
if ((Original_MCR.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[28].Value = ((decimal)(Original_MCR.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
}
if ((Original_DCR.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[30].Value = ((decimal)(Original_DCR.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value;
}
this.Adapter.DeleteCommand.Parameters[31].Value = ((bool)(Original_valid));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(
string QuoteType,
long CodQuote,
int QuoteRev,
int NumWI,
string ProcessNum,
string CodPlant,
string Class01,
string Class02,
string Class03,
string Class04,
string Class05,
decimal NetProd,
decimal WSR,
decimal MSR,
decimal DSR,
decimal FC4UG,
decimal VC4UG,
decimal OH4UG,
decimal SC4UG,
bool valid) {
if ((QuoteType == null)) {
throw new global::System.ArgumentNullException("QuoteType");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(QuoteType));
}
this.Adapter.InsertCommand.Parameters[1].Value = ((long)(CodQuote));
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(QuoteRev));
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(NumWI));
if ((ProcessNum == null)) {
throw new global::System.ArgumentNullException("ProcessNum");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(ProcessNum));
}
if ((CodPlant == null)) {
throw new global::System.ArgumentNullException("CodPlant");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodPlant));
}
if ((Class01 == null)) {
throw new global::System.ArgumentNullException("Class01");
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Class01));
}
if ((Class02 == null)) {
throw new global::System.ArgumentNullException("Class02");
}
else {
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Class02));
}
if ((Class03 == null)) {
throw new global::System.ArgumentNullException("Class03");
}
else {
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Class03));
}
if ((Class04 == null)) {
throw new global::System.ArgumentNullException("Class04");
}
else {
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Class04));
}
if ((Class05 == null)) {
throw new global::System.ArgumentNullException("Class05");
}
else {
this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Class05));
}
this.Adapter.InsertCommand.Parameters[11].Value = ((decimal)(NetProd));
this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(WSR));
this.Adapter.InsertCommand.Parameters[13].Value = ((decimal)(MSR));
this.Adapter.InsertCommand.Parameters[14].Value = ((decimal)(DSR));
this.Adapter.InsertCommand.Parameters[15].Value = ((decimal)(FC4UG));
this.Adapter.InsertCommand.Parameters[16].Value = ((decimal)(VC4UG));
this.Adapter.InsertCommand.Parameters[17].Value = ((decimal)(OH4UG));
this.Adapter.InsertCommand.Parameters[18].Value = ((decimal)(SC4UG));
this.Adapter.InsertCommand.Parameters[19].Value = ((bool)(valid));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string QuoteType,
long CodQuote,
int QuoteRev,
int NumWI,
string ProcessNum,
string CodPlant,
string Class01,
string Class02,
string Class03,
string Class04,
string Class05,
decimal NetProd,
decimal WSR,
decimal MSR,
decimal DSR,
decimal FC4UG,
decimal VC4UG,
decimal OH4UG,
decimal SC4UG,
bool valid,
string Original_QuoteType,
long Original_CodQuote,
int Original_QuoteRev,
int Original_NumWI,
string Original_ProcessNum,
string Original_CodPlant,
string Original_Class01,
string Original_Class02,
string Original_Class03,
string Original_Class04,
string Original_Class05,
decimal Original_NetProd,
decimal Original_WSR,
decimal Original_MSR,
decimal Original_DSR,
decimal Original_FC4UG,
decimal Original_VC4UG,
decimal Original_OH4UG,
decimal Original_SC4UG,
global::System.Nullable<decimal> Original_WYR,
global::System.Nullable<decimal> Original_MYR,
global::System.Nullable<decimal> Original_DYR,
global::System.Nullable<decimal> Original_WCR,
global::System.Nullable<decimal> Original_MCR,
global::System.Nullable<decimal> Original_DCR,
bool Original_valid) {
if ((QuoteType == null)) {
throw new global::System.ArgumentNullException("QuoteType");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(QuoteType));
}
this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(CodQuote));
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(QuoteRev));
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(NumWI));
if ((ProcessNum == null)) {
throw new global::System.ArgumentNullException("ProcessNum");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(ProcessNum));
}
if ((CodPlant == null)) {
throw new global::System.ArgumentNullException("CodPlant");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodPlant));
}
if ((Class01 == null)) {
throw new global::System.ArgumentNullException("Class01");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Class01));
}
if ((Class02 == null)) {
throw new global::System.ArgumentNullException("Class02");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Class02));
}
if ((Class03 == null)) {
throw new global::System.ArgumentNullException("Class03");
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Class03));
}
if ((Class04 == null)) {
throw new global::System.ArgumentNullException("Class04");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Class04));
}
if ((Class05 == null)) {
throw new global::System.ArgumentNullException("Class05");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Class05));
}
this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(NetProd));
this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(WSR));
this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(MSR));
this.Adapter.UpdateCommand.Parameters[14].Value = ((decimal)(DSR));
this.Adapter.UpdateCommand.Parameters[15].Value = ((decimal)(FC4UG));
this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(VC4UG));
this.Adapter.UpdateCommand.Parameters[17].Value = ((decimal)(OH4UG));
this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(SC4UG));
this.Adapter.UpdateCommand.Parameters[19].Value = ((bool)(valid));
if ((Original_QuoteType == null)) {
throw new global::System.ArgumentNullException("Original_QuoteType");
}
else {
this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_QuoteType));
}
this.Adapter.UpdateCommand.Parameters[21].Value = ((long)(Original_CodQuote));
this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(Original_QuoteRev));
this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(Original_NumWI));
if ((Original_ProcessNum == null)) {
throw new global::System.ArgumentNullException("Original_ProcessNum");
}
else {
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_ProcessNum));
}
if ((Original_CodPlant == null)) {
throw new global::System.ArgumentNullException("Original_CodPlant");
}
else {
this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_CodPlant));
}
if ((Original_Class01 == null)) {
throw new global::System.ArgumentNullException("Original_Class01");
}
else {
this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_Class01));
}
if ((Original_Class02 == null)) {
throw new global::System.ArgumentNullException("Original_Class02");
}
else {
this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_Class02));
}
if ((Original_Class03 == null)) {
throw new global::System.ArgumentNullException("Original_Class03");
}
else {
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_Class03));
}
if ((Original_Class04 == null)) {
throw new global::System.ArgumentNullException("Original_Class04");
}
else {
this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_Class04));
}
if ((Original_Class05 == null)) {
throw new global::System.ArgumentNullException("Original_Class05");
}
else {
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_Class05));
}
this.Adapter.UpdateCommand.Parameters[31].Value = ((decimal)(Original_NetProd));
this.Adapter.UpdateCommand.Parameters[32].Value = ((decimal)(Original_WSR));
this.Adapter.UpdateCommand.Parameters[33].Value = ((decimal)(Original_MSR));
this.Adapter.UpdateCommand.Parameters[34].Value = ((decimal)(Original_DSR));
this.Adapter.UpdateCommand.Parameters[35].Value = ((decimal)(Original_FC4UG));
this.Adapter.UpdateCommand.Parameters[36].Value = ((decimal)(Original_VC4UG));
this.Adapter.UpdateCommand.Parameters[37].Value = ((decimal)(Original_OH4UG));
this.Adapter.UpdateCommand.Parameters[38].Value = ((decimal)(Original_SC4UG));
if ((Original_WYR.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[40].Value = ((decimal)(Original_WYR.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
}
if ((Original_MYR.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[42].Value = ((decimal)(Original_MYR.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
}
if ((Original_DYR.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[44].Value = ((decimal)(Original_DYR.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
}
if ((Original_WCR.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[46].Value = ((decimal)(Original_WCR.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
}
if ((Original_MCR.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[48].Value = ((decimal)(Original_MCR.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
}
if ((Original_DCR.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[50].Value = ((decimal)(Original_DCR.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
}
this.Adapter.UpdateCommand.Parameters[51].Value = ((bool)(Original_valid));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string ProcessNum,
string CodPlant,
string Class01,
string Class02,
string Class03,
string Class04,
string Class05,
decimal NetProd,
decimal WSR,
decimal MSR,
decimal DSR,
decimal FC4UG,
decimal VC4UG,
decimal OH4UG,
decimal SC4UG,
bool valid,
string Original_QuoteType,
long Original_CodQuote,
int Original_QuoteRev,
int Original_NumWI,
string Original_ProcessNum,
string Original_CodPlant,
string Original_Class01,
string Original_Class02,
string Original_Class03,
string Original_Class04,
string Original_Class05,
decimal Original_NetProd,
decimal Original_WSR,
decimal Original_MSR,
decimal Original_DSR,
decimal Original_FC4UG,
decimal Original_VC4UG,
decimal Original_OH4UG,
decimal Original_SC4UG,
global::System.Nullable<decimal> Original_WYR,
global::System.Nullable<decimal> Original_MYR,
global::System.Nullable<decimal> Original_DYR,
global::System.Nullable<decimal> Original_WCR,
global::System.Nullable<decimal> Original_MCR,
global::System.Nullable<decimal> Original_DCR,
bool Original_valid) {
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumWI, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, NetProd, WSR, MSR, DSR, FC4UG, VC4UG, OH4UG, SC4UG, valid, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumWI, Original_ProcessNum, Original_CodPlant, Original_Class01, Original_Class02, Original_Class03, Original_Class04, Original_Class05, Original_NetProd, Original_WSR, Original_MSR, Original_DSR, Original_FC4UG, Original_VC4UG, Original_OH4UG, Original_SC4UG, Original_WYR, Original_MYR, Original_DYR, Original_WCR, Original_MCR, Original_DCR, Original_valid);
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class QuoteParamTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteParamTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "QuoteParam";
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
tableMapping.ColumnMappings.Add("NumP", "NumP");
tableMapping.ColumnMappings.Add("ProcessNum", "ProcessNum");
tableMapping.ColumnMappings.Add("Descr", "Descr");
tableMapping.ColumnMappings.Add("Parameter", "Parameter");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[QuoteParam] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumP] = @Original_NumP) AND ([ProcessNum] = @Original_ProcessNum) AND ([Descr] = @Original_Descr) AND ([Parameter] = @Original_Parameter))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Parameter", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Parameter", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[QuoteParam] ([QuoteType], [CodQuote], [QuoteRev], [NumP], [ProcessNum], [Descr], [Parameter]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumP, @ProcessNum, @Descr, @Parameter);
SELECT QuoteType, CodQuote, QuoteRev, NumP, ProcessNum, Descr, Parameter FROM QuoteParam WHERE (CodQuote = @CodQuote) AND (NumP = @NumP) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Parameter", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Parameter", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[QuoteParam] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [NumP] = @NumP, [ProcessNum] = @ProcessNum, [Descr] = @Descr, [Parameter] = @Parameter WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumP] = @Original_NumP) AND ([ProcessNum] = @Original_ProcessNum) AND ([Descr] = @Original_Descr) AND ([Parameter] = @Original_Parameter));
SELECT QuoteType, CodQuote, QuoteRev, NumP, ProcessNum, Descr, Parameter FROM QuoteParam WHERE (CodQuote = @CodQuote) AND (NumP = @NumP) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Parameter", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Parameter", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Parameter", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Parameter", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::C2P_Data.Properties.Settings.Default.Proxima_C2PConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT QuoteType, CodQuote, QuoteRev, NumP, ProcessNum, Descr, Parameter FROM dbo" +
".QuoteParam";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Quotes.QuoteParamDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_Quotes.QuoteParamDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Quotes.QuoteParamDataTable dataTable = new DS_Quotes.QuoteParamDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_Quotes.QuoteParamDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_Quotes dataSet) {
return this.Adapter.Update(dataSet, "QuoteParam");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(string Original_QuoteType, long Original_CodQuote, int Original_QuoteRev, int Original_NumP, string Original_ProcessNum, string Original_Descr, string Original_Parameter) {
if ((Original_QuoteType == null)) {
throw new global::System.ArgumentNullException("Original_QuoteType");
}
else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_QuoteType));
}
this.Adapter.DeleteCommand.Parameters[1].Value = ((long)(Original_CodQuote));
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_QuoteRev));
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumP));
if ((Original_ProcessNum == null)) {
throw new global::System.ArgumentNullException("Original_ProcessNum");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_ProcessNum));
}
if ((Original_Descr == null)) {
throw new global::System.ArgumentNullException("Original_Descr");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Descr));
}
if ((Original_Parameter == null)) {
throw new global::System.ArgumentNullException("Original_Parameter");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Parameter));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string QuoteType, long CodQuote, int QuoteRev, int NumP, string ProcessNum, string Descr, string Parameter) {
if ((QuoteType == null)) {
throw new global::System.ArgumentNullException("QuoteType");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(QuoteType));
}
this.Adapter.InsertCommand.Parameters[1].Value = ((long)(CodQuote));
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(QuoteRev));
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(NumP));
if ((ProcessNum == null)) {
throw new global::System.ArgumentNullException("ProcessNum");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(ProcessNum));
}
if ((Descr == null)) {
throw new global::System.ArgumentNullException("Descr");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Descr));
}
if ((Parameter == null)) {
throw new global::System.ArgumentNullException("Parameter");
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Parameter));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string QuoteType, long CodQuote, int QuoteRev, int NumP, string ProcessNum, string Descr, string Parameter, string Original_QuoteType, long Original_CodQuote, int Original_QuoteRev, int Original_NumP, string Original_ProcessNum, string Original_Descr, string Original_Parameter) {
if ((QuoteType == null)) {
throw new global::System.ArgumentNullException("QuoteType");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(QuoteType));
}
this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(CodQuote));
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(QuoteRev));
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(NumP));
if ((ProcessNum == null)) {
throw new global::System.ArgumentNullException("ProcessNum");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(ProcessNum));
}
if ((Descr == null)) {
throw new global::System.ArgumentNullException("Descr");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Descr));
}
if ((Parameter == null)) {
throw new global::System.ArgumentNullException("Parameter");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Parameter));
}
if ((Original_QuoteType == null)) {
throw new global::System.ArgumentNullException("Original_QuoteType");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_QuoteType));
}
this.Adapter.UpdateCommand.Parameters[8].Value = ((long)(Original_CodQuote));
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_QuoteRev));
this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_NumP));
if ((Original_ProcessNum == null)) {
throw new global::System.ArgumentNullException("Original_ProcessNum");
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_ProcessNum));
}
if ((Original_Descr == null)) {
throw new global::System.ArgumentNullException("Original_Descr");
}
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_Descr));
}
if ((Original_Parameter == null)) {
throw new global::System.ArgumentNullException("Original_Parameter");
}
else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_Parameter));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string ProcessNum, string Descr, string Parameter, string Original_QuoteType, long Original_CodQuote, int Original_QuoteRev, int Original_NumP, string Original_ProcessNum, string Original_Descr, string Original_Parameter) {
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumP, ProcessNum, Descr, Parameter, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumP, Original_ProcessNum, Original_Descr, Original_Parameter);
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class QuoteOCTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteOCTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "QuoteOC";
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
tableMapping.ColumnMappings.Add("NumEx", "NumEx");
tableMapping.ColumnMappings.Add("ProcessNum", "ProcessNum");
tableMapping.ColumnMappings.Add("CodPlant", "CodPlant");
tableMapping.ColumnMappings.Add("Class01", "Class01");
tableMapping.ColumnMappings.Add("Class02", "Class02");
tableMapping.ColumnMappings.Add("Class03", "Class03");
tableMapping.ColumnMappings.Add("Class04", "Class04");
tableMapping.ColumnMappings.Add("Class05", "Class05");
tableMapping.ColumnMappings.Add("TotQty", "TotQty");
tableMapping.ColumnMappings.Add("TotCost", "TotCost");
tableMapping.ColumnMappings.Add("Quota", "Quota");
tableMapping.ColumnMappings.Add("C4UG", "C4UG");
tableMapping.ColumnMappings.Add("valid", "valid");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[QuoteOC] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumEx] = @Original_NumEx) AND ([ProcessNum] = @Original_ProcessNum) AND ([CodPlant] = @Original_CodPlant) AND ([Class01] = @Original_Class01) AND ([Class02] = @Original_Class02) AND ([Class03] = @Original_Class03) AND ([Class04] = @Original_Class04) AND ([Class05] = @Original_Class05) AND ([TotQty] = @Original_TotQty) AND ([TotCost] = @Original_TotCost) AND ([Quota] = @Original_Quota) AND ((@IsNull_C4UG = 1 AND [C4UG] IS NULL) OR ([C4UG] = @Original_C4UG)) AND ([valid] = @Original_valid))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumEx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumEx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPlant", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPlant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotQty", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotQty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Quota", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "Quota", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_C4UG", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "C4UG", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_C4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 38, 7, "C4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[QuoteOC] ([QuoteType], [CodQuote], [QuoteRev], [NumEx], [ProcessNum], [CodPlant], [Class01], [Class02], [Class03], [Class04], [Class05], [TotQty], [TotCost], [Quota], [valid]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumEx, @ProcessNum, @CodPlant, @Class01, @Class02, @Class03, @Class04, @Class05, @TotQty, @TotCost, @Quota, @valid);
SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, TotQty, TotCost, Quota, C4UG, valid FROM QuoteOC WHERE (CodQuote = @CodQuote) AND (NumEx = @NumEx) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumEx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumEx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPlant", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPlant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotQty", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotQty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Quota", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "Quota", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[QuoteOC] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [NumEx] = @NumEx, [ProcessNum] = @ProcessNum, [CodPlant] = @CodPlant, [Class01] = @Class01, [Class02] = @Class02, [Class03] = @Class03, [Class04] = @Class04, [Class05] = @Class05, [TotQty] = @TotQty, [TotCost] = @TotCost, [Quota] = @Quota, [valid] = @valid WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumEx] = @Original_NumEx) AND ([ProcessNum] = @Original_ProcessNum) AND ([CodPlant] = @Original_CodPlant) AND ([Class01] = @Original_Class01) AND ([Class02] = @Original_Class02) AND ([Class03] = @Original_Class03) AND ([Class04] = @Original_Class04) AND ([Class05] = @Original_Class05) AND ([TotQty] = @Original_TotQty) AND ([TotCost] = @Original_TotCost) AND ([Quota] = @Original_Quota) AND ((@IsNull_C4UG = 1 AND [C4UG] IS NULL) OR ([C4UG] = @Original_C4UG)) AND ([valid] = @Original_valid));
SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, TotQty, TotCost, Quota, C4UG, valid FROM QuoteOC WHERE (CodQuote = @CodQuote) AND (NumEx = @NumEx) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumEx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumEx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPlant", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPlant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotQty", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotQty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Quota", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "Quota", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumEx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumEx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPlant", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPlant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotQty", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotQty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Quota", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "Quota", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_C4UG", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "C4UG", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_C4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 38, 7, "C4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::C2P_Data.Properties.Settings.Default.Proxima_C2PConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Class" +
"02, Class03, Class04, Class05, TotQty, TotCost, Quota, C4UG, valid FROM dbo.Quot" +
"eOC";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Quotes.QuoteOCDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_Quotes.QuoteOCDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Quotes.QuoteOCDataTable dataTable = new DS_Quotes.QuoteOCDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_Quotes.QuoteOCDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_Quotes dataSet) {
return this.Adapter.Update(dataSet, "QuoteOC");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(
string Original_QuoteType,
long Original_CodQuote,
int Original_QuoteRev,
int Original_NumEx,
string Original_ProcessNum,
string Original_CodPlant,
string Original_Class01,
string Original_Class02,
string Original_Class03,
string Original_Class04,
string Original_Class05,
decimal Original_TotQty,
decimal Original_TotCost,
decimal Original_Quota,
global::System.Nullable<decimal> Original_C4UG,
bool Original_valid) {
if ((Original_QuoteType == null)) {
throw new global::System.ArgumentNullException("Original_QuoteType");
}
else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_QuoteType));
}
this.Adapter.DeleteCommand.Parameters[1].Value = ((long)(Original_CodQuote));
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_QuoteRev));
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumEx));
if ((Original_ProcessNum == null)) {
throw new global::System.ArgumentNullException("Original_ProcessNum");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_ProcessNum));
}
if ((Original_CodPlant == null)) {
throw new global::System.ArgumentNullException("Original_CodPlant");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_CodPlant));
}
if ((Original_Class01 == null)) {
throw new global::System.ArgumentNullException("Original_Class01");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Class01));
}
if ((Original_Class02 == null)) {
throw new global::System.ArgumentNullException("Original_Class02");
}
else {
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_Class02));
}
if ((Original_Class03 == null)) {
throw new global::System.ArgumentNullException("Original_Class03");
}
else {
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Class03));
}
if ((Original_Class04 == null)) {
throw new global::System.ArgumentNullException("Original_Class04");
}
else {
this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_Class04));
}
if ((Original_Class05 == null)) {
throw new global::System.ArgumentNullException("Original_Class05");
}
else {
this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_Class05));
}
this.Adapter.DeleteCommand.Parameters[11].Value = ((decimal)(Original_TotQty));
this.Adapter.DeleteCommand.Parameters[12].Value = ((decimal)(Original_TotCost));
this.Adapter.DeleteCommand.Parameters[13].Value = ((decimal)(Original_Quota));
if ((Original_C4UG.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[15].Value = ((decimal)(Original_C4UG.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value;
}
this.Adapter.DeleteCommand.Parameters[16].Value = ((bool)(Original_valid));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string QuoteType, long CodQuote, int QuoteRev, int NumEx, string ProcessNum, string CodPlant, string Class01, string Class02, string Class03, string Class04, string Class05, decimal TotQty, decimal TotCost, decimal Quota, bool valid) {
if ((QuoteType == null)) {
throw new global::System.ArgumentNullException("QuoteType");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(QuoteType));
}
this.Adapter.InsertCommand.Parameters[1].Value = ((long)(CodQuote));
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(QuoteRev));
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(NumEx));
if ((ProcessNum == null)) {
throw new global::System.ArgumentNullException("ProcessNum");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(ProcessNum));
}
if ((CodPlant == null)) {
throw new global::System.ArgumentNullException("CodPlant");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodPlant));
}
if ((Class01 == null)) {
throw new global::System.ArgumentNullException("Class01");
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Class01));
}
if ((Class02 == null)) {
throw new global::System.ArgumentNullException("Class02");
}
else {
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Class02));
}
if ((Class03 == null)) {
throw new global::System.ArgumentNullException("Class03");
}
else {
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Class03));
}
if ((Class04 == null)) {
throw new global::System.ArgumentNullException("Class04");
}
else {
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Class04));
}
if ((Class05 == null)) {
throw new global::System.ArgumentNullException("Class05");
}
else {
this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Class05));
}
this.Adapter.InsertCommand.Parameters[11].Value = ((decimal)(TotQty));
this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(TotCost));
this.Adapter.InsertCommand.Parameters[13].Value = ((decimal)(Quota));
this.Adapter.InsertCommand.Parameters[14].Value = ((bool)(valid));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string QuoteType,
long CodQuote,
int QuoteRev,
int NumEx,
string ProcessNum,
string CodPlant,
string Class01,
string Class02,
string Class03,
string Class04,
string Class05,
decimal TotQty,
decimal TotCost,
decimal Quota,
bool valid,
string Original_QuoteType,
long Original_CodQuote,
int Original_QuoteRev,
int Original_NumEx,
string Original_ProcessNum,
string Original_CodPlant,
string Original_Class01,
string Original_Class02,
string Original_Class03,
string Original_Class04,
string Original_Class05,
decimal Original_TotQty,
decimal Original_TotCost,
decimal Original_Quota,
global::System.Nullable<decimal> Original_C4UG,
bool Original_valid) {
if ((QuoteType == null)) {
throw new global::System.ArgumentNullException("QuoteType");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(QuoteType));
}
this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(CodQuote));
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(QuoteRev));
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(NumEx));
if ((ProcessNum == null)) {
throw new global::System.ArgumentNullException("ProcessNum");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(ProcessNum));
}
if ((CodPlant == null)) {
throw new global::System.ArgumentNullException("CodPlant");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodPlant));
}
if ((Class01 == null)) {
throw new global::System.ArgumentNullException("Class01");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Class01));
}
if ((Class02 == null)) {
throw new global::System.ArgumentNullException("Class02");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Class02));
}
if ((Class03 == null)) {
throw new global::System.ArgumentNullException("Class03");
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Class03));
}
if ((Class04 == null)) {
throw new global::System.ArgumentNullException("Class04");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Class04));
}
if ((Class05 == null)) {
throw new global::System.ArgumentNullException("Class05");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Class05));
}
this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(TotQty));
this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(TotCost));
this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(Quota));
this.Adapter.UpdateCommand.Parameters[14].Value = ((bool)(valid));
if ((Original_QuoteType == null)) {
throw new global::System.ArgumentNullException("Original_QuoteType");
}
else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_QuoteType));
}
this.Adapter.UpdateCommand.Parameters[16].Value = ((long)(Original_CodQuote));
this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(Original_QuoteRev));
this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(Original_NumEx));
if ((Original_ProcessNum == null)) {
throw new global::System.ArgumentNullException("Original_ProcessNum");
}
else {
this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_ProcessNum));
}
if ((Original_CodPlant == null)) {
throw new global::System.ArgumentNullException("Original_CodPlant");
}
else {
this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_CodPlant));
}
if ((Original_Class01 == null)) {
throw new global::System.ArgumentNullException("Original_Class01");
}
else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_Class01));
}
if ((Original_Class02 == null)) {
throw new global::System.ArgumentNullException("Original_Class02");
}
else {
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_Class02));
}
if ((Original_Class03 == null)) {
throw new global::System.ArgumentNullException("Original_Class03");
}
else {
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_Class03));
}
if ((Original_Class04 == null)) {
throw new global::System.ArgumentNullException("Original_Class04");
}
else {
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_Class04));
}
if ((Original_Class05 == null)) {
throw new global::System.ArgumentNullException("Original_Class05");
}
else {
this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_Class05));
}
this.Adapter.UpdateCommand.Parameters[26].Value = ((decimal)(Original_TotQty));
this.Adapter.UpdateCommand.Parameters[27].Value = ((decimal)(Original_TotCost));
this.Adapter.UpdateCommand.Parameters[28].Value = ((decimal)(Original_Quota));
if ((Original_C4UG.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[30].Value = ((decimal)(Original_C4UG.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
}
this.Adapter.UpdateCommand.Parameters[31].Value = ((bool)(Original_valid));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string ProcessNum,
string CodPlant,
string Class01,
string Class02,
string Class03,
string Class04,
string Class05,
decimal TotQty,
decimal TotCost,
decimal Quota,
bool valid,
string Original_QuoteType,
long Original_CodQuote,
int Original_QuoteRev,
int Original_NumEx,
string Original_ProcessNum,
string Original_CodPlant,
string Original_Class01,
string Original_Class02,
string Original_Class03,
string Original_Class04,
string Original_Class05,
decimal Original_TotQty,
decimal Original_TotCost,
decimal Original_Quota,
global::System.Nullable<decimal> Original_C4UG,
bool Original_valid) {
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumEx, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, TotQty, TotCost, Quota, valid, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumEx, Original_ProcessNum, Original_CodPlant, Original_Class01, Original_Class02, Original_Class03, Original_Class04, Original_Class05, Original_TotQty, Original_TotCost, Original_Quota, Original_C4UG, Original_valid);
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class QuoteFull_QTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public QuoteFull_QTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "QuoteFull_Q";
tableMapping.ColumnMappings.Add("Vers", "Vers");
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
tableMapping.ColumnMappings.Add("CodClient", "CodClient");
tableMapping.ColumnMappings.Add("ClientName", "ClientName");
tableMapping.ColumnMappings.Add("CodItem", "CodItem");
tableMapping.ColumnMappings.Add("CodItemGroup", "CodItemGroup");
tableMapping.ColumnMappings.Add("RawMat", "RawMat");
tableMapping.ColumnMappings.Add("UnitWeight", "UnitWeight");
tableMapping.ColumnMappings.Add("BatchQty", "BatchQty");
tableMapping.ColumnMappings.Add("CodInco", "CodInco");
tableMapping.ColumnMappings.Add("KeyAM", "KeyAM");
tableMapping.ColumnMappings.Add("Note", "Note");
tableMapping.ColumnMappings.Add("PriceOff", "PriceOff");
tableMapping.ColumnMappings.Add("CodClientAssoc", "CodClientAssoc");
tableMapping.ColumnMappings.Add("ClientNameAssoc", "ClientNameAssoc");
tableMapping.ColumnMappings.Add("ItemDescr", "ItemDescr");
tableMapping.ColumnMappings.Add("CodifProfilo", "CodifProfilo");
tableMapping.ColumnMappings.Add("ClasseMerc", "ClasseMerc");
tableMapping.ColumnMappings.Add("TipoDies", "TipoDies");
tableMapping.ColumnMappings.Add("CodDiesGroup", "CodDiesGroup");
tableMapping.ColumnMappings.Add("DiamDies", "DiamDies");
tableMapping.ColumnMappings.Add("HoleNumDies", "HoleNumDies");
tableMapping.ColumnMappings.Add("DiesPrice", "DiesPrice");
tableMapping.ColumnMappings.Add("DiesExpLife", "DiesExpLife");
tableMapping.ColumnMappings.Add("DiesEOLife", "DiesEOLife");
tableMapping.ColumnMappings.Add("NumDiesInList", "NumDiesInList");
tableMapping.ColumnMappings.Add("NumDiesExaust", "NumDiesExaust");
tableMapping.ColumnMappings.Add("CodPlant", "CodPlant");
tableMapping.ColumnMappings.Add("KeyAMIL", "KeyAMIL");
tableMapping.ColumnMappings.Add("KgTeo", "KgTeo");
tableMapping.ColumnMappings.Add("NumSMED", "NumSMED");
tableMapping.ColumnMappings.Add("QuotaMan", "QuotaMan");
tableMapping.ColumnMappings.Add("PRMWeight", "PRMWeight");
tableMapping.ColumnMappings.Add("PWeight", "PWeight");
tableMapping.ColumnMappings.Add("PTare", "PTare");
tableMapping.ColumnMappings.Add("LivPackage", "LivPackage");
tableMapping.ColumnMappings.Add("LivPackageDett", "LivPackageDett");
tableMapping.ColumnMappings.Add("RawMatCost", "RawMatCost");
tableMapping.ColumnMappings.Add("RawMatExtraCost", "RawMatExtraCost");
tableMapping.ColumnMappings.Add("RawMatFullCost", "RawMatFullCost");
tableMapping.ColumnMappings.Add("CodPackag", "CodPackag");
tableMapping.ColumnMappings.Add("PkgDesc", "PkgDesc");
tableMapping.ColumnMappings.Add("FSR", "FSR");
tableMapping.ColumnMappings.Add("ProvvCost", "ProvvCost");
tableMapping.ColumnMappings.Add("EECost", "EECost");
tableMapping.ColumnMappings.Add("GasCost", "GasCost");
tableMapping.ColumnMappings.Add("DiesCost", "DiesCost");
tableMapping.ColumnMappings.Add("PackCost", "PackCost");
tableMapping.ColumnMappings.Add("TranspCost", "TranspCost");
tableMapping.ColumnMappings.Add("SellCost01", "SellCost01");
tableMapping.ColumnMappings.Add("RefCost01", "RefCost01");
tableMapping.ColumnMappings.Add("SellCost04", "SellCost04");
tableMapping.ColumnMappings.Add("RefCost04", "RefCost04");
tableMapping.ColumnMappings.Add("WSR01", "WSR01");
tableMapping.ColumnMappings.Add("MSR01", "MSR01");
tableMapping.ColumnMappings.Add("NetProd01", "NetProd01");
tableMapping.ColumnMappings.Add("FC4UG01", "FC4UG01");
tableMapping.ColumnMappings.Add("VC4UG01", "VC4UG01");
tableMapping.ColumnMappings.Add("OH4UG01", "OH4UG01");
tableMapping.ColumnMappings.Add("SC4UG01", "SC4UG01");
tableMapping.ColumnMappings.Add("DSR", "DSR");
tableMapping.ColumnMappings.Add("NetProd04", "NetProd04");
tableMapping.ColumnMappings.Add("FC4UG04", "FC4UG04");
tableMapping.ColumnMappings.Add("VC4UG04", "VC4UG04");
tableMapping.ColumnMappings.Add("FVC", "FVC");
tableMapping.ColumnMappings.Add("Charge", "Charge");
tableMapping.ColumnMappings.Add("P_FVC", "P_FVC");
tableMapping.ColumnMappings.Add("CPS", "CPS");
tableMapping.ColumnMappings.Add("P_CPS", "P_CPS");
tableMapping.ColumnMappings.Add("P_FC4UG04", "P_FC4UG04");
tableMapping.ColumnMappings.Add("FullCost", "FullCost");
tableMapping.ColumnMappings.Add("P_FullCost", "P_FullCost");
tableMapping.ColumnMappings.Add("MinPrice", "MinPrice");
tableMapping.ColumnMappings.Add("P_MinPrice", "P_MinPrice");
tableMapping.ColumnMappings.Add("P_PriceOff", "P_PriceOff");
tableMapping.ColumnMappings.Add("NetMar", "NetMar");
tableMapping.ColumnMappings.Add("FCShield", "FCShield");
tableMapping.ColumnMappings.Add("PckSur", "PckSur");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::C2P_Data.Properties.Settings.Default.Proxima_C2PConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"SELECT Vers, QuoteType, CodQuote, QuoteRev, CodClient, ClientName, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, CodClientAssoc, ClientNameAssoc, ItemDescr, CodifProfilo, ClasseMerc, TipoDies, CodDiesGroup, DiamDies, HoleNumDies, DiesPrice, DiesExpLife, DiesEOLife, NumDiesInList, NumDiesExaust, CodPlant, KeyAMIL, KgTeo, NumSMED, QuotaMan, PRMWeight, PWeight, PTare, LivPackage, LivPackageDett, RawMatCost, RawMatExtraCost, RawMatFullCost, CodPackag, PkgDesc, FSR, ProvvCost, EECost, GasCost, DiesCost, PackCost, TranspCost, SellCost01, RefCost01, SellCost04, RefCost04, WSR01, MSR01, NetProd01, FC4UG01, VC4UG01, OH4UG01, SC4UG01, DSR, NetProd04, FC4UG04, VC4UG04, FVC, Charge, P_FVC, CPS, P_CPS, P_FC4UG04, FullCost, P_FullCost, MinPrice, P_MinPrice, P_PriceOff, NetMar, FCShield, PckSur FROM dbo.v_QuoteFull_Q";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_QL_fullData";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DoUpdate", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Quotes.QuoteFull_QDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_Quotes.QuoteFull_QDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Quotes.QuoteFull_QDataTable getByKey(string QuoteType, global::System.Nullable<long> CodQuote, global::System.Nullable<int> QuoteRev, string DoUpdate) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((QuoteType == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(QuoteType));
}
if ((CodQuote.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(CodQuote.Value));
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
if ((QuoteRev.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(QuoteRev.Value));
}
else {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
if ((DoUpdate == null)) {
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(DoUpdate));
}
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
"esigner, Version=10.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 QuoteListTableAdapter _quoteListTableAdapter;
private QuoteRMTableAdapter _quoteRMTableAdapter;
private QuoteWorkExtTableAdapter _quoteWorkExtTableAdapter;
private QuoteWorkIntTableAdapter _quoteWorkIntTableAdapter;
private QuoteParamTableAdapter _quoteParamTableAdapter;
private QuoteOCTableAdapter _quoteOCTableAdapter;
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public UpdateOrderOption UpdateOrder {
get {
return this._updateOrder;
}
set {
this._updateOrder = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public QuoteListTableAdapter QuoteListTableAdapter {
get {
return this._quoteListTableAdapter;
}
set {
this._quoteListTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public QuoteRMTableAdapter QuoteRMTableAdapter {
get {
return this._quoteRMTableAdapter;
}
set {
this._quoteRMTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public QuoteWorkExtTableAdapter QuoteWorkExtTableAdapter {
get {
return this._quoteWorkExtTableAdapter;
}
set {
this._quoteWorkExtTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public QuoteWorkIntTableAdapter QuoteWorkIntTableAdapter {
get {
return this._quoteWorkIntTableAdapter;
}
set {
this._quoteWorkIntTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public QuoteParamTableAdapter QuoteParamTableAdapter {
get {
return this._quoteParamTableAdapter;
}
set {
this._quoteParamTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public QuoteOCTableAdapter QuoteOCTableAdapter {
get {
return this._quoteOCTableAdapter;
}
set {
this._quoteOCTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool BackupDataSetBeforeUpdate {
get {
return this._backupDataSetBeforeUpdate;
}
set {
this._backupDataSetBeforeUpdate = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public global::System.Data.IDbConnection Connection {
get {
if ((this._connection != null)) {
return this._connection;
}
if (((this._quoteListTableAdapter != null)
&& (this._quoteListTableAdapter.Connection != null))) {
return this._quoteListTableAdapter.Connection;
}
if (((this._quoteRMTableAdapter != null)
&& (this._quoteRMTableAdapter.Connection != null))) {
return this._quoteRMTableAdapter.Connection;
}
if (((this._quoteWorkExtTableAdapter != null)
&& (this._quoteWorkExtTableAdapter.Connection != null))) {
return this._quoteWorkExtTableAdapter.Connection;
}
if (((this._quoteWorkIntTableAdapter != null)
&& (this._quoteWorkIntTableAdapter.Connection != null))) {
return this._quoteWorkIntTableAdapter.Connection;
}
if (((this._quoteParamTableAdapter != null)
&& (this._quoteParamTableAdapter.Connection != null))) {
return this._quoteParamTableAdapter.Connection;
}
if (((this._quoteOCTableAdapter != null)
&& (this._quoteOCTableAdapter.Connection != null))) {
return this._quoteOCTableAdapter.Connection;
}
return null;
}
set {
this._connection = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int TableAdapterInstanceCount {
get {
int count = 0;
if ((this._quoteListTableAdapter != null)) {
count = (count + 1);
}
if ((this._quoteRMTableAdapter != null)) {
count = (count + 1);
}
if ((this._quoteWorkExtTableAdapter != null)) {
count = (count + 1);
}
if ((this._quoteWorkIntTableAdapter != null)) {
count = (count + 1);
}
if ((this._quoteParamTableAdapter != null)) {
count = (count + 1);
}
if ((this._quoteOCTableAdapter != null)) {
count = (count + 1);
}
return count;
}
}
/// <summary>
///Update rows in top-down order.
///</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateUpdatedRows(DS_Quotes dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
int result = 0;
if ((this._quoteListTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.QuoteList.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._quoteListTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._quoteRMTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.QuoteRM.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._quoteRMTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._quoteWorkExtTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.QuoteWorkExt.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._quoteWorkExtTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._quoteWorkIntTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.QuoteWorkInt.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._quoteWorkIntTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._quoteParamTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.QuoteParam.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._quoteParamTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._quoteOCTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.QuoteOC.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._quoteOCTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
return result;
}
/// <summary>
///Insert rows in top-down order.
///</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateInsertedRows(DS_Quotes dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
int result = 0;
if ((this._quoteListTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.QuoteList.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._quoteListTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._quoteRMTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.QuoteRM.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._quoteRMTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._quoteWorkExtTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.QuoteWorkExt.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._quoteWorkExtTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._quoteWorkIntTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.QuoteWorkInt.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._quoteWorkIntTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._quoteParamTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.QuoteParam.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._quoteParamTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._quoteOCTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.QuoteOC.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._quoteOCTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
return result;
}
/// <summary>
///Delete rows in bottom-up order.
///</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateDeletedRows(DS_Quotes dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
int result = 0;
if ((this._quoteOCTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.QuoteOC.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._quoteOCTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._quoteParamTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.QuoteParam.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._quoteParamTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._quoteWorkIntTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.QuoteWorkInt.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._quoteWorkIntTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._quoteWorkExtTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.QuoteWorkExt.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._quoteWorkExtTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._quoteRMTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.QuoteRM.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._quoteRMTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._quoteListTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.QuoteList.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._quoteListTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
return result;
}
/// <summary>
///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
///</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
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()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public virtual int UpdateAll(DS_Quotes dataSet) {
if ((dataSet == null)) {
throw new global::System.ArgumentNullException("dataSet");
}
if ((dataSet.HasChanges() == false)) {
return 0;
}
if (((this._quoteListTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._quoteListTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._quoteRMTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._quoteRMTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._quoteWorkExtTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._quoteWorkExtTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._quoteWorkIntTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._quoteWorkIntTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._quoteParamTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._quoteParamTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._quoteOCTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._quoteOCTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
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 -----------
//
if ((this._quoteListTableAdapter != null)) {
revertConnections.Add(this._quoteListTableAdapter, this._quoteListTableAdapter.Connection);
this._quoteListTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
this._quoteListTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
if (this._quoteListTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._quoteListTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._quoteListTableAdapter.Adapter);
}
}
if ((this._quoteRMTableAdapter != null)) {
revertConnections.Add(this._quoteRMTableAdapter, this._quoteRMTableAdapter.Connection);
this._quoteRMTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
this._quoteRMTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
if (this._quoteRMTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._quoteRMTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._quoteRMTableAdapter.Adapter);
}
}
if ((this._quoteWorkExtTableAdapter != null)) {
revertConnections.Add(this._quoteWorkExtTableAdapter, this._quoteWorkExtTableAdapter.Connection);
this._quoteWorkExtTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
this._quoteWorkExtTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
if (this._quoteWorkExtTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._quoteWorkExtTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._quoteWorkExtTableAdapter.Adapter);
}
}
if ((this._quoteWorkIntTableAdapter != null)) {
revertConnections.Add(this._quoteWorkIntTableAdapter, this._quoteWorkIntTableAdapter.Connection);
this._quoteWorkIntTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
this._quoteWorkIntTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
if (this._quoteWorkIntTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._quoteWorkIntTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._quoteWorkIntTableAdapter.Adapter);
}
}
if ((this._quoteParamTableAdapter != null)) {
revertConnections.Add(this._quoteParamTableAdapter, this._quoteParamTableAdapter.Connection);
this._quoteParamTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
this._quoteParamTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
if (this._quoteParamTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._quoteParamTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._quoteParamTableAdapter.Adapter);
}
}
if ((this._quoteOCTableAdapter != null)) {
revertConnections.Add(this._quoteOCTableAdapter, this._quoteOCTableAdapter.Connection);
this._quoteOCTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
this._quoteOCTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
if (this._quoteOCTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._quoteOCTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._quoteOCTableAdapter.Adapter);
}
}
//
//---- 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 ((this._quoteListTableAdapter != null)) {
this._quoteListTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._quoteListTableAdapter]));
this._quoteListTableAdapter.Transaction = null;
}
if ((this._quoteRMTableAdapter != null)) {
this._quoteRMTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._quoteRMTableAdapter]));
this._quoteRMTableAdapter.Transaction = null;
}
if ((this._quoteWorkExtTableAdapter != null)) {
this._quoteWorkExtTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._quoteWorkExtTableAdapter]));
this._quoteWorkExtTableAdapter.Transaction = null;
}
if ((this._quoteWorkIntTableAdapter != null)) {
this._quoteWorkIntTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._quoteWorkIntTableAdapter]));
this._quoteWorkIntTableAdapter.Transaction = null;
}
if ((this._quoteParamTableAdapter != null)) {
this._quoteParamTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._quoteParamTableAdapter]));
this._quoteParamTableAdapter.Transaction = null;
}
if ((this._quoteOCTableAdapter != null)) {
this._quoteOCTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._quoteOCTableAdapter]));
this._quoteOCTableAdapter.Transaction = null;
}
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()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
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()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
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", "4.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", "4.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()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
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()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
global::System.Diagnostics.Debug.Assert((row != null));
global::System.Data.DataRow root = row;
distance = 0;
global::System.Collections.Generic.IDictionary<global::System.Data.DataRow, global::System.Data.DataRow> traversedRows = new global::System.Collections.Generic.Dictionary<global::System.Data.DataRow, global::System.Data.DataRow>();
traversedRows[row] = row;
global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
for (
; ((parent != null)
&& (traversedRows.ContainsKey(parent) == false));
) {
distance = (distance + 1);
root = parent;
traversedRows[parent] = parent;
parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
}
if ((distance == 0)) {
traversedRows.Clear();
traversedRows[row] = row;
parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
for (
; ((parent != null)
&& (traversedRows.ContainsKey(parent) == false));
) {
distance = (distance + 1);
root = parent;
traversedRows[parent] = parent;
parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
}
}
return root;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
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;
}
int distance1 = 0;
global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
int distance2 = 0;
global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
if (object.ReferenceEquals(root1, root2)) {
return (this._childFirst * distance1.CompareTo(distance2));
}
else {
global::System.Diagnostics.Debug.Assert(((root1.Table != null)
&& (root2.Table != null)));
if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
return -1;
}
else {
return 1;
}
}
}
}
}
}
#pragma warning restore 1591