//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.4200
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

#pragma warning disable 1591

namespace ExportFaktur {
    
    
    /// <summary>
    ///Represents a strongly typed in-memory cache of data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.Serializable()]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
    [global::System.Xml.Serialization.XmlRootAttribute("CDNDataSet")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
    public partial class CDNDataSet : global::System.Data.DataSet {
        
        private KontrahenciDataTable tableKontrahenci;
        
        private TraNagDataTable tableTraNag;
        
        private TraElemDataTable tableTraElem;
        
        private TraVatDataTable tableTraVat;
        
        private DokDefinicjeDataTable tableDokDefinicje;
        
        private global::System.Data.DataRelation relationKontrahenci_TraNag;
        
        private global::System.Data.DataRelation relationFK_TrETraNag;
        
        private global::System.Data.DataRelation relationFK_VaTTraNag;
        
        private global::System.Data.DataRelation relationFK_KntOdbiorca;
        
        private global::System.Data.DataRelation relationFK_TrNDokDef;
        
        private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public CDNDataSet() {
            this.BeginInit();
            this.InitClass();
            global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += schemaChangedHandler;
            base.Relations.CollectionChanged += schemaChangedHandler;
            this.EndInit();
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected CDNDataSet(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["Kontrahenci"] != null)) {
                    base.Tables.Add(new KontrahenciDataTable(ds.Tables["Kontrahenci"]));
                }
                if ((ds.Tables["TraNag"] != null)) {
                    base.Tables.Add(new TraNagDataTable(ds.Tables["TraNag"]));
                }
                if ((ds.Tables["TraElem"] != null)) {
                    base.Tables.Add(new TraElemDataTable(ds.Tables["TraElem"]));
                }
                if ((ds.Tables["TraVat"] != null)) {
                    base.Tables.Add(new TraVatDataTable(ds.Tables["TraVat"]));
                }
                if ((ds.Tables["DokDefinicje"] != null)) {
                    base.Tables.Add(new DokDefinicjeDataTable(ds.Tables["DokDefinicje"]));
                }
                this.DataSetName = ds.DataSetName;
                this.Prefix = ds.Prefix;
                this.Namespace = ds.Namespace;
                this.Locale = ds.Locale;
                this.CaseSensitive = ds.CaseSensitive;
                this.EnforceConstraints = ds.EnforceConstraints;
                this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
                this.InitVars();
            }
            else {
                this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
            }
            this.GetSerializationData(info, context);
            global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += schemaChangedHandler;
            this.Relations.CollectionChanged += schemaChangedHandler;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public KontrahenciDataTable Kontrahenci {
            get {
                return this.tableKontrahenci;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public TraNagDataTable TraNag {
            get {
                return this.tableTraNag;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public TraElemDataTable TraElem {
            get {
                return this.tableTraElem;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public TraVatDataTable TraVat {
            get {
                return this.tableTraVat;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public DokDefinicjeDataTable DokDefinicje {
            get {
                return this.tableDokDefinicje;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.BrowsableAttribute(true)]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
        public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
            get {
                return this._schemaSerializationMode;
            }
            set {
                this._schemaSerializationMode = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        public new global::System.Data.DataTableCollection Tables {
            get {
                return base.Tables;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        public new global::System.Data.DataRelationCollection Relations {
            get {
                return base.Relations;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override void InitializeDerivedDataSet() {
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public override global::System.Data.DataSet Clone() {
            CDNDataSet cln = ((CDNDataSet)(base.Clone()));
            cln.InitVars();
            cln.SchemaSerializationMode = this.SchemaSerializationMode;
            return cln;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override bool ShouldSerializeTables() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override bool ShouldSerializeRelations() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
            if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
                this.Reset();
                global::System.Data.DataSet ds = new global::System.Data.DataSet();
                ds.ReadXml(reader);
                if ((ds.Tables["Kontrahenci"] != null)) {
                    base.Tables.Add(new KontrahenciDataTable(ds.Tables["Kontrahenci"]));
                }
                if ((ds.Tables["TraNag"] != null)) {
                    base.Tables.Add(new TraNagDataTable(ds.Tables["TraNag"]));
                }
                if ((ds.Tables["TraElem"] != null)) {
                    base.Tables.Add(new TraElemDataTable(ds.Tables["TraElem"]));
                }
                if ((ds.Tables["TraVat"] != null)) {
                    base.Tables.Add(new TraVatDataTable(ds.Tables["TraVat"]));
                }
                if ((ds.Tables["DokDefinicje"] != null)) {
                    base.Tables.Add(new DokDefinicjeDataTable(ds.Tables["DokDefinicje"]));
                }
                this.DataSetName = ds.DataSetName;
                this.Prefix = ds.Prefix;
                this.Namespace = ds.Namespace;
                this.Locale = ds.Locale;
                this.CaseSensitive = ds.CaseSensitive;
                this.EnforceConstraints = ds.EnforceConstraints;
                this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
                this.InitVars();
            }
            else {
                this.ReadXml(reader);
                this.InitVars();
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
            global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
            this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
            stream.Position = 0;
            return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal void InitVars() {
            this.InitVars(true);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal void InitVars(bool initTable) {
            this.tableKontrahenci = ((KontrahenciDataTable)(base.Tables["Kontrahenci"]));
            if ((initTable == true)) {
                if ((this.tableKontrahenci != null)) {
                    this.tableKontrahenci.InitVars();
                }
            }
            this.tableTraNag = ((TraNagDataTable)(base.Tables["TraNag"]));
            if ((initTable == true)) {
                if ((this.tableTraNag != null)) {
                    this.tableTraNag.InitVars();
                }
            }
            this.tableTraElem = ((TraElemDataTable)(base.Tables["TraElem"]));
            if ((initTable == true)) {
                if ((this.tableTraElem != null)) {
                    this.tableTraElem.InitVars();
                }
            }
            this.tableTraVat = ((TraVatDataTable)(base.Tables["TraVat"]));
            if ((initTable == true)) {
                if ((this.tableTraVat != null)) {
                    this.tableTraVat.InitVars();
                }
            }
            this.tableDokDefinicje = ((DokDefinicjeDataTable)(base.Tables["DokDefinicje"]));
            if ((initTable == true)) {
                if ((this.tableDokDefinicje != null)) {
                    this.tableDokDefinicje.InitVars();
                }
            }
            this.relationKontrahenci_TraNag = this.Relations["Kontrahenci_TraNag"];
            this.relationFK_TrETraNag = this.Relations["FK_TrETraNag"];
            this.relationFK_VaTTraNag = this.Relations["FK_VaTTraNag"];
            this.relationFK_KntOdbiorca = this.Relations["FK_KntOdbiorca"];
            this.relationFK_TrNDokDef = this.Relations["FK_TrNDokDef"];
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitClass() {
            this.DataSetName = "CDNDataSet";
            this.Prefix = "";
            this.Namespace = "http://tempuri.org/CDNDataSet.xsd";
            this.EnforceConstraints = true;
            this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
            this.tableKontrahenci = new KontrahenciDataTable();
            base.Tables.Add(this.tableKontrahenci);
            this.tableTraNag = new TraNagDataTable();
            base.Tables.Add(this.tableTraNag);
            this.tableTraElem = new TraElemDataTable();
            base.Tables.Add(this.tableTraElem);
            this.tableTraVat = new TraVatDataTable();
            base.Tables.Add(this.tableTraVat);
            this.tableDokDefinicje = new DokDefinicjeDataTable();
            base.Tables.Add(this.tableDokDefinicje);
            global::System.Data.ForeignKeyConstraint fkc;
            fkc = new global::System.Data.ForeignKeyConstraint("Kontrahenci_TraNag", new global::System.Data.DataColumn[] {
                        this.tableKontrahenci.Knt_KntIdColumn}, new global::System.Data.DataColumn[] {
                        this.tableTraNag.TrN_PodIDColumn});
            this.tableTraNag.Constraints.Add(fkc);
            fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
            fkc.DeleteRule = global::System.Data.Rule.Cascade;
            fkc.UpdateRule = global::System.Data.Rule.Cascade;
            fkc = new global::System.Data.ForeignKeyConstraint("FK_TrETraNag", new global::System.Data.DataColumn[] {
                        this.tableTraNag.TrN_TrNIDColumn,
                        this.tableTraNag.TrN_PodIDColumn}, new global::System.Data.DataColumn[] {
                        this.tableTraElem.TrE_TrNIdColumn,
                        this.tableTraElem.TrE_PodIDColumn});
            this.tableTraElem.Constraints.Add(fkc);
            fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
            fkc.DeleteRule = global::System.Data.Rule.Cascade;
            fkc.UpdateRule = global::System.Data.Rule.Cascade;
            fkc = new global::System.Data.ForeignKeyConstraint("FK_VaTTraNag", new global::System.Data.DataColumn[] {
                        this.tableTraNag.TrN_TrNIDColumn}, new global::System.Data.DataColumn[] {
                        this.tableTraVat.TrV_TrNIDColumn});
            this.tableTraVat.Constraints.Add(fkc);
            fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
            fkc.DeleteRule = global::System.Data.Rule.Cascade;
            fkc.UpdateRule = global::System.Data.Rule.Cascade;
            this.relationKontrahenci_TraNag = new global::System.Data.DataRelation("Kontrahenci_TraNag", new global::System.Data.DataColumn[] {
                        this.tableKontrahenci.Knt_KntIdColumn}, new global::System.Data.DataColumn[] {
                        this.tableTraNag.TrN_PodIDColumn}, false);
            this.Relations.Add(this.relationKontrahenci_TraNag);
            this.relationFK_TrETraNag = new global::System.Data.DataRelation("FK_TrETraNag", new global::System.Data.DataColumn[] {
                        this.tableTraNag.TrN_TrNIDColumn,
                        this.tableTraNag.TrN_PodIDColumn}, new global::System.Data.DataColumn[] {
                        this.tableTraElem.TrE_TrNIdColumn,
                        this.tableTraElem.TrE_PodIDColumn}, false);
            this.Relations.Add(this.relationFK_TrETraNag);
            this.relationFK_VaTTraNag = new global::System.Data.DataRelation("FK_VaTTraNag", new global::System.Data.DataColumn[] {
                        this.tableTraNag.TrN_TrNIDColumn}, new global::System.Data.DataColumn[] {
                        this.tableTraVat.TrV_TrNIDColumn}, false);
            this.Relations.Add(this.relationFK_VaTTraNag);
            this.relationFK_KntOdbiorca = new global::System.Data.DataRelation("FK_KntOdbiorca", new global::System.Data.DataColumn[] {
                        this.tableKontrahenci.Knt_KntIdColumn}, new global::System.Data.DataColumn[] {
                        this.tableKontrahenci.Knt_OdbiorcaIdColumn}, false);
            this.Relations.Add(this.relationFK_KntOdbiorca);
            this.relationFK_TrNDokDef = new global::System.Data.DataRelation("FK_TrNDokDef", new global::System.Data.DataColumn[] {
                        this.tableDokDefinicje.DDf_DDfIDColumn}, new global::System.Data.DataColumn[] {
                        this.tableTraNag.TrN_DDfIdColumn}, false);
            this.Relations.Add(this.relationFK_TrNDokDef);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeKontrahenci() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeTraNag() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeTraElem() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeTraVat() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeDokDefinicje() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
            if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
                this.InitVars();
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
            CDNDataSet ds = new CDNDataSet();
            global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
            global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
            global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
            any.Namespace = ds.Namespace;
            sequence.Items.Add(any);
            type.Particle = sequence;
            global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
            if (xs.Contains(dsSchema.TargetNamespace)) {
                global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                try {
                    global::System.Xml.Schema.XmlSchema schema = null;
                    dsSchema.Write(s1);
                    for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                        schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                        s2.SetLength(0);
                        schema.Write(s2);
                        if ((s1.Length == s2.Length)) {
                            s1.Position = 0;
                            s2.Position = 0;
                            for (; ((s1.Position != s1.Length) 
                                        && (s1.ReadByte() == s2.ReadByte())); ) {
                                ;
                            }
                            if ((s1.Position == s1.Length)) {
                                return type;
                            }
                        }
                    }
                }
                finally {
                    if ((s1 != null)) {
                        s1.Close();
                    }
                    if ((s2 != null)) {
                        s2.Close();
                    }
                }
            }
            xs.Add(dsSchema);
            return type;
        }
        
        public delegate void KontrahenciRowChangeEventHandler(object sender, KontrahenciRowChangeEvent e);
        
        public delegate void TraNagRowChangeEventHandler(object sender, TraNagRowChangeEvent e);
        
        public delegate void TraElemRowChangeEventHandler(object sender, TraElemRowChangeEvent e);
        
        public delegate void TraVatRowChangeEventHandler(object sender, TraVatRowChangeEvent e);
        
        public delegate void DokDefinicjeRowChangeEventHandler(object sender, DokDefinicjeRowChangeEvent e);
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class KontrahenciDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnKnt_KntId;
            
            private global::System.Data.DataColumn columnKnt_PodmiotTyp;
            
            private global::System.Data.DataColumn columnKnt_Kod;
            
            private global::System.Data.DataColumn columnKnt_GLN;
            
            private global::System.Data.DataColumn columnKnt_EAN;
            
            private global::System.Data.DataColumn columnKnt_Grupa;
            
            private global::System.Data.DataColumn columnKnt_Nazwa1;
            
            private global::System.Data.DataColumn columnKnt_Nazwa2;
            
            private global::System.Data.DataColumn columnKnt_Nazwa3;
            
            private global::System.Data.DataColumn columnKnt_Kraj;
            
            private global::System.Data.DataColumn columnKnt_Wojewodztwo;
            
            private global::System.Data.DataColumn columnKnt_Powiat;
            
            private global::System.Data.DataColumn columnKnt_Gmina;
            
            private global::System.Data.DataColumn columnKnt_Ulica;
            
            private global::System.Data.DataColumn columnKnt_NrDomu;
            
            private global::System.Data.DataColumn columnKnt_NrLokalu;
            
            private global::System.Data.DataColumn columnKnt_Miasto;
            
            private global::System.Data.DataColumn columnKnt_KodPocztowy;
            
            private global::System.Data.DataColumn columnKnt_Poczta;
            
            private global::System.Data.DataColumn columnKnt_Adres2;
            
            private global::System.Data.DataColumn columnKnt_NipKraj;
            
            private global::System.Data.DataColumn columnKnt_NipE;
            
            private global::System.Data.DataColumn columnKnt_Nip;
            
            private global::System.Data.DataColumn columnKnt_Regon;
            
            private global::System.Data.DataColumn columnKnt_Pesel;
            
            private global::System.Data.DataColumn columnKnt_Telefon1;
            
            private global::System.Data.DataColumn columnKnt_Telefon2;
            
            private global::System.Data.DataColumn columnKnt_Fax;
            
            private global::System.Data.DataColumn columnKnt_Email;
            
            private global::System.Data.DataColumn columnKnt_URL;
            
            private global::System.Data.DataColumn columnKnt_KrajISO;
            
            private global::System.Data.DataColumn columnKnt_Zezwolenie;
            
            private global::System.Data.DataColumn columnKnt_KodTransakcji;
            
            private global::System.Data.DataColumn columnKnt_BNaID;
            
            private global::System.Data.DataColumn columnKnt_RachunekNr;
            
            private global::System.Data.DataColumn columnKnt_IBAN;
            
            private global::System.Data.DataColumn columnKnt_RachunekNr0;
            
            private global::System.Data.DataColumn columnKnt_OsTytul;
            
            private global::System.Data.DataColumn columnKnt_OsPlec;
            
            private global::System.Data.DataColumn columnKnt_OsNazwisko;
            
            private global::System.Data.DataColumn columnKnt_OsKraj;
            
            private global::System.Data.DataColumn columnKnt_OsWojewodztwo;
            
            private global::System.Data.DataColumn columnKnt_OsPowiat;
            
            private global::System.Data.DataColumn columnKnt_OsGmina;
            
            private global::System.Data.DataColumn columnKnt_OsUlica;
            
            private global::System.Data.DataColumn columnKnt_OsNrDomu;
            
            private global::System.Data.DataColumn columnKnt_OsNrLokalu;
            
            private global::System.Data.DataColumn columnKnt_OsMiasto;
            
            private global::System.Data.DataColumn columnKnt_OsKodPocztowy;
            
            private global::System.Data.DataColumn columnKnt_OsPoczta;
            
            private global::System.Data.DataColumn columnKnt_OsAdres2;
            
            private global::System.Data.DataColumn columnKnt_OsTelefon;
            
            private global::System.Data.DataColumn columnKnt_OsGSM;
            
            private global::System.Data.DataColumn columnKnt_OsEmail;
            
            private global::System.Data.DataColumn columnKnt_Informacje;
            
            private global::System.Data.DataColumn columnKnt_Upust;
            
            private global::System.Data.DataColumn columnKnt_LimitFlag;
            
            private global::System.Data.DataColumn columnKnt_LimitKredytu;
            
            private global::System.Data.DataColumn columnKnt_Ceny;
            
            private global::System.Data.DataColumn columnKnt_FplID;
            
            private global::System.Data.DataColumn columnKnt_MaxZwloka;
            
            private global::System.Data.DataColumn columnKnt_TerminPlat;
            
            private global::System.Data.DataColumn columnKnt_Termin;
            
            private global::System.Data.DataColumn columnKnt_KontoOdb;
            
            private global::System.Data.DataColumn columnKnt_KontoDost;
            
            private global::System.Data.DataColumn columnKnt_KatID;
            
            private global::System.Data.DataColumn columnKnt_BlokadaDok;
            
            private global::System.Data.DataColumn columnKnt_LimitKredytuWal;
            
            private global::System.Data.DataColumn columnKnt_LimitKredytuWykorzystany;
            
            private global::System.Data.DataColumn columnKnt_NieRozliczac;
            
            private global::System.Data.DataColumn columnKnt_PodatekVat;
            
            private global::System.Data.DataColumn columnKnt_Finalny;
            
            private global::System.Data.DataColumn columnKnt_Export;
            
            private global::System.Data.DataColumn columnKnt_Rodzaj;
            
            private global::System.Data.DataColumn columnKnt_Rodzaj_Dostawca;
            
            private global::System.Data.DataColumn columnKnt_Rodzaj_Odbiorca;
            
            private global::System.Data.DataColumn columnKnt_Rodzaj_Konkurencja;
            
            private global::System.Data.DataColumn columnKnt_Rodzaj_Partner;
            
            private global::System.Data.DataColumn columnKnt_Rodzaj_Potencjalny;
            
            private global::System.Data.DataColumn columnKnt_Medialny;
            
            private global::System.Data.DataColumn columnKnt_MalyPod;
            
            private global::System.Data.DataColumn columnKnt_Rolnik;
            
            private global::System.Data.DataColumn columnKnt_Nieaktywny;
            
            private global::System.Data.DataColumn columnKnt_Chroniony;
            
            private global::System.Data.DataColumn columnKnt_Opis;
            
            private global::System.Data.DataColumn columnKnt_OdbiorcaId;
            
            private global::System.Data.DataColumn columnKnt_OpiekunTyp;
            
            private global::System.Data.DataColumn columnKnt_OpiekunId;
            
            private global::System.Data.DataColumn columnKnt_TerminZwrotuKaucji;
            
            private global::System.Data.DataColumn columnKnt_NaliczajPlatnosc;
            
            private global::System.Data.DataColumn columnKnt_ZakazDokumentowHaMag;
            
            private global::System.Data.DataColumn columnKnt_TS_Export;
            
            private global::System.Data.DataColumn columnKnt_ImportAppId;
            
            private global::System.Data.DataColumn columnKnt_ImportRowId;
            
            private global::System.Data.DataColumn columnKnt_OpeZalID;
            
            private global::System.Data.DataColumn columnKnt_StaZalId;
            
            private global::System.Data.DataColumn columnKnt_TS_Zal;
            
            private global::System.Data.DataColumn columnKnt_OpeModID;
            
            private global::System.Data.DataColumn columnKnt_StaModId;
            
            private global::System.Data.DataColumn columnKnt_TS_Mod;
            
            private global::System.Data.DataColumn columnKnt_GIDTyp;
            
            private global::System.Data.DataColumn columnKnt_GIDFirma;
            
            private global::System.Data.DataColumn columnKnt_GIDNumer;
            
            private global::System.Data.DataColumn columnKnt_GIDLp;
            
            private global::System.Data.DataColumn columnKnt_LimitPrzeterKredytFlag;
            
            private global::System.Data.DataColumn columnKnt_LimitPrzeterKredytWartosc;
            
            private global::System.Data.DataColumn columnKnt_BazaBR;
            
            private global::System.Data.DataColumn columnKnt_ZgodaNaEFaktury;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KontrahenciDataTable() {
                this.TableName = "Kontrahenci";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal KontrahenciDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected KontrahenciDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_KntIdColumn {
                get {
                    return this.columnKnt_KntId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_PodmiotTypColumn {
                get {
                    return this.columnKnt_PodmiotTyp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_KodColumn {
                get {
                    return this.columnKnt_Kod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_GLNColumn {
                get {
                    return this.columnKnt_GLN;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_EANColumn {
                get {
                    return this.columnKnt_EAN;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_GrupaColumn {
                get {
                    return this.columnKnt_Grupa;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_Nazwa1Column {
                get {
                    return this.columnKnt_Nazwa1;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_Nazwa2Column {
                get {
                    return this.columnKnt_Nazwa2;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_Nazwa3Column {
                get {
                    return this.columnKnt_Nazwa3;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_KrajColumn {
                get {
                    return this.columnKnt_Kraj;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_WojewodztwoColumn {
                get {
                    return this.columnKnt_Wojewodztwo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_PowiatColumn {
                get {
                    return this.columnKnt_Powiat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_GminaColumn {
                get {
                    return this.columnKnt_Gmina;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_UlicaColumn {
                get {
                    return this.columnKnt_Ulica;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_NrDomuColumn {
                get {
                    return this.columnKnt_NrDomu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_NrLokaluColumn {
                get {
                    return this.columnKnt_NrLokalu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_MiastoColumn {
                get {
                    return this.columnKnt_Miasto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_KodPocztowyColumn {
                get {
                    return this.columnKnt_KodPocztowy;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_PocztaColumn {
                get {
                    return this.columnKnt_Poczta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_Adres2Column {
                get {
                    return this.columnKnt_Adres2;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_NipKrajColumn {
                get {
                    return this.columnKnt_NipKraj;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_NipEColumn {
                get {
                    return this.columnKnt_NipE;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_NipColumn {
                get {
                    return this.columnKnt_Nip;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_RegonColumn {
                get {
                    return this.columnKnt_Regon;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_PeselColumn {
                get {
                    return this.columnKnt_Pesel;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_Telefon1Column {
                get {
                    return this.columnKnt_Telefon1;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_Telefon2Column {
                get {
                    return this.columnKnt_Telefon2;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_FaxColumn {
                get {
                    return this.columnKnt_Fax;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_EmailColumn {
                get {
                    return this.columnKnt_Email;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_URLColumn {
                get {
                    return this.columnKnt_URL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_KrajISOColumn {
                get {
                    return this.columnKnt_KrajISO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_ZezwolenieColumn {
                get {
                    return this.columnKnt_Zezwolenie;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_KodTransakcjiColumn {
                get {
                    return this.columnKnt_KodTransakcji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_BNaIDColumn {
                get {
                    return this.columnKnt_BNaID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_RachunekNrColumn {
                get {
                    return this.columnKnt_RachunekNr;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_IBANColumn {
                get {
                    return this.columnKnt_IBAN;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_RachunekNr0Column {
                get {
                    return this.columnKnt_RachunekNr0;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsTytulColumn {
                get {
                    return this.columnKnt_OsTytul;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsPlecColumn {
                get {
                    return this.columnKnt_OsPlec;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsNazwiskoColumn {
                get {
                    return this.columnKnt_OsNazwisko;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsKrajColumn {
                get {
                    return this.columnKnt_OsKraj;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsWojewodztwoColumn {
                get {
                    return this.columnKnt_OsWojewodztwo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsPowiatColumn {
                get {
                    return this.columnKnt_OsPowiat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsGminaColumn {
                get {
                    return this.columnKnt_OsGmina;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsUlicaColumn {
                get {
                    return this.columnKnt_OsUlica;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsNrDomuColumn {
                get {
                    return this.columnKnt_OsNrDomu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsNrLokaluColumn {
                get {
                    return this.columnKnt_OsNrLokalu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsMiastoColumn {
                get {
                    return this.columnKnt_OsMiasto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsKodPocztowyColumn {
                get {
                    return this.columnKnt_OsKodPocztowy;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsPocztaColumn {
                get {
                    return this.columnKnt_OsPoczta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsAdres2Column {
                get {
                    return this.columnKnt_OsAdres2;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsTelefonColumn {
                get {
                    return this.columnKnt_OsTelefon;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsGSMColumn {
                get {
                    return this.columnKnt_OsGSM;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OsEmailColumn {
                get {
                    return this.columnKnt_OsEmail;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_InformacjeColumn {
                get {
                    return this.columnKnt_Informacje;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_UpustColumn {
                get {
                    return this.columnKnt_Upust;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_LimitFlagColumn {
                get {
                    return this.columnKnt_LimitFlag;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_LimitKredytuColumn {
                get {
                    return this.columnKnt_LimitKredytu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_CenyColumn {
                get {
                    return this.columnKnt_Ceny;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_FplIDColumn {
                get {
                    return this.columnKnt_FplID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_MaxZwlokaColumn {
                get {
                    return this.columnKnt_MaxZwloka;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_TerminPlatColumn {
                get {
                    return this.columnKnt_TerminPlat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_TerminColumn {
                get {
                    return this.columnKnt_Termin;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_KontoOdbColumn {
                get {
                    return this.columnKnt_KontoOdb;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_KontoDostColumn {
                get {
                    return this.columnKnt_KontoDost;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_KatIDColumn {
                get {
                    return this.columnKnt_KatID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_BlokadaDokColumn {
                get {
                    return this.columnKnt_BlokadaDok;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_LimitKredytuWalColumn {
                get {
                    return this.columnKnt_LimitKredytuWal;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_LimitKredytuWykorzystanyColumn {
                get {
                    return this.columnKnt_LimitKredytuWykorzystany;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_NieRozliczacColumn {
                get {
                    return this.columnKnt_NieRozliczac;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_PodatekVatColumn {
                get {
                    return this.columnKnt_PodatekVat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_FinalnyColumn {
                get {
                    return this.columnKnt_Finalny;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_ExportColumn {
                get {
                    return this.columnKnt_Export;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_RodzajColumn {
                get {
                    return this.columnKnt_Rodzaj;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_Rodzaj_DostawcaColumn {
                get {
                    return this.columnKnt_Rodzaj_Dostawca;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_Rodzaj_OdbiorcaColumn {
                get {
                    return this.columnKnt_Rodzaj_Odbiorca;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_Rodzaj_KonkurencjaColumn {
                get {
                    return this.columnKnt_Rodzaj_Konkurencja;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_Rodzaj_PartnerColumn {
                get {
                    return this.columnKnt_Rodzaj_Partner;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_Rodzaj_PotencjalnyColumn {
                get {
                    return this.columnKnt_Rodzaj_Potencjalny;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_MedialnyColumn {
                get {
                    return this.columnKnt_Medialny;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_MalyPodColumn {
                get {
                    return this.columnKnt_MalyPod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_RolnikColumn {
                get {
                    return this.columnKnt_Rolnik;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_NieaktywnyColumn {
                get {
                    return this.columnKnt_Nieaktywny;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_ChronionyColumn {
                get {
                    return this.columnKnt_Chroniony;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OpisColumn {
                get {
                    return this.columnKnt_Opis;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OdbiorcaIdColumn {
                get {
                    return this.columnKnt_OdbiorcaId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OpiekunTypColumn {
                get {
                    return this.columnKnt_OpiekunTyp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OpiekunIdColumn {
                get {
                    return this.columnKnt_OpiekunId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_TerminZwrotuKaucjiColumn {
                get {
                    return this.columnKnt_TerminZwrotuKaucji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_NaliczajPlatnoscColumn {
                get {
                    return this.columnKnt_NaliczajPlatnosc;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_ZakazDokumentowHaMagColumn {
                get {
                    return this.columnKnt_ZakazDokumentowHaMag;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_TS_ExportColumn {
                get {
                    return this.columnKnt_TS_Export;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_ImportAppIdColumn {
                get {
                    return this.columnKnt_ImportAppId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_ImportRowIdColumn {
                get {
                    return this.columnKnt_ImportRowId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OpeZalIDColumn {
                get {
                    return this.columnKnt_OpeZalID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_StaZalIdColumn {
                get {
                    return this.columnKnt_StaZalId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_TS_ZalColumn {
                get {
                    return this.columnKnt_TS_Zal;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_OpeModIDColumn {
                get {
                    return this.columnKnt_OpeModID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_StaModIdColumn {
                get {
                    return this.columnKnt_StaModId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_TS_ModColumn {
                get {
                    return this.columnKnt_TS_Mod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_GIDTypColumn {
                get {
                    return this.columnKnt_GIDTyp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_GIDFirmaColumn {
                get {
                    return this.columnKnt_GIDFirma;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_GIDNumerColumn {
                get {
                    return this.columnKnt_GIDNumer;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_GIDLpColumn {
                get {
                    return this.columnKnt_GIDLp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_LimitPrzeterKredytFlagColumn {
                get {
                    return this.columnKnt_LimitPrzeterKredytFlag;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_LimitPrzeterKredytWartoscColumn {
                get {
                    return this.columnKnt_LimitPrzeterKredytWartosc;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_BazaBRColumn {
                get {
                    return this.columnKnt_BazaBR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Knt_ZgodaNaEFakturyColumn {
                get {
                    return this.columnKnt_ZgodaNaEFaktury;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KontrahenciRow this[int index] {
                get {
                    return ((KontrahenciRow)(this.Rows[index]));
                }
            }
            
            public event KontrahenciRowChangeEventHandler KontrahenciRowChanging;
            
            public event KontrahenciRowChangeEventHandler KontrahenciRowChanged;
            
            public event KontrahenciRowChangeEventHandler KontrahenciRowDeleting;
            
            public event KontrahenciRowChangeEventHandler KontrahenciRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddKontrahenciRow(KontrahenciRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KontrahenciRow AddKontrahenciRow(
                        short Knt_PodmiotTyp, 
                        string Knt_Kod, 
                        string Knt_GLN, 
                        string Knt_EAN, 
                        string Knt_Grupa, 
                        string Knt_Nazwa1, 
                        string Knt_Nazwa2, 
                        string Knt_Nazwa3, 
                        string Knt_Kraj, 
                        string Knt_Wojewodztwo, 
                        string Knt_Powiat, 
                        string Knt_Gmina, 
                        string Knt_Ulica, 
                        string Knt_NrDomu, 
                        string Knt_NrLokalu, 
                        string Knt_Miasto, 
                        string Knt_KodPocztowy, 
                        string Knt_Poczta, 
                        string Knt_Adres2, 
                        string Knt_NipKraj, 
                        string Knt_NipE, 
                        string Knt_Nip, 
                        string Knt_Regon, 
                        string Knt_Pesel, 
                        string Knt_Telefon1, 
                        string Knt_Telefon2, 
                        string Knt_Fax, 
                        string Knt_Email, 
                        string Knt_URL, 
                        string Knt_KrajISO, 
                        string Knt_Zezwolenie, 
                        string Knt_KodTransakcji, 
                        int Knt_BNaID, 
                        string Knt_RachunekNr, 
                        short Knt_IBAN, 
                        string Knt_RachunekNr0, 
                        string Knt_OsTytul, 
                        byte Knt_OsPlec, 
                        string Knt_OsNazwisko, 
                        string Knt_OsKraj, 
                        string Knt_OsWojewodztwo, 
                        string Knt_OsPowiat, 
                        string Knt_OsGmina, 
                        string Knt_OsUlica, 
                        string Knt_OsNrDomu, 
                        string Knt_OsNrLokalu, 
                        string Knt_OsMiasto, 
                        string Knt_OsKodPocztowy, 
                        string Knt_OsPoczta, 
                        string Knt_OsAdres2, 
                        string Knt_OsTelefon, 
                        string Knt_OsGSM, 
                        string Knt_OsEmail, 
                        byte Knt_Informacje, 
                        decimal Knt_Upust, 
                        byte Knt_LimitFlag, 
                        decimal Knt_LimitKredytu, 
                        short Knt_Ceny, 
                        int Knt_FplID, 
                        short Knt_MaxZwloka, 
                        byte Knt_TerminPlat, 
                        short Knt_Termin, 
                        string Knt_KontoOdb, 
                        string Knt_KontoDost, 
                        int Knt_KatID, 
                        byte Knt_BlokadaDok, 
                        string Knt_LimitKredytuWal, 
                        decimal Knt_LimitKredytuWykorzystany, 
                        byte Knt_NieRozliczac, 
                        byte Knt_PodatekVat, 
                        byte Knt_Finalny, 
                        byte Knt_Export, 
                        byte Knt_Rodzaj, 
                        byte Knt_Rodzaj_Dostawca, 
                        byte Knt_Rodzaj_Odbiorca, 
                        byte Knt_Rodzaj_Konkurencja, 
                        byte Knt_Rodzaj_Partner, 
                        byte Knt_Rodzaj_Potencjalny, 
                        byte Knt_Medialny, 
                        byte Knt_MalyPod, 
                        byte Knt_Rolnik, 
                        byte Knt_Nieaktywny, 
                        byte Knt_Chroniony, 
                        string Knt_Opis, 
                        KontrahenciRow parentKontrahenciRowByFK_KntOdbiorca, 
                        short Knt_OpiekunTyp, 
                        int Knt_OpiekunId, 
                        short Knt_TerminZwrotuKaucji, 
                        byte Knt_NaliczajPlatnosc, 
                        byte Knt_ZakazDokumentowHaMag, 
                        System.DateTime Knt_TS_Export, 
                        string Knt_ImportAppId, 
                        string Knt_ImportRowId, 
                        int Knt_OpeZalID, 
                        int Knt_StaZalId, 
                        System.DateTime Knt_TS_Zal, 
                        int Knt_OpeModID, 
                        int Knt_StaModId, 
                        System.DateTime Knt_TS_Mod, 
                        short Knt_GIDTyp, 
                        int Knt_GIDFirma, 
                        int Knt_GIDNumer, 
                        short Knt_GIDLp, 
                        byte Knt_LimitPrzeterKredytFlag, 
                        decimal Knt_LimitPrzeterKredytWartosc, 
                        int Knt_BazaBR, 
                        short Knt_ZgodaNaEFaktury) {
                KontrahenciRow rowKontrahenciRow = ((KontrahenciRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        Knt_PodmiotTyp,
                        Knt_Kod,
                        Knt_GLN,
                        Knt_EAN,
                        Knt_Grupa,
                        Knt_Nazwa1,
                        Knt_Nazwa2,
                        Knt_Nazwa3,
                        Knt_Kraj,
                        Knt_Wojewodztwo,
                        Knt_Powiat,
                        Knt_Gmina,
                        Knt_Ulica,
                        Knt_NrDomu,
                        Knt_NrLokalu,
                        Knt_Miasto,
                        Knt_KodPocztowy,
                        Knt_Poczta,
                        Knt_Adres2,
                        Knt_NipKraj,
                        Knt_NipE,
                        Knt_Nip,
                        Knt_Regon,
                        Knt_Pesel,
                        Knt_Telefon1,
                        Knt_Telefon2,
                        Knt_Fax,
                        Knt_Email,
                        Knt_URL,
                        Knt_KrajISO,
                        Knt_Zezwolenie,
                        Knt_KodTransakcji,
                        Knt_BNaID,
                        Knt_RachunekNr,
                        Knt_IBAN,
                        Knt_RachunekNr0,
                        Knt_OsTytul,
                        Knt_OsPlec,
                        Knt_OsNazwisko,
                        Knt_OsKraj,
                        Knt_OsWojewodztwo,
                        Knt_OsPowiat,
                        Knt_OsGmina,
                        Knt_OsUlica,
                        Knt_OsNrDomu,
                        Knt_OsNrLokalu,
                        Knt_OsMiasto,
                        Knt_OsKodPocztowy,
                        Knt_OsPoczta,
                        Knt_OsAdres2,
                        Knt_OsTelefon,
                        Knt_OsGSM,
                        Knt_OsEmail,
                        Knt_Informacje,
                        Knt_Upust,
                        Knt_LimitFlag,
                        Knt_LimitKredytu,
                        Knt_Ceny,
                        Knt_FplID,
                        Knt_MaxZwloka,
                        Knt_TerminPlat,
                        Knt_Termin,
                        Knt_KontoOdb,
                        Knt_KontoDost,
                        Knt_KatID,
                        Knt_BlokadaDok,
                        Knt_LimitKredytuWal,
                        Knt_LimitKredytuWykorzystany,
                        Knt_NieRozliczac,
                        Knt_PodatekVat,
                        Knt_Finalny,
                        Knt_Export,
                        Knt_Rodzaj,
                        Knt_Rodzaj_Dostawca,
                        Knt_Rodzaj_Odbiorca,
                        Knt_Rodzaj_Konkurencja,
                        Knt_Rodzaj_Partner,
                        Knt_Rodzaj_Potencjalny,
                        Knt_Medialny,
                        Knt_MalyPod,
                        Knt_Rolnik,
                        Knt_Nieaktywny,
                        Knt_Chroniony,
                        Knt_Opis,
                        null,
                        Knt_OpiekunTyp,
                        Knt_OpiekunId,
                        Knt_TerminZwrotuKaucji,
                        Knt_NaliczajPlatnosc,
                        Knt_ZakazDokumentowHaMag,
                        Knt_TS_Export,
                        Knt_ImportAppId,
                        Knt_ImportRowId,
                        Knt_OpeZalID,
                        Knt_StaZalId,
                        Knt_TS_Zal,
                        Knt_OpeModID,
                        Knt_StaModId,
                        Knt_TS_Mod,
                        Knt_GIDTyp,
                        Knt_GIDFirma,
                        Knt_GIDNumer,
                        Knt_GIDLp,
                        Knt_LimitPrzeterKredytFlag,
                        Knt_LimitPrzeterKredytWartosc,
                        Knt_BazaBR,
                        Knt_ZgodaNaEFaktury};
                if ((parentKontrahenciRowByFK_KntOdbiorca != null)) {
                    columnValuesArray[85] = parentKontrahenciRowByFK_KntOdbiorca[0];
                }
                rowKontrahenciRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowKontrahenciRow);
                return rowKontrahenciRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KontrahenciRow FindByKnt_KntId(int Knt_KntId) {
                return ((KontrahenciRow)(this.Rows.Find(new object[] {
                            Knt_KntId})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                KontrahenciDataTable cln = ((KontrahenciDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new KontrahenciDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnKnt_KntId = base.Columns["Knt_KntId"];
                this.columnKnt_PodmiotTyp = base.Columns["Knt_PodmiotTyp"];
                this.columnKnt_Kod = base.Columns["Knt_Kod"];
                this.columnKnt_GLN = base.Columns["Knt_GLN"];
                this.columnKnt_EAN = base.Columns["Knt_EAN"];
                this.columnKnt_Grupa = base.Columns["Knt_Grupa"];
                this.columnKnt_Nazwa1 = base.Columns["Knt_Nazwa1"];
                this.columnKnt_Nazwa2 = base.Columns["Knt_Nazwa2"];
                this.columnKnt_Nazwa3 = base.Columns["Knt_Nazwa3"];
                this.columnKnt_Kraj = base.Columns["Knt_Kraj"];
                this.columnKnt_Wojewodztwo = base.Columns["Knt_Wojewodztwo"];
                this.columnKnt_Powiat = base.Columns["Knt_Powiat"];
                this.columnKnt_Gmina = base.Columns["Knt_Gmina"];
                this.columnKnt_Ulica = base.Columns["Knt_Ulica"];
                this.columnKnt_NrDomu = base.Columns["Knt_NrDomu"];
                this.columnKnt_NrLokalu = base.Columns["Knt_NrLokalu"];
                this.columnKnt_Miasto = base.Columns["Knt_Miasto"];
                this.columnKnt_KodPocztowy = base.Columns["Knt_KodPocztowy"];
                this.columnKnt_Poczta = base.Columns["Knt_Poczta"];
                this.columnKnt_Adres2 = base.Columns["Knt_Adres2"];
                this.columnKnt_NipKraj = base.Columns["Knt_NipKraj"];
                this.columnKnt_NipE = base.Columns["Knt_NipE"];
                this.columnKnt_Nip = base.Columns["Knt_Nip"];
                this.columnKnt_Regon = base.Columns["Knt_Regon"];
                this.columnKnt_Pesel = base.Columns["Knt_Pesel"];
                this.columnKnt_Telefon1 = base.Columns["Knt_Telefon1"];
                this.columnKnt_Telefon2 = base.Columns["Knt_Telefon2"];
                this.columnKnt_Fax = base.Columns["Knt_Fax"];
                this.columnKnt_Email = base.Columns["Knt_Email"];
                this.columnKnt_URL = base.Columns["Knt_URL"];
                this.columnKnt_KrajISO = base.Columns["Knt_KrajISO"];
                this.columnKnt_Zezwolenie = base.Columns["Knt_Zezwolenie"];
                this.columnKnt_KodTransakcji = base.Columns["Knt_KodTransakcji"];
                this.columnKnt_BNaID = base.Columns["Knt_BNaID"];
                this.columnKnt_RachunekNr = base.Columns["Knt_RachunekNr"];
                this.columnKnt_IBAN = base.Columns["Knt_IBAN"];
                this.columnKnt_RachunekNr0 = base.Columns["Knt_RachunekNr0"];
                this.columnKnt_OsTytul = base.Columns["Knt_OsTytul"];
                this.columnKnt_OsPlec = base.Columns["Knt_OsPlec"];
                this.columnKnt_OsNazwisko = base.Columns["Knt_OsNazwisko"];
                this.columnKnt_OsKraj = base.Columns["Knt_OsKraj"];
                this.columnKnt_OsWojewodztwo = base.Columns["Knt_OsWojewodztwo"];
                this.columnKnt_OsPowiat = base.Columns["Knt_OsPowiat"];
                this.columnKnt_OsGmina = base.Columns["Knt_OsGmina"];
                this.columnKnt_OsUlica = base.Columns["Knt_OsUlica"];
                this.columnKnt_OsNrDomu = base.Columns["Knt_OsNrDomu"];
                this.columnKnt_OsNrLokalu = base.Columns["Knt_OsNrLokalu"];
                this.columnKnt_OsMiasto = base.Columns["Knt_OsMiasto"];
                this.columnKnt_OsKodPocztowy = base.Columns["Knt_OsKodPocztowy"];
                this.columnKnt_OsPoczta = base.Columns["Knt_OsPoczta"];
                this.columnKnt_OsAdres2 = base.Columns["Knt_OsAdres2"];
                this.columnKnt_OsTelefon = base.Columns["Knt_OsTelefon"];
                this.columnKnt_OsGSM = base.Columns["Knt_OsGSM"];
                this.columnKnt_OsEmail = base.Columns["Knt_OsEmail"];
                this.columnKnt_Informacje = base.Columns["Knt_Informacje"];
                this.columnKnt_Upust = base.Columns["Knt_Upust"];
                this.columnKnt_LimitFlag = base.Columns["Knt_LimitFlag"];
                this.columnKnt_LimitKredytu = base.Columns["Knt_LimitKredytu"];
                this.columnKnt_Ceny = base.Columns["Knt_Ceny"];
                this.columnKnt_FplID = base.Columns["Knt_FplID"];
                this.columnKnt_MaxZwloka = base.Columns["Knt_MaxZwloka"];
                this.columnKnt_TerminPlat = base.Columns["Knt_TerminPlat"];
                this.columnKnt_Termin = base.Columns["Knt_Termin"];
                this.columnKnt_KontoOdb = base.Columns["Knt_KontoOdb"];
                this.columnKnt_KontoDost = base.Columns["Knt_KontoDost"];
                this.columnKnt_KatID = base.Columns["Knt_KatID"];
                this.columnKnt_BlokadaDok = base.Columns["Knt_BlokadaDok"];
                this.columnKnt_LimitKredytuWal = base.Columns["Knt_LimitKredytuWal"];
                this.columnKnt_LimitKredytuWykorzystany = base.Columns["Knt_LimitKredytuWykorzystany"];
                this.columnKnt_NieRozliczac = base.Columns["Knt_NieRozliczac"];
                this.columnKnt_PodatekVat = base.Columns["Knt_PodatekVat"];
                this.columnKnt_Finalny = base.Columns["Knt_Finalny"];
                this.columnKnt_Export = base.Columns["Knt_Export"];
                this.columnKnt_Rodzaj = base.Columns["Knt_Rodzaj"];
                this.columnKnt_Rodzaj_Dostawca = base.Columns["Knt_Rodzaj_Dostawca"];
                this.columnKnt_Rodzaj_Odbiorca = base.Columns["Knt_Rodzaj_Odbiorca"];
                this.columnKnt_Rodzaj_Konkurencja = base.Columns["Knt_Rodzaj_Konkurencja"];
                this.columnKnt_Rodzaj_Partner = base.Columns["Knt_Rodzaj_Partner"];
                this.columnKnt_Rodzaj_Potencjalny = base.Columns["Knt_Rodzaj_Potencjalny"];
                this.columnKnt_Medialny = base.Columns["Knt_Medialny"];
                this.columnKnt_MalyPod = base.Columns["Knt_MalyPod"];
                this.columnKnt_Rolnik = base.Columns["Knt_Rolnik"];
                this.columnKnt_Nieaktywny = base.Columns["Knt_Nieaktywny"];
                this.columnKnt_Chroniony = base.Columns["Knt_Chroniony"];
                this.columnKnt_Opis = base.Columns["Knt_Opis"];
                this.columnKnt_OdbiorcaId = base.Columns["Knt_OdbiorcaId"];
                this.columnKnt_OpiekunTyp = base.Columns["Knt_OpiekunTyp"];
                this.columnKnt_OpiekunId = base.Columns["Knt_OpiekunId"];
                this.columnKnt_TerminZwrotuKaucji = base.Columns["Knt_TerminZwrotuKaucji"];
                this.columnKnt_NaliczajPlatnosc = base.Columns["Knt_NaliczajPlatnosc"];
                this.columnKnt_ZakazDokumentowHaMag = base.Columns["Knt_ZakazDokumentowHaMag"];
                this.columnKnt_TS_Export = base.Columns["Knt_TS_Export"];
                this.columnKnt_ImportAppId = base.Columns["Knt_ImportAppId"];
                this.columnKnt_ImportRowId = base.Columns["Knt_ImportRowId"];
                this.columnKnt_OpeZalID = base.Columns["Knt_OpeZalID"];
                this.columnKnt_StaZalId = base.Columns["Knt_StaZalId"];
                this.columnKnt_TS_Zal = base.Columns["Knt_TS_Zal"];
                this.columnKnt_OpeModID = base.Columns["Knt_OpeModID"];
                this.columnKnt_StaModId = base.Columns["Knt_StaModId"];
                this.columnKnt_TS_Mod = base.Columns["Knt_TS_Mod"];
                this.columnKnt_GIDTyp = base.Columns["Knt_GIDTyp"];
                this.columnKnt_GIDFirma = base.Columns["Knt_GIDFirma"];
                this.columnKnt_GIDNumer = base.Columns["Knt_GIDNumer"];
                this.columnKnt_GIDLp = base.Columns["Knt_GIDLp"];
                this.columnKnt_LimitPrzeterKredytFlag = base.Columns["Knt_LimitPrzeterKredytFlag"];
                this.columnKnt_LimitPrzeterKredytWartosc = base.Columns["Knt_LimitPrzeterKredytWartosc"];
                this.columnKnt_BazaBR = base.Columns["Knt_BazaBR"];
                this.columnKnt_ZgodaNaEFaktury = base.Columns["Knt_ZgodaNaEFaktury"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnKnt_KntId = new global::System.Data.DataColumn("Knt_KntId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_KntId);
                this.columnKnt_PodmiotTyp = new global::System.Data.DataColumn("Knt_PodmiotTyp", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_PodmiotTyp);
                this.columnKnt_Kod = new global::System.Data.DataColumn("Knt_Kod", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Kod);
                this.columnKnt_GLN = new global::System.Data.DataColumn("Knt_GLN", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_GLN);
                this.columnKnt_EAN = new global::System.Data.DataColumn("Knt_EAN", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_EAN);
                this.columnKnt_Grupa = new global::System.Data.DataColumn("Knt_Grupa", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Grupa);
                this.columnKnt_Nazwa1 = new global::System.Data.DataColumn("Knt_Nazwa1", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Nazwa1);
                this.columnKnt_Nazwa2 = new global::System.Data.DataColumn("Knt_Nazwa2", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Nazwa2);
                this.columnKnt_Nazwa3 = new global::System.Data.DataColumn("Knt_Nazwa3", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Nazwa3);
                this.columnKnt_Kraj = new global::System.Data.DataColumn("Knt_Kraj", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Kraj);
                this.columnKnt_Wojewodztwo = new global::System.Data.DataColumn("Knt_Wojewodztwo", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Wojewodztwo);
                this.columnKnt_Powiat = new global::System.Data.DataColumn("Knt_Powiat", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Powiat);
                this.columnKnt_Gmina = new global::System.Data.DataColumn("Knt_Gmina", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Gmina);
                this.columnKnt_Ulica = new global::System.Data.DataColumn("Knt_Ulica", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Ulica);
                this.columnKnt_NrDomu = new global::System.Data.DataColumn("Knt_NrDomu", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_NrDomu);
                this.columnKnt_NrLokalu = new global::System.Data.DataColumn("Knt_NrLokalu", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_NrLokalu);
                this.columnKnt_Miasto = new global::System.Data.DataColumn("Knt_Miasto", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Miasto);
                this.columnKnt_KodPocztowy = new global::System.Data.DataColumn("Knt_KodPocztowy", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_KodPocztowy);
                this.columnKnt_Poczta = new global::System.Data.DataColumn("Knt_Poczta", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Poczta);
                this.columnKnt_Adres2 = new global::System.Data.DataColumn("Knt_Adres2", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Adres2);
                this.columnKnt_NipKraj = new global::System.Data.DataColumn("Knt_NipKraj", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_NipKraj);
                this.columnKnt_NipE = new global::System.Data.DataColumn("Knt_NipE", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_NipE);
                this.columnKnt_Nip = new global::System.Data.DataColumn("Knt_Nip", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Nip);
                this.columnKnt_Regon = new global::System.Data.DataColumn("Knt_Regon", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Regon);
                this.columnKnt_Pesel = new global::System.Data.DataColumn("Knt_Pesel", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Pesel);
                this.columnKnt_Telefon1 = new global::System.Data.DataColumn("Knt_Telefon1", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Telefon1);
                this.columnKnt_Telefon2 = new global::System.Data.DataColumn("Knt_Telefon2", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Telefon2);
                this.columnKnt_Fax = new global::System.Data.DataColumn("Knt_Fax", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Fax);
                this.columnKnt_Email = new global::System.Data.DataColumn("Knt_Email", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Email);
                this.columnKnt_URL = new global::System.Data.DataColumn("Knt_URL", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_URL);
                this.columnKnt_KrajISO = new global::System.Data.DataColumn("Knt_KrajISO", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_KrajISO);
                this.columnKnt_Zezwolenie = new global::System.Data.DataColumn("Knt_Zezwolenie", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Zezwolenie);
                this.columnKnt_KodTransakcji = new global::System.Data.DataColumn("Knt_KodTransakcji", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_KodTransakcji);
                this.columnKnt_BNaID = new global::System.Data.DataColumn("Knt_BNaID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_BNaID);
                this.columnKnt_RachunekNr = new global::System.Data.DataColumn("Knt_RachunekNr", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_RachunekNr);
                this.columnKnt_IBAN = new global::System.Data.DataColumn("Knt_IBAN", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_IBAN);
                this.columnKnt_RachunekNr0 = new global::System.Data.DataColumn("Knt_RachunekNr0", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_RachunekNr0);
                this.columnKnt_OsTytul = new global::System.Data.DataColumn("Knt_OsTytul", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsTytul);
                this.columnKnt_OsPlec = new global::System.Data.DataColumn("Knt_OsPlec", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsPlec);
                this.columnKnt_OsNazwisko = new global::System.Data.DataColumn("Knt_OsNazwisko", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsNazwisko);
                this.columnKnt_OsKraj = new global::System.Data.DataColumn("Knt_OsKraj", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsKraj);
                this.columnKnt_OsWojewodztwo = new global::System.Data.DataColumn("Knt_OsWojewodztwo", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsWojewodztwo);
                this.columnKnt_OsPowiat = new global::System.Data.DataColumn("Knt_OsPowiat", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsPowiat);
                this.columnKnt_OsGmina = new global::System.Data.DataColumn("Knt_OsGmina", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsGmina);
                this.columnKnt_OsUlica = new global::System.Data.DataColumn("Knt_OsUlica", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsUlica);
                this.columnKnt_OsNrDomu = new global::System.Data.DataColumn("Knt_OsNrDomu", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsNrDomu);
                this.columnKnt_OsNrLokalu = new global::System.Data.DataColumn("Knt_OsNrLokalu", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsNrLokalu);
                this.columnKnt_OsMiasto = new global::System.Data.DataColumn("Knt_OsMiasto", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsMiasto);
                this.columnKnt_OsKodPocztowy = new global::System.Data.DataColumn("Knt_OsKodPocztowy", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsKodPocztowy);
                this.columnKnt_OsPoczta = new global::System.Data.DataColumn("Knt_OsPoczta", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsPoczta);
                this.columnKnt_OsAdres2 = new global::System.Data.DataColumn("Knt_OsAdres2", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsAdres2);
                this.columnKnt_OsTelefon = new global::System.Data.DataColumn("Knt_OsTelefon", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsTelefon);
                this.columnKnt_OsGSM = new global::System.Data.DataColumn("Knt_OsGSM", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsGSM);
                this.columnKnt_OsEmail = new global::System.Data.DataColumn("Knt_OsEmail", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OsEmail);
                this.columnKnt_Informacje = new global::System.Data.DataColumn("Knt_Informacje", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Informacje);
                this.columnKnt_Upust = new global::System.Data.DataColumn("Knt_Upust", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Upust);
                this.columnKnt_LimitFlag = new global::System.Data.DataColumn("Knt_LimitFlag", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_LimitFlag);
                this.columnKnt_LimitKredytu = new global::System.Data.DataColumn("Knt_LimitKredytu", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_LimitKredytu);
                this.columnKnt_Ceny = new global::System.Data.DataColumn("Knt_Ceny", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Ceny);
                this.columnKnt_FplID = new global::System.Data.DataColumn("Knt_FplID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_FplID);
                this.columnKnt_MaxZwloka = new global::System.Data.DataColumn("Knt_MaxZwloka", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_MaxZwloka);
                this.columnKnt_TerminPlat = new global::System.Data.DataColumn("Knt_TerminPlat", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_TerminPlat);
                this.columnKnt_Termin = new global::System.Data.DataColumn("Knt_Termin", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Termin);
                this.columnKnt_KontoOdb = new global::System.Data.DataColumn("Knt_KontoOdb", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_KontoOdb);
                this.columnKnt_KontoDost = new global::System.Data.DataColumn("Knt_KontoDost", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_KontoDost);
                this.columnKnt_KatID = new global::System.Data.DataColumn("Knt_KatID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_KatID);
                this.columnKnt_BlokadaDok = new global::System.Data.DataColumn("Knt_BlokadaDok", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_BlokadaDok);
                this.columnKnt_LimitKredytuWal = new global::System.Data.DataColumn("Knt_LimitKredytuWal", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_LimitKredytuWal);
                this.columnKnt_LimitKredytuWykorzystany = new global::System.Data.DataColumn("Knt_LimitKredytuWykorzystany", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_LimitKredytuWykorzystany);
                this.columnKnt_NieRozliczac = new global::System.Data.DataColumn("Knt_NieRozliczac", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_NieRozliczac);
                this.columnKnt_PodatekVat = new global::System.Data.DataColumn("Knt_PodatekVat", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_PodatekVat);
                this.columnKnt_Finalny = new global::System.Data.DataColumn("Knt_Finalny", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Finalny);
                this.columnKnt_Export = new global::System.Data.DataColumn("Knt_Export", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Export);
                this.columnKnt_Rodzaj = new global::System.Data.DataColumn("Knt_Rodzaj", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Rodzaj);
                this.columnKnt_Rodzaj_Dostawca = new global::System.Data.DataColumn("Knt_Rodzaj_Dostawca", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Rodzaj_Dostawca);
                this.columnKnt_Rodzaj_Odbiorca = new global::System.Data.DataColumn("Knt_Rodzaj_Odbiorca", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Rodzaj_Odbiorca);
                this.columnKnt_Rodzaj_Konkurencja = new global::System.Data.DataColumn("Knt_Rodzaj_Konkurencja", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Rodzaj_Konkurencja);
                this.columnKnt_Rodzaj_Partner = new global::System.Data.DataColumn("Knt_Rodzaj_Partner", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Rodzaj_Partner);
                this.columnKnt_Rodzaj_Potencjalny = new global::System.Data.DataColumn("Knt_Rodzaj_Potencjalny", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Rodzaj_Potencjalny);
                this.columnKnt_Medialny = new global::System.Data.DataColumn("Knt_Medialny", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Medialny);
                this.columnKnt_MalyPod = new global::System.Data.DataColumn("Knt_MalyPod", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_MalyPod);
                this.columnKnt_Rolnik = new global::System.Data.DataColumn("Knt_Rolnik", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Rolnik);
                this.columnKnt_Nieaktywny = new global::System.Data.DataColumn("Knt_Nieaktywny", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Nieaktywny);
                this.columnKnt_Chroniony = new global::System.Data.DataColumn("Knt_Chroniony", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Chroniony);
                this.columnKnt_Opis = new global::System.Data.DataColumn("Knt_Opis", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_Opis);
                this.columnKnt_OdbiorcaId = new global::System.Data.DataColumn("Knt_OdbiorcaId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OdbiorcaId);
                this.columnKnt_OpiekunTyp = new global::System.Data.DataColumn("Knt_OpiekunTyp", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OpiekunTyp);
                this.columnKnt_OpiekunId = new global::System.Data.DataColumn("Knt_OpiekunId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OpiekunId);
                this.columnKnt_TerminZwrotuKaucji = new global::System.Data.DataColumn("Knt_TerminZwrotuKaucji", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_TerminZwrotuKaucji);
                this.columnKnt_NaliczajPlatnosc = new global::System.Data.DataColumn("Knt_NaliczajPlatnosc", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_NaliczajPlatnosc);
                this.columnKnt_ZakazDokumentowHaMag = new global::System.Data.DataColumn("Knt_ZakazDokumentowHaMag", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_ZakazDokumentowHaMag);
                this.columnKnt_TS_Export = new global::System.Data.DataColumn("Knt_TS_Export", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_TS_Export);
                this.columnKnt_ImportAppId = new global::System.Data.DataColumn("Knt_ImportAppId", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_ImportAppId);
                this.columnKnt_ImportRowId = new global::System.Data.DataColumn("Knt_ImportRowId", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_ImportRowId);
                this.columnKnt_OpeZalID = new global::System.Data.DataColumn("Knt_OpeZalID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OpeZalID);
                this.columnKnt_StaZalId = new global::System.Data.DataColumn("Knt_StaZalId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_StaZalId);
                this.columnKnt_TS_Zal = new global::System.Data.DataColumn("Knt_TS_Zal", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_TS_Zal);
                this.columnKnt_OpeModID = new global::System.Data.DataColumn("Knt_OpeModID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_OpeModID);
                this.columnKnt_StaModId = new global::System.Data.DataColumn("Knt_StaModId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_StaModId);
                this.columnKnt_TS_Mod = new global::System.Data.DataColumn("Knt_TS_Mod", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_TS_Mod);
                this.columnKnt_GIDTyp = new global::System.Data.DataColumn("Knt_GIDTyp", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_GIDTyp);
                this.columnKnt_GIDFirma = new global::System.Data.DataColumn("Knt_GIDFirma", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_GIDFirma);
                this.columnKnt_GIDNumer = new global::System.Data.DataColumn("Knt_GIDNumer", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_GIDNumer);
                this.columnKnt_GIDLp = new global::System.Data.DataColumn("Knt_GIDLp", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_GIDLp);
                this.columnKnt_LimitPrzeterKredytFlag = new global::System.Data.DataColumn("Knt_LimitPrzeterKredytFlag", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_LimitPrzeterKredytFlag);
                this.columnKnt_LimitPrzeterKredytWartosc = new global::System.Data.DataColumn("Knt_LimitPrzeterKredytWartosc", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_LimitPrzeterKredytWartosc);
                this.columnKnt_BazaBR = new global::System.Data.DataColumn("Knt_BazaBR", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_BazaBR);
                this.columnKnt_ZgodaNaEFaktury = new global::System.Data.DataColumn("Knt_ZgodaNaEFaktury", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKnt_ZgodaNaEFaktury);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnKnt_KntId}, true));
                this.columnKnt_KntId.AutoIncrement = true;
                this.columnKnt_KntId.AutoIncrementSeed = -1;
                this.columnKnt_KntId.AutoIncrementStep = -1;
                this.columnKnt_KntId.AllowDBNull = false;
                this.columnKnt_KntId.ReadOnly = true;
                this.columnKnt_KntId.Unique = true;
                this.columnKnt_Kod.AllowDBNull = false;
                this.columnKnt_Kod.MaxLength = 20;
                this.columnKnt_GLN.AllowDBNull = false;
                this.columnKnt_GLN.MaxLength = 13;
                this.columnKnt_EAN.AllowDBNull = false;
                this.columnKnt_EAN.MaxLength = 16;
                this.columnKnt_Grupa.AllowDBNull = false;
                this.columnKnt_Grupa.MaxLength = 20;
                this.columnKnt_Nazwa1.AllowDBNull = false;
                this.columnKnt_Nazwa1.MaxLength = 50;
                this.columnKnt_Nazwa2.AllowDBNull = false;
                this.columnKnt_Nazwa2.MaxLength = 50;
                this.columnKnt_Nazwa3.AllowDBNull = false;
                this.columnKnt_Nazwa3.MaxLength = 50;
                this.columnKnt_Kraj.AllowDBNull = false;
                this.columnKnt_Kraj.MaxLength = 40;
                this.columnKnt_Wojewodztwo.AllowDBNull = false;
                this.columnKnt_Wojewodztwo.MaxLength = 40;
                this.columnKnt_Powiat.AllowDBNull = false;
                this.columnKnt_Powiat.MaxLength = 40;
                this.columnKnt_Gmina.AllowDBNull = false;
                this.columnKnt_Gmina.MaxLength = 40;
                this.columnKnt_Ulica.AllowDBNull = false;
                this.columnKnt_Ulica.MaxLength = 40;
                this.columnKnt_NrDomu.AllowDBNull = false;
                this.columnKnt_NrDomu.MaxLength = 10;
                this.columnKnt_NrLokalu.AllowDBNull = false;
                this.columnKnt_NrLokalu.MaxLength = 10;
                this.columnKnt_Miasto.AllowDBNull = false;
                this.columnKnt_Miasto.MaxLength = 40;
                this.columnKnt_KodPocztowy.AllowDBNull = false;
                this.columnKnt_KodPocztowy.MaxLength = 10;
                this.columnKnt_Poczta.AllowDBNull = false;
                this.columnKnt_Poczta.MaxLength = 40;
                this.columnKnt_Adres2.AllowDBNull = false;
                this.columnKnt_Adres2.MaxLength = 40;
                this.columnKnt_NipKraj.AllowDBNull = false;
                this.columnKnt_NipKraj.MaxLength = 2;
                this.columnKnt_NipE.AllowDBNull = false;
                this.columnKnt_NipE.MaxLength = 13;
                this.columnKnt_Nip.AllowDBNull = false;
                this.columnKnt_Nip.MaxLength = 13;
                this.columnKnt_Regon.AllowDBNull = false;
                this.columnKnt_Regon.MaxLength = 20;
                this.columnKnt_Pesel.AllowDBNull = false;
                this.columnKnt_Pesel.MaxLength = 11;
                this.columnKnt_Telefon1.AllowDBNull = false;
                this.columnKnt_Telefon1.MaxLength = 20;
                this.columnKnt_Telefon2.AllowDBNull = false;
                this.columnKnt_Telefon2.MaxLength = 20;
                this.columnKnt_Fax.AllowDBNull = false;
                this.columnKnt_Fax.MaxLength = 20;
                this.columnKnt_Email.AllowDBNull = false;
                this.columnKnt_Email.MaxLength = 40;
                this.columnKnt_URL.AllowDBNull = false;
                this.columnKnt_URL.MaxLength = 254;
                this.columnKnt_KrajISO.AllowDBNull = false;
                this.columnKnt_KrajISO.MaxLength = 9;
                this.columnKnt_Zezwolenie.AllowDBNull = false;
                this.columnKnt_Zezwolenie.MaxLength = 40;
                this.columnKnt_KodTransakcji.AllowDBNull = false;
                this.columnKnt_KodTransakcji.MaxLength = 2;
                this.columnKnt_RachunekNr.AllowDBNull = false;
                this.columnKnt_RachunekNr.MaxLength = 51;
                this.columnKnt_IBAN.AllowDBNull = false;
                this.columnKnt_RachunekNr0.ReadOnly = true;
                this.columnKnt_RachunekNr0.MaxLength = 51;
                this.columnKnt_OsTytul.AllowDBNull = false;
                this.columnKnt_OsTytul.MaxLength = 20;
                this.columnKnt_OsPlec.AllowDBNull = false;
                this.columnKnt_OsNazwisko.AllowDBNull = false;
                this.columnKnt_OsNazwisko.MaxLength = 40;
                this.columnKnt_OsKraj.AllowDBNull = false;
                this.columnKnt_OsKraj.MaxLength = 40;
                this.columnKnt_OsWojewodztwo.AllowDBNull = false;
                this.columnKnt_OsWojewodztwo.MaxLength = 40;
                this.columnKnt_OsPowiat.AllowDBNull = false;
                this.columnKnt_OsPowiat.MaxLength = 40;
                this.columnKnt_OsGmina.AllowDBNull = false;
                this.columnKnt_OsGmina.MaxLength = 40;
                this.columnKnt_OsUlica.AllowDBNull = false;
                this.columnKnt_OsUlica.MaxLength = 40;
                this.columnKnt_OsNrDomu.AllowDBNull = false;
                this.columnKnt_OsNrDomu.MaxLength = 10;
                this.columnKnt_OsNrLokalu.AllowDBNull = false;
                this.columnKnt_OsNrLokalu.MaxLength = 10;
                this.columnKnt_OsMiasto.AllowDBNull = false;
                this.columnKnt_OsMiasto.MaxLength = 40;
                this.columnKnt_OsKodPocztowy.AllowDBNull = false;
                this.columnKnt_OsKodPocztowy.MaxLength = 10;
                this.columnKnt_OsPoczta.AllowDBNull = false;
                this.columnKnt_OsPoczta.MaxLength = 40;
                this.columnKnt_OsAdres2.AllowDBNull = false;
                this.columnKnt_OsAdres2.MaxLength = 40;
                this.columnKnt_OsTelefon.AllowDBNull = false;
                this.columnKnt_OsTelefon.MaxLength = 20;
                this.columnKnt_OsGSM.AllowDBNull = false;
                this.columnKnt_OsGSM.MaxLength = 20;
                this.columnKnt_OsEmail.AllowDBNull = false;
                this.columnKnt_OsEmail.MaxLength = 40;
                this.columnKnt_Informacje.AllowDBNull = false;
                this.columnKnt_Upust.AllowDBNull = false;
                this.columnKnt_LimitFlag.AllowDBNull = false;
                this.columnKnt_LimitKredytu.AllowDBNull = false;
                this.columnKnt_Ceny.AllowDBNull = false;
                this.columnKnt_MaxZwloka.AllowDBNull = false;
                this.columnKnt_TerminPlat.AllowDBNull = false;
                this.columnKnt_Termin.AllowDBNull = false;
                this.columnKnt_KontoOdb.AllowDBNull = false;
                this.columnKnt_KontoOdb.MaxLength = 50;
                this.columnKnt_KontoDost.AllowDBNull = false;
                this.columnKnt_KontoDost.MaxLength = 50;
                this.columnKnt_BlokadaDok.AllowDBNull = false;
                this.columnKnt_LimitKredytuWal.AllowDBNull = false;
                this.columnKnt_LimitKredytuWal.MaxLength = 3;
                this.columnKnt_LimitKredytuWykorzystany.AllowDBNull = false;
                this.columnKnt_NieRozliczac.AllowDBNull = false;
                this.columnKnt_PodatekVat.AllowDBNull = false;
                this.columnKnt_Finalny.AllowDBNull = false;
                this.columnKnt_Export.AllowDBNull = false;
                this.columnKnt_Rodzaj.AllowDBNull = false;
                this.columnKnt_Rodzaj_Dostawca.AllowDBNull = false;
                this.columnKnt_Rodzaj_Odbiorca.AllowDBNull = false;
                this.columnKnt_Rodzaj_Konkurencja.AllowDBNull = false;
                this.columnKnt_Rodzaj_Partner.AllowDBNull = false;
                this.columnKnt_Rodzaj_Potencjalny.AllowDBNull = false;
                this.columnKnt_Medialny.AllowDBNull = false;
                this.columnKnt_MalyPod.AllowDBNull = false;
                this.columnKnt_Rolnik.AllowDBNull = false;
                this.columnKnt_Nieaktywny.AllowDBNull = false;
                this.columnKnt_Chroniony.AllowDBNull = false;
                this.columnKnt_Opis.AllowDBNull = false;
                this.columnKnt_Opis.MaxLength = 254;
                this.columnKnt_TerminZwrotuKaucji.AllowDBNull = false;
                this.columnKnt_NaliczajPlatnosc.AllowDBNull = false;
                this.columnKnt_ZakazDokumentowHaMag.AllowDBNull = false;
                this.columnKnt_ImportAppId.MaxLength = 5;
                this.columnKnt_ImportRowId.MaxLength = 36;
                this.columnKnt_TS_Zal.AllowDBNull = false;
                this.columnKnt_TS_Mod.AllowDBNull = false;
                this.columnKnt_LimitPrzeterKredytFlag.AllowDBNull = false;
                this.columnKnt_LimitPrzeterKredytWartosc.AllowDBNull = false;
                this.columnKnt_ZgodaNaEFaktury.DefaultValue = ((short)(0));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KontrahenciRow NewKontrahenciRow() {
                return ((KontrahenciRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new KontrahenciRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(KontrahenciRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.KontrahenciRowChanged != null)) {
                    this.KontrahenciRowChanged(this, new KontrahenciRowChangeEvent(((KontrahenciRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.KontrahenciRowChanging != null)) {
                    this.KontrahenciRowChanging(this, new KontrahenciRowChangeEvent(((KontrahenciRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.KontrahenciRowDeleted != null)) {
                    this.KontrahenciRowDeleted(this, new KontrahenciRowChangeEvent(((KontrahenciRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.KontrahenciRowDeleting != null)) {
                    this.KontrahenciRowDeleting(this, new KontrahenciRowChangeEvent(((KontrahenciRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveKontrahenciRow(KontrahenciRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                CDNDataSet ds = new CDNDataSet();
                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 = "KontrahenciDataTable";
                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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class TraNagDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnTrN_TrNID;
            
            private global::System.Data.DataColumn columnTrN_TerminZwrotuKaucji;
            
            private global::System.Data.DataColumn columnTrN_OFFPrawoDoFAPA;
            
            private global::System.Data.DataColumn columnTrN_OFFPrawoDoAnulowania;
            
            private global::System.Data.DataColumn columnTrN_RelTrNId;
            
            private global::System.Data.DataColumn columnTrN_FVMarza;
            
            private global::System.Data.DataColumn columnTrN_DDfId;
            
            private global::System.Data.DataColumn columnTrN_TypDokumentu;
            
            private global::System.Data.DataColumn columnTrN_ZwrId;
            
            private global::System.Data.DataColumn columnTrN_FaId;
            
            private global::System.Data.DataColumn columnTrN_NumerNr;
            
            private global::System.Data.DataColumn columnTrN_NumerString;
            
            private global::System.Data.DataColumn columnTrN_NumerPelny;
            
            private global::System.Data.DataColumn columnTrN_Bufor;
            
            private global::System.Data.DataColumn columnTrN_Anulowany;
            
            private global::System.Data.DataColumn columnTrN_VaNId;
            
            private global::System.Data.DataColumn columnTrN_DataDok;
            
            private global::System.Data.DataColumn columnTrN_DataWys;
            
            private global::System.Data.DataColumn columnTrN_DataOpe;
            
            private global::System.Data.DataColumn columnTrN_NumerObcy;
            
            private global::System.Data.DataColumn columnTrN_NumerPelnyPrw;
            
            private global::System.Data.DataColumn columnTrN_TaxFreePotwierdzony;
            
            private global::System.Data.DataColumn columnTrN_Korekta;
            
            private global::System.Data.DataColumn columnTrN_Fiskalna;
            
            private global::System.Data.DataColumn columnTrN_FiskalnaErr;
            
            private global::System.Data.DataColumn columnTrN_RabatPromocyjny;
            
            private global::System.Data.DataColumn columnTrN_RabatKorekta;
            
            private global::System.Data.DataColumn columnTrN_Detal;
            
            private global::System.Data.DataColumn columnTrN_Rodzaj;
            
            private global::System.Data.DataColumn columnTrN_PodmiotTyp;
            
            private global::System.Data.DataColumn columnTrN_PodID;
            
            private global::System.Data.DataColumn columnTrN_PodNazwa1;
            
            private global::System.Data.DataColumn columnTrN_PodNazwa2;
            
            private global::System.Data.DataColumn columnTrN_PodNazwa3;
            
            private global::System.Data.DataColumn columnTrN_PodKraj;
            
            private global::System.Data.DataColumn columnTrN_PodWojewodztwo;
            
            private global::System.Data.DataColumn columnTrN_PodPowiat;
            
            private global::System.Data.DataColumn columnTrN_PodGmina;
            
            private global::System.Data.DataColumn columnTrN_PodUlica;
            
            private global::System.Data.DataColumn columnTrN_PodNrDomu;
            
            private global::System.Data.DataColumn columnTrN_PodNrLokalu;
            
            private global::System.Data.DataColumn columnTrN_PodMiasto;
            
            private global::System.Data.DataColumn columnTrN_PodKodPocztowy;
            
            private global::System.Data.DataColumn columnTrN_PodPoczta;
            
            private global::System.Data.DataColumn columnTrN_PodAdres2;
            
            private global::System.Data.DataColumn columnTrN_PodNipKraj;
            
            private global::System.Data.DataColumn columnTrN_PodNipE;
            
            private global::System.Data.DataColumn columnTrN_PodmiotGLN;
            
            private global::System.Data.DataColumn columnTrN_Finalny;
            
            private global::System.Data.DataColumn columnTrN_Export;
            
            private global::System.Data.DataColumn columnTrN_OdbiorcaTyp;
            
            private global::System.Data.DataColumn columnTrN_OdbID;
            
            private global::System.Data.DataColumn columnTrN_OdbNazwa1;
            
            private global::System.Data.DataColumn columnTrN_OdbNazwa2;
            
            private global::System.Data.DataColumn columnTrN_OdbNazwa3;
            
            private global::System.Data.DataColumn columnTrN_OdbKraj;
            
            private global::System.Data.DataColumn columnTrN_OdbWojewodztwo;
            
            private global::System.Data.DataColumn columnTrN_OdbPowiat;
            
            private global::System.Data.DataColumn columnTrN_OdbGmina;
            
            private global::System.Data.DataColumn columnTrN_OdbUlica;
            
            private global::System.Data.DataColumn columnTrN_OdbNrDomu;
            
            private global::System.Data.DataColumn columnTrN_OdbNrLokalu;
            
            private global::System.Data.DataColumn columnTrN_OdbMiasto;
            
            private global::System.Data.DataColumn columnTrN_OdbKodPocztowy;
            
            private global::System.Data.DataColumn columnTrN_OdbPoczta;
            
            private global::System.Data.DataColumn columnTrN_OdbAdres2;
            
            private global::System.Data.DataColumn columnTrN_OdbNipKraj;
            
            private global::System.Data.DataColumn columnTrN_OdbNipE;
            
            private global::System.Data.DataColumn columnTrN_OdbiorcaGLN;
            
            private global::System.Data.DataColumn columnTrN_OdbiorcaDocTyp;
            
            private global::System.Data.DataColumn columnTrN_OdbDocID;
            
            private global::System.Data.DataColumn columnTrN_KatID;
            
            private global::System.Data.DataColumn columnTrN_Kategoria;
            
            private global::System.Data.DataColumn columnTrN_FPlId;
            
            private global::System.Data.DataColumn columnTrN_Termin;
            
            private global::System.Data.DataColumn columnTrN_RazemNetto;
            
            private global::System.Data.DataColumn columnTrN_RazemVAT;
            
            private global::System.Data.DataColumn columnTrN_RazemBrutto;
            
            private global::System.Data.DataColumn columnTrN_RazemNettoWal;
            
            private global::System.Data.DataColumn columnTrN_RazemVATWal;
            
            private global::System.Data.DataColumn columnTrN_RazemBruttoWal;
            
            private global::System.Data.DataColumn columnTrN_Waluta;
            
            private global::System.Data.DataColumn columnTrN_KursNumer;
            
            private global::System.Data.DataColumn columnTrN_KursL;
            
            private global::System.Data.DataColumn columnTrN_KursM;
            
            private global::System.Data.DataColumn columnTrN_PlatElemWalSys;
            
            private global::System.Data.DataColumn columnTrN_PlatKaucje;
            
            private global::System.Data.DataColumn columnTrN_PodmiotZalTyp;
            
            private global::System.Data.DataColumn columnTrN_PodZalId;
            
            private global::System.Data.DataColumn columnTrN_BlokadaPlatnosci;
            
            private global::System.Data.DataColumn columnTrN_MagZrdId;
            
            private global::System.Data.DataColumn columnTrN_MagDocId;
            
            private global::System.Data.DataColumn columnTrN_TypNB;
            
            private global::System.Data.DataColumn columnTrN_Rabat;
            
            private global::System.Data.DataColumn columnTrN_Odebral;
            
            private global::System.Data.DataColumn columnTrN_Opis;
            
            private global::System.Data.DataColumn columnTrN_ZwroconoCalaIlosc;
            
            private global::System.Data.DataColumn columnTrN_NotaKorPrzed;
            
            private global::System.Data.DataColumn columnTrN_NotaKorPo;
            
            private global::System.Data.DataColumn columnTrN_TrSTyp;
            
            private global::System.Data.DataColumn columnTrN_DekId;
            
            private global::System.Data.DataColumn columnTrN_TS_Export;
            
            private global::System.Data.DataColumn columnTrN_ImportAppId;
            
            private global::System.Data.DataColumn columnTrN_ImportRowId;
            
            private global::System.Data.DataColumn columnTrN_OpeZalID;
            
            private global::System.Data.DataColumn columnTrN_StaZalId;
            
            private global::System.Data.DataColumn columnTrN_TS_Zal;
            
            private global::System.Data.DataColumn columnTrN_OpeModID;
            
            private global::System.Data.DataColumn columnTrN_StaModId;
            
            private global::System.Data.DataColumn columnTrN_TS_Mod;
            
            private global::System.Data.DataColumn columnTrN_GIDTyp;
            
            private global::System.Data.DataColumn columnTrN_GIDFirma;
            
            private global::System.Data.DataColumn columnTrN_GIDNumer;
            
            private global::System.Data.DataColumn columnTrN_GIDLp;
            
            private global::System.Data.DataColumn columnTrN_Centrala;
            
            private global::System.Data.DataColumn columnTrN_KodTransakcji;
            
            private global::System.Data.DataColumn columnTrN_IsNId;
            
            private global::System.Data.DataColumn columnTrN_DataTransportu;
            
            private global::System.Data.DataColumn columnTrN_KodKraju;
            
            private global::System.Data.DataColumn columnTrN_VatDlaDokWal;
            
            private global::System.Data.DataColumn columnTrN_OFFExportMag;
            
            private global::System.Data.DataColumn columnTrN_DataKur;
            
            private global::System.Data.DataColumn columnTrN_StatusString;
            
            private global::System.Data.DataColumn columnTrN_OdbEmail;
            
            private global::System.Data.DataColumn columnTrN_OdbTelefon;
            
            private global::System.Data.DataColumn columnTrN_WartoscZakupu;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraNagDataTable() {
                this.TableName = "TraNag";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal TraNagDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected TraNagDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_TrNIDColumn {
                get {
                    return this.columnTrN_TrNID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_TerminZwrotuKaucjiColumn {
                get {
                    return this.columnTrN_TerminZwrotuKaucji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OFFPrawoDoFAPAColumn {
                get {
                    return this.columnTrN_OFFPrawoDoFAPA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OFFPrawoDoAnulowaniaColumn {
                get {
                    return this.columnTrN_OFFPrawoDoAnulowania;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_RelTrNIdColumn {
                get {
                    return this.columnTrN_RelTrNId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_FVMarzaColumn {
                get {
                    return this.columnTrN_FVMarza;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_DDfIdColumn {
                get {
                    return this.columnTrN_DDfId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_TypDokumentuColumn {
                get {
                    return this.columnTrN_TypDokumentu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_ZwrIdColumn {
                get {
                    return this.columnTrN_ZwrId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_FaIdColumn {
                get {
                    return this.columnTrN_FaId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_NumerNrColumn {
                get {
                    return this.columnTrN_NumerNr;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_NumerStringColumn {
                get {
                    return this.columnTrN_NumerString;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_NumerPelnyColumn {
                get {
                    return this.columnTrN_NumerPelny;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_BuforColumn {
                get {
                    return this.columnTrN_Bufor;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_AnulowanyColumn {
                get {
                    return this.columnTrN_Anulowany;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_VaNIdColumn {
                get {
                    return this.columnTrN_VaNId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_DataDokColumn {
                get {
                    return this.columnTrN_DataDok;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_DataWysColumn {
                get {
                    return this.columnTrN_DataWys;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_DataOpeColumn {
                get {
                    return this.columnTrN_DataOpe;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_NumerObcyColumn {
                get {
                    return this.columnTrN_NumerObcy;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_NumerPelnyPrwColumn {
                get {
                    return this.columnTrN_NumerPelnyPrw;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_TaxFreePotwierdzonyColumn {
                get {
                    return this.columnTrN_TaxFreePotwierdzony;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_KorektaColumn {
                get {
                    return this.columnTrN_Korekta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_FiskalnaColumn {
                get {
                    return this.columnTrN_Fiskalna;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_FiskalnaErrColumn {
                get {
                    return this.columnTrN_FiskalnaErr;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_RabatPromocyjnyColumn {
                get {
                    return this.columnTrN_RabatPromocyjny;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_RabatKorektaColumn {
                get {
                    return this.columnTrN_RabatKorekta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_DetalColumn {
                get {
                    return this.columnTrN_Detal;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_RodzajColumn {
                get {
                    return this.columnTrN_Rodzaj;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodmiotTypColumn {
                get {
                    return this.columnTrN_PodmiotTyp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodIDColumn {
                get {
                    return this.columnTrN_PodID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodNazwa1Column {
                get {
                    return this.columnTrN_PodNazwa1;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodNazwa2Column {
                get {
                    return this.columnTrN_PodNazwa2;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodNazwa3Column {
                get {
                    return this.columnTrN_PodNazwa3;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodKrajColumn {
                get {
                    return this.columnTrN_PodKraj;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodWojewodztwoColumn {
                get {
                    return this.columnTrN_PodWojewodztwo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodPowiatColumn {
                get {
                    return this.columnTrN_PodPowiat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodGminaColumn {
                get {
                    return this.columnTrN_PodGmina;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodUlicaColumn {
                get {
                    return this.columnTrN_PodUlica;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodNrDomuColumn {
                get {
                    return this.columnTrN_PodNrDomu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodNrLokaluColumn {
                get {
                    return this.columnTrN_PodNrLokalu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodMiastoColumn {
                get {
                    return this.columnTrN_PodMiasto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodKodPocztowyColumn {
                get {
                    return this.columnTrN_PodKodPocztowy;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodPocztaColumn {
                get {
                    return this.columnTrN_PodPoczta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodAdres2Column {
                get {
                    return this.columnTrN_PodAdres2;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodNipKrajColumn {
                get {
                    return this.columnTrN_PodNipKraj;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodNipEColumn {
                get {
                    return this.columnTrN_PodNipE;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodmiotGLNColumn {
                get {
                    return this.columnTrN_PodmiotGLN;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_FinalnyColumn {
                get {
                    return this.columnTrN_Finalny;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_ExportColumn {
                get {
                    return this.columnTrN_Export;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbiorcaTypColumn {
                get {
                    return this.columnTrN_OdbiorcaTyp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbIDColumn {
                get {
                    return this.columnTrN_OdbID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbNazwa1Column {
                get {
                    return this.columnTrN_OdbNazwa1;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbNazwa2Column {
                get {
                    return this.columnTrN_OdbNazwa2;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbNazwa3Column {
                get {
                    return this.columnTrN_OdbNazwa3;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbKrajColumn {
                get {
                    return this.columnTrN_OdbKraj;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbWojewodztwoColumn {
                get {
                    return this.columnTrN_OdbWojewodztwo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbPowiatColumn {
                get {
                    return this.columnTrN_OdbPowiat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbGminaColumn {
                get {
                    return this.columnTrN_OdbGmina;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbUlicaColumn {
                get {
                    return this.columnTrN_OdbUlica;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbNrDomuColumn {
                get {
                    return this.columnTrN_OdbNrDomu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbNrLokaluColumn {
                get {
                    return this.columnTrN_OdbNrLokalu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbMiastoColumn {
                get {
                    return this.columnTrN_OdbMiasto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbKodPocztowyColumn {
                get {
                    return this.columnTrN_OdbKodPocztowy;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbPocztaColumn {
                get {
                    return this.columnTrN_OdbPoczta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbAdres2Column {
                get {
                    return this.columnTrN_OdbAdres2;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbNipKrajColumn {
                get {
                    return this.columnTrN_OdbNipKraj;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbNipEColumn {
                get {
                    return this.columnTrN_OdbNipE;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbiorcaGLNColumn {
                get {
                    return this.columnTrN_OdbiorcaGLN;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbiorcaDocTypColumn {
                get {
                    return this.columnTrN_OdbiorcaDocTyp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbDocIDColumn {
                get {
                    return this.columnTrN_OdbDocID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_KatIDColumn {
                get {
                    return this.columnTrN_KatID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_KategoriaColumn {
                get {
                    return this.columnTrN_Kategoria;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_FPlIdColumn {
                get {
                    return this.columnTrN_FPlId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_TerminColumn {
                get {
                    return this.columnTrN_Termin;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_RazemNettoColumn {
                get {
                    return this.columnTrN_RazemNetto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_RazemVATColumn {
                get {
                    return this.columnTrN_RazemVAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_RazemBruttoColumn {
                get {
                    return this.columnTrN_RazemBrutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_RazemNettoWalColumn {
                get {
                    return this.columnTrN_RazemNettoWal;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_RazemVATWalColumn {
                get {
                    return this.columnTrN_RazemVATWal;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_RazemBruttoWalColumn {
                get {
                    return this.columnTrN_RazemBruttoWal;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_WalutaColumn {
                get {
                    return this.columnTrN_Waluta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_KursNumerColumn {
                get {
                    return this.columnTrN_KursNumer;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_KursLColumn {
                get {
                    return this.columnTrN_KursL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_KursMColumn {
                get {
                    return this.columnTrN_KursM;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PlatElemWalSysColumn {
                get {
                    return this.columnTrN_PlatElemWalSys;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PlatKaucjeColumn {
                get {
                    return this.columnTrN_PlatKaucje;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodmiotZalTypColumn {
                get {
                    return this.columnTrN_PodmiotZalTyp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_PodZalIdColumn {
                get {
                    return this.columnTrN_PodZalId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_BlokadaPlatnosciColumn {
                get {
                    return this.columnTrN_BlokadaPlatnosci;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_MagZrdIdColumn {
                get {
                    return this.columnTrN_MagZrdId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_MagDocIdColumn {
                get {
                    return this.columnTrN_MagDocId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_TypNBColumn {
                get {
                    return this.columnTrN_TypNB;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_RabatColumn {
                get {
                    return this.columnTrN_Rabat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdebralColumn {
                get {
                    return this.columnTrN_Odebral;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OpisColumn {
                get {
                    return this.columnTrN_Opis;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_ZwroconoCalaIloscColumn {
                get {
                    return this.columnTrN_ZwroconoCalaIlosc;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_NotaKorPrzedColumn {
                get {
                    return this.columnTrN_NotaKorPrzed;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_NotaKorPoColumn {
                get {
                    return this.columnTrN_NotaKorPo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_TrSTypColumn {
                get {
                    return this.columnTrN_TrSTyp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_DekIdColumn {
                get {
                    return this.columnTrN_DekId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_TS_ExportColumn {
                get {
                    return this.columnTrN_TS_Export;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_ImportAppIdColumn {
                get {
                    return this.columnTrN_ImportAppId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_ImportRowIdColumn {
                get {
                    return this.columnTrN_ImportRowId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OpeZalIDColumn {
                get {
                    return this.columnTrN_OpeZalID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_StaZalIdColumn {
                get {
                    return this.columnTrN_StaZalId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_TS_ZalColumn {
                get {
                    return this.columnTrN_TS_Zal;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OpeModIDColumn {
                get {
                    return this.columnTrN_OpeModID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_StaModIdColumn {
                get {
                    return this.columnTrN_StaModId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_TS_ModColumn {
                get {
                    return this.columnTrN_TS_Mod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_GIDTypColumn {
                get {
                    return this.columnTrN_GIDTyp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_GIDFirmaColumn {
                get {
                    return this.columnTrN_GIDFirma;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_GIDNumerColumn {
                get {
                    return this.columnTrN_GIDNumer;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_GIDLpColumn {
                get {
                    return this.columnTrN_GIDLp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_CentralaColumn {
                get {
                    return this.columnTrN_Centrala;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_KodTransakcjiColumn {
                get {
                    return this.columnTrN_KodTransakcji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_IsNIdColumn {
                get {
                    return this.columnTrN_IsNId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_DataTransportuColumn {
                get {
                    return this.columnTrN_DataTransportu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_KodKrajuColumn {
                get {
                    return this.columnTrN_KodKraju;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_VatDlaDokWalColumn {
                get {
                    return this.columnTrN_VatDlaDokWal;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OFFExportMagColumn {
                get {
                    return this.columnTrN_OFFExportMag;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_DataKurColumn {
                get {
                    return this.columnTrN_DataKur;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_StatusStringColumn {
                get {
                    return this.columnTrN_StatusString;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbEmailColumn {
                get {
                    return this.columnTrN_OdbEmail;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_OdbTelefonColumn {
                get {
                    return this.columnTrN_OdbTelefon;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrN_WartoscZakupuColumn {
                get {
                    return this.columnTrN_WartoscZakupu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraNagRow this[int index] {
                get {
                    return ((TraNagRow)(this.Rows[index]));
                }
            }
            
            public event TraNagRowChangeEventHandler TraNagRowChanging;
            
            public event TraNagRowChangeEventHandler TraNagRowChanged;
            
            public event TraNagRowChangeEventHandler TraNagRowDeleting;
            
            public event TraNagRowChangeEventHandler TraNagRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddTraNagRow(TraNagRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraNagRow AddTraNagRow(
                        System.DateTime TrN_TerminZwrotuKaucji, 
                        byte TrN_OFFPrawoDoFAPA, 
                        byte TrN_OFFPrawoDoAnulowania, 
                        int TrN_RelTrNId, 
                        byte TrN_FVMarza, 
                        DokDefinicjeRow parentDokDefinicjeRowByFK_TrNDokDef, 
                        int TrN_TypDokumentu, 
                        int TrN_ZwrId, 
                        int TrN_FaId, 
                        int TrN_NumerNr, 
                        string TrN_NumerString, 
                        string TrN_NumerPelny, 
                        short TrN_Bufor, 
                        int TrN_Anulowany, 
                        int TrN_VaNId, 
                        System.DateTime TrN_DataDok, 
                        System.DateTime TrN_DataWys, 
                        System.DateTime TrN_DataOpe, 
                        string TrN_NumerObcy, 
                        string TrN_NumerPelnyPrw, 
                        byte TrN_TaxFreePotwierdzony, 
                        byte TrN_Korekta, 
                        byte TrN_Fiskalna, 
                        int TrN_FiskalnaErr, 
                        decimal TrN_RabatPromocyjny, 
                        decimal TrN_RabatKorekta, 
                        byte TrN_Detal, 
                        int TrN_Rodzaj, 
                        short TrN_PodmiotTyp, 
                        KontrahenciRow parentKontrahenciRowByKontrahenci_TraNag, 
                        string TrN_PodNazwa1, 
                        string TrN_PodNazwa2, 
                        string TrN_PodNazwa3, 
                        string TrN_PodKraj, 
                        string TrN_PodWojewodztwo, 
                        string TrN_PodPowiat, 
                        string TrN_PodGmina, 
                        string TrN_PodUlica, 
                        string TrN_PodNrDomu, 
                        string TrN_PodNrLokalu, 
                        string TrN_PodMiasto, 
                        string TrN_PodKodPocztowy, 
                        string TrN_PodPoczta, 
                        string TrN_PodAdres2, 
                        string TrN_PodNipKraj, 
                        string TrN_PodNipE, 
                        string TrN_PodmiotGLN, 
                        byte TrN_Finalny, 
                        byte TrN_Export, 
                        short TrN_OdbiorcaTyp, 
                        int TrN_OdbID, 
                        string TrN_OdbNazwa1, 
                        string TrN_OdbNazwa2, 
                        string TrN_OdbNazwa3, 
                        string TrN_OdbKraj, 
                        string TrN_OdbWojewodztwo, 
                        string TrN_OdbPowiat, 
                        string TrN_OdbGmina, 
                        string TrN_OdbUlica, 
                        string TrN_OdbNrDomu, 
                        string TrN_OdbNrLokalu, 
                        string TrN_OdbMiasto, 
                        string TrN_OdbKodPocztowy, 
                        string TrN_OdbPoczta, 
                        string TrN_OdbAdres2, 
                        string TrN_OdbNipKraj, 
                        string TrN_OdbNipE, 
                        string TrN_OdbiorcaGLN, 
                        short TrN_OdbiorcaDocTyp, 
                        int TrN_OdbDocID, 
                        int TrN_KatID, 
                        string TrN_Kategoria, 
                        int TrN_FPlId, 
                        System.DateTime TrN_Termin, 
                        decimal TrN_RazemNetto, 
                        decimal TrN_RazemVAT, 
                        decimal TrN_RazemBrutto, 
                        decimal TrN_RazemNettoWal, 
                        decimal TrN_RazemVATWal, 
                        decimal TrN_RazemBruttoWal, 
                        string TrN_Waluta, 
                        int TrN_KursNumer, 
                        decimal TrN_KursL, 
                        decimal TrN_KursM, 
                        byte TrN_PlatElemWalSys, 
                        byte TrN_PlatKaucje, 
                        short TrN_PodmiotZalTyp, 
                        int TrN_PodZalId, 
                        short TrN_BlokadaPlatnosci, 
                        int TrN_MagZrdId, 
                        int TrN_MagDocId, 
                        byte TrN_TypNB, 
                        decimal TrN_Rabat, 
                        string TrN_Odebral, 
                        string TrN_Opis, 
                        byte TrN_ZwroconoCalaIlosc, 
                        string TrN_NotaKorPrzed, 
                        string TrN_NotaKorPo, 
                        byte TrN_TrSTyp, 
                        int TrN_DekId, 
                        System.DateTime TrN_TS_Export, 
                        string TrN_ImportAppId, 
                        string TrN_ImportRowId, 
                        int TrN_OpeZalID, 
                        int TrN_StaZalId, 
                        System.DateTime TrN_TS_Zal, 
                        int TrN_OpeModID, 
                        int TrN_StaModId, 
                        System.DateTime TrN_TS_Mod, 
                        short TrN_GIDTyp, 
                        int TrN_GIDFirma, 
                        int TrN_GIDNumer, 
                        short TrN_GIDLp, 
                        byte TrN_Centrala, 
                        string TrN_KodTransakcji, 
                        int TrN_IsNId, 
                        System.DateTime TrN_DataTransportu, 
                        string TrN_KodKraju, 
                        byte TrN_VatDlaDokWal, 
                        byte TrN_OFFExportMag, 
                        System.DateTime TrN_DataKur, 
                        string TrN_StatusString, 
                        string TrN_OdbEmail, 
                        string TrN_OdbTelefon, 
                        decimal TrN_WartoscZakupu) {
                TraNagRow rowTraNagRow = ((TraNagRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        TrN_TerminZwrotuKaucji,
                        TrN_OFFPrawoDoFAPA,
                        TrN_OFFPrawoDoAnulowania,
                        TrN_RelTrNId,
                        TrN_FVMarza,
                        null,
                        TrN_TypDokumentu,
                        TrN_ZwrId,
                        TrN_FaId,
                        TrN_NumerNr,
                        TrN_NumerString,
                        TrN_NumerPelny,
                        TrN_Bufor,
                        TrN_Anulowany,
                        TrN_VaNId,
                        TrN_DataDok,
                        TrN_DataWys,
                        TrN_DataOpe,
                        TrN_NumerObcy,
                        TrN_NumerPelnyPrw,
                        TrN_TaxFreePotwierdzony,
                        TrN_Korekta,
                        TrN_Fiskalna,
                        TrN_FiskalnaErr,
                        TrN_RabatPromocyjny,
                        TrN_RabatKorekta,
                        TrN_Detal,
                        TrN_Rodzaj,
                        TrN_PodmiotTyp,
                        null,
                        TrN_PodNazwa1,
                        TrN_PodNazwa2,
                        TrN_PodNazwa3,
                        TrN_PodKraj,
                        TrN_PodWojewodztwo,
                        TrN_PodPowiat,
                        TrN_PodGmina,
                        TrN_PodUlica,
                        TrN_PodNrDomu,
                        TrN_PodNrLokalu,
                        TrN_PodMiasto,
                        TrN_PodKodPocztowy,
                        TrN_PodPoczta,
                        TrN_PodAdres2,
                        TrN_PodNipKraj,
                        TrN_PodNipE,
                        TrN_PodmiotGLN,
                        TrN_Finalny,
                        TrN_Export,
                        TrN_OdbiorcaTyp,
                        TrN_OdbID,
                        TrN_OdbNazwa1,
                        TrN_OdbNazwa2,
                        TrN_OdbNazwa3,
                        TrN_OdbKraj,
                        TrN_OdbWojewodztwo,
                        TrN_OdbPowiat,
                        TrN_OdbGmina,
                        TrN_OdbUlica,
                        TrN_OdbNrDomu,
                        TrN_OdbNrLokalu,
                        TrN_OdbMiasto,
                        TrN_OdbKodPocztowy,
                        TrN_OdbPoczta,
                        TrN_OdbAdres2,
                        TrN_OdbNipKraj,
                        TrN_OdbNipE,
                        TrN_OdbiorcaGLN,
                        TrN_OdbiorcaDocTyp,
                        TrN_OdbDocID,
                        TrN_KatID,
                        TrN_Kategoria,
                        TrN_FPlId,
                        TrN_Termin,
                        TrN_RazemNetto,
                        TrN_RazemVAT,
                        TrN_RazemBrutto,
                        TrN_RazemNettoWal,
                        TrN_RazemVATWal,
                        TrN_RazemBruttoWal,
                        TrN_Waluta,
                        TrN_KursNumer,
                        TrN_KursL,
                        TrN_KursM,
                        TrN_PlatElemWalSys,
                        TrN_PlatKaucje,
                        TrN_PodmiotZalTyp,
                        TrN_PodZalId,
                        TrN_BlokadaPlatnosci,
                        TrN_MagZrdId,
                        TrN_MagDocId,
                        TrN_TypNB,
                        TrN_Rabat,
                        TrN_Odebral,
                        TrN_Opis,
                        TrN_ZwroconoCalaIlosc,
                        TrN_NotaKorPrzed,
                        TrN_NotaKorPo,
                        TrN_TrSTyp,
                        TrN_DekId,
                        TrN_TS_Export,
                        TrN_ImportAppId,
                        TrN_ImportRowId,
                        TrN_OpeZalID,
                        TrN_StaZalId,
                        TrN_TS_Zal,
                        TrN_OpeModID,
                        TrN_StaModId,
                        TrN_TS_Mod,
                        TrN_GIDTyp,
                        TrN_GIDFirma,
                        TrN_GIDNumer,
                        TrN_GIDLp,
                        TrN_Centrala,
                        TrN_KodTransakcji,
                        TrN_IsNId,
                        TrN_DataTransportu,
                        TrN_KodKraju,
                        TrN_VatDlaDokWal,
                        TrN_OFFExportMag,
                        TrN_DataKur,
                        TrN_StatusString,
                        TrN_OdbEmail,
                        TrN_OdbTelefon,
                        TrN_WartoscZakupu};
                if ((parentDokDefinicjeRowByFK_TrNDokDef != null)) {
                    columnValuesArray[6] = parentDokDefinicjeRowByFK_TrNDokDef[0];
                }
                if ((parentKontrahenciRowByKontrahenci_TraNag != null)) {
                    columnValuesArray[30] = parentKontrahenciRowByKontrahenci_TraNag[0];
                }
                rowTraNagRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowTraNagRow);
                return rowTraNagRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraNagRow FindByTrN_TrNID(int TrN_TrNID) {
                return ((TraNagRow)(this.Rows.Find(new object[] {
                            TrN_TrNID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                TraNagDataTable cln = ((TraNagDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new TraNagDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnTrN_TrNID = base.Columns["TrN_TrNID"];
                this.columnTrN_TerminZwrotuKaucji = base.Columns["TrN_TerminZwrotuKaucji"];
                this.columnTrN_OFFPrawoDoFAPA = base.Columns["TrN_OFFPrawoDoFAPA"];
                this.columnTrN_OFFPrawoDoAnulowania = base.Columns["TrN_OFFPrawoDoAnulowania"];
                this.columnTrN_RelTrNId = base.Columns["TrN_RelTrNId"];
                this.columnTrN_FVMarza = base.Columns["TrN_FVMarza"];
                this.columnTrN_DDfId = base.Columns["TrN_DDfId"];
                this.columnTrN_TypDokumentu = base.Columns["TrN_TypDokumentu"];
                this.columnTrN_ZwrId = base.Columns["TrN_ZwrId"];
                this.columnTrN_FaId = base.Columns["TrN_FaId"];
                this.columnTrN_NumerNr = base.Columns["TrN_NumerNr"];
                this.columnTrN_NumerString = base.Columns["TrN_NumerString"];
                this.columnTrN_NumerPelny = base.Columns["TrN_NumerPelny"];
                this.columnTrN_Bufor = base.Columns["TrN_Bufor"];
                this.columnTrN_Anulowany = base.Columns["TrN_Anulowany"];
                this.columnTrN_VaNId = base.Columns["TrN_VaNId"];
                this.columnTrN_DataDok = base.Columns["TrN_DataDok"];
                this.columnTrN_DataWys = base.Columns["TrN_DataWys"];
                this.columnTrN_DataOpe = base.Columns["TrN_DataOpe"];
                this.columnTrN_NumerObcy = base.Columns["TrN_NumerObcy"];
                this.columnTrN_NumerPelnyPrw = base.Columns["TrN_NumerPelnyPrw"];
                this.columnTrN_TaxFreePotwierdzony = base.Columns["TrN_TaxFreePotwierdzony"];
                this.columnTrN_Korekta = base.Columns["TrN_Korekta"];
                this.columnTrN_Fiskalna = base.Columns["TrN_Fiskalna"];
                this.columnTrN_FiskalnaErr = base.Columns["TrN_FiskalnaErr"];
                this.columnTrN_RabatPromocyjny = base.Columns["TrN_RabatPromocyjny"];
                this.columnTrN_RabatKorekta = base.Columns["TrN_RabatKorekta"];
                this.columnTrN_Detal = base.Columns["TrN_Detal"];
                this.columnTrN_Rodzaj = base.Columns["TrN_Rodzaj"];
                this.columnTrN_PodmiotTyp = base.Columns["TrN_PodmiotTyp"];
                this.columnTrN_PodID = base.Columns["TrN_PodID"];
                this.columnTrN_PodNazwa1 = base.Columns["TrN_PodNazwa1"];
                this.columnTrN_PodNazwa2 = base.Columns["TrN_PodNazwa2"];
                this.columnTrN_PodNazwa3 = base.Columns["TrN_PodNazwa3"];
                this.columnTrN_PodKraj = base.Columns["TrN_PodKraj"];
                this.columnTrN_PodWojewodztwo = base.Columns["TrN_PodWojewodztwo"];
                this.columnTrN_PodPowiat = base.Columns["TrN_PodPowiat"];
                this.columnTrN_PodGmina = base.Columns["TrN_PodGmina"];
                this.columnTrN_PodUlica = base.Columns["TrN_PodUlica"];
                this.columnTrN_PodNrDomu = base.Columns["TrN_PodNrDomu"];
                this.columnTrN_PodNrLokalu = base.Columns["TrN_PodNrLokalu"];
                this.columnTrN_PodMiasto = base.Columns["TrN_PodMiasto"];
                this.columnTrN_PodKodPocztowy = base.Columns["TrN_PodKodPocztowy"];
                this.columnTrN_PodPoczta = base.Columns["TrN_PodPoczta"];
                this.columnTrN_PodAdres2 = base.Columns["TrN_PodAdres2"];
                this.columnTrN_PodNipKraj = base.Columns["TrN_PodNipKraj"];
                this.columnTrN_PodNipE = base.Columns["TrN_PodNipE"];
                this.columnTrN_PodmiotGLN = base.Columns["TrN_PodmiotGLN"];
                this.columnTrN_Finalny = base.Columns["TrN_Finalny"];
                this.columnTrN_Export = base.Columns["TrN_Export"];
                this.columnTrN_OdbiorcaTyp = base.Columns["TrN_OdbiorcaTyp"];
                this.columnTrN_OdbID = base.Columns["TrN_OdbID"];
                this.columnTrN_OdbNazwa1 = base.Columns["TrN_OdbNazwa1"];
                this.columnTrN_OdbNazwa2 = base.Columns["TrN_OdbNazwa2"];
                this.columnTrN_OdbNazwa3 = base.Columns["TrN_OdbNazwa3"];
                this.columnTrN_OdbKraj = base.Columns["TrN_OdbKraj"];
                this.columnTrN_OdbWojewodztwo = base.Columns["TrN_OdbWojewodztwo"];
                this.columnTrN_OdbPowiat = base.Columns["TrN_OdbPowiat"];
                this.columnTrN_OdbGmina = base.Columns["TrN_OdbGmina"];
                this.columnTrN_OdbUlica = base.Columns["TrN_OdbUlica"];
                this.columnTrN_OdbNrDomu = base.Columns["TrN_OdbNrDomu"];
                this.columnTrN_OdbNrLokalu = base.Columns["TrN_OdbNrLokalu"];
                this.columnTrN_OdbMiasto = base.Columns["TrN_OdbMiasto"];
                this.columnTrN_OdbKodPocztowy = base.Columns["TrN_OdbKodPocztowy"];
                this.columnTrN_OdbPoczta = base.Columns["TrN_OdbPoczta"];
                this.columnTrN_OdbAdres2 = base.Columns["TrN_OdbAdres2"];
                this.columnTrN_OdbNipKraj = base.Columns["TrN_OdbNipKraj"];
                this.columnTrN_OdbNipE = base.Columns["TrN_OdbNipE"];
                this.columnTrN_OdbiorcaGLN = base.Columns["TrN_OdbiorcaGLN"];
                this.columnTrN_OdbiorcaDocTyp = base.Columns["TrN_OdbiorcaDocTyp"];
                this.columnTrN_OdbDocID = base.Columns["TrN_OdbDocID"];
                this.columnTrN_KatID = base.Columns["TrN_KatID"];
                this.columnTrN_Kategoria = base.Columns["TrN_Kategoria"];
                this.columnTrN_FPlId = base.Columns["TrN_FPlId"];
                this.columnTrN_Termin = base.Columns["TrN_Termin"];
                this.columnTrN_RazemNetto = base.Columns["TrN_RazemNetto"];
                this.columnTrN_RazemVAT = base.Columns["TrN_RazemVAT"];
                this.columnTrN_RazemBrutto = base.Columns["TrN_RazemBrutto"];
                this.columnTrN_RazemNettoWal = base.Columns["TrN_RazemNettoWal"];
                this.columnTrN_RazemVATWal = base.Columns["TrN_RazemVATWal"];
                this.columnTrN_RazemBruttoWal = base.Columns["TrN_RazemBruttoWal"];
                this.columnTrN_Waluta = base.Columns["TrN_Waluta"];
                this.columnTrN_KursNumer = base.Columns["TrN_KursNumer"];
                this.columnTrN_KursL = base.Columns["TrN_KursL"];
                this.columnTrN_KursM = base.Columns["TrN_KursM"];
                this.columnTrN_PlatElemWalSys = base.Columns["TrN_PlatElemWalSys"];
                this.columnTrN_PlatKaucje = base.Columns["TrN_PlatKaucje"];
                this.columnTrN_PodmiotZalTyp = base.Columns["TrN_PodmiotZalTyp"];
                this.columnTrN_PodZalId = base.Columns["TrN_PodZalId"];
                this.columnTrN_BlokadaPlatnosci = base.Columns["TrN_BlokadaPlatnosci"];
                this.columnTrN_MagZrdId = base.Columns["TrN_MagZrdId"];
                this.columnTrN_MagDocId = base.Columns["TrN_MagDocId"];
                this.columnTrN_TypNB = base.Columns["TrN_TypNB"];
                this.columnTrN_Rabat = base.Columns["TrN_Rabat"];
                this.columnTrN_Odebral = base.Columns["TrN_Odebral"];
                this.columnTrN_Opis = base.Columns["TrN_Opis"];
                this.columnTrN_ZwroconoCalaIlosc = base.Columns["TrN_ZwroconoCalaIlosc"];
                this.columnTrN_NotaKorPrzed = base.Columns["TrN_NotaKorPrzed"];
                this.columnTrN_NotaKorPo = base.Columns["TrN_NotaKorPo"];
                this.columnTrN_TrSTyp = base.Columns["TrN_TrSTyp"];
                this.columnTrN_DekId = base.Columns["TrN_DekId"];
                this.columnTrN_TS_Export = base.Columns["TrN_TS_Export"];
                this.columnTrN_ImportAppId = base.Columns["TrN_ImportAppId"];
                this.columnTrN_ImportRowId = base.Columns["TrN_ImportRowId"];
                this.columnTrN_OpeZalID = base.Columns["TrN_OpeZalID"];
                this.columnTrN_StaZalId = base.Columns["TrN_StaZalId"];
                this.columnTrN_TS_Zal = base.Columns["TrN_TS_Zal"];
                this.columnTrN_OpeModID = base.Columns["TrN_OpeModID"];
                this.columnTrN_StaModId = base.Columns["TrN_StaModId"];
                this.columnTrN_TS_Mod = base.Columns["TrN_TS_Mod"];
                this.columnTrN_GIDTyp = base.Columns["TrN_GIDTyp"];
                this.columnTrN_GIDFirma = base.Columns["TrN_GIDFirma"];
                this.columnTrN_GIDNumer = base.Columns["TrN_GIDNumer"];
                this.columnTrN_GIDLp = base.Columns["TrN_GIDLp"];
                this.columnTrN_Centrala = base.Columns["TrN_Centrala"];
                this.columnTrN_KodTransakcji = base.Columns["TrN_KodTransakcji"];
                this.columnTrN_IsNId = base.Columns["TrN_IsNId"];
                this.columnTrN_DataTransportu = base.Columns["TrN_DataTransportu"];
                this.columnTrN_KodKraju = base.Columns["TrN_KodKraju"];
                this.columnTrN_VatDlaDokWal = base.Columns["TrN_VatDlaDokWal"];
                this.columnTrN_OFFExportMag = base.Columns["TrN_OFFExportMag"];
                this.columnTrN_DataKur = base.Columns["TrN_DataKur"];
                this.columnTrN_StatusString = base.Columns["TrN_StatusString"];
                this.columnTrN_OdbEmail = base.Columns["TrN_OdbEmail"];
                this.columnTrN_OdbTelefon = base.Columns["TrN_OdbTelefon"];
                this.columnTrN_WartoscZakupu = base.Columns["TrN_WartoscZakupu"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnTrN_TrNID = new global::System.Data.DataColumn("TrN_TrNID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_TrNID);
                this.columnTrN_TerminZwrotuKaucji = new global::System.Data.DataColumn("TrN_TerminZwrotuKaucji", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_TerminZwrotuKaucji);
                this.columnTrN_OFFPrawoDoFAPA = new global::System.Data.DataColumn("TrN_OFFPrawoDoFAPA", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OFFPrawoDoFAPA);
                this.columnTrN_OFFPrawoDoAnulowania = new global::System.Data.DataColumn("TrN_OFFPrawoDoAnulowania", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OFFPrawoDoAnulowania);
                this.columnTrN_RelTrNId = new global::System.Data.DataColumn("TrN_RelTrNId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_RelTrNId);
                this.columnTrN_FVMarza = new global::System.Data.DataColumn("TrN_FVMarza", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_FVMarza);
                this.columnTrN_DDfId = new global::System.Data.DataColumn("TrN_DDfId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_DDfId);
                this.columnTrN_TypDokumentu = new global::System.Data.DataColumn("TrN_TypDokumentu", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_TypDokumentu);
                this.columnTrN_ZwrId = new global::System.Data.DataColumn("TrN_ZwrId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_ZwrId);
                this.columnTrN_FaId = new global::System.Data.DataColumn("TrN_FaId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_FaId);
                this.columnTrN_NumerNr = new global::System.Data.DataColumn("TrN_NumerNr", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_NumerNr);
                this.columnTrN_NumerString = new global::System.Data.DataColumn("TrN_NumerString", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_NumerString);
                this.columnTrN_NumerPelny = new global::System.Data.DataColumn("TrN_NumerPelny", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_NumerPelny);
                this.columnTrN_Bufor = new global::System.Data.DataColumn("TrN_Bufor", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Bufor);
                this.columnTrN_Anulowany = new global::System.Data.DataColumn("TrN_Anulowany", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Anulowany);
                this.columnTrN_VaNId = new global::System.Data.DataColumn("TrN_VaNId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_VaNId);
                this.columnTrN_DataDok = new global::System.Data.DataColumn("TrN_DataDok", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_DataDok);
                this.columnTrN_DataWys = new global::System.Data.DataColumn("TrN_DataWys", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_DataWys);
                this.columnTrN_DataOpe = new global::System.Data.DataColumn("TrN_DataOpe", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_DataOpe);
                this.columnTrN_NumerObcy = new global::System.Data.DataColumn("TrN_NumerObcy", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_NumerObcy);
                this.columnTrN_NumerPelnyPrw = new global::System.Data.DataColumn("TrN_NumerPelnyPrw", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_NumerPelnyPrw);
                this.columnTrN_TaxFreePotwierdzony = new global::System.Data.DataColumn("TrN_TaxFreePotwierdzony", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_TaxFreePotwierdzony);
                this.columnTrN_Korekta = new global::System.Data.DataColumn("TrN_Korekta", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Korekta);
                this.columnTrN_Fiskalna = new global::System.Data.DataColumn("TrN_Fiskalna", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Fiskalna);
                this.columnTrN_FiskalnaErr = new global::System.Data.DataColumn("TrN_FiskalnaErr", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_FiskalnaErr);
                this.columnTrN_RabatPromocyjny = new global::System.Data.DataColumn("TrN_RabatPromocyjny", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_RabatPromocyjny);
                this.columnTrN_RabatKorekta = new global::System.Data.DataColumn("TrN_RabatKorekta", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_RabatKorekta);
                this.columnTrN_Detal = new global::System.Data.DataColumn("TrN_Detal", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Detal);
                this.columnTrN_Rodzaj = new global::System.Data.DataColumn("TrN_Rodzaj", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Rodzaj);
                this.columnTrN_PodmiotTyp = new global::System.Data.DataColumn("TrN_PodmiotTyp", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodmiotTyp);
                this.columnTrN_PodID = new global::System.Data.DataColumn("TrN_PodID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodID);
                this.columnTrN_PodNazwa1 = new global::System.Data.DataColumn("TrN_PodNazwa1", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodNazwa1);
                this.columnTrN_PodNazwa2 = new global::System.Data.DataColumn("TrN_PodNazwa2", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodNazwa2);
                this.columnTrN_PodNazwa3 = new global::System.Data.DataColumn("TrN_PodNazwa3", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodNazwa3);
                this.columnTrN_PodKraj = new global::System.Data.DataColumn("TrN_PodKraj", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodKraj);
                this.columnTrN_PodWojewodztwo = new global::System.Data.DataColumn("TrN_PodWojewodztwo", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodWojewodztwo);
                this.columnTrN_PodPowiat = new global::System.Data.DataColumn("TrN_PodPowiat", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodPowiat);
                this.columnTrN_PodGmina = new global::System.Data.DataColumn("TrN_PodGmina", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodGmina);
                this.columnTrN_PodUlica = new global::System.Data.DataColumn("TrN_PodUlica", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodUlica);
                this.columnTrN_PodNrDomu = new global::System.Data.DataColumn("TrN_PodNrDomu", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodNrDomu);
                this.columnTrN_PodNrLokalu = new global::System.Data.DataColumn("TrN_PodNrLokalu", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodNrLokalu);
                this.columnTrN_PodMiasto = new global::System.Data.DataColumn("TrN_PodMiasto", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodMiasto);
                this.columnTrN_PodKodPocztowy = new global::System.Data.DataColumn("TrN_PodKodPocztowy", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodKodPocztowy);
                this.columnTrN_PodPoczta = new global::System.Data.DataColumn("TrN_PodPoczta", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodPoczta);
                this.columnTrN_PodAdres2 = new global::System.Data.DataColumn("TrN_PodAdres2", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodAdres2);
                this.columnTrN_PodNipKraj = new global::System.Data.DataColumn("TrN_PodNipKraj", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodNipKraj);
                this.columnTrN_PodNipE = new global::System.Data.DataColumn("TrN_PodNipE", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodNipE);
                this.columnTrN_PodmiotGLN = new global::System.Data.DataColumn("TrN_PodmiotGLN", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodmiotGLN);
                this.columnTrN_Finalny = new global::System.Data.DataColumn("TrN_Finalny", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Finalny);
                this.columnTrN_Export = new global::System.Data.DataColumn("TrN_Export", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Export);
                this.columnTrN_OdbiorcaTyp = new global::System.Data.DataColumn("TrN_OdbiorcaTyp", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbiorcaTyp);
                this.columnTrN_OdbID = new global::System.Data.DataColumn("TrN_OdbID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbID);
                this.columnTrN_OdbNazwa1 = new global::System.Data.DataColumn("TrN_OdbNazwa1", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbNazwa1);
                this.columnTrN_OdbNazwa2 = new global::System.Data.DataColumn("TrN_OdbNazwa2", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbNazwa2);
                this.columnTrN_OdbNazwa3 = new global::System.Data.DataColumn("TrN_OdbNazwa3", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbNazwa3);
                this.columnTrN_OdbKraj = new global::System.Data.DataColumn("TrN_OdbKraj", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbKraj);
                this.columnTrN_OdbWojewodztwo = new global::System.Data.DataColumn("TrN_OdbWojewodztwo", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbWojewodztwo);
                this.columnTrN_OdbPowiat = new global::System.Data.DataColumn("TrN_OdbPowiat", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbPowiat);
                this.columnTrN_OdbGmina = new global::System.Data.DataColumn("TrN_OdbGmina", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbGmina);
                this.columnTrN_OdbUlica = new global::System.Data.DataColumn("TrN_OdbUlica", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbUlica);
                this.columnTrN_OdbNrDomu = new global::System.Data.DataColumn("TrN_OdbNrDomu", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbNrDomu);
                this.columnTrN_OdbNrLokalu = new global::System.Data.DataColumn("TrN_OdbNrLokalu", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbNrLokalu);
                this.columnTrN_OdbMiasto = new global::System.Data.DataColumn("TrN_OdbMiasto", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbMiasto);
                this.columnTrN_OdbKodPocztowy = new global::System.Data.DataColumn("TrN_OdbKodPocztowy", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbKodPocztowy);
                this.columnTrN_OdbPoczta = new global::System.Data.DataColumn("TrN_OdbPoczta", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbPoczta);
                this.columnTrN_OdbAdres2 = new global::System.Data.DataColumn("TrN_OdbAdres2", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbAdres2);
                this.columnTrN_OdbNipKraj = new global::System.Data.DataColumn("TrN_OdbNipKraj", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbNipKraj);
                this.columnTrN_OdbNipE = new global::System.Data.DataColumn("TrN_OdbNipE", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbNipE);
                this.columnTrN_OdbiorcaGLN = new global::System.Data.DataColumn("TrN_OdbiorcaGLN", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbiorcaGLN);
                this.columnTrN_OdbiorcaDocTyp = new global::System.Data.DataColumn("TrN_OdbiorcaDocTyp", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbiorcaDocTyp);
                this.columnTrN_OdbDocID = new global::System.Data.DataColumn("TrN_OdbDocID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbDocID);
                this.columnTrN_KatID = new global::System.Data.DataColumn("TrN_KatID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_KatID);
                this.columnTrN_Kategoria = new global::System.Data.DataColumn("TrN_Kategoria", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Kategoria);
                this.columnTrN_FPlId = new global::System.Data.DataColumn("TrN_FPlId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_FPlId);
                this.columnTrN_Termin = new global::System.Data.DataColumn("TrN_Termin", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Termin);
                this.columnTrN_RazemNetto = new global::System.Data.DataColumn("TrN_RazemNetto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_RazemNetto);
                this.columnTrN_RazemVAT = new global::System.Data.DataColumn("TrN_RazemVAT", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_RazemVAT);
                this.columnTrN_RazemBrutto = new global::System.Data.DataColumn("TrN_RazemBrutto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_RazemBrutto);
                this.columnTrN_RazemNettoWal = new global::System.Data.DataColumn("TrN_RazemNettoWal", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_RazemNettoWal);
                this.columnTrN_RazemVATWal = new global::System.Data.DataColumn("TrN_RazemVATWal", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_RazemVATWal);
                this.columnTrN_RazemBruttoWal = new global::System.Data.DataColumn("TrN_RazemBruttoWal", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_RazemBruttoWal);
                this.columnTrN_Waluta = new global::System.Data.DataColumn("TrN_Waluta", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Waluta);
                this.columnTrN_KursNumer = new global::System.Data.DataColumn("TrN_KursNumer", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_KursNumer);
                this.columnTrN_KursL = new global::System.Data.DataColumn("TrN_KursL", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_KursL);
                this.columnTrN_KursM = new global::System.Data.DataColumn("TrN_KursM", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_KursM);
                this.columnTrN_PlatElemWalSys = new global::System.Data.DataColumn("TrN_PlatElemWalSys", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PlatElemWalSys);
                this.columnTrN_PlatKaucje = new global::System.Data.DataColumn("TrN_PlatKaucje", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PlatKaucje);
                this.columnTrN_PodmiotZalTyp = new global::System.Data.DataColumn("TrN_PodmiotZalTyp", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodmiotZalTyp);
                this.columnTrN_PodZalId = new global::System.Data.DataColumn("TrN_PodZalId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_PodZalId);
                this.columnTrN_BlokadaPlatnosci = new global::System.Data.DataColumn("TrN_BlokadaPlatnosci", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_BlokadaPlatnosci);
                this.columnTrN_MagZrdId = new global::System.Data.DataColumn("TrN_MagZrdId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_MagZrdId);
                this.columnTrN_MagDocId = new global::System.Data.DataColumn("TrN_MagDocId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_MagDocId);
                this.columnTrN_TypNB = new global::System.Data.DataColumn("TrN_TypNB", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_TypNB);
                this.columnTrN_Rabat = new global::System.Data.DataColumn("TrN_Rabat", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Rabat);
                this.columnTrN_Odebral = new global::System.Data.DataColumn("TrN_Odebral", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Odebral);
                this.columnTrN_Opis = new global::System.Data.DataColumn("TrN_Opis", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Opis);
                this.columnTrN_ZwroconoCalaIlosc = new global::System.Data.DataColumn("TrN_ZwroconoCalaIlosc", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_ZwroconoCalaIlosc);
                this.columnTrN_NotaKorPrzed = new global::System.Data.DataColumn("TrN_NotaKorPrzed", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_NotaKorPrzed);
                this.columnTrN_NotaKorPo = new global::System.Data.DataColumn("TrN_NotaKorPo", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_NotaKorPo);
                this.columnTrN_TrSTyp = new global::System.Data.DataColumn("TrN_TrSTyp", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_TrSTyp);
                this.columnTrN_DekId = new global::System.Data.DataColumn("TrN_DekId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_DekId);
                this.columnTrN_TS_Export = new global::System.Data.DataColumn("TrN_TS_Export", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_TS_Export);
                this.columnTrN_ImportAppId = new global::System.Data.DataColumn("TrN_ImportAppId", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_ImportAppId);
                this.columnTrN_ImportRowId = new global::System.Data.DataColumn("TrN_ImportRowId", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_ImportRowId);
                this.columnTrN_OpeZalID = new global::System.Data.DataColumn("TrN_OpeZalID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OpeZalID);
                this.columnTrN_StaZalId = new global::System.Data.DataColumn("TrN_StaZalId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_StaZalId);
                this.columnTrN_TS_Zal = new global::System.Data.DataColumn("TrN_TS_Zal", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_TS_Zal);
                this.columnTrN_OpeModID = new global::System.Data.DataColumn("TrN_OpeModID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OpeModID);
                this.columnTrN_StaModId = new global::System.Data.DataColumn("TrN_StaModId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_StaModId);
                this.columnTrN_TS_Mod = new global::System.Data.DataColumn("TrN_TS_Mod", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_TS_Mod);
                this.columnTrN_GIDTyp = new global::System.Data.DataColumn("TrN_GIDTyp", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_GIDTyp);
                this.columnTrN_GIDFirma = new global::System.Data.DataColumn("TrN_GIDFirma", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_GIDFirma);
                this.columnTrN_GIDNumer = new global::System.Data.DataColumn("TrN_GIDNumer", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_GIDNumer);
                this.columnTrN_GIDLp = new global::System.Data.DataColumn("TrN_GIDLp", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_GIDLp);
                this.columnTrN_Centrala = new global::System.Data.DataColumn("TrN_Centrala", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_Centrala);
                this.columnTrN_KodTransakcji = new global::System.Data.DataColumn("TrN_KodTransakcji", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_KodTransakcji);
                this.columnTrN_IsNId = new global::System.Data.DataColumn("TrN_IsNId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_IsNId);
                this.columnTrN_DataTransportu = new global::System.Data.DataColumn("TrN_DataTransportu", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_DataTransportu);
                this.columnTrN_KodKraju = new global::System.Data.DataColumn("TrN_KodKraju", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_KodKraju);
                this.columnTrN_VatDlaDokWal = new global::System.Data.DataColumn("TrN_VatDlaDokWal", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_VatDlaDokWal);
                this.columnTrN_OFFExportMag = new global::System.Data.DataColumn("TrN_OFFExportMag", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OFFExportMag);
                this.columnTrN_DataKur = new global::System.Data.DataColumn("TrN_DataKur", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_DataKur);
                this.columnTrN_StatusString = new global::System.Data.DataColumn("TrN_StatusString", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_StatusString);
                this.columnTrN_OdbEmail = new global::System.Data.DataColumn("TrN_OdbEmail", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbEmail);
                this.columnTrN_OdbTelefon = new global::System.Data.DataColumn("TrN_OdbTelefon", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_OdbTelefon);
                this.columnTrN_WartoscZakupu = new global::System.Data.DataColumn("TrN_WartoscZakupu", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrN_WartoscZakupu);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnTrN_TrNID}, true));
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint2", new global::System.Data.DataColumn[] {
                                this.columnTrN_TrNID,
                                this.columnTrN_PodID}, false));
                this.columnTrN_TrNID.AutoIncrement = true;
                this.columnTrN_TrNID.AutoIncrementSeed = -1;
                this.columnTrN_TrNID.AutoIncrementStep = -1;
                this.columnTrN_TrNID.AllowDBNull = false;
                this.columnTrN_TrNID.ReadOnly = true;
                this.columnTrN_TrNID.Unique = true;
                this.columnTrN_TypDokumentu.AllowDBNull = false;
                this.columnTrN_NumerNr.AllowDBNull = false;
                this.columnTrN_NumerString.AllowDBNull = false;
                this.columnTrN_NumerString.MaxLength = 31;
                this.columnTrN_NumerPelny.ReadOnly = true;
                this.columnTrN_NumerPelny.MaxLength = 30;
                this.columnTrN_Bufor.AllowDBNull = false;
                this.columnTrN_Anulowany.AllowDBNull = false;
                this.columnTrN_DataDok.AllowDBNull = false;
                this.columnTrN_DataWys.AllowDBNull = false;
                this.columnTrN_DataOpe.AllowDBNull = false;
                this.columnTrN_NumerObcy.AllowDBNull = false;
                this.columnTrN_NumerObcy.MaxLength = 30;
                this.columnTrN_NumerPelnyPrw.AllowDBNull = false;
                this.columnTrN_NumerPelnyPrw.MaxLength = 30;
                this.columnTrN_TaxFreePotwierdzony.AllowDBNull = false;
                this.columnTrN_Korekta.AllowDBNull = false;
                this.columnTrN_Fiskalna.AllowDBNull = false;
                this.columnTrN_Detal.AllowDBNull = false;
                this.columnTrN_Rodzaj.AllowDBNull = false;
                this.columnTrN_PodNazwa1.AllowDBNull = false;
                this.columnTrN_PodNazwa1.MaxLength = 50;
                this.columnTrN_PodNazwa2.AllowDBNull = false;
                this.columnTrN_PodNazwa2.MaxLength = 50;
                this.columnTrN_PodNazwa3.AllowDBNull = false;
                this.columnTrN_PodNazwa3.MaxLength = 50;
                this.columnTrN_PodKraj.AllowDBNull = false;
                this.columnTrN_PodKraj.MaxLength = 40;
                this.columnTrN_PodWojewodztwo.AllowDBNull = false;
                this.columnTrN_PodWojewodztwo.MaxLength = 40;
                this.columnTrN_PodPowiat.AllowDBNull = false;
                this.columnTrN_PodPowiat.MaxLength = 40;
                this.columnTrN_PodGmina.AllowDBNull = false;
                this.columnTrN_PodGmina.MaxLength = 40;
                this.columnTrN_PodUlica.AllowDBNull = false;
                this.columnTrN_PodUlica.MaxLength = 40;
                this.columnTrN_PodNrDomu.AllowDBNull = false;
                this.columnTrN_PodNrDomu.MaxLength = 10;
                this.columnTrN_PodNrLokalu.AllowDBNull = false;
                this.columnTrN_PodNrLokalu.MaxLength = 10;
                this.columnTrN_PodMiasto.AllowDBNull = false;
                this.columnTrN_PodMiasto.MaxLength = 40;
                this.columnTrN_PodKodPocztowy.AllowDBNull = false;
                this.columnTrN_PodKodPocztowy.MaxLength = 10;
                this.columnTrN_PodPoczta.AllowDBNull = false;
                this.columnTrN_PodPoczta.MaxLength = 40;
                this.columnTrN_PodAdres2.AllowDBNull = false;
                this.columnTrN_PodAdres2.MaxLength = 40;
                this.columnTrN_PodNipKraj.AllowDBNull = false;
                this.columnTrN_PodNipKraj.MaxLength = 2;
                this.columnTrN_PodNipE.AllowDBNull = false;
                this.columnTrN_PodNipE.MaxLength = 13;
                this.columnTrN_PodmiotGLN.AllowDBNull = false;
                this.columnTrN_PodmiotGLN.MaxLength = 13;
                this.columnTrN_Finalny.AllowDBNull = false;
                this.columnTrN_Export.AllowDBNull = false;
                this.columnTrN_OdbNazwa1.AllowDBNull = false;
                this.columnTrN_OdbNazwa1.MaxLength = 50;
                this.columnTrN_OdbNazwa2.AllowDBNull = false;
                this.columnTrN_OdbNazwa2.MaxLength = 50;
                this.columnTrN_OdbNazwa3.AllowDBNull = false;
                this.columnTrN_OdbNazwa3.MaxLength = 50;
                this.columnTrN_OdbKraj.AllowDBNull = false;
                this.columnTrN_OdbKraj.MaxLength = 40;
                this.columnTrN_OdbWojewodztwo.AllowDBNull = false;
                this.columnTrN_OdbWojewodztwo.MaxLength = 40;
                this.columnTrN_OdbPowiat.AllowDBNull = false;
                this.columnTrN_OdbPowiat.MaxLength = 40;
                this.columnTrN_OdbGmina.AllowDBNull = false;
                this.columnTrN_OdbGmina.MaxLength = 40;
                this.columnTrN_OdbUlica.AllowDBNull = false;
                this.columnTrN_OdbUlica.MaxLength = 40;
                this.columnTrN_OdbNrDomu.AllowDBNull = false;
                this.columnTrN_OdbNrDomu.MaxLength = 10;
                this.columnTrN_OdbNrLokalu.AllowDBNull = false;
                this.columnTrN_OdbNrLokalu.MaxLength = 10;
                this.columnTrN_OdbMiasto.AllowDBNull = false;
                this.columnTrN_OdbMiasto.MaxLength = 40;
                this.columnTrN_OdbKodPocztowy.AllowDBNull = false;
                this.columnTrN_OdbKodPocztowy.MaxLength = 10;
                this.columnTrN_OdbPoczta.AllowDBNull = false;
                this.columnTrN_OdbPoczta.MaxLength = 40;
                this.columnTrN_OdbAdres2.AllowDBNull = false;
                this.columnTrN_OdbAdres2.MaxLength = 40;
                this.columnTrN_OdbNipKraj.AllowDBNull = false;
                this.columnTrN_OdbNipKraj.MaxLength = 2;
                this.columnTrN_OdbNipE.AllowDBNull = false;
                this.columnTrN_OdbNipE.MaxLength = 13;
                this.columnTrN_OdbiorcaGLN.AllowDBNull = false;
                this.columnTrN_OdbiorcaGLN.MaxLength = 13;
                this.columnTrN_Kategoria.AllowDBNull = false;
                this.columnTrN_Kategoria.MaxLength = 50;
                this.columnTrN_Termin.AllowDBNull = false;
                this.columnTrN_RazemNetto.AllowDBNull = false;
                this.columnTrN_RazemVAT.AllowDBNull = false;
                this.columnTrN_RazemBrutto.AllowDBNull = false;
                this.columnTrN_RazemNettoWal.AllowDBNull = false;
                this.columnTrN_RazemVATWal.AllowDBNull = false;
                this.columnTrN_RazemBruttoWal.AllowDBNull = false;
                this.columnTrN_Waluta.AllowDBNull = false;
                this.columnTrN_Waluta.MaxLength = 3;
                this.columnTrN_KursNumer.AllowDBNull = false;
                this.columnTrN_KursL.AllowDBNull = false;
                this.columnTrN_KursM.AllowDBNull = false;
                this.columnTrN_PlatElemWalSys.AllowDBNull = false;
                this.columnTrN_PlatKaucje.AllowDBNull = false;
                this.columnTrN_BlokadaPlatnosci.AllowDBNull = false;
                this.columnTrN_TypNB.AllowDBNull = false;
                this.columnTrN_Rabat.AllowDBNull = false;
                this.columnTrN_Odebral.AllowDBNull = false;
                this.columnTrN_Odebral.MaxLength = 40;
                this.columnTrN_Opis.AllowDBNull = false;
                this.columnTrN_Opis.MaxLength = 1024;
                this.columnTrN_NotaKorPrzed.AllowDBNull = false;
                this.columnTrN_NotaKorPrzed.MaxLength = 254;
                this.columnTrN_NotaKorPo.AllowDBNull = false;
                this.columnTrN_NotaKorPo.MaxLength = 254;
                this.columnTrN_TrSTyp.AllowDBNull = false;
                this.columnTrN_ImportAppId.MaxLength = 5;
                this.columnTrN_ImportRowId.MaxLength = 36;
                this.columnTrN_TS_Zal.AllowDBNull = false;
                this.columnTrN_TS_Mod.AllowDBNull = false;
                this.columnTrN_Centrala.AllowDBNull = false;
                this.columnTrN_KodTransakcji.AllowDBNull = false;
                this.columnTrN_KodTransakcji.MaxLength = 2;
                this.columnTrN_KodKraju.AllowDBNull = false;
                this.columnTrN_KodKraju.MaxLength = 2;
                this.columnTrN_VatDlaDokWal.AllowDBNull = false;
                this.columnTrN_DataKur.AllowDBNull = false;
                this.columnTrN_StatusString.ReadOnly = true;
                this.columnTrN_StatusString.MaxLength = 10;
                this.columnTrN_OdbEmail.MaxLength = 40;
                this.columnTrN_OdbTelefon.MaxLength = 20;
                this.columnTrN_WartoscZakupu.ReadOnly = true;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraNagRow NewTraNagRow() {
                return ((TraNagRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new TraNagRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(TraNagRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.TraNagRowChanged != null)) {
                    this.TraNagRowChanged(this, new TraNagRowChangeEvent(((TraNagRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.TraNagRowChanging != null)) {
                    this.TraNagRowChanging(this, new TraNagRowChangeEvent(((TraNagRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.TraNagRowDeleted != null)) {
                    this.TraNagRowDeleted(this, new TraNagRowChangeEvent(((TraNagRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.TraNagRowDeleting != null)) {
                    this.TraNagRowDeleting(this, new TraNagRowChangeEvent(((TraNagRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveTraNagRow(TraNagRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                CDNDataSet ds = new CDNDataSet();
                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 = "TraNagDataTable";
                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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class TraElemDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnTrE_TrEID;
            
            private global::System.Data.DataColumn columnTrE_TrNId;
            
            private global::System.Data.DataColumn columnTrE_ZwrId;
            
            private global::System.Data.DataColumn columnTrE_TrEIdProd;
            
            private global::System.Data.DataColumn columnTrE_PdRId;
            
            private global::System.Data.DataColumn columnTrE_Lp;
            
            private global::System.Data.DataColumn columnTrE_LpPow;
            
            private global::System.Data.DataColumn columnTrE_TypDokumentu;
            
            private global::System.Data.DataColumn columnTrE_Aktywny;
            
            private global::System.Data.DataColumn columnTrE_DataDok;
            
            private global::System.Data.DataColumn columnTrE_RabatPromocyjny;
            
            private global::System.Data.DataColumn columnTrE_RabatKorekta;
            
            private global::System.Data.DataColumn columnTrE_Promocje;
            
            private global::System.Data.DataColumn columnTrE_DataOpe;
            
            private global::System.Data.DataColumn columnTrE_PodmiotTyp;
            
            private global::System.Data.DataColumn columnTrE_PodID;
            
            private global::System.Data.DataColumn columnTrE_KatID;
            
            private global::System.Data.DataColumn columnTrE_TwrId;
            
            private global::System.Data.DataColumn columnTrE_MagId;
            
            private global::System.Data.DataColumn columnTrE_TwrNazwa;
            
            private global::System.Data.DataColumn columnTrE_TwrEAN;
            
            private global::System.Data.DataColumn columnTrE_TwrNumerKat;
            
            private global::System.Data.DataColumn columnTrE_TwrKod;
            
            private global::System.Data.DataColumn columnTrE_TwrOpis;
            
            private global::System.Data.DataColumn columnTrE_TwrSWW;
            
            private global::System.Data.DataColumn columnTrE_Stawka;
            
            private global::System.Data.DataColumn columnTrE_Flaga;
            
            private global::System.Data.DataColumn columnTrE_Zrodlowa;
            
            private global::System.Data.DataColumn columnTrE_TwCNumer;
            
            private global::System.Data.DataColumn columnTrE_TypNB;
            
            private global::System.Data.DataColumn columnTrE_Cena0;
            
            private global::System.Data.DataColumn columnTrE_Rabat;
            
            private global::System.Data.DataColumn columnTrE_CenaW;
            
            private global::System.Data.DataColumn columnTrE_Waluta;
            
            private global::System.Data.DataColumn columnTrE_Kaucja;
            
            private global::System.Data.DataColumn columnTrE_KursNumer;
            
            private global::System.Data.DataColumn columnTrE_KursL;
            
            private global::System.Data.DataColumn columnTrE_KursM;
            
            private global::System.Data.DataColumn columnTrE_CenaT;
            
            private global::System.Data.DataColumn columnTrE_Ilosc;
            
            private global::System.Data.DataColumn columnTrE_IloscKW;
            
            private global::System.Data.DataColumn columnTrE_Jm;
            
            private global::System.Data.DataColumn columnTrE_JmZ;
            
            private global::System.Data.DataColumn columnTrE_JmCalkowite;
            
            private global::System.Data.DataColumn columnTrE_JMPrzelicznikL;
            
            private global::System.Data.DataColumn columnTrE_JMPrzelicznikM;
            
            private global::System.Data.DataColumn columnTrE_IloscJM;
            
            private global::System.Data.DataColumn columnTrE_IloscJMKW;
            
            private global::System.Data.DataColumn columnTrE_WartoscNetto;
            
            private global::System.Data.DataColumn columnTrE_WartoscBrutto;
            
            private global::System.Data.DataColumn columnTrE_KosztUslugi;
            
            private global::System.Data.DataColumn columnTrE_Cena0WD;
            
            private global::System.Data.DataColumn columnTrE_CenaWWD;
            
            private global::System.Data.DataColumn columnTrE_WartoscNettoWal;
            
            private global::System.Data.DataColumn columnTrE_WartoscBruttoWal;
            
            private global::System.Data.DataColumn columnTrE_Atr1_DeAId;
            
            private global::System.Data.DataColumn columnTrE_Atr1_Kod;
            
            private global::System.Data.DataColumn columnTrE_Atr1_Wartosc;
            
            private global::System.Data.DataColumn columnTrE_Atr2_DeAId;
            
            private global::System.Data.DataColumn columnTrE_Atr2_Kod;
            
            private global::System.Data.DataColumn columnTrE_Atr2_Wartosc;
            
            private global::System.Data.DataColumn columnTrE_Atr3_DeAId;
            
            private global::System.Data.DataColumn columnTrE_Atr3_Kod;
            
            private global::System.Data.DataColumn columnTrE_Atr3_Wartosc;
            
            private global::System.Data.DataColumn columnTrE_Atr4_DeAId;
            
            private global::System.Data.DataColumn columnTrE_Atr4_Kod;
            
            private global::System.Data.DataColumn columnTrE_Atr4_Wartosc;
            
            private global::System.Data.DataColumn columnTrE_Atr5_DeAId;
            
            private global::System.Data.DataColumn columnTrE_Atr5_Kod;
            
            private global::System.Data.DataColumn columnTrE_Atr5_Wartosc;
            
            private global::System.Data.DataColumn columnTrE_Prog;
            
            private global::System.Data.DataColumn columnTrE_UpustTyp;
            
            private global::System.Data.DataColumn columnTrE_Upust;
            
            private global::System.Data.DataColumn columnTrE_UpustKnt;
            
            private global::System.Data.DataColumn columnTrE_UpustKntTyp;
            
            private global::System.Data.DataColumn columnTrE_WartoscZakupuWylicz;
            
            private global::System.Data.DataColumn columnTrE_LpPowRel;
            
            private global::System.Data.DataColumn columnTrE_WartoscZakupu;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraElemDataTable() {
                this.TableName = "TraElem";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal TraElemDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected TraElemDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_TrEIDColumn {
                get {
                    return this.columnTrE_TrEID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_TrNIdColumn {
                get {
                    return this.columnTrE_TrNId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_ZwrIdColumn {
                get {
                    return this.columnTrE_ZwrId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_TrEIdProdColumn {
                get {
                    return this.columnTrE_TrEIdProd;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_PdRIdColumn {
                get {
                    return this.columnTrE_PdRId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_LpColumn {
                get {
                    return this.columnTrE_Lp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_LpPowColumn {
                get {
                    return this.columnTrE_LpPow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_TypDokumentuColumn {
                get {
                    return this.columnTrE_TypDokumentu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_AktywnyColumn {
                get {
                    return this.columnTrE_Aktywny;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_DataDokColumn {
                get {
                    return this.columnTrE_DataDok;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_RabatPromocyjnyColumn {
                get {
                    return this.columnTrE_RabatPromocyjny;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_RabatKorektaColumn {
                get {
                    return this.columnTrE_RabatKorekta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_PromocjeColumn {
                get {
                    return this.columnTrE_Promocje;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_DataOpeColumn {
                get {
                    return this.columnTrE_DataOpe;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_PodmiotTypColumn {
                get {
                    return this.columnTrE_PodmiotTyp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_PodIDColumn {
                get {
                    return this.columnTrE_PodID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_KatIDColumn {
                get {
                    return this.columnTrE_KatID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_TwrIdColumn {
                get {
                    return this.columnTrE_TwrId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_MagIdColumn {
                get {
                    return this.columnTrE_MagId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_TwrNazwaColumn {
                get {
                    return this.columnTrE_TwrNazwa;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_TwrEANColumn {
                get {
                    return this.columnTrE_TwrEAN;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_TwrNumerKatColumn {
                get {
                    return this.columnTrE_TwrNumerKat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_TwrKodColumn {
                get {
                    return this.columnTrE_TwrKod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_TwrOpisColumn {
                get {
                    return this.columnTrE_TwrOpis;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_TwrSWWColumn {
                get {
                    return this.columnTrE_TwrSWW;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_StawkaColumn {
                get {
                    return this.columnTrE_Stawka;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_FlagaColumn {
                get {
                    return this.columnTrE_Flaga;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_ZrodlowaColumn {
                get {
                    return this.columnTrE_Zrodlowa;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_TwCNumerColumn {
                get {
                    return this.columnTrE_TwCNumer;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_TypNBColumn {
                get {
                    return this.columnTrE_TypNB;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Cena0Column {
                get {
                    return this.columnTrE_Cena0;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_RabatColumn {
                get {
                    return this.columnTrE_Rabat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_CenaWColumn {
                get {
                    return this.columnTrE_CenaW;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_WalutaColumn {
                get {
                    return this.columnTrE_Waluta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_KaucjaColumn {
                get {
                    return this.columnTrE_Kaucja;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_KursNumerColumn {
                get {
                    return this.columnTrE_KursNumer;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_KursLColumn {
                get {
                    return this.columnTrE_KursL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_KursMColumn {
                get {
                    return this.columnTrE_KursM;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_CenaTColumn {
                get {
                    return this.columnTrE_CenaT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_IloscColumn {
                get {
                    return this.columnTrE_Ilosc;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_IloscKWColumn {
                get {
                    return this.columnTrE_IloscKW;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_JmColumn {
                get {
                    return this.columnTrE_Jm;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_JmZColumn {
                get {
                    return this.columnTrE_JmZ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_JmCalkowiteColumn {
                get {
                    return this.columnTrE_JmCalkowite;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_JMPrzelicznikLColumn {
                get {
                    return this.columnTrE_JMPrzelicznikL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_JMPrzelicznikMColumn {
                get {
                    return this.columnTrE_JMPrzelicznikM;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_IloscJMColumn {
                get {
                    return this.columnTrE_IloscJM;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_IloscJMKWColumn {
                get {
                    return this.columnTrE_IloscJMKW;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_WartoscNettoColumn {
                get {
                    return this.columnTrE_WartoscNetto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_WartoscBruttoColumn {
                get {
                    return this.columnTrE_WartoscBrutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_KosztUslugiColumn {
                get {
                    return this.columnTrE_KosztUslugi;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Cena0WDColumn {
                get {
                    return this.columnTrE_Cena0WD;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_CenaWWDColumn {
                get {
                    return this.columnTrE_CenaWWD;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_WartoscNettoWalColumn {
                get {
                    return this.columnTrE_WartoscNettoWal;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_WartoscBruttoWalColumn {
                get {
                    return this.columnTrE_WartoscBruttoWal;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr1_DeAIdColumn {
                get {
                    return this.columnTrE_Atr1_DeAId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr1_KodColumn {
                get {
                    return this.columnTrE_Atr1_Kod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr1_WartoscColumn {
                get {
                    return this.columnTrE_Atr1_Wartosc;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr2_DeAIdColumn {
                get {
                    return this.columnTrE_Atr2_DeAId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr2_KodColumn {
                get {
                    return this.columnTrE_Atr2_Kod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr2_WartoscColumn {
                get {
                    return this.columnTrE_Atr2_Wartosc;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr3_DeAIdColumn {
                get {
                    return this.columnTrE_Atr3_DeAId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr3_KodColumn {
                get {
                    return this.columnTrE_Atr3_Kod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr3_WartoscColumn {
                get {
                    return this.columnTrE_Atr3_Wartosc;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr4_DeAIdColumn {
                get {
                    return this.columnTrE_Atr4_DeAId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr4_KodColumn {
                get {
                    return this.columnTrE_Atr4_Kod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr4_WartoscColumn {
                get {
                    return this.columnTrE_Atr4_Wartosc;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr5_DeAIdColumn {
                get {
                    return this.columnTrE_Atr5_DeAId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr5_KodColumn {
                get {
                    return this.columnTrE_Atr5_Kod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_Atr5_WartoscColumn {
                get {
                    return this.columnTrE_Atr5_Wartosc;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_ProgColumn {
                get {
                    return this.columnTrE_Prog;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_UpustTypColumn {
                get {
                    return this.columnTrE_UpustTyp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_UpustColumn {
                get {
                    return this.columnTrE_Upust;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_UpustKntColumn {
                get {
                    return this.columnTrE_UpustKnt;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_UpustKntTypColumn {
                get {
                    return this.columnTrE_UpustKntTyp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_WartoscZakupuWyliczColumn {
                get {
                    return this.columnTrE_WartoscZakupuWylicz;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_LpPowRelColumn {
                get {
                    return this.columnTrE_LpPowRel;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrE_WartoscZakupuColumn {
                get {
                    return this.columnTrE_WartoscZakupu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraElemRow this[int index] {
                get {
                    return ((TraElemRow)(this.Rows[index]));
                }
            }
            
            public event TraElemRowChangeEventHandler TraElemRowChanging;
            
            public event TraElemRowChangeEventHandler TraElemRowChanged;
            
            public event TraElemRowChangeEventHandler TraElemRowDeleting;
            
            public event TraElemRowChangeEventHandler TraElemRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddTraElemRow(TraElemRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraElemRow AddTraElemRow(
                        int TrE_TrNId, 
                        int TrE_ZwrId, 
                        int TrE_TrEIdProd, 
                        int TrE_PdRId, 
                        int TrE_Lp, 
                        int TrE_LpPow, 
                        int TrE_TypDokumentu, 
                        byte TrE_Aktywny, 
                        System.DateTime TrE_DataDok, 
                        decimal TrE_RabatPromocyjny, 
                        decimal TrE_RabatKorekta, 
                        int TrE_Promocje, 
                        System.DateTime TrE_DataOpe, 
                        short TrE_PodmiotTyp, 
                        int TrE_PodID, 
                        int TrE_KatID, 
                        int TrE_TwrId, 
                        int TrE_MagId, 
                        string TrE_TwrNazwa, 
                        string TrE_TwrEAN, 
                        string TrE_TwrNumerKat, 
                        string TrE_TwrKod, 
                        string TrE_TwrOpis, 
                        string TrE_TwrSWW, 
                        decimal TrE_Stawka, 
                        short TrE_Flaga, 
                        decimal TrE_Zrodlowa, 
                        int TrE_TwCNumer, 
                        byte TrE_TypNB, 
                        decimal TrE_Cena0, 
                        decimal TrE_Rabat, 
                        decimal TrE_CenaW, 
                        string TrE_Waluta, 
                        byte TrE_Kaucja, 
                        int TrE_KursNumer, 
                        decimal TrE_KursL, 
                        decimal TrE_KursM, 
                        decimal TrE_CenaT, 
                        decimal TrE_Ilosc, 
                        decimal TrE_IloscKW, 
                        string TrE_Jm, 
                        string TrE_JmZ, 
                        byte TrE_JmCalkowite, 
                        decimal TrE_JMPrzelicznikL, 
                        decimal TrE_JMPrzelicznikM, 
                        decimal TrE_IloscJM, 
                        decimal TrE_IloscJMKW, 
                        decimal TrE_WartoscNetto, 
                        decimal TrE_WartoscBrutto, 
                        decimal TrE_KosztUslugi, 
                        decimal TrE_Cena0WD, 
                        decimal TrE_CenaWWD, 
                        decimal TrE_WartoscNettoWal, 
                        decimal TrE_WartoscBruttoWal, 
                        int TrE_Atr1_DeAId, 
                        string TrE_Atr1_Kod, 
                        string TrE_Atr1_Wartosc, 
                        int TrE_Atr2_DeAId, 
                        string TrE_Atr2_Kod, 
                        string TrE_Atr2_Wartosc, 
                        int TrE_Atr3_DeAId, 
                        string TrE_Atr3_Kod, 
                        string TrE_Atr3_Wartosc, 
                        int TrE_Atr4_DeAId, 
                        string TrE_Atr4_Kod, 
                        string TrE_Atr4_Wartosc, 
                        int TrE_Atr5_DeAId, 
                        string TrE_Atr5_Kod, 
                        string TrE_Atr5_Wartosc, 
                        decimal TrE_Prog, 
                        byte TrE_UpustTyp, 
                        decimal TrE_Upust, 
                        decimal TrE_UpustKnt, 
                        byte TrE_UpustKntTyp, 
                        decimal TrE_WartoscZakupuWylicz, 
                        int TrE_LpPowRel, 
                        decimal TrE_WartoscZakupu) {
                TraElemRow rowTraElemRow = ((TraElemRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        TrE_TrNId,
                        TrE_ZwrId,
                        TrE_TrEIdProd,
                        TrE_PdRId,
                        TrE_Lp,
                        TrE_LpPow,
                        TrE_TypDokumentu,
                        TrE_Aktywny,
                        TrE_DataDok,
                        TrE_RabatPromocyjny,
                        TrE_RabatKorekta,
                        TrE_Promocje,
                        TrE_DataOpe,
                        TrE_PodmiotTyp,
                        TrE_PodID,
                        TrE_KatID,
                        TrE_TwrId,
                        TrE_MagId,
                        TrE_TwrNazwa,
                        TrE_TwrEAN,
                        TrE_TwrNumerKat,
                        TrE_TwrKod,
                        TrE_TwrOpis,
                        TrE_TwrSWW,
                        TrE_Stawka,
                        TrE_Flaga,
                        TrE_Zrodlowa,
                        TrE_TwCNumer,
                        TrE_TypNB,
                        TrE_Cena0,
                        TrE_Rabat,
                        TrE_CenaW,
                        TrE_Waluta,
                        TrE_Kaucja,
                        TrE_KursNumer,
                        TrE_KursL,
                        TrE_KursM,
                        TrE_CenaT,
                        TrE_Ilosc,
                        TrE_IloscKW,
                        TrE_Jm,
                        TrE_JmZ,
                        TrE_JmCalkowite,
                        TrE_JMPrzelicznikL,
                        TrE_JMPrzelicznikM,
                        TrE_IloscJM,
                        TrE_IloscJMKW,
                        TrE_WartoscNetto,
                        TrE_WartoscBrutto,
                        TrE_KosztUslugi,
                        TrE_Cena0WD,
                        TrE_CenaWWD,
                        TrE_WartoscNettoWal,
                        TrE_WartoscBruttoWal,
                        TrE_Atr1_DeAId,
                        TrE_Atr1_Kod,
                        TrE_Atr1_Wartosc,
                        TrE_Atr2_DeAId,
                        TrE_Atr2_Kod,
                        TrE_Atr2_Wartosc,
                        TrE_Atr3_DeAId,
                        TrE_Atr3_Kod,
                        TrE_Atr3_Wartosc,
                        TrE_Atr4_DeAId,
                        TrE_Atr4_Kod,
                        TrE_Atr4_Wartosc,
                        TrE_Atr5_DeAId,
                        TrE_Atr5_Kod,
                        TrE_Atr5_Wartosc,
                        TrE_Prog,
                        TrE_UpustTyp,
                        TrE_Upust,
                        TrE_UpustKnt,
                        TrE_UpustKntTyp,
                        TrE_WartoscZakupuWylicz,
                        TrE_LpPowRel,
                        TrE_WartoscZakupu};
                rowTraElemRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowTraElemRow);
                return rowTraElemRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraElemRow FindByTrE_TrEID(int TrE_TrEID) {
                return ((TraElemRow)(this.Rows.Find(new object[] {
                            TrE_TrEID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                TraElemDataTable cln = ((TraElemDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new TraElemDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnTrE_TrEID = base.Columns["TrE_TrEID"];
                this.columnTrE_TrNId = base.Columns["TrE_TrNId"];
                this.columnTrE_ZwrId = base.Columns["TrE_ZwrId"];
                this.columnTrE_TrEIdProd = base.Columns["TrE_TrEIdProd"];
                this.columnTrE_PdRId = base.Columns["TrE_PdRId"];
                this.columnTrE_Lp = base.Columns["TrE_Lp"];
                this.columnTrE_LpPow = base.Columns["TrE_LpPow"];
                this.columnTrE_TypDokumentu = base.Columns["TrE_TypDokumentu"];
                this.columnTrE_Aktywny = base.Columns["TrE_Aktywny"];
                this.columnTrE_DataDok = base.Columns["TrE_DataDok"];
                this.columnTrE_RabatPromocyjny = base.Columns["TrE_RabatPromocyjny"];
                this.columnTrE_RabatKorekta = base.Columns["TrE_RabatKorekta"];
                this.columnTrE_Promocje = base.Columns["TrE_Promocje"];
                this.columnTrE_DataOpe = base.Columns["TrE_DataOpe"];
                this.columnTrE_PodmiotTyp = base.Columns["TrE_PodmiotTyp"];
                this.columnTrE_PodID = base.Columns["TrE_PodID"];
                this.columnTrE_KatID = base.Columns["TrE_KatID"];
                this.columnTrE_TwrId = base.Columns["TrE_TwrId"];
                this.columnTrE_MagId = base.Columns["TrE_MagId"];
                this.columnTrE_TwrNazwa = base.Columns["TrE_TwrNazwa"];
                this.columnTrE_TwrEAN = base.Columns["TrE_TwrEAN"];
                this.columnTrE_TwrNumerKat = base.Columns["TrE_TwrNumerKat"];
                this.columnTrE_TwrKod = base.Columns["TrE_TwrKod"];
                this.columnTrE_TwrOpis = base.Columns["TrE_TwrOpis"];
                this.columnTrE_TwrSWW = base.Columns["TrE_TwrSWW"];
                this.columnTrE_Stawka = base.Columns["TrE_Stawka"];
                this.columnTrE_Flaga = base.Columns["TrE_Flaga"];
                this.columnTrE_Zrodlowa = base.Columns["TrE_Zrodlowa"];
                this.columnTrE_TwCNumer = base.Columns["TrE_TwCNumer"];
                this.columnTrE_TypNB = base.Columns["TrE_TypNB"];
                this.columnTrE_Cena0 = base.Columns["TrE_Cena0"];
                this.columnTrE_Rabat = base.Columns["TrE_Rabat"];
                this.columnTrE_CenaW = base.Columns["TrE_CenaW"];
                this.columnTrE_Waluta = base.Columns["TrE_Waluta"];
                this.columnTrE_Kaucja = base.Columns["TrE_Kaucja"];
                this.columnTrE_KursNumer = base.Columns["TrE_KursNumer"];
                this.columnTrE_KursL = base.Columns["TrE_KursL"];
                this.columnTrE_KursM = base.Columns["TrE_KursM"];
                this.columnTrE_CenaT = base.Columns["TrE_CenaT"];
                this.columnTrE_Ilosc = base.Columns["TrE_Ilosc"];
                this.columnTrE_IloscKW = base.Columns["TrE_IloscKW"];
                this.columnTrE_Jm = base.Columns["TrE_Jm"];
                this.columnTrE_JmZ = base.Columns["TrE_JmZ"];
                this.columnTrE_JmCalkowite = base.Columns["TrE_JmCalkowite"];
                this.columnTrE_JMPrzelicznikL = base.Columns["TrE_JMPrzelicznikL"];
                this.columnTrE_JMPrzelicznikM = base.Columns["TrE_JMPrzelicznikM"];
                this.columnTrE_IloscJM = base.Columns["TrE_IloscJM"];
                this.columnTrE_IloscJMKW = base.Columns["TrE_IloscJMKW"];
                this.columnTrE_WartoscNetto = base.Columns["TrE_WartoscNetto"];
                this.columnTrE_WartoscBrutto = base.Columns["TrE_WartoscBrutto"];
                this.columnTrE_KosztUslugi = base.Columns["TrE_KosztUslugi"];
                this.columnTrE_Cena0WD = base.Columns["TrE_Cena0WD"];
                this.columnTrE_CenaWWD = base.Columns["TrE_CenaWWD"];
                this.columnTrE_WartoscNettoWal = base.Columns["TrE_WartoscNettoWal"];
                this.columnTrE_WartoscBruttoWal = base.Columns["TrE_WartoscBruttoWal"];
                this.columnTrE_Atr1_DeAId = base.Columns["TrE_Atr1_DeAId"];
                this.columnTrE_Atr1_Kod = base.Columns["TrE_Atr1_Kod"];
                this.columnTrE_Atr1_Wartosc = base.Columns["TrE_Atr1_Wartosc"];
                this.columnTrE_Atr2_DeAId = base.Columns["TrE_Atr2_DeAId"];
                this.columnTrE_Atr2_Kod = base.Columns["TrE_Atr2_Kod"];
                this.columnTrE_Atr2_Wartosc = base.Columns["TrE_Atr2_Wartosc"];
                this.columnTrE_Atr3_DeAId = base.Columns["TrE_Atr3_DeAId"];
                this.columnTrE_Atr3_Kod = base.Columns["TrE_Atr3_Kod"];
                this.columnTrE_Atr3_Wartosc = base.Columns["TrE_Atr3_Wartosc"];
                this.columnTrE_Atr4_DeAId = base.Columns["TrE_Atr4_DeAId"];
                this.columnTrE_Atr4_Kod = base.Columns["TrE_Atr4_Kod"];
                this.columnTrE_Atr4_Wartosc = base.Columns["TrE_Atr4_Wartosc"];
                this.columnTrE_Atr5_DeAId = base.Columns["TrE_Atr5_DeAId"];
                this.columnTrE_Atr5_Kod = base.Columns["TrE_Atr5_Kod"];
                this.columnTrE_Atr5_Wartosc = base.Columns["TrE_Atr5_Wartosc"];
                this.columnTrE_Prog = base.Columns["TrE_Prog"];
                this.columnTrE_UpustTyp = base.Columns["TrE_UpustTyp"];
                this.columnTrE_Upust = base.Columns["TrE_Upust"];
                this.columnTrE_UpustKnt = base.Columns["TrE_UpustKnt"];
                this.columnTrE_UpustKntTyp = base.Columns["TrE_UpustKntTyp"];
                this.columnTrE_WartoscZakupuWylicz = base.Columns["TrE_WartoscZakupuWylicz"];
                this.columnTrE_LpPowRel = base.Columns["TrE_LpPowRel"];
                this.columnTrE_WartoscZakupu = base.Columns["TrE_WartoscZakupu"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnTrE_TrEID = new global::System.Data.DataColumn("TrE_TrEID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_TrEID);
                this.columnTrE_TrNId = new global::System.Data.DataColumn("TrE_TrNId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_TrNId);
                this.columnTrE_ZwrId = new global::System.Data.DataColumn("TrE_ZwrId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_ZwrId);
                this.columnTrE_TrEIdProd = new global::System.Data.DataColumn("TrE_TrEIdProd", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_TrEIdProd);
                this.columnTrE_PdRId = new global::System.Data.DataColumn("TrE_PdRId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_PdRId);
                this.columnTrE_Lp = new global::System.Data.DataColumn("TrE_Lp", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Lp);
                this.columnTrE_LpPow = new global::System.Data.DataColumn("TrE_LpPow", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_LpPow);
                this.columnTrE_TypDokumentu = new global::System.Data.DataColumn("TrE_TypDokumentu", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_TypDokumentu);
                this.columnTrE_Aktywny = new global::System.Data.DataColumn("TrE_Aktywny", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Aktywny);
                this.columnTrE_DataDok = new global::System.Data.DataColumn("TrE_DataDok", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_DataDok);
                this.columnTrE_RabatPromocyjny = new global::System.Data.DataColumn("TrE_RabatPromocyjny", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_RabatPromocyjny);
                this.columnTrE_RabatKorekta = new global::System.Data.DataColumn("TrE_RabatKorekta", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_RabatKorekta);
                this.columnTrE_Promocje = new global::System.Data.DataColumn("TrE_Promocje", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Promocje);
                this.columnTrE_DataOpe = new global::System.Data.DataColumn("TrE_DataOpe", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_DataOpe);
                this.columnTrE_PodmiotTyp = new global::System.Data.DataColumn("TrE_PodmiotTyp", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_PodmiotTyp);
                this.columnTrE_PodID = new global::System.Data.DataColumn("TrE_PodID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_PodID);
                this.columnTrE_KatID = new global::System.Data.DataColumn("TrE_KatID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_KatID);
                this.columnTrE_TwrId = new global::System.Data.DataColumn("TrE_TwrId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_TwrId);
                this.columnTrE_MagId = new global::System.Data.DataColumn("TrE_MagId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_MagId);
                this.columnTrE_TwrNazwa = new global::System.Data.DataColumn("TrE_TwrNazwa", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_TwrNazwa);
                this.columnTrE_TwrEAN = new global::System.Data.DataColumn("TrE_TwrEAN", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_TwrEAN);
                this.columnTrE_TwrNumerKat = new global::System.Data.DataColumn("TrE_TwrNumerKat", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_TwrNumerKat);
                this.columnTrE_TwrKod = new global::System.Data.DataColumn("TrE_TwrKod", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_TwrKod);
                this.columnTrE_TwrOpis = new global::System.Data.DataColumn("TrE_TwrOpis", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_TwrOpis);
                this.columnTrE_TwrSWW = new global::System.Data.DataColumn("TrE_TwrSWW", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_TwrSWW);
                this.columnTrE_Stawka = new global::System.Data.DataColumn("TrE_Stawka", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Stawka);
                this.columnTrE_Flaga = new global::System.Data.DataColumn("TrE_Flaga", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Flaga);
                this.columnTrE_Zrodlowa = new global::System.Data.DataColumn("TrE_Zrodlowa", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Zrodlowa);
                this.columnTrE_TwCNumer = new global::System.Data.DataColumn("TrE_TwCNumer", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_TwCNumer);
                this.columnTrE_TypNB = new global::System.Data.DataColumn("TrE_TypNB", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_TypNB);
                this.columnTrE_Cena0 = new global::System.Data.DataColumn("TrE_Cena0", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Cena0);
                this.columnTrE_Rabat = new global::System.Data.DataColumn("TrE_Rabat", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Rabat);
                this.columnTrE_CenaW = new global::System.Data.DataColumn("TrE_CenaW", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_CenaW);
                this.columnTrE_Waluta = new global::System.Data.DataColumn("TrE_Waluta", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Waluta);
                this.columnTrE_Kaucja = new global::System.Data.DataColumn("TrE_Kaucja", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Kaucja);
                this.columnTrE_KursNumer = new global::System.Data.DataColumn("TrE_KursNumer", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_KursNumer);
                this.columnTrE_KursL = new global::System.Data.DataColumn("TrE_KursL", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_KursL);
                this.columnTrE_KursM = new global::System.Data.DataColumn("TrE_KursM", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_KursM);
                this.columnTrE_CenaT = new global::System.Data.DataColumn("TrE_CenaT", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_CenaT);
                this.columnTrE_Ilosc = new global::System.Data.DataColumn("TrE_Ilosc", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Ilosc);
                this.columnTrE_IloscKW = new global::System.Data.DataColumn("TrE_IloscKW", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_IloscKW);
                this.columnTrE_Jm = new global::System.Data.DataColumn("TrE_Jm", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Jm);
                this.columnTrE_JmZ = new global::System.Data.DataColumn("TrE_JmZ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_JmZ);
                this.columnTrE_JmCalkowite = new global::System.Data.DataColumn("TrE_JmCalkowite", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_JmCalkowite);
                this.columnTrE_JMPrzelicznikL = new global::System.Data.DataColumn("TrE_JMPrzelicznikL", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_JMPrzelicznikL);
                this.columnTrE_JMPrzelicznikM = new global::System.Data.DataColumn("TrE_JMPrzelicznikM", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_JMPrzelicznikM);
                this.columnTrE_IloscJM = new global::System.Data.DataColumn("TrE_IloscJM", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_IloscJM);
                this.columnTrE_IloscJMKW = new global::System.Data.DataColumn("TrE_IloscJMKW", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_IloscJMKW);
                this.columnTrE_WartoscNetto = new global::System.Data.DataColumn("TrE_WartoscNetto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_WartoscNetto);
                this.columnTrE_WartoscBrutto = new global::System.Data.DataColumn("TrE_WartoscBrutto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_WartoscBrutto);
                this.columnTrE_KosztUslugi = new global::System.Data.DataColumn("TrE_KosztUslugi", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_KosztUslugi);
                this.columnTrE_Cena0WD = new global::System.Data.DataColumn("TrE_Cena0WD", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Cena0WD);
                this.columnTrE_CenaWWD = new global::System.Data.DataColumn("TrE_CenaWWD", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_CenaWWD);
                this.columnTrE_WartoscNettoWal = new global::System.Data.DataColumn("TrE_WartoscNettoWal", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_WartoscNettoWal);
                this.columnTrE_WartoscBruttoWal = new global::System.Data.DataColumn("TrE_WartoscBruttoWal", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_WartoscBruttoWal);
                this.columnTrE_Atr1_DeAId = new global::System.Data.DataColumn("TrE_Atr1_DeAId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr1_DeAId);
                this.columnTrE_Atr1_Kod = new global::System.Data.DataColumn("TrE_Atr1_Kod", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr1_Kod);
                this.columnTrE_Atr1_Wartosc = new global::System.Data.DataColumn("TrE_Atr1_Wartosc", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr1_Wartosc);
                this.columnTrE_Atr2_DeAId = new global::System.Data.DataColumn("TrE_Atr2_DeAId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr2_DeAId);
                this.columnTrE_Atr2_Kod = new global::System.Data.DataColumn("TrE_Atr2_Kod", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr2_Kod);
                this.columnTrE_Atr2_Wartosc = new global::System.Data.DataColumn("TrE_Atr2_Wartosc", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr2_Wartosc);
                this.columnTrE_Atr3_DeAId = new global::System.Data.DataColumn("TrE_Atr3_DeAId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr3_DeAId);
                this.columnTrE_Atr3_Kod = new global::System.Data.DataColumn("TrE_Atr3_Kod", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr3_Kod);
                this.columnTrE_Atr3_Wartosc = new global::System.Data.DataColumn("TrE_Atr3_Wartosc", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr3_Wartosc);
                this.columnTrE_Atr4_DeAId = new global::System.Data.DataColumn("TrE_Atr4_DeAId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr4_DeAId);
                this.columnTrE_Atr4_Kod = new global::System.Data.DataColumn("TrE_Atr4_Kod", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr4_Kod);
                this.columnTrE_Atr4_Wartosc = new global::System.Data.DataColumn("TrE_Atr4_Wartosc", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr4_Wartosc);
                this.columnTrE_Atr5_DeAId = new global::System.Data.DataColumn("TrE_Atr5_DeAId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr5_DeAId);
                this.columnTrE_Atr5_Kod = new global::System.Data.DataColumn("TrE_Atr5_Kod", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr5_Kod);
                this.columnTrE_Atr5_Wartosc = new global::System.Data.DataColumn("TrE_Atr5_Wartosc", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Atr5_Wartosc);
                this.columnTrE_Prog = new global::System.Data.DataColumn("TrE_Prog", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Prog);
                this.columnTrE_UpustTyp = new global::System.Data.DataColumn("TrE_UpustTyp", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_UpustTyp);
                this.columnTrE_Upust = new global::System.Data.DataColumn("TrE_Upust", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_Upust);
                this.columnTrE_UpustKnt = new global::System.Data.DataColumn("TrE_UpustKnt", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_UpustKnt);
                this.columnTrE_UpustKntTyp = new global::System.Data.DataColumn("TrE_UpustKntTyp", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_UpustKntTyp);
                this.columnTrE_WartoscZakupuWylicz = new global::System.Data.DataColumn("TrE_WartoscZakupuWylicz", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_WartoscZakupuWylicz);
                this.columnTrE_LpPowRel = new global::System.Data.DataColumn("TrE_LpPowRel", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_LpPowRel);
                this.columnTrE_WartoscZakupu = new global::System.Data.DataColumn("TrE_WartoscZakupu", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrE_WartoscZakupu);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnTrE_TrEID}, true));
                this.columnTrE_TrEID.AutoIncrement = true;
                this.columnTrE_TrEID.AllowDBNull = false;
                this.columnTrE_TrEID.ReadOnly = true;
                this.columnTrE_TrEID.Unique = true;
                this.columnTrE_TrNId.AllowDBNull = false;
                this.columnTrE_Lp.AllowDBNull = false;
                this.columnTrE_LpPow.AllowDBNull = false;
                this.columnTrE_TypDokumentu.AllowDBNull = false;
                this.columnTrE_Aktywny.AllowDBNull = false;
                this.columnTrE_DataDok.AllowDBNull = false;
                this.columnTrE_DataOpe.AllowDBNull = false;
                this.columnTrE_TwrNazwa.AllowDBNull = false;
                this.columnTrE_TwrNazwa.MaxLength = 255;
                this.columnTrE_TwrEAN.AllowDBNull = false;
                this.columnTrE_TwrEAN.MaxLength = 20;
                this.columnTrE_TwrNumerKat.AllowDBNull = false;
                this.columnTrE_TwrNumerKat.MaxLength = 40;
                this.columnTrE_TwrKod.AllowDBNull = false;
                this.columnTrE_TwrKod.MaxLength = 40;
                this.columnTrE_TwrOpis.AllowDBNull = false;
                this.columnTrE_TwrOpis.MaxLength = 254;
                this.columnTrE_TwrSWW.AllowDBNull = false;
                this.columnTrE_TwrSWW.MaxLength = 20;
                this.columnTrE_Stawka.AllowDBNull = false;
                this.columnTrE_Flaga.AllowDBNull = false;
                this.columnTrE_Zrodlowa.AllowDBNull = false;
                this.columnTrE_TwCNumer.AllowDBNull = false;
                this.columnTrE_TypNB.AllowDBNull = false;
                this.columnTrE_Cena0.AllowDBNull = false;
                this.columnTrE_Rabat.AllowDBNull = false;
                this.columnTrE_CenaW.AllowDBNull = false;
                this.columnTrE_Waluta.AllowDBNull = false;
                this.columnTrE_Waluta.MaxLength = 3;
                this.columnTrE_Kaucja.AllowDBNull = false;
                this.columnTrE_KursNumer.AllowDBNull = false;
                this.columnTrE_KursL.AllowDBNull = false;
                this.columnTrE_KursM.AllowDBNull = false;
                this.columnTrE_CenaT.AllowDBNull = false;
                this.columnTrE_Ilosc.AllowDBNull = false;
                this.columnTrE_IloscKW.AllowDBNull = false;
                this.columnTrE_Jm.AllowDBNull = false;
                this.columnTrE_Jm.MaxLength = 20;
                this.columnTrE_JmZ.AllowDBNull = false;
                this.columnTrE_JmZ.MaxLength = 20;
                this.columnTrE_JmCalkowite.AllowDBNull = false;
                this.columnTrE_JMPrzelicznikL.AllowDBNull = false;
                this.columnTrE_JMPrzelicznikM.AllowDBNull = false;
                this.columnTrE_IloscJM.AllowDBNull = false;
                this.columnTrE_IloscJMKW.AllowDBNull = false;
                this.columnTrE_WartoscNetto.AllowDBNull = false;
                this.columnTrE_WartoscBrutto.AllowDBNull = false;
                this.columnTrE_KosztUslugi.AllowDBNull = false;
                this.columnTrE_Cena0WD.AllowDBNull = false;
                this.columnTrE_CenaWWD.AllowDBNull = false;
                this.columnTrE_WartoscNettoWal.AllowDBNull = false;
                this.columnTrE_WartoscBruttoWal.AllowDBNull = false;
                this.columnTrE_Atr1_Kod.AllowDBNull = false;
                this.columnTrE_Atr1_Kod.MaxLength = 20;
                this.columnTrE_Atr1_Wartosc.AllowDBNull = false;
                this.columnTrE_Atr1_Wartosc.MaxLength = 100;
                this.columnTrE_Atr2_Kod.AllowDBNull = false;
                this.columnTrE_Atr2_Kod.MaxLength = 20;
                this.columnTrE_Atr2_Wartosc.AllowDBNull = false;
                this.columnTrE_Atr2_Wartosc.MaxLength = 100;
                this.columnTrE_Atr3_Kod.AllowDBNull = false;
                this.columnTrE_Atr3_Kod.MaxLength = 20;
                this.columnTrE_Atr3_Wartosc.AllowDBNull = false;
                this.columnTrE_Atr3_Wartosc.MaxLength = 100;
                this.columnTrE_Atr4_Kod.AllowDBNull = false;
                this.columnTrE_Atr4_Kod.MaxLength = 20;
                this.columnTrE_Atr4_Wartosc.AllowDBNull = false;
                this.columnTrE_Atr4_Wartosc.MaxLength = 100;
                this.columnTrE_Atr5_Kod.AllowDBNull = false;
                this.columnTrE_Atr5_Kod.MaxLength = 20;
                this.columnTrE_Atr5_Wartosc.AllowDBNull = false;
                this.columnTrE_Atr5_Wartosc.MaxLength = 100;
                this.columnTrE_Prog.AllowDBNull = false;
                this.columnTrE_UpustTyp.AllowDBNull = false;
                this.columnTrE_Upust.AllowDBNull = false;
                this.columnTrE_UpustKnt.AllowDBNull = false;
                this.columnTrE_UpustKntTyp.AllowDBNull = false;
                this.columnTrE_WartoscZakupuWylicz.AllowDBNull = false;
                this.columnTrE_WartoscZakupu.ReadOnly = true;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraElemRow NewTraElemRow() {
                return ((TraElemRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new TraElemRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(TraElemRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.TraElemRowChanged != null)) {
                    this.TraElemRowChanged(this, new TraElemRowChangeEvent(((TraElemRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.TraElemRowChanging != null)) {
                    this.TraElemRowChanging(this, new TraElemRowChangeEvent(((TraElemRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.TraElemRowDeleted != null)) {
                    this.TraElemRowDeleted(this, new TraElemRowChangeEvent(((TraElemRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.TraElemRowDeleting != null)) {
                    this.TraElemRowDeleting(this, new TraElemRowChangeEvent(((TraElemRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveTraElemRow(TraElemRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                CDNDataSet ds = new CDNDataSet();
                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 = "TraElemDataTable";
                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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class TraVatDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnTrV_TrVID;
            
            private global::System.Data.DataColumn columnTrV_TrNID;
            
            private global::System.Data.DataColumn columnTrV_TrNidFinalna;
            
            private global::System.Data.DataColumn columnTrV_Stawka;
            
            private global::System.Data.DataColumn columnTrV_Flaga;
            
            private global::System.Data.DataColumn columnTrV_Zrodlowa;
            
            private global::System.Data.DataColumn columnTrV_Netto;
            
            private global::System.Data.DataColumn columnTrV_VAT;
            
            private global::System.Data.DataColumn columnTrV_NettoWal;
            
            private global::System.Data.DataColumn columnTrV_VATWal;
            
            private global::System.Data.DataColumn columnTrV_Typ;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraVatDataTable() {
                this.TableName = "TraVat";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal TraVatDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected TraVatDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrV_TrVIDColumn {
                get {
                    return this.columnTrV_TrVID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrV_TrNIDColumn {
                get {
                    return this.columnTrV_TrNID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrV_TrNidFinalnaColumn {
                get {
                    return this.columnTrV_TrNidFinalna;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrV_StawkaColumn {
                get {
                    return this.columnTrV_Stawka;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrV_FlagaColumn {
                get {
                    return this.columnTrV_Flaga;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrV_ZrodlowaColumn {
                get {
                    return this.columnTrV_Zrodlowa;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrV_NettoColumn {
                get {
                    return this.columnTrV_Netto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrV_VATColumn {
                get {
                    return this.columnTrV_VAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrV_NettoWalColumn {
                get {
                    return this.columnTrV_NettoWal;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrV_VATWalColumn {
                get {
                    return this.columnTrV_VATWal;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TrV_TypColumn {
                get {
                    return this.columnTrV_Typ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraVatRow this[int index] {
                get {
                    return ((TraVatRow)(this.Rows[index]));
                }
            }
            
            public event TraVatRowChangeEventHandler TraVatRowChanging;
            
            public event TraVatRowChangeEventHandler TraVatRowChanged;
            
            public event TraVatRowChangeEventHandler TraVatRowDeleting;
            
            public event TraVatRowChangeEventHandler TraVatRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddTraVatRow(TraVatRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraVatRow AddTraVatRow(TraNagRow parentTraNagRowByFK_VaTTraNag, int TrV_TrNidFinalna, decimal TrV_Stawka, short TrV_Flaga, decimal TrV_Zrodlowa, decimal TrV_Netto, decimal TrV_VAT, decimal TrV_NettoWal, decimal TrV_VATWal, byte TrV_Typ) {
                TraVatRow rowTraVatRow = ((TraVatRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        null,
                        TrV_TrNidFinalna,
                        TrV_Stawka,
                        TrV_Flaga,
                        TrV_Zrodlowa,
                        TrV_Netto,
                        TrV_VAT,
                        TrV_NettoWal,
                        TrV_VATWal,
                        TrV_Typ};
                if ((parentTraNagRowByFK_VaTTraNag != null)) {
                    columnValuesArray[1] = parentTraNagRowByFK_VaTTraNag[0];
                }
                rowTraVatRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowTraVatRow);
                return rowTraVatRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraVatRow FindByTrV_TrVID(int TrV_TrVID) {
                return ((TraVatRow)(this.Rows.Find(new object[] {
                            TrV_TrVID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                TraVatDataTable cln = ((TraVatDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new TraVatDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnTrV_TrVID = base.Columns["TrV_TrVID"];
                this.columnTrV_TrNID = base.Columns["TrV_TrNID"];
                this.columnTrV_TrNidFinalna = base.Columns["TrV_TrNidFinalna"];
                this.columnTrV_Stawka = base.Columns["TrV_Stawka"];
                this.columnTrV_Flaga = base.Columns["TrV_Flaga"];
                this.columnTrV_Zrodlowa = base.Columns["TrV_Zrodlowa"];
                this.columnTrV_Netto = base.Columns["TrV_Netto"];
                this.columnTrV_VAT = base.Columns["TrV_VAT"];
                this.columnTrV_NettoWal = base.Columns["TrV_NettoWal"];
                this.columnTrV_VATWal = base.Columns["TrV_VATWal"];
                this.columnTrV_Typ = base.Columns["TrV_Typ"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnTrV_TrVID = new global::System.Data.DataColumn("TrV_TrVID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrV_TrVID);
                this.columnTrV_TrNID = new global::System.Data.DataColumn("TrV_TrNID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrV_TrNID);
                this.columnTrV_TrNidFinalna = new global::System.Data.DataColumn("TrV_TrNidFinalna", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrV_TrNidFinalna);
                this.columnTrV_Stawka = new global::System.Data.DataColumn("TrV_Stawka", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrV_Stawka);
                this.columnTrV_Flaga = new global::System.Data.DataColumn("TrV_Flaga", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrV_Flaga);
                this.columnTrV_Zrodlowa = new global::System.Data.DataColumn("TrV_Zrodlowa", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrV_Zrodlowa);
                this.columnTrV_Netto = new global::System.Data.DataColumn("TrV_Netto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrV_Netto);
                this.columnTrV_VAT = new global::System.Data.DataColumn("TrV_VAT", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrV_VAT);
                this.columnTrV_NettoWal = new global::System.Data.DataColumn("TrV_NettoWal", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrV_NettoWal);
                this.columnTrV_VATWal = new global::System.Data.DataColumn("TrV_VATWal", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrV_VATWal);
                this.columnTrV_Typ = new global::System.Data.DataColumn("TrV_Typ", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTrV_Typ);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnTrV_TrVID}, true));
                this.columnTrV_TrVID.AutoIncrement = true;
                this.columnTrV_TrVID.AllowDBNull = false;
                this.columnTrV_TrVID.ReadOnly = true;
                this.columnTrV_TrVID.Unique = true;
                this.columnTrV_TrNID.AllowDBNull = false;
                this.columnTrV_Stawka.AllowDBNull = false;
                this.columnTrV_Flaga.AllowDBNull = false;
                this.columnTrV_Zrodlowa.AllowDBNull = false;
                this.columnTrV_Netto.AllowDBNull = false;
                this.columnTrV_VAT.AllowDBNull = false;
                this.columnTrV_NettoWal.AllowDBNull = false;
                this.columnTrV_VATWal.AllowDBNull = false;
                this.columnTrV_Typ.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraVatRow NewTraVatRow() {
                return ((TraVatRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new TraVatRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(TraVatRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.TraVatRowChanged != null)) {
                    this.TraVatRowChanged(this, new TraVatRowChangeEvent(((TraVatRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.TraVatRowChanging != null)) {
                    this.TraVatRowChanging(this, new TraVatRowChangeEvent(((TraVatRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.TraVatRowDeleted != null)) {
                    this.TraVatRowDeleted(this, new TraVatRowChangeEvent(((TraVatRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.TraVatRowDeleting != null)) {
                    this.TraVatRowDeleting(this, new TraVatRowChangeEvent(((TraVatRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveTraVatRow(TraVatRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                CDNDataSet ds = new CDNDataSet();
                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 = "TraVatDataTable";
                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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class DokDefinicjeDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnDDf_DDfID;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DokDefinicjeDataTable() {
                this.TableName = "DokDefinicje";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal DokDefinicjeDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected DokDefinicjeDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DDf_DDfIDColumn {
                get {
                    return this.columnDDf_DDfID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DokDefinicjeRow this[int index] {
                get {
                    return ((DokDefinicjeRow)(this.Rows[index]));
                }
            }
            
            public event DokDefinicjeRowChangeEventHandler DokDefinicjeRowChanging;
            
            public event DokDefinicjeRowChangeEventHandler DokDefinicjeRowChanged;
            
            public event DokDefinicjeRowChangeEventHandler DokDefinicjeRowDeleting;
            
            public event DokDefinicjeRowChangeEventHandler DokDefinicjeRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddDokDefinicjeRow(DokDefinicjeRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DokDefinicjeRow AddDokDefinicjeRow() {
                DokDefinicjeRow rowDokDefinicjeRow = ((DokDefinicjeRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null};
                rowDokDefinicjeRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowDokDefinicjeRow);
                return rowDokDefinicjeRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DokDefinicjeRow FindByDDf_DDfID(int DDf_DDfID) {
                return ((DokDefinicjeRow)(this.Rows.Find(new object[] {
                            DDf_DDfID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                DokDefinicjeDataTable cln = ((DokDefinicjeDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new DokDefinicjeDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnDDf_DDfID = base.Columns["DDf_DDfID"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnDDf_DDfID = new global::System.Data.DataColumn("DDf_DDfID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDDf_DDfID);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnDDf_DDfID}, true));
                this.columnDDf_DDfID.AutoIncrement = true;
                this.columnDDf_DDfID.AllowDBNull = false;
                this.columnDDf_DDfID.ReadOnly = true;
                this.columnDDf_DDfID.Unique = true;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DokDefinicjeRow NewDokDefinicjeRow() {
                return ((DokDefinicjeRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new DokDefinicjeRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(DokDefinicjeRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.DokDefinicjeRowChanged != null)) {
                    this.DokDefinicjeRowChanged(this, new DokDefinicjeRowChangeEvent(((DokDefinicjeRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.DokDefinicjeRowChanging != null)) {
                    this.DokDefinicjeRowChanging(this, new DokDefinicjeRowChangeEvent(((DokDefinicjeRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.DokDefinicjeRowDeleted != null)) {
                    this.DokDefinicjeRowDeleted(this, new DokDefinicjeRowChangeEvent(((DokDefinicjeRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.DokDefinicjeRowDeleting != null)) {
                    this.DokDefinicjeRowDeleting(this, new DokDefinicjeRowChangeEvent(((DokDefinicjeRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveDokDefinicjeRow(DokDefinicjeRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                CDNDataSet ds = new CDNDataSet();
                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 = "DokDefinicjeDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class KontrahenciRow : global::System.Data.DataRow {
            
            private KontrahenciDataTable tableKontrahenci;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal KontrahenciRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableKontrahenci = ((KontrahenciDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Knt_KntId {
                get {
                    return ((int)(this[this.tableKontrahenci.Knt_KntIdColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_KntIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short Knt_PodmiotTyp {
                get {
                    try {
                        return ((short)(this[this.tableKontrahenci.Knt_PodmiotTypColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_PodmiotTyp\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_PodmiotTypColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Kod {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_KodColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_KodColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_GLN {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_GLNColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_GLNColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_EAN {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_EANColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_EANColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Grupa {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_GrupaColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_GrupaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Nazwa1 {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_Nazwa1Column]));
                }
                set {
                    this[this.tableKontrahenci.Knt_Nazwa1Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Nazwa2 {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_Nazwa2Column]));
                }
                set {
                    this[this.tableKontrahenci.Knt_Nazwa2Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Nazwa3 {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_Nazwa3Column]));
                }
                set {
                    this[this.tableKontrahenci.Knt_Nazwa3Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Kraj {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_KrajColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_KrajColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Wojewodztwo {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_WojewodztwoColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_WojewodztwoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Powiat {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_PowiatColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_PowiatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Gmina {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_GminaColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_GminaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Ulica {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_UlicaColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_UlicaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_NrDomu {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_NrDomuColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_NrDomuColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_NrLokalu {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_NrLokaluColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_NrLokaluColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Miasto {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_MiastoColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_MiastoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_KodPocztowy {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_KodPocztowyColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_KodPocztowyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Poczta {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_PocztaColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_PocztaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Adres2 {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_Adres2Column]));
                }
                set {
                    this[this.tableKontrahenci.Knt_Adres2Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_NipKraj {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_NipKrajColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_NipKrajColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_NipE {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_NipEColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_NipEColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Nip {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_NipColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_NipColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Regon {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_RegonColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_RegonColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Pesel {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_PeselColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_PeselColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Telefon1 {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_Telefon1Column]));
                }
                set {
                    this[this.tableKontrahenci.Knt_Telefon1Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Telefon2 {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_Telefon2Column]));
                }
                set {
                    this[this.tableKontrahenci.Knt_Telefon2Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Fax {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_FaxColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_FaxColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Email {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_EmailColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_EmailColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_URL {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_URLColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_URLColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_KrajISO {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_KrajISOColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_KrajISOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Zezwolenie {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_ZezwolenieColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_ZezwolenieColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_KodTransakcji {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_KodTransakcjiColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_KodTransakcjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Knt_BNaID {
                get {
                    try {
                        return ((int)(this[this.tableKontrahenci.Knt_BNaIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_BNaID\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_BNaIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_RachunekNr {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_RachunekNrColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_RachunekNrColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short Knt_IBAN {
                get {
                    return ((short)(this[this.tableKontrahenci.Knt_IBANColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_IBANColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_RachunekNr0 {
                get {
                    try {
                        return ((string)(this[this.tableKontrahenci.Knt_RachunekNr0Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_RachunekNr0\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_RachunekNr0Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsTytul {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsTytulColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsTytulColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_OsPlec {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_OsPlecColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsPlecColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsNazwisko {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsNazwiskoColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsNazwiskoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsKraj {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsKrajColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsKrajColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsWojewodztwo {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsWojewodztwoColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsWojewodztwoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsPowiat {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsPowiatColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsPowiatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsGmina {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsGminaColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsGminaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsUlica {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsUlicaColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsUlicaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsNrDomu {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsNrDomuColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsNrDomuColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsNrLokalu {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsNrLokaluColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsNrLokaluColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsMiasto {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsMiastoColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsMiastoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsKodPocztowy {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsKodPocztowyColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsKodPocztowyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsPoczta {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsPocztaColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsPocztaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsAdres2 {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsAdres2Column]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsAdres2Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsTelefon {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsTelefonColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsTelefonColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsGSM {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsGSMColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsGSMColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_OsEmail {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OsEmailColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OsEmailColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_Informacje {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_InformacjeColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_InformacjeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal Knt_Upust {
                get {
                    return ((decimal)(this[this.tableKontrahenci.Knt_UpustColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_UpustColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_LimitFlag {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_LimitFlagColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_LimitFlagColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal Knt_LimitKredytu {
                get {
                    return ((decimal)(this[this.tableKontrahenci.Knt_LimitKredytuColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_LimitKredytuColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short Knt_Ceny {
                get {
                    return ((short)(this[this.tableKontrahenci.Knt_CenyColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_CenyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Knt_FplID {
                get {
                    try {
                        return ((int)(this[this.tableKontrahenci.Knt_FplIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_FplID\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_FplIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short Knt_MaxZwloka {
                get {
                    return ((short)(this[this.tableKontrahenci.Knt_MaxZwlokaColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_MaxZwlokaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_TerminPlat {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_TerminPlatColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_TerminPlatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short Knt_Termin {
                get {
                    return ((short)(this[this.tableKontrahenci.Knt_TerminColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_TerminColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_KontoOdb {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_KontoOdbColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_KontoOdbColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_KontoDost {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_KontoDostColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_KontoDostColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Knt_KatID {
                get {
                    try {
                        return ((int)(this[this.tableKontrahenci.Knt_KatIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_KatID\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_KatIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_BlokadaDok {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_BlokadaDokColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_BlokadaDokColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_LimitKredytuWal {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_LimitKredytuWalColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_LimitKredytuWalColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal Knt_LimitKredytuWykorzystany {
                get {
                    return ((decimal)(this[this.tableKontrahenci.Knt_LimitKredytuWykorzystanyColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_LimitKredytuWykorzystanyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_NieRozliczac {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_NieRozliczacColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_NieRozliczacColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_PodatekVat {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_PodatekVatColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_PodatekVatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_Finalny {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_FinalnyColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_FinalnyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_Export {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_ExportColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_ExportColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_Rodzaj {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_RodzajColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_RodzajColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_Rodzaj_Dostawca {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_Rodzaj_DostawcaColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_Rodzaj_DostawcaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_Rodzaj_Odbiorca {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_Rodzaj_OdbiorcaColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_Rodzaj_OdbiorcaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_Rodzaj_Konkurencja {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_Rodzaj_KonkurencjaColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_Rodzaj_KonkurencjaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_Rodzaj_Partner {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_Rodzaj_PartnerColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_Rodzaj_PartnerColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_Rodzaj_Potencjalny {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_Rodzaj_PotencjalnyColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_Rodzaj_PotencjalnyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_Medialny {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_MedialnyColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_MedialnyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_MalyPod {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_MalyPodColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_MalyPodColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_Rolnik {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_RolnikColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_RolnikColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_Nieaktywny {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_NieaktywnyColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_NieaktywnyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_Chroniony {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_ChronionyColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_ChronionyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_Opis {
                get {
                    return ((string)(this[this.tableKontrahenci.Knt_OpisColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_OpisColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Knt_OdbiorcaId {
                get {
                    try {
                        return ((int)(this[this.tableKontrahenci.Knt_OdbiorcaIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_OdbiorcaId\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_OdbiorcaIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short Knt_OpiekunTyp {
                get {
                    try {
                        return ((short)(this[this.tableKontrahenci.Knt_OpiekunTypColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_OpiekunTyp\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_OpiekunTypColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Knt_OpiekunId {
                get {
                    try {
                        return ((int)(this[this.tableKontrahenci.Knt_OpiekunIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_OpiekunId\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_OpiekunIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short Knt_TerminZwrotuKaucji {
                get {
                    return ((short)(this[this.tableKontrahenci.Knt_TerminZwrotuKaucjiColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_TerminZwrotuKaucjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_NaliczajPlatnosc {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_NaliczajPlatnoscColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_NaliczajPlatnoscColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_ZakazDokumentowHaMag {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_ZakazDokumentowHaMagColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_ZakazDokumentowHaMagColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime Knt_TS_Export {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableKontrahenci.Knt_TS_ExportColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_TS_Export\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_TS_ExportColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_ImportAppId {
                get {
                    try {
                        return ((string)(this[this.tableKontrahenci.Knt_ImportAppIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_ImportAppId\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_ImportAppIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Knt_ImportRowId {
                get {
                    try {
                        return ((string)(this[this.tableKontrahenci.Knt_ImportRowIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_ImportRowId\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_ImportRowIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Knt_OpeZalID {
                get {
                    try {
                        return ((int)(this[this.tableKontrahenci.Knt_OpeZalIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_OpeZalID\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_OpeZalIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Knt_StaZalId {
                get {
                    try {
                        return ((int)(this[this.tableKontrahenci.Knt_StaZalIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_StaZalId\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_StaZalIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime Knt_TS_Zal {
                get {
                    return ((global::System.DateTime)(this[this.tableKontrahenci.Knt_TS_ZalColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_TS_ZalColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Knt_OpeModID {
                get {
                    try {
                        return ((int)(this[this.tableKontrahenci.Knt_OpeModIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_OpeModID\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_OpeModIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Knt_StaModId {
                get {
                    try {
                        return ((int)(this[this.tableKontrahenci.Knt_StaModIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_StaModId\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_StaModIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime Knt_TS_Mod {
                get {
                    return ((global::System.DateTime)(this[this.tableKontrahenci.Knt_TS_ModColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_TS_ModColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short Knt_GIDTyp {
                get {
                    try {
                        return ((short)(this[this.tableKontrahenci.Knt_GIDTypColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_GIDTyp\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_GIDTypColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Knt_GIDFirma {
                get {
                    try {
                        return ((int)(this[this.tableKontrahenci.Knt_GIDFirmaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_GIDFirma\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_GIDFirmaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Knt_GIDNumer {
                get {
                    try {
                        return ((int)(this[this.tableKontrahenci.Knt_GIDNumerColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_GIDNumer\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_GIDNumerColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short Knt_GIDLp {
                get {
                    try {
                        return ((short)(this[this.tableKontrahenci.Knt_GIDLpColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_GIDLp\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_GIDLpColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte Knt_LimitPrzeterKredytFlag {
                get {
                    return ((byte)(this[this.tableKontrahenci.Knt_LimitPrzeterKredytFlagColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_LimitPrzeterKredytFlagColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal Knt_LimitPrzeterKredytWartosc {
                get {
                    return ((decimal)(this[this.tableKontrahenci.Knt_LimitPrzeterKredytWartoscColumn]));
                }
                set {
                    this[this.tableKontrahenci.Knt_LimitPrzeterKredytWartoscColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Knt_BazaBR {
                get {
                    try {
                        return ((int)(this[this.tableKontrahenci.Knt_BazaBRColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_BazaBR\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_BazaBRColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short Knt_ZgodaNaEFaktury {
                get {
                    try {
                        return ((short)(this[this.tableKontrahenci.Knt_ZgodaNaEFakturyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Knt_ZgodaNaEFaktury\' in table \'Kontrahenci\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKontrahenci.Knt_ZgodaNaEFakturyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KontrahenciRow KontrahenciRowParent {
                get {
                    return ((KontrahenciRow)(this.GetParentRow(this.Table.ParentRelations["FK_KntOdbiorca"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["FK_KntOdbiorca"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_PodmiotTypNull() {
                return this.IsNull(this.tableKontrahenci.Knt_PodmiotTypColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_PodmiotTypNull() {
                this[this.tableKontrahenci.Knt_PodmiotTypColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_BNaIDNull() {
                return this.IsNull(this.tableKontrahenci.Knt_BNaIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_BNaIDNull() {
                this[this.tableKontrahenci.Knt_BNaIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_RachunekNr0Null() {
                return this.IsNull(this.tableKontrahenci.Knt_RachunekNr0Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_RachunekNr0Null() {
                this[this.tableKontrahenci.Knt_RachunekNr0Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_FplIDNull() {
                return this.IsNull(this.tableKontrahenci.Knt_FplIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_FplIDNull() {
                this[this.tableKontrahenci.Knt_FplIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_KatIDNull() {
                return this.IsNull(this.tableKontrahenci.Knt_KatIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_KatIDNull() {
                this[this.tableKontrahenci.Knt_KatIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_OdbiorcaIdNull() {
                return this.IsNull(this.tableKontrahenci.Knt_OdbiorcaIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_OdbiorcaIdNull() {
                this[this.tableKontrahenci.Knt_OdbiorcaIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_OpiekunTypNull() {
                return this.IsNull(this.tableKontrahenci.Knt_OpiekunTypColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_OpiekunTypNull() {
                this[this.tableKontrahenci.Knt_OpiekunTypColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_OpiekunIdNull() {
                return this.IsNull(this.tableKontrahenci.Knt_OpiekunIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_OpiekunIdNull() {
                this[this.tableKontrahenci.Knt_OpiekunIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_TS_ExportNull() {
                return this.IsNull(this.tableKontrahenci.Knt_TS_ExportColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_TS_ExportNull() {
                this[this.tableKontrahenci.Knt_TS_ExportColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_ImportAppIdNull() {
                return this.IsNull(this.tableKontrahenci.Knt_ImportAppIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_ImportAppIdNull() {
                this[this.tableKontrahenci.Knt_ImportAppIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_ImportRowIdNull() {
                return this.IsNull(this.tableKontrahenci.Knt_ImportRowIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_ImportRowIdNull() {
                this[this.tableKontrahenci.Knt_ImportRowIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_OpeZalIDNull() {
                return this.IsNull(this.tableKontrahenci.Knt_OpeZalIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_OpeZalIDNull() {
                this[this.tableKontrahenci.Knt_OpeZalIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_StaZalIdNull() {
                return this.IsNull(this.tableKontrahenci.Knt_StaZalIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_StaZalIdNull() {
                this[this.tableKontrahenci.Knt_StaZalIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_OpeModIDNull() {
                return this.IsNull(this.tableKontrahenci.Knt_OpeModIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_OpeModIDNull() {
                this[this.tableKontrahenci.Knt_OpeModIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_StaModIdNull() {
                return this.IsNull(this.tableKontrahenci.Knt_StaModIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_StaModIdNull() {
                this[this.tableKontrahenci.Knt_StaModIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_GIDTypNull() {
                return this.IsNull(this.tableKontrahenci.Knt_GIDTypColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_GIDTypNull() {
                this[this.tableKontrahenci.Knt_GIDTypColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_GIDFirmaNull() {
                return this.IsNull(this.tableKontrahenci.Knt_GIDFirmaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_GIDFirmaNull() {
                this[this.tableKontrahenci.Knt_GIDFirmaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_GIDNumerNull() {
                return this.IsNull(this.tableKontrahenci.Knt_GIDNumerColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_GIDNumerNull() {
                this[this.tableKontrahenci.Knt_GIDNumerColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_GIDLpNull() {
                return this.IsNull(this.tableKontrahenci.Knt_GIDLpColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_GIDLpNull() {
                this[this.tableKontrahenci.Knt_GIDLpColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_BazaBRNull() {
                return this.IsNull(this.tableKontrahenci.Knt_BazaBRColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_BazaBRNull() {
                this[this.tableKontrahenci.Knt_BazaBRColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKnt_ZgodaNaEFakturyNull() {
                return this.IsNull(this.tableKontrahenci.Knt_ZgodaNaEFakturyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKnt_ZgodaNaEFakturyNull() {
                this[this.tableKontrahenci.Knt_ZgodaNaEFakturyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraNagRow[] GetTraNagRows() {
                if ((this.Table.ChildRelations["Kontrahenci_TraNag"] == null)) {
                    return new TraNagRow[0];
                }
                else {
                    return ((TraNagRow[])(base.GetChildRows(this.Table.ChildRelations["Kontrahenci_TraNag"])));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KontrahenciRow[] GetKontrahenciRows() {
                if ((this.Table.ChildRelations["FK_KntOdbiorca"] == null)) {
                    return new KontrahenciRow[0];
                }
                else {
                    return ((KontrahenciRow[])(base.GetChildRows(this.Table.ChildRelations["FK_KntOdbiorca"])));
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class TraNagRow : global::System.Data.DataRow {
            
            private TraNagDataTable tableTraNag;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal TraNagRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableTraNag = ((TraNagDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_TrNID {
                get {
                    return ((int)(this[this.tableTraNag.TrN_TrNIDColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_TrNIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TrN_TerminZwrotuKaucji {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableTraNag.TrN_TerminZwrotuKaucjiColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_TerminZwrotuKaucji\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_TerminZwrotuKaucjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_OFFPrawoDoFAPA {
                get {
                    try {
                        return ((byte)(this[this.tableTraNag.TrN_OFFPrawoDoFAPAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_OFFPrawoDoFAPA\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_OFFPrawoDoFAPAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_OFFPrawoDoAnulowania {
                get {
                    try {
                        return ((byte)(this[this.tableTraNag.TrN_OFFPrawoDoAnulowaniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_OFFPrawoDoAnulowania\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_OFFPrawoDoAnulowaniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_RelTrNId {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_RelTrNIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_RelTrNId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_RelTrNIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_FVMarza {
                get {
                    try {
                        return ((byte)(this[this.tableTraNag.TrN_FVMarzaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_FVMarza\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_FVMarzaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_DDfId {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_DDfIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_DDfId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_DDfIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_TypDokumentu {
                get {
                    return ((int)(this[this.tableTraNag.TrN_TypDokumentuColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_TypDokumentuColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_ZwrId {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_ZwrIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_ZwrId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_ZwrIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_FaId {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_FaIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_FaId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_FaIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_NumerNr {
                get {
                    return ((int)(this[this.tableTraNag.TrN_NumerNrColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_NumerNrColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_NumerString {
                get {
                    return ((string)(this[this.tableTraNag.TrN_NumerStringColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_NumerStringColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_NumerPelny {
                get {
                    try {
                        return ((string)(this[this.tableTraNag.TrN_NumerPelnyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_NumerPelny\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_NumerPelnyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short TrN_Bufor {
                get {
                    return ((short)(this[this.tableTraNag.TrN_BuforColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_BuforColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_Anulowany {
                get {
                    return ((int)(this[this.tableTraNag.TrN_AnulowanyColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_AnulowanyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_VaNId {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_VaNIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_VaNId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_VaNIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TrN_DataDok {
                get {
                    return ((global::System.DateTime)(this[this.tableTraNag.TrN_DataDokColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_DataDokColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TrN_DataWys {
                get {
                    return ((global::System.DateTime)(this[this.tableTraNag.TrN_DataWysColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_DataWysColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TrN_DataOpe {
                get {
                    return ((global::System.DateTime)(this[this.tableTraNag.TrN_DataOpeColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_DataOpeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_NumerObcy {
                get {
                    return ((string)(this[this.tableTraNag.TrN_NumerObcyColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_NumerObcyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_NumerPelnyPrw {
                get {
                    return ((string)(this[this.tableTraNag.TrN_NumerPelnyPrwColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_NumerPelnyPrwColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_TaxFreePotwierdzony {
                get {
                    return ((byte)(this[this.tableTraNag.TrN_TaxFreePotwierdzonyColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_TaxFreePotwierdzonyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_Korekta {
                get {
                    return ((byte)(this[this.tableTraNag.TrN_KorektaColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_KorektaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_Fiskalna {
                get {
                    return ((byte)(this[this.tableTraNag.TrN_FiskalnaColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_FiskalnaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_FiskalnaErr {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_FiskalnaErrColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_FiskalnaErr\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_FiskalnaErrColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrN_RabatPromocyjny {
                get {
                    try {
                        return ((decimal)(this[this.tableTraNag.TrN_RabatPromocyjnyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_RabatPromocyjny\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_RabatPromocyjnyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrN_RabatKorekta {
                get {
                    try {
                        return ((decimal)(this[this.tableTraNag.TrN_RabatKorektaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_RabatKorekta\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_RabatKorektaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_Detal {
                get {
                    return ((byte)(this[this.tableTraNag.TrN_DetalColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_DetalColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_Rodzaj {
                get {
                    return ((int)(this[this.tableTraNag.TrN_RodzajColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_RodzajColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short TrN_PodmiotTyp {
                get {
                    try {
                        return ((short)(this[this.tableTraNag.TrN_PodmiotTypColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_PodmiotTyp\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_PodmiotTypColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_PodID {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_PodIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_PodID\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_PodIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodNazwa1 {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodNazwa1Column]));
                }
                set {
                    this[this.tableTraNag.TrN_PodNazwa1Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodNazwa2 {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodNazwa2Column]));
                }
                set {
                    this[this.tableTraNag.TrN_PodNazwa2Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodNazwa3 {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodNazwa3Column]));
                }
                set {
                    this[this.tableTraNag.TrN_PodNazwa3Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodKraj {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodKrajColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PodKrajColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodWojewodztwo {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodWojewodztwoColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PodWojewodztwoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodPowiat {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodPowiatColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PodPowiatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodGmina {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodGminaColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PodGminaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodUlica {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodUlicaColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PodUlicaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodNrDomu {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodNrDomuColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PodNrDomuColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodNrLokalu {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodNrLokaluColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PodNrLokaluColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodMiasto {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodMiastoColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PodMiastoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodKodPocztowy {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodKodPocztowyColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PodKodPocztowyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodPoczta {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodPocztaColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PodPocztaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodAdres2 {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodAdres2Column]));
                }
                set {
                    this[this.tableTraNag.TrN_PodAdres2Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodNipKraj {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodNipKrajColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PodNipKrajColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodNipE {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodNipEColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PodNipEColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_PodmiotGLN {
                get {
                    return ((string)(this[this.tableTraNag.TrN_PodmiotGLNColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PodmiotGLNColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_Finalny {
                get {
                    return ((byte)(this[this.tableTraNag.TrN_FinalnyColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_FinalnyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_Export {
                get {
                    return ((byte)(this[this.tableTraNag.TrN_ExportColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_ExportColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short TrN_OdbiorcaTyp {
                get {
                    try {
                        return ((short)(this[this.tableTraNag.TrN_OdbiorcaTypColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_OdbiorcaTyp\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_OdbiorcaTypColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_OdbID {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_OdbIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_OdbID\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_OdbIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbNazwa1 {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbNazwa1Column]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbNazwa1Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbNazwa2 {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbNazwa2Column]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbNazwa2Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbNazwa3 {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbNazwa3Column]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbNazwa3Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbKraj {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbKrajColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbKrajColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbWojewodztwo {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbWojewodztwoColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbWojewodztwoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbPowiat {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbPowiatColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbPowiatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbGmina {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbGminaColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbGminaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbUlica {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbUlicaColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbUlicaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbNrDomu {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbNrDomuColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbNrDomuColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbNrLokalu {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbNrLokaluColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbNrLokaluColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbMiasto {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbMiastoColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbMiastoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbKodPocztowy {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbKodPocztowyColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbKodPocztowyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbPoczta {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbPocztaColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbPocztaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbAdres2 {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbAdres2Column]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbAdres2Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbNipKraj {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbNipKrajColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbNipKrajColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbNipE {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbNipEColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbNipEColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbiorcaGLN {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdbiorcaGLNColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OdbiorcaGLNColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short TrN_OdbiorcaDocTyp {
                get {
                    try {
                        return ((short)(this[this.tableTraNag.TrN_OdbiorcaDocTypColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_OdbiorcaDocTyp\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_OdbiorcaDocTypColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_OdbDocID {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_OdbDocIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_OdbDocID\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_OdbDocIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_KatID {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_KatIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_KatID\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_KatIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_Kategoria {
                get {
                    return ((string)(this[this.tableTraNag.TrN_KategoriaColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_KategoriaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_FPlId {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_FPlIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_FPlId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_FPlIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TrN_Termin {
                get {
                    return ((global::System.DateTime)(this[this.tableTraNag.TrN_TerminColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_TerminColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrN_RazemNetto {
                get {
                    return ((decimal)(this[this.tableTraNag.TrN_RazemNettoColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_RazemNettoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrN_RazemVAT {
                get {
                    return ((decimal)(this[this.tableTraNag.TrN_RazemVATColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_RazemVATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrN_RazemBrutto {
                get {
                    return ((decimal)(this[this.tableTraNag.TrN_RazemBruttoColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_RazemBruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrN_RazemNettoWal {
                get {
                    return ((decimal)(this[this.tableTraNag.TrN_RazemNettoWalColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_RazemNettoWalColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrN_RazemVATWal {
                get {
                    return ((decimal)(this[this.tableTraNag.TrN_RazemVATWalColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_RazemVATWalColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrN_RazemBruttoWal {
                get {
                    return ((decimal)(this[this.tableTraNag.TrN_RazemBruttoWalColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_RazemBruttoWalColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_Waluta {
                get {
                    return ((string)(this[this.tableTraNag.TrN_WalutaColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_WalutaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_KursNumer {
                get {
                    return ((int)(this[this.tableTraNag.TrN_KursNumerColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_KursNumerColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrN_KursL {
                get {
                    return ((decimal)(this[this.tableTraNag.TrN_KursLColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_KursLColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrN_KursM {
                get {
                    return ((decimal)(this[this.tableTraNag.TrN_KursMColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_KursMColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_PlatElemWalSys {
                get {
                    return ((byte)(this[this.tableTraNag.TrN_PlatElemWalSysColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PlatElemWalSysColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_PlatKaucje {
                get {
                    return ((byte)(this[this.tableTraNag.TrN_PlatKaucjeColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_PlatKaucjeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short TrN_PodmiotZalTyp {
                get {
                    try {
                        return ((short)(this[this.tableTraNag.TrN_PodmiotZalTypColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_PodmiotZalTyp\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_PodmiotZalTypColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_PodZalId {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_PodZalIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_PodZalId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_PodZalIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short TrN_BlokadaPlatnosci {
                get {
                    return ((short)(this[this.tableTraNag.TrN_BlokadaPlatnosciColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_BlokadaPlatnosciColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_MagZrdId {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_MagZrdIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_MagZrdId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_MagZrdIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_MagDocId {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_MagDocIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_MagDocId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_MagDocIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_TypNB {
                get {
                    return ((byte)(this[this.tableTraNag.TrN_TypNBColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_TypNBColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrN_Rabat {
                get {
                    return ((decimal)(this[this.tableTraNag.TrN_RabatColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_RabatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_Odebral {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OdebralColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OdebralColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_Opis {
                get {
                    return ((string)(this[this.tableTraNag.TrN_OpisColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_OpisColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_ZwroconoCalaIlosc {
                get {
                    try {
                        return ((byte)(this[this.tableTraNag.TrN_ZwroconoCalaIloscColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_ZwroconoCalaIlosc\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_ZwroconoCalaIloscColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_NotaKorPrzed {
                get {
                    return ((string)(this[this.tableTraNag.TrN_NotaKorPrzedColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_NotaKorPrzedColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_NotaKorPo {
                get {
                    return ((string)(this[this.tableTraNag.TrN_NotaKorPoColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_NotaKorPoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_TrSTyp {
                get {
                    return ((byte)(this[this.tableTraNag.TrN_TrSTypColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_TrSTypColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_DekId {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_DekIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_DekId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_DekIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TrN_TS_Export {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableTraNag.TrN_TS_ExportColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_TS_Export\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_TS_ExportColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_ImportAppId {
                get {
                    try {
                        return ((string)(this[this.tableTraNag.TrN_ImportAppIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_ImportAppId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_ImportAppIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_ImportRowId {
                get {
                    try {
                        return ((string)(this[this.tableTraNag.TrN_ImportRowIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_ImportRowId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_ImportRowIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_OpeZalID {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_OpeZalIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_OpeZalID\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_OpeZalIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_StaZalId {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_StaZalIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_StaZalId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_StaZalIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TrN_TS_Zal {
                get {
                    return ((global::System.DateTime)(this[this.tableTraNag.TrN_TS_ZalColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_TS_ZalColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_OpeModID {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_OpeModIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_OpeModID\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_OpeModIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_StaModId {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_StaModIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_StaModId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_StaModIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TrN_TS_Mod {
                get {
                    return ((global::System.DateTime)(this[this.tableTraNag.TrN_TS_ModColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_TS_ModColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short TrN_GIDTyp {
                get {
                    try {
                        return ((short)(this[this.tableTraNag.TrN_GIDTypColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_GIDTyp\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_GIDTypColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_GIDFirma {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_GIDFirmaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_GIDFirma\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_GIDFirmaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_GIDNumer {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_GIDNumerColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_GIDNumer\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_GIDNumerColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short TrN_GIDLp {
                get {
                    try {
                        return ((short)(this[this.tableTraNag.TrN_GIDLpColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_GIDLp\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_GIDLpColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_Centrala {
                get {
                    return ((byte)(this[this.tableTraNag.TrN_CentralaColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_CentralaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_KodTransakcji {
                get {
                    return ((string)(this[this.tableTraNag.TrN_KodTransakcjiColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_KodTransakcjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrN_IsNId {
                get {
                    try {
                        return ((int)(this[this.tableTraNag.TrN_IsNIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_IsNId\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_IsNIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TrN_DataTransportu {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableTraNag.TrN_DataTransportuColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_DataTransportu\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_DataTransportuColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_KodKraju {
                get {
                    return ((string)(this[this.tableTraNag.TrN_KodKrajuColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_KodKrajuColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_VatDlaDokWal {
                get {
                    return ((byte)(this[this.tableTraNag.TrN_VatDlaDokWalColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_VatDlaDokWalColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrN_OFFExportMag {
                get {
                    try {
                        return ((byte)(this[this.tableTraNag.TrN_OFFExportMagColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_OFFExportMag\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_OFFExportMagColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TrN_DataKur {
                get {
                    return ((global::System.DateTime)(this[this.tableTraNag.TrN_DataKurColumn]));
                }
                set {
                    this[this.tableTraNag.TrN_DataKurColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_StatusString {
                get {
                    try {
                        return ((string)(this[this.tableTraNag.TrN_StatusStringColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_StatusString\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_StatusStringColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbEmail {
                get {
                    try {
                        return ((string)(this[this.tableTraNag.TrN_OdbEmailColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_OdbEmail\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_OdbEmailColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrN_OdbTelefon {
                get {
                    try {
                        return ((string)(this[this.tableTraNag.TrN_OdbTelefonColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_OdbTelefon\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_OdbTelefonColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrN_WartoscZakupu {
                get {
                    try {
                        return ((decimal)(this[this.tableTraNag.TrN_WartoscZakupuColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrN_WartoscZakupu\' in table \'TraNag\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraNag.TrN_WartoscZakupuColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KontrahenciRow KontrahenciRow {
                get {
                    return ((KontrahenciRow)(this.GetParentRow(this.Table.ParentRelations["Kontrahenci_TraNag"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["Kontrahenci_TraNag"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DokDefinicjeRow DokDefinicjeRow {
                get {
                    return ((DokDefinicjeRow)(this.GetParentRow(this.Table.ParentRelations["FK_TrNDokDef"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["FK_TrNDokDef"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_TerminZwrotuKaucjiNull() {
                return this.IsNull(this.tableTraNag.TrN_TerminZwrotuKaucjiColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_TerminZwrotuKaucjiNull() {
                this[this.tableTraNag.TrN_TerminZwrotuKaucjiColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_OFFPrawoDoFAPANull() {
                return this.IsNull(this.tableTraNag.TrN_OFFPrawoDoFAPAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_OFFPrawoDoFAPANull() {
                this[this.tableTraNag.TrN_OFFPrawoDoFAPAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_OFFPrawoDoAnulowaniaNull() {
                return this.IsNull(this.tableTraNag.TrN_OFFPrawoDoAnulowaniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_OFFPrawoDoAnulowaniaNull() {
                this[this.tableTraNag.TrN_OFFPrawoDoAnulowaniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_RelTrNIdNull() {
                return this.IsNull(this.tableTraNag.TrN_RelTrNIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_RelTrNIdNull() {
                this[this.tableTraNag.TrN_RelTrNIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_FVMarzaNull() {
                return this.IsNull(this.tableTraNag.TrN_FVMarzaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_FVMarzaNull() {
                this[this.tableTraNag.TrN_FVMarzaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_DDfIdNull() {
                return this.IsNull(this.tableTraNag.TrN_DDfIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_DDfIdNull() {
                this[this.tableTraNag.TrN_DDfIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_ZwrIdNull() {
                return this.IsNull(this.tableTraNag.TrN_ZwrIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_ZwrIdNull() {
                this[this.tableTraNag.TrN_ZwrIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_FaIdNull() {
                return this.IsNull(this.tableTraNag.TrN_FaIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_FaIdNull() {
                this[this.tableTraNag.TrN_FaIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_NumerPelnyNull() {
                return this.IsNull(this.tableTraNag.TrN_NumerPelnyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_NumerPelnyNull() {
                this[this.tableTraNag.TrN_NumerPelnyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_VaNIdNull() {
                return this.IsNull(this.tableTraNag.TrN_VaNIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_VaNIdNull() {
                this[this.tableTraNag.TrN_VaNIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_FiskalnaErrNull() {
                return this.IsNull(this.tableTraNag.TrN_FiskalnaErrColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_FiskalnaErrNull() {
                this[this.tableTraNag.TrN_FiskalnaErrColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_RabatPromocyjnyNull() {
                return this.IsNull(this.tableTraNag.TrN_RabatPromocyjnyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_RabatPromocyjnyNull() {
                this[this.tableTraNag.TrN_RabatPromocyjnyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_RabatKorektaNull() {
                return this.IsNull(this.tableTraNag.TrN_RabatKorektaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_RabatKorektaNull() {
                this[this.tableTraNag.TrN_RabatKorektaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_PodmiotTypNull() {
                return this.IsNull(this.tableTraNag.TrN_PodmiotTypColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_PodmiotTypNull() {
                this[this.tableTraNag.TrN_PodmiotTypColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_PodIDNull() {
                return this.IsNull(this.tableTraNag.TrN_PodIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_PodIDNull() {
                this[this.tableTraNag.TrN_PodIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_OdbiorcaTypNull() {
                return this.IsNull(this.tableTraNag.TrN_OdbiorcaTypColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_OdbiorcaTypNull() {
                this[this.tableTraNag.TrN_OdbiorcaTypColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_OdbIDNull() {
                return this.IsNull(this.tableTraNag.TrN_OdbIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_OdbIDNull() {
                this[this.tableTraNag.TrN_OdbIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_OdbiorcaDocTypNull() {
                return this.IsNull(this.tableTraNag.TrN_OdbiorcaDocTypColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_OdbiorcaDocTypNull() {
                this[this.tableTraNag.TrN_OdbiorcaDocTypColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_OdbDocIDNull() {
                return this.IsNull(this.tableTraNag.TrN_OdbDocIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_OdbDocIDNull() {
                this[this.tableTraNag.TrN_OdbDocIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_KatIDNull() {
                return this.IsNull(this.tableTraNag.TrN_KatIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_KatIDNull() {
                this[this.tableTraNag.TrN_KatIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_FPlIdNull() {
                return this.IsNull(this.tableTraNag.TrN_FPlIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_FPlIdNull() {
                this[this.tableTraNag.TrN_FPlIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_PodmiotZalTypNull() {
                return this.IsNull(this.tableTraNag.TrN_PodmiotZalTypColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_PodmiotZalTypNull() {
                this[this.tableTraNag.TrN_PodmiotZalTypColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_PodZalIdNull() {
                return this.IsNull(this.tableTraNag.TrN_PodZalIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_PodZalIdNull() {
                this[this.tableTraNag.TrN_PodZalIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_MagZrdIdNull() {
                return this.IsNull(this.tableTraNag.TrN_MagZrdIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_MagZrdIdNull() {
                this[this.tableTraNag.TrN_MagZrdIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_MagDocIdNull() {
                return this.IsNull(this.tableTraNag.TrN_MagDocIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_MagDocIdNull() {
                this[this.tableTraNag.TrN_MagDocIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_ZwroconoCalaIloscNull() {
                return this.IsNull(this.tableTraNag.TrN_ZwroconoCalaIloscColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_ZwroconoCalaIloscNull() {
                this[this.tableTraNag.TrN_ZwroconoCalaIloscColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_DekIdNull() {
                return this.IsNull(this.tableTraNag.TrN_DekIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_DekIdNull() {
                this[this.tableTraNag.TrN_DekIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_TS_ExportNull() {
                return this.IsNull(this.tableTraNag.TrN_TS_ExportColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_TS_ExportNull() {
                this[this.tableTraNag.TrN_TS_ExportColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_ImportAppIdNull() {
                return this.IsNull(this.tableTraNag.TrN_ImportAppIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_ImportAppIdNull() {
                this[this.tableTraNag.TrN_ImportAppIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_ImportRowIdNull() {
                return this.IsNull(this.tableTraNag.TrN_ImportRowIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_ImportRowIdNull() {
                this[this.tableTraNag.TrN_ImportRowIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_OpeZalIDNull() {
                return this.IsNull(this.tableTraNag.TrN_OpeZalIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_OpeZalIDNull() {
                this[this.tableTraNag.TrN_OpeZalIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_StaZalIdNull() {
                return this.IsNull(this.tableTraNag.TrN_StaZalIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_StaZalIdNull() {
                this[this.tableTraNag.TrN_StaZalIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_OpeModIDNull() {
                return this.IsNull(this.tableTraNag.TrN_OpeModIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_OpeModIDNull() {
                this[this.tableTraNag.TrN_OpeModIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_StaModIdNull() {
                return this.IsNull(this.tableTraNag.TrN_StaModIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_StaModIdNull() {
                this[this.tableTraNag.TrN_StaModIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_GIDTypNull() {
                return this.IsNull(this.tableTraNag.TrN_GIDTypColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_GIDTypNull() {
                this[this.tableTraNag.TrN_GIDTypColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_GIDFirmaNull() {
                return this.IsNull(this.tableTraNag.TrN_GIDFirmaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_GIDFirmaNull() {
                this[this.tableTraNag.TrN_GIDFirmaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_GIDNumerNull() {
                return this.IsNull(this.tableTraNag.TrN_GIDNumerColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_GIDNumerNull() {
                this[this.tableTraNag.TrN_GIDNumerColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_GIDLpNull() {
                return this.IsNull(this.tableTraNag.TrN_GIDLpColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_GIDLpNull() {
                this[this.tableTraNag.TrN_GIDLpColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_IsNIdNull() {
                return this.IsNull(this.tableTraNag.TrN_IsNIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_IsNIdNull() {
                this[this.tableTraNag.TrN_IsNIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_DataTransportuNull() {
                return this.IsNull(this.tableTraNag.TrN_DataTransportuColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_DataTransportuNull() {
                this[this.tableTraNag.TrN_DataTransportuColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_OFFExportMagNull() {
                return this.IsNull(this.tableTraNag.TrN_OFFExportMagColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_OFFExportMagNull() {
                this[this.tableTraNag.TrN_OFFExportMagColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_StatusStringNull() {
                return this.IsNull(this.tableTraNag.TrN_StatusStringColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_StatusStringNull() {
                this[this.tableTraNag.TrN_StatusStringColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_OdbEmailNull() {
                return this.IsNull(this.tableTraNag.TrN_OdbEmailColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_OdbEmailNull() {
                this[this.tableTraNag.TrN_OdbEmailColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_OdbTelefonNull() {
                return this.IsNull(this.tableTraNag.TrN_OdbTelefonColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_OdbTelefonNull() {
                this[this.tableTraNag.TrN_OdbTelefonColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrN_WartoscZakupuNull() {
                return this.IsNull(this.tableTraNag.TrN_WartoscZakupuColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrN_WartoscZakupuNull() {
                this[this.tableTraNag.TrN_WartoscZakupuColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraVatRow[] GetTraVatRows() {
                if ((this.Table.ChildRelations["FK_VaTTraNag"] == null)) {
                    return new TraVatRow[0];
                }
                else {
                    return ((TraVatRow[])(base.GetChildRows(this.Table.ChildRelations["FK_VaTTraNag"])));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraElemRow[] GetTraElemRows() {
                if ((this.Table.ChildRelations["FK_TrETraNag"] == null)) {
                    return new TraElemRow[0];
                }
                else {
                    return ((TraElemRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TrETraNag"])));
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class TraElemRow : global::System.Data.DataRow {
            
            private TraElemDataTable tableTraElem;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal TraElemRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableTraElem = ((TraElemDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_TrEID {
                get {
                    return ((int)(this[this.tableTraElem.TrE_TrEIDColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_TrEIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_TrNId {
                get {
                    return ((int)(this[this.tableTraElem.TrE_TrNIdColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_TrNIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_ZwrId {
                get {
                    try {
                        return ((int)(this[this.tableTraElem.TrE_ZwrIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_ZwrId\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_ZwrIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_TrEIdProd {
                get {
                    try {
                        return ((int)(this[this.tableTraElem.TrE_TrEIdProdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_TrEIdProd\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_TrEIdProdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_PdRId {
                get {
                    try {
                        return ((int)(this[this.tableTraElem.TrE_PdRIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_PdRId\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_PdRIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_Lp {
                get {
                    return ((int)(this[this.tableTraElem.TrE_LpColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_LpColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_LpPow {
                get {
                    return ((int)(this[this.tableTraElem.TrE_LpPowColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_LpPowColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_TypDokumentu {
                get {
                    return ((int)(this[this.tableTraElem.TrE_TypDokumentuColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_TypDokumentuColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrE_Aktywny {
                get {
                    return ((byte)(this[this.tableTraElem.TrE_AktywnyColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_AktywnyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TrE_DataDok {
                get {
                    return ((global::System.DateTime)(this[this.tableTraElem.TrE_DataDokColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_DataDokColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_RabatPromocyjny {
                get {
                    try {
                        return ((decimal)(this[this.tableTraElem.TrE_RabatPromocyjnyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_RabatPromocyjny\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_RabatPromocyjnyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_RabatKorekta {
                get {
                    try {
                        return ((decimal)(this[this.tableTraElem.TrE_RabatKorektaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_RabatKorekta\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_RabatKorektaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_Promocje {
                get {
                    try {
                        return ((int)(this[this.tableTraElem.TrE_PromocjeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_Promocje\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_PromocjeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TrE_DataOpe {
                get {
                    return ((global::System.DateTime)(this[this.tableTraElem.TrE_DataOpeColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_DataOpeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short TrE_PodmiotTyp {
                get {
                    try {
                        return ((short)(this[this.tableTraElem.TrE_PodmiotTypColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_PodmiotTyp\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_PodmiotTypColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_PodID {
                get {
                    try {
                        return ((int)(this[this.tableTraElem.TrE_PodIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_PodID\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_PodIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_KatID {
                get {
                    try {
                        return ((int)(this[this.tableTraElem.TrE_KatIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_KatID\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_KatIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_TwrId {
                get {
                    try {
                        return ((int)(this[this.tableTraElem.TrE_TwrIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_TwrId\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_TwrIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_MagId {
                get {
                    try {
                        return ((int)(this[this.tableTraElem.TrE_MagIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_MagId\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_MagIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_TwrNazwa {
                get {
                    return ((string)(this[this.tableTraElem.TrE_TwrNazwaColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_TwrNazwaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_TwrEAN {
                get {
                    return ((string)(this[this.tableTraElem.TrE_TwrEANColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_TwrEANColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_TwrNumerKat {
                get {
                    return ((string)(this[this.tableTraElem.TrE_TwrNumerKatColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_TwrNumerKatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_TwrKod {
                get {
                    return ((string)(this[this.tableTraElem.TrE_TwrKodColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_TwrKodColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_TwrOpis {
                get {
                    return ((string)(this[this.tableTraElem.TrE_TwrOpisColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_TwrOpisColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_TwrSWW {
                get {
                    return ((string)(this[this.tableTraElem.TrE_TwrSWWColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_TwrSWWColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_Stawka {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_StawkaColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_StawkaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short TrE_Flaga {
                get {
                    return ((short)(this[this.tableTraElem.TrE_FlagaColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_FlagaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_Zrodlowa {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_ZrodlowaColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_ZrodlowaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_TwCNumer {
                get {
                    return ((int)(this[this.tableTraElem.TrE_TwCNumerColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_TwCNumerColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrE_TypNB {
                get {
                    return ((byte)(this[this.tableTraElem.TrE_TypNBColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_TypNBColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_Cena0 {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_Cena0Column]));
                }
                set {
                    this[this.tableTraElem.TrE_Cena0Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_Rabat {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_RabatColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_RabatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_CenaW {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_CenaWColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_CenaWColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_Waluta {
                get {
                    return ((string)(this[this.tableTraElem.TrE_WalutaColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_WalutaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrE_Kaucja {
                get {
                    return ((byte)(this[this.tableTraElem.TrE_KaucjaColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_KaucjaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_KursNumer {
                get {
                    return ((int)(this[this.tableTraElem.TrE_KursNumerColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_KursNumerColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_KursL {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_KursLColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_KursLColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_KursM {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_KursMColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_KursMColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_CenaT {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_CenaTColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_CenaTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_Ilosc {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_IloscColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_IloscColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_IloscKW {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_IloscKWColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_IloscKWColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_Jm {
                get {
                    return ((string)(this[this.tableTraElem.TrE_JmColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_JmColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_JmZ {
                get {
                    return ((string)(this[this.tableTraElem.TrE_JmZColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_JmZColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrE_JmCalkowite {
                get {
                    return ((byte)(this[this.tableTraElem.TrE_JmCalkowiteColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_JmCalkowiteColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_JMPrzelicznikL {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_JMPrzelicznikLColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_JMPrzelicznikLColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_JMPrzelicznikM {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_JMPrzelicznikMColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_JMPrzelicznikMColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_IloscJM {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_IloscJMColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_IloscJMColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_IloscJMKW {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_IloscJMKWColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_IloscJMKWColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_WartoscNetto {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_WartoscNettoColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_WartoscNettoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_WartoscBrutto {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_WartoscBruttoColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_WartoscBruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_KosztUslugi {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_KosztUslugiColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_KosztUslugiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_Cena0WD {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_Cena0WDColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_Cena0WDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_CenaWWD {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_CenaWWDColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_CenaWWDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_WartoscNettoWal {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_WartoscNettoWalColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_WartoscNettoWalColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_WartoscBruttoWal {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_WartoscBruttoWalColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_WartoscBruttoWalColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_Atr1_DeAId {
                get {
                    try {
                        return ((int)(this[this.tableTraElem.TrE_Atr1_DeAIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_Atr1_DeAId\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_Atr1_DeAIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_Atr1_Kod {
                get {
                    return ((string)(this[this.tableTraElem.TrE_Atr1_KodColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_Atr1_KodColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_Atr1_Wartosc {
                get {
                    return ((string)(this[this.tableTraElem.TrE_Atr1_WartoscColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_Atr1_WartoscColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_Atr2_DeAId {
                get {
                    try {
                        return ((int)(this[this.tableTraElem.TrE_Atr2_DeAIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_Atr2_DeAId\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_Atr2_DeAIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_Atr2_Kod {
                get {
                    return ((string)(this[this.tableTraElem.TrE_Atr2_KodColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_Atr2_KodColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_Atr2_Wartosc {
                get {
                    return ((string)(this[this.tableTraElem.TrE_Atr2_WartoscColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_Atr2_WartoscColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_Atr3_DeAId {
                get {
                    try {
                        return ((int)(this[this.tableTraElem.TrE_Atr3_DeAIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_Atr3_DeAId\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_Atr3_DeAIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_Atr3_Kod {
                get {
                    return ((string)(this[this.tableTraElem.TrE_Atr3_KodColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_Atr3_KodColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_Atr3_Wartosc {
                get {
                    return ((string)(this[this.tableTraElem.TrE_Atr3_WartoscColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_Atr3_WartoscColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_Atr4_DeAId {
                get {
                    try {
                        return ((int)(this[this.tableTraElem.TrE_Atr4_DeAIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_Atr4_DeAId\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_Atr4_DeAIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_Atr4_Kod {
                get {
                    return ((string)(this[this.tableTraElem.TrE_Atr4_KodColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_Atr4_KodColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_Atr4_Wartosc {
                get {
                    return ((string)(this[this.tableTraElem.TrE_Atr4_WartoscColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_Atr4_WartoscColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_Atr5_DeAId {
                get {
                    try {
                        return ((int)(this[this.tableTraElem.TrE_Atr5_DeAIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_Atr5_DeAId\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_Atr5_DeAIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_Atr5_Kod {
                get {
                    return ((string)(this[this.tableTraElem.TrE_Atr5_KodColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_Atr5_KodColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TrE_Atr5_Wartosc {
                get {
                    return ((string)(this[this.tableTraElem.TrE_Atr5_WartoscColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_Atr5_WartoscColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_Prog {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_ProgColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_ProgColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrE_UpustTyp {
                get {
                    return ((byte)(this[this.tableTraElem.TrE_UpustTypColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_UpustTypColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_Upust {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_UpustColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_UpustColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_UpustKnt {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_UpustKntColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_UpustKntColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrE_UpustKntTyp {
                get {
                    return ((byte)(this[this.tableTraElem.TrE_UpustKntTypColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_UpustKntTypColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_WartoscZakupuWylicz {
                get {
                    return ((decimal)(this[this.tableTraElem.TrE_WartoscZakupuWyliczColumn]));
                }
                set {
                    this[this.tableTraElem.TrE_WartoscZakupuWyliczColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrE_LpPowRel {
                get {
                    try {
                        return ((int)(this[this.tableTraElem.TrE_LpPowRelColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_LpPowRel\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_LpPowRelColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrE_WartoscZakupu {
                get {
                    try {
                        return ((decimal)(this[this.tableTraElem.TrE_WartoscZakupuColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrE_WartoscZakupu\' in table \'TraElem\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraElem.TrE_WartoscZakupuColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraNagRow TraNagRowParent {
                get {
                    return ((TraNagRow)(this.GetParentRow(this.Table.ParentRelations["FK_TrETraNag"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["FK_TrETraNag"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_ZwrIdNull() {
                return this.IsNull(this.tableTraElem.TrE_ZwrIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_ZwrIdNull() {
                this[this.tableTraElem.TrE_ZwrIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_TrEIdProdNull() {
                return this.IsNull(this.tableTraElem.TrE_TrEIdProdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_TrEIdProdNull() {
                this[this.tableTraElem.TrE_TrEIdProdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_PdRIdNull() {
                return this.IsNull(this.tableTraElem.TrE_PdRIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_PdRIdNull() {
                this[this.tableTraElem.TrE_PdRIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_RabatPromocyjnyNull() {
                return this.IsNull(this.tableTraElem.TrE_RabatPromocyjnyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_RabatPromocyjnyNull() {
                this[this.tableTraElem.TrE_RabatPromocyjnyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_RabatKorektaNull() {
                return this.IsNull(this.tableTraElem.TrE_RabatKorektaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_RabatKorektaNull() {
                this[this.tableTraElem.TrE_RabatKorektaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_PromocjeNull() {
                return this.IsNull(this.tableTraElem.TrE_PromocjeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_PromocjeNull() {
                this[this.tableTraElem.TrE_PromocjeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_PodmiotTypNull() {
                return this.IsNull(this.tableTraElem.TrE_PodmiotTypColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_PodmiotTypNull() {
                this[this.tableTraElem.TrE_PodmiotTypColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_PodIDNull() {
                return this.IsNull(this.tableTraElem.TrE_PodIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_PodIDNull() {
                this[this.tableTraElem.TrE_PodIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_KatIDNull() {
                return this.IsNull(this.tableTraElem.TrE_KatIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_KatIDNull() {
                this[this.tableTraElem.TrE_KatIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_TwrIdNull() {
                return this.IsNull(this.tableTraElem.TrE_TwrIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_TwrIdNull() {
                this[this.tableTraElem.TrE_TwrIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_MagIdNull() {
                return this.IsNull(this.tableTraElem.TrE_MagIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_MagIdNull() {
                this[this.tableTraElem.TrE_MagIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_Atr1_DeAIdNull() {
                return this.IsNull(this.tableTraElem.TrE_Atr1_DeAIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_Atr1_DeAIdNull() {
                this[this.tableTraElem.TrE_Atr1_DeAIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_Atr2_DeAIdNull() {
                return this.IsNull(this.tableTraElem.TrE_Atr2_DeAIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_Atr2_DeAIdNull() {
                this[this.tableTraElem.TrE_Atr2_DeAIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_Atr3_DeAIdNull() {
                return this.IsNull(this.tableTraElem.TrE_Atr3_DeAIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_Atr3_DeAIdNull() {
                this[this.tableTraElem.TrE_Atr3_DeAIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_Atr4_DeAIdNull() {
                return this.IsNull(this.tableTraElem.TrE_Atr4_DeAIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_Atr4_DeAIdNull() {
                this[this.tableTraElem.TrE_Atr4_DeAIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_Atr5_DeAIdNull() {
                return this.IsNull(this.tableTraElem.TrE_Atr5_DeAIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_Atr5_DeAIdNull() {
                this[this.tableTraElem.TrE_Atr5_DeAIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_LpPowRelNull() {
                return this.IsNull(this.tableTraElem.TrE_LpPowRelColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_LpPowRelNull() {
                this[this.tableTraElem.TrE_LpPowRelColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrE_WartoscZakupuNull() {
                return this.IsNull(this.tableTraElem.TrE_WartoscZakupuColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrE_WartoscZakupuNull() {
                this[this.tableTraElem.TrE_WartoscZakupuColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class TraVatRow : global::System.Data.DataRow {
            
            private TraVatDataTable tableTraVat;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal TraVatRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableTraVat = ((TraVatDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrV_TrVID {
                get {
                    return ((int)(this[this.tableTraVat.TrV_TrVIDColumn]));
                }
                set {
                    this[this.tableTraVat.TrV_TrVIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrV_TrNID {
                get {
                    return ((int)(this[this.tableTraVat.TrV_TrNIDColumn]));
                }
                set {
                    this[this.tableTraVat.TrV_TrNIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int TrV_TrNidFinalna {
                get {
                    try {
                        return ((int)(this[this.tableTraVat.TrV_TrNidFinalnaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TrV_TrNidFinalna\' in table \'TraVat\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableTraVat.TrV_TrNidFinalnaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrV_Stawka {
                get {
                    return ((decimal)(this[this.tableTraVat.TrV_StawkaColumn]));
                }
                set {
                    this[this.tableTraVat.TrV_StawkaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short TrV_Flaga {
                get {
                    return ((short)(this[this.tableTraVat.TrV_FlagaColumn]));
                }
                set {
                    this[this.tableTraVat.TrV_FlagaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrV_Zrodlowa {
                get {
                    return ((decimal)(this[this.tableTraVat.TrV_ZrodlowaColumn]));
                }
                set {
                    this[this.tableTraVat.TrV_ZrodlowaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrV_Netto {
                get {
                    return ((decimal)(this[this.tableTraVat.TrV_NettoColumn]));
                }
                set {
                    this[this.tableTraVat.TrV_NettoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrV_VAT {
                get {
                    return ((decimal)(this[this.tableTraVat.TrV_VATColumn]));
                }
                set {
                    this[this.tableTraVat.TrV_VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrV_NettoWal {
                get {
                    return ((decimal)(this[this.tableTraVat.TrV_NettoWalColumn]));
                }
                set {
                    this[this.tableTraVat.TrV_NettoWalColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal TrV_VATWal {
                get {
                    return ((decimal)(this[this.tableTraVat.TrV_VATWalColumn]));
                }
                set {
                    this[this.tableTraVat.TrV_VATWalColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte TrV_Typ {
                get {
                    return ((byte)(this[this.tableTraVat.TrV_TypColumn]));
                }
                set {
                    this[this.tableTraVat.TrV_TypColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraNagRow TraNagRow {
                get {
                    return ((TraNagRow)(this.GetParentRow(this.Table.ParentRelations["FK_VaTTraNag"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["FK_VaTTraNag"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTrV_TrNidFinalnaNull() {
                return this.IsNull(this.tableTraVat.TrV_TrNidFinalnaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTrV_TrNidFinalnaNull() {
                this[this.tableTraVat.TrV_TrNidFinalnaColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class DokDefinicjeRow : global::System.Data.DataRow {
            
            private DokDefinicjeDataTable tableDokDefinicje;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal DokDefinicjeRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableDokDefinicje = ((DokDefinicjeDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int DDf_DDfID {
                get {
                    return ((int)(this[this.tableDokDefinicje.DDf_DDfIDColumn]));
                }
                set {
                    this[this.tableDokDefinicje.DDf_DDfIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraNagRow[] GetTraNagRows() {
                if ((this.Table.ChildRelations["FK_TrNDokDef"] == null)) {
                    return new TraNagRow[0];
                }
                else {
                    return ((TraNagRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TrNDokDef"])));
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class KontrahenciRowChangeEvent : global::System.EventArgs {
            
            private KontrahenciRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KontrahenciRowChangeEvent(KontrahenciRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KontrahenciRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            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", "2.0.0.0")]
        public class TraNagRowChangeEvent : global::System.EventArgs {
            
            private TraNagRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraNagRowChangeEvent(TraNagRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraNagRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            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", "2.0.0.0")]
        public class TraElemRowChangeEvent : global::System.EventArgs {
            
            private TraElemRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraElemRowChangeEvent(TraElemRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraElemRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            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", "2.0.0.0")]
        public class TraVatRowChangeEvent : global::System.EventArgs {
            
            private TraVatRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraVatRowChangeEvent(TraVatRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TraVatRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            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", "2.0.0.0")]
        public class DokDefinicjeRowChangeEvent : global::System.EventArgs {
            
            private DokDefinicjeRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DokDefinicjeRowChangeEvent(DokDefinicjeRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DokDefinicjeRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
    }
}
namespace ExportFaktur.CDNDataSetTableAdapters {
    
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class KontrahenciTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public KontrahenciTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "Kontrahenci";
            tableMapping.ColumnMappings.Add("Knt_KntId", "Knt_KntId");
            tableMapping.ColumnMappings.Add("Knt_PodmiotTyp", "Knt_PodmiotTyp");
            tableMapping.ColumnMappings.Add("Knt_Kod", "Knt_Kod");
            tableMapping.ColumnMappings.Add("Knt_GLN", "Knt_GLN");
            tableMapping.ColumnMappings.Add("Knt_EAN", "Knt_EAN");
            tableMapping.ColumnMappings.Add("Knt_Grupa", "Knt_Grupa");
            tableMapping.ColumnMappings.Add("Knt_Nazwa1", "Knt_Nazwa1");
            tableMapping.ColumnMappings.Add("Knt_Nazwa2", "Knt_Nazwa2");
            tableMapping.ColumnMappings.Add("Knt_Nazwa3", "Knt_Nazwa3");
            tableMapping.ColumnMappings.Add("Knt_Kraj", "Knt_Kraj");
            tableMapping.ColumnMappings.Add("Knt_Wojewodztwo", "Knt_Wojewodztwo");
            tableMapping.ColumnMappings.Add("Knt_Powiat", "Knt_Powiat");
            tableMapping.ColumnMappings.Add("Knt_Gmina", "Knt_Gmina");
            tableMapping.ColumnMappings.Add("Knt_Ulica", "Knt_Ulica");
            tableMapping.ColumnMappings.Add("Knt_NrDomu", "Knt_NrDomu");
            tableMapping.ColumnMappings.Add("Knt_NrLokalu", "Knt_NrLokalu");
            tableMapping.ColumnMappings.Add("Knt_Miasto", "Knt_Miasto");
            tableMapping.ColumnMappings.Add("Knt_KodPocztowy", "Knt_KodPocztowy");
            tableMapping.ColumnMappings.Add("Knt_Poczta", "Knt_Poczta");
            tableMapping.ColumnMappings.Add("Knt_Adres2", "Knt_Adres2");
            tableMapping.ColumnMappings.Add("Knt_NipKraj", "Knt_NipKraj");
            tableMapping.ColumnMappings.Add("Knt_NipE", "Knt_NipE");
            tableMapping.ColumnMappings.Add("Knt_Nip", "Knt_Nip");
            tableMapping.ColumnMappings.Add("Knt_Regon", "Knt_Regon");
            tableMapping.ColumnMappings.Add("Knt_Pesel", "Knt_Pesel");
            tableMapping.ColumnMappings.Add("Knt_Telefon1", "Knt_Telefon1");
            tableMapping.ColumnMappings.Add("Knt_Telefon2", "Knt_Telefon2");
            tableMapping.ColumnMappings.Add("Knt_Fax", "Knt_Fax");
            tableMapping.ColumnMappings.Add("Knt_Email", "Knt_Email");
            tableMapping.ColumnMappings.Add("Knt_URL", "Knt_URL");
            tableMapping.ColumnMappings.Add("Knt_KrajISO", "Knt_KrajISO");
            tableMapping.ColumnMappings.Add("Knt_Zezwolenie", "Knt_Zezwolenie");
            tableMapping.ColumnMappings.Add("Knt_KodTransakcji", "Knt_KodTransakcji");
            tableMapping.ColumnMappings.Add("Knt_BNaID", "Knt_BNaID");
            tableMapping.ColumnMappings.Add("Knt_RachunekNr", "Knt_RachunekNr");
            tableMapping.ColumnMappings.Add("Knt_IBAN", "Knt_IBAN");
            tableMapping.ColumnMappings.Add("Knt_RachunekNr0", "Knt_RachunekNr0");
            tableMapping.ColumnMappings.Add("Knt_OsTytul", "Knt_OsTytul");
            tableMapping.ColumnMappings.Add("Knt_OsPlec", "Knt_OsPlec");
            tableMapping.ColumnMappings.Add("Knt_OsNazwisko", "Knt_OsNazwisko");
            tableMapping.ColumnMappings.Add("Knt_OsKraj", "Knt_OsKraj");
            tableMapping.ColumnMappings.Add("Knt_OsWojewodztwo", "Knt_OsWojewodztwo");
            tableMapping.ColumnMappings.Add("Knt_OsPowiat", "Knt_OsPowiat");
            tableMapping.ColumnMappings.Add("Knt_OsGmina", "Knt_OsGmina");
            tableMapping.ColumnMappings.Add("Knt_OsUlica", "Knt_OsUlica");
            tableMapping.ColumnMappings.Add("Knt_OsNrDomu", "Knt_OsNrDomu");
            tableMapping.ColumnMappings.Add("Knt_OsNrLokalu", "Knt_OsNrLokalu");
            tableMapping.ColumnMappings.Add("Knt_OsMiasto", "Knt_OsMiasto");
            tableMapping.ColumnMappings.Add("Knt_OsKodPocztowy", "Knt_OsKodPocztowy");
            tableMapping.ColumnMappings.Add("Knt_OsPoczta", "Knt_OsPoczta");
            tableMapping.ColumnMappings.Add("Knt_OsAdres2", "Knt_OsAdres2");
            tableMapping.ColumnMappings.Add("Knt_OsTelefon", "Knt_OsTelefon");
            tableMapping.ColumnMappings.Add("Knt_OsGSM", "Knt_OsGSM");
            tableMapping.ColumnMappings.Add("Knt_OsEmail", "Knt_OsEmail");
            tableMapping.ColumnMappings.Add("Knt_Informacje", "Knt_Informacje");
            tableMapping.ColumnMappings.Add("Knt_Upust", "Knt_Upust");
            tableMapping.ColumnMappings.Add("Knt_LimitFlag", "Knt_LimitFlag");
            tableMapping.ColumnMappings.Add("Knt_LimitKredytu", "Knt_LimitKredytu");
            tableMapping.ColumnMappings.Add("Knt_Ceny", "Knt_Ceny");
            tableMapping.ColumnMappings.Add("Knt_FplID", "Knt_FplID");
            tableMapping.ColumnMappings.Add("Knt_MaxZwloka", "Knt_MaxZwloka");
            tableMapping.ColumnMappings.Add("Knt_TerminPlat", "Knt_TerminPlat");
            tableMapping.ColumnMappings.Add("Knt_Termin", "Knt_Termin");
            tableMapping.ColumnMappings.Add("Knt_KontoOdb", "Knt_KontoOdb");
            tableMapping.ColumnMappings.Add("Knt_KontoDost", "Knt_KontoDost");
            tableMapping.ColumnMappings.Add("Knt_KatID", "Knt_KatID");
            tableMapping.ColumnMappings.Add("Knt_BlokadaDok", "Knt_BlokadaDok");
            tableMapping.ColumnMappings.Add("Knt_LimitKredytuWal", "Knt_LimitKredytuWal");
            tableMapping.ColumnMappings.Add("Knt_LimitKredytuWykorzystany", "Knt_LimitKredytuWykorzystany");
            tableMapping.ColumnMappings.Add("Knt_NieRozliczac", "Knt_NieRozliczac");
            tableMapping.ColumnMappings.Add("Knt_PodatekVat", "Knt_PodatekVat");
            tableMapping.ColumnMappings.Add("Knt_Finalny", "Knt_Finalny");
            tableMapping.ColumnMappings.Add("Knt_Export", "Knt_Export");
            tableMapping.ColumnMappings.Add("Knt_Rodzaj", "Knt_Rodzaj");
            tableMapping.ColumnMappings.Add("Knt_Rodzaj_Dostawca", "Knt_Rodzaj_Dostawca");
            tableMapping.ColumnMappings.Add("Knt_Rodzaj_Odbiorca", "Knt_Rodzaj_Odbiorca");
            tableMapping.ColumnMappings.Add("Knt_Rodzaj_Konkurencja", "Knt_Rodzaj_Konkurencja");
            tableMapping.ColumnMappings.Add("Knt_Rodzaj_Partner", "Knt_Rodzaj_Partner");
            tableMapping.ColumnMappings.Add("Knt_Rodzaj_Potencjalny", "Knt_Rodzaj_Potencjalny");
            tableMapping.ColumnMappings.Add("Knt_Medialny", "Knt_Medialny");
            tableMapping.ColumnMappings.Add("Knt_MalyPod", "Knt_MalyPod");
            tableMapping.ColumnMappings.Add("Knt_Rolnik", "Knt_Rolnik");
            tableMapping.ColumnMappings.Add("Knt_Nieaktywny", "Knt_Nieaktywny");
            tableMapping.ColumnMappings.Add("Knt_Chroniony", "Knt_Chroniony");
            tableMapping.ColumnMappings.Add("Knt_Opis", "Knt_Opis");
            tableMapping.ColumnMappings.Add("Knt_OdbiorcaId", "Knt_OdbiorcaId");
            tableMapping.ColumnMappings.Add("Knt_OpiekunTyp", "Knt_OpiekunTyp");
            tableMapping.ColumnMappings.Add("Knt_OpiekunId", "Knt_OpiekunId");
            tableMapping.ColumnMappings.Add("Knt_TerminZwrotuKaucji", "Knt_TerminZwrotuKaucji");
            tableMapping.ColumnMappings.Add("Knt_NaliczajPlatnosc", "Knt_NaliczajPlatnosc");
            tableMapping.ColumnMappings.Add("Knt_ZakazDokumentowHaMag", "Knt_ZakazDokumentowHaMag");
            tableMapping.ColumnMappings.Add("Knt_TS_Export", "Knt_TS_Export");
            tableMapping.ColumnMappings.Add("Knt_ImportAppId", "Knt_ImportAppId");
            tableMapping.ColumnMappings.Add("Knt_ImportRowId", "Knt_ImportRowId");
            tableMapping.ColumnMappings.Add("Knt_OpeZalID", "Knt_OpeZalID");
            tableMapping.ColumnMappings.Add("Knt_StaZalId", "Knt_StaZalId");
            tableMapping.ColumnMappings.Add("Knt_TS_Zal", "Knt_TS_Zal");
            tableMapping.ColumnMappings.Add("Knt_OpeModID", "Knt_OpeModID");
            tableMapping.ColumnMappings.Add("Knt_StaModId", "Knt_StaModId");
            tableMapping.ColumnMappings.Add("Knt_TS_Mod", "Knt_TS_Mod");
            tableMapping.ColumnMappings.Add("Knt_GIDTyp", "Knt_GIDTyp");
            tableMapping.ColumnMappings.Add("Knt_GIDFirma", "Knt_GIDFirma");
            tableMapping.ColumnMappings.Add("Knt_GIDNumer", "Knt_GIDNumer");
            tableMapping.ColumnMappings.Add("Knt_GIDLp", "Knt_GIDLp");
            tableMapping.ColumnMappings.Add("Knt_LimitPrzeterKredytFlag", "Knt_LimitPrzeterKredytFlag");
            tableMapping.ColumnMappings.Add("Knt_LimitPrzeterKredytWartosc", "Knt_LimitPrzeterKredytWartosc");
            tableMapping.ColumnMappings.Add("Knt_BazaBR", "Knt_BazaBR");
            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 [CDN].[Kontrahenci] WHERE (([Knt_KntId] = @Original_Knt_KntId))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Knt_KntId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KntId", 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 CDN.Kontrahenci\r\n                         (Knt_PodmiotTyp, Knt_Kod, K" +
                "nt_GLN, Knt_EAN, Knt_Grupa, Knt_Nazwa1, Knt_Nazwa2, Knt_Nazwa3, Knt_Kraj, Knt_Wo" +
                "jewodztwo, Knt_Powiat, Knt_Gmina, \r\n                         Knt_Ulica, Knt_NrDo" +
                "mu, Knt_NrLokalu, Knt_Miasto, Knt_KodPocztowy, Knt_Poczta, Knt_Adres2, Knt_NipKr" +
                "aj, Knt_NipE, Knt_Nip, Knt_Regon, Knt_Pesel, \r\n                         Knt_Tele" +
                "fon1, Knt_Telefon2, Knt_Fax, Knt_Email, Knt_URL, Knt_KrajISO, Knt_Zezwolenie, Kn" +
                "t_KodTransakcji, Knt_BNaID, Knt_RachunekNr, Knt_IBAN, \r\n                        " +
                " Knt_OsTytul, Knt_OsPlec, Knt_OsNazwisko, Knt_OsKraj, Knt_OsWojewodztwo, Knt_OsP" +
                "owiat, Knt_OsGmina, Knt_OsUlica, Knt_OsNrDomu, Knt_OsNrLokalu, \r\n               " +
                "          Knt_OsMiasto, Knt_OsKodPocztowy, Knt_OsPoczta, Knt_OsAdres2, Knt_OsTel" +
                "efon, Knt_OsGSM, Knt_OsEmail, Knt_Informacje, Knt_Upust, Knt_LimitFlag, \r\n      " +
                "                   Knt_LimitKredytu, Knt_Ceny, Knt_FplID, Knt_MaxZwloka, Knt_Ter" +
                "minPlat, Knt_Termin, Knt_KontoOdb, Knt_KontoDost, Knt_KatID, Knt_BlokadaDok, \r\n " +
                "                        Knt_LimitKredytuWal, Knt_LimitKredytuWykorzystany, Knt_N" +
                "ieRozliczac, Knt_PodatekVat, Knt_Finalny, Knt_Export, Knt_Rodzaj, Knt_Rodzaj_Dos" +
                "tawca, \r\n                         Knt_Rodzaj_Odbiorca, Knt_Rodzaj_Konkurencja, K" +
                "nt_Rodzaj_Partner, Knt_Rodzaj_Potencjalny, Knt_Medialny, Knt_MalyPod, Knt_Rolnik" +
                ", Knt_Nieaktywny, \r\n                         Knt_Chroniony, Knt_Opis, Knt_Odbior" +
                "caId, Knt_OpiekunTyp, Knt_OpiekunId, Knt_TerminZwrotuKaucji, Knt_NaliczajPlatnos" +
                "c, Knt_ZakazDokumentowHaMag, \r\n                         Knt_TS_Export, Knt_Impor" +
                "tAppId, Knt_ImportRowId, Knt_OpeZalID, Knt_StaZalId, Knt_TS_Zal, Knt_OpeModID, K" +
                "nt_StaModId, Knt_TS_Mod, Knt_GIDTyp, \r\n                         Knt_GIDFirma, Kn" +
                "t_GIDNumer, Knt_GIDLp, Knt_LimitPrzeterKredytFlag, Knt_LimitPrzeterKredytWartosc" +
                ", Knt_BazaBR)\r\nVALUES        (@Knt_PodmiotTyp,@Knt_Kod,@Knt_GLN,@Knt_EAN,@Knt_Gr" +
                "upa,@Knt_Nazwa1,@Knt_Nazwa2,@Knt_Nazwa3,@Knt_Kraj,@Knt_Wojewodztwo,@Knt_Powiat,@" +
                "Knt_Gmina,@Knt_Ulica,@Knt_NrDomu,@Knt_NrLokalu,@Knt_Miasto,@Knt_KodPocztowy,@Knt" +
                "_Poczta,@Knt_Adres2,@Knt_NipKraj,@Knt_NipE,@Knt_Nip,@Knt_Regon,@Knt_Pesel,@Knt_T" +
                "elefon1,@Knt_Telefon2,@Knt_Fax,@Knt_Email,@Knt_URL,@Knt_KrajISO,@Knt_Zezwolenie," +
                "@Knt_KodTransakcji,@Knt_BNaID,@Knt_RachunekNr,@Knt_IBAN,@Knt_OsTytul,@Knt_OsPlec" +
                ",@Knt_OsNazwisko,@Knt_OsKraj,@Knt_OsWojewodztwo,@Knt_OsPowiat,@Knt_OsGmina,@Knt_" +
                "OsUlica,@Knt_OsNrDomu,@Knt_OsNrLokalu,@Knt_OsMiasto,@Knt_OsKodPocztowy,@Knt_OsPo" +
                "czta,@Knt_OsAdres2,@Knt_OsTelefon,@Knt_OsGSM,@Knt_OsEmail,@Knt_Informacje,@Knt_U" +
                "pust,@Knt_LimitFlag,@Knt_LimitKredytu,@Knt_Ceny,@Knt_FplID,@Knt_MaxZwloka,@Knt_T" +
                "erminPlat,@Knt_Termin,@Knt_KontoOdb,@Knt_KontoDost,@Knt_KatID,@Knt_BlokadaDok,@K" +
                "nt_LimitKredytuWal,@Knt_LimitKredytuWykorzystany,@Knt_NieRozliczac,@Knt_PodatekV" +
                "at,@Knt_Finalny,@Knt_Export,@Knt_Rodzaj,@Knt_Rodzaj_Dostawca,@Knt_Rodzaj_Odbiorc" +
                "a,@Knt_Rodzaj_Konkurencja,@Knt_Rodzaj_Partner,@Knt_Rodzaj_Potencjalny,@Knt_Media" +
                "lny,@Knt_MalyPod,@Knt_Rolnik,@Knt_Nieaktywny,@Knt_Chroniony,@Knt_Opis,@Knt_Odbio" +
                "rcaId,@Knt_OpiekunTyp,@Knt_OpiekunId,@Knt_TerminZwrotuKaucji,@Knt_NaliczajPlatno" +
                "sc,@Knt_ZakazDokumentowHaMag,@Knt_TS_Export,@Knt_ImportAppId,@Knt_ImportRowId,@K" +
                "nt_OpeZalID,@Knt_StaZalId,@Knt_TS_Zal,@Knt_OpeModID,@Knt_StaModId,@Knt_TS_Mod,@K" +
                "nt_GIDTyp,@Knt_GIDFirma,@Knt_GIDNumer,@Knt_GIDLp,@Knt_LimitPrzeterKredytFlag,@Kn" +
                "t_LimitPrzeterKredytWartosc,@Knt_BazaBR); \r\nSELECT Knt_KntId, Knt_PodmiotTyp, Kn" +
                "t_Kod, Knt_GLN, Knt_EAN, Knt_Grupa, Knt_Nazwa1, Knt_Nazwa2, Knt_Nazwa3, Knt_Kraj" +
                ", Knt_Wojewodztwo, Knt_Powiat, Knt_Gmina, Knt_Ulica, Knt_NrDomu, Knt_NrLokalu, K" +
                "nt_Miasto, Knt_KodPocztowy, Knt_Poczta, Knt_Adres2, Knt_NipKraj, Knt_NipE, Knt_N" +
                "ip, Knt_Regon, Knt_Pesel, Knt_Telefon1, Knt_Telefon2, Knt_Fax, Knt_Email, Knt_UR" +
                "L, Knt_KrajISO, Knt_Zezwolenie, Knt_KodTransakcji, Knt_BNaID, Knt_RachunekNr, Kn" +
                "t_IBAN, Knt_RachunekNr0, Knt_OsTytul, Knt_OsPlec, Knt_OsNazwisko, Knt_OsKraj, Kn" +
                "t_OsWojewodztwo, Knt_OsPowiat, Knt_OsGmina, Knt_OsUlica, Knt_OsNrDomu, Knt_OsNrL" +
                "okalu, Knt_OsMiasto, Knt_OsKodPocztowy, Knt_OsPoczta, Knt_OsAdres2, Knt_OsTelefo" +
                "n, Knt_OsGSM, Knt_OsEmail, Knt_Informacje, Knt_Upust, Knt_LimitFlag, Knt_LimitKr" +
                "edytu, Knt_Ceny, Knt_FplID, Knt_MaxZwloka, Knt_TerminPlat, Knt_Termin, Knt_Konto" +
                "Odb, Knt_KontoDost, Knt_KatID, Knt_BlokadaDok, Knt_LimitKredytuWal, Knt_LimitKre" +
                "dytuWykorzystany, Knt_NieRozliczac, Knt_PodatekVat, Knt_Finalny, Knt_Export, Knt" +
                "_Rodzaj, Knt_Rodzaj_Dostawca, Knt_Rodzaj_Odbiorca, Knt_Rodzaj_Konkurencja, Knt_R" +
                "odzaj_Partner, Knt_Rodzaj_Potencjalny, Knt_Medialny, Knt_MalyPod, Knt_Rolnik, Kn" +
                "t_Nieaktywny, Knt_Chroniony, Knt_Opis, Knt_OdbiorcaId, Knt_OpiekunTyp, Knt_Opiek" +
                "unId, Knt_TerminZwrotuKaucji, Knt_NaliczajPlatnosc, Knt_ZakazDokumentowHaMag, Kn" +
                "t_TS_Export, Knt_ImportAppId, Knt_ImportRowId, Knt_OpeZalID, Knt_StaZalId, Knt_T" +
                "S_Zal, Knt_OpeModID, Knt_StaModId, Knt_TS_Mod, Knt_GIDTyp, Knt_GIDFirma, Knt_GID" +
                "Numer, Knt_GIDLp, Knt_LimitPrzeterKredytFlag, Knt_LimitPrzeterKredytWartosc, Knt" +
                "_BazaBR FROM CDN.Kontrahenci WHERE (Knt_KntId = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_PodmiotTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_PodmiotTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Kod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_GLN", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_GLN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_EAN", global::System.Data.SqlDbType.VarChar, 16, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_EAN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Grupa", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Grupa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Nazwa1", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Nazwa1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Nazwa2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Nazwa2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Nazwa3", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Nazwa3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Kraj", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Kraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Wojewodztwo", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Wojewodztwo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Powiat", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Powiat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Gmina", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Gmina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Ulica", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Ulica", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_NrDomu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_NrDomu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_NrLokalu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_NrLokalu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Miasto", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Miasto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_KodPocztowy", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KodPocztowy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Poczta", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Poczta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Adres2", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Adres2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_NipKraj", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_NipKraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_NipE", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_NipE", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Nip", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Nip", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Regon", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Regon", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Pesel", global::System.Data.SqlDbType.VarChar, 11, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Pesel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Telefon1", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Telefon1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Telefon2", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Telefon2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Fax", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Fax", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Email", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_URL", global::System.Data.SqlDbType.VarChar, 254, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_URL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_KrajISO", global::System.Data.SqlDbType.VarChar, 9, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KrajISO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Zezwolenie", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Zezwolenie", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_KodTransakcji", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KodTransakcji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_BNaID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_BNaID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_RachunekNr", global::System.Data.SqlDbType.VarChar, 51, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_RachunekNr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_IBAN", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_IBAN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsTytul", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsTytul", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsPlec", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsPlec", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsNazwisko", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsNazwisko", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsKraj", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsKraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsWojewodztwo", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsWojewodztwo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsPowiat", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsPowiat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsGmina", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsGmina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsUlica", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsUlica", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsNrDomu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsNrDomu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsNrLokalu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsNrLokalu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsMiasto", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsMiasto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsKodPocztowy", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsKodPocztowy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsPoczta", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsPoczta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsAdres2", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsAdres2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsTelefon", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsTelefon", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsGSM", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsGSM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsEmail", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsEmail", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Informacje", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Informacje", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Upust", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 2, "Knt_Upust", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_LimitFlag", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_LimitFlag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_LimitKredytu", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "Knt_LimitKredytu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Ceny", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Ceny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_FplID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_FplID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_MaxZwloka", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_MaxZwloka", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_TerminPlat", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_TerminPlat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Termin", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Termin", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_KontoOdb", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KontoOdb", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_KontoDost", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KontoDost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_KatID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KatID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_BlokadaDok", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_BlokadaDok", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_LimitKredytuWal", global::System.Data.SqlDbType.VarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_LimitKredytuWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_LimitKredytuWykorzystany", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "Knt_LimitKredytuWykorzystany", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_NieRozliczac", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_NieRozliczac", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_PodatekVat", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_PodatekVat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Finalny", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Finalny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Export", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Export", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Rodzaj", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Rodzaj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Rodzaj_Dostawca", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Rodzaj_Dostawca", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Rodzaj_Odbiorca", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Rodzaj_Odbiorca", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Rodzaj_Konkurencja", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Rodzaj_Konkurencja", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Rodzaj_Partner", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Rodzaj_Partner", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Rodzaj_Potencjalny", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Rodzaj_Potencjalny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Medialny", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Medialny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_MalyPod", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_MalyPod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Rolnik", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Rolnik", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Nieaktywny", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Nieaktywny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Chroniony", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Chroniony", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Opis", global::System.Data.SqlDbType.VarChar, 254, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Opis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OdbiorcaId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OdbiorcaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OpiekunTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OpiekunTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OpiekunId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OpiekunId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_TerminZwrotuKaucji", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_TerminZwrotuKaucji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_NaliczajPlatnosc", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_NaliczajPlatnosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_ZakazDokumentowHaMag", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_ZakazDokumentowHaMag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_TS_Export", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_TS_Export", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_ImportAppId", global::System.Data.SqlDbType.VarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_ImportAppId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_ImportRowId", global::System.Data.SqlDbType.VarChar, 36, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_ImportRowId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OpeZalID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OpeZalID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_StaZalId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_StaZalId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_TS_Zal", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_TS_Zal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OpeModID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OpeModID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_StaModId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_StaModId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_TS_Mod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_TS_Mod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_GIDTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_GIDTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_GIDFirma", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_GIDFirma", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_GIDNumer", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_GIDNumer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_GIDLp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_GIDLp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_LimitPrzeterKredytFlag", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_LimitPrzeterKredytFlag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_LimitPrzeterKredytWartosc", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "Knt_LimitPrzeterKredytWartosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_BazaBR", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_BazaBR", 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       CDN.Kontrahenci\r\nSET                Knt_PodmiotTyp = @Knt_PodmiotTyp" +
                ", Knt_Kod = @Knt_Kod, Knt_GLN = @Knt_GLN, Knt_EAN = @Knt_EAN, Knt_Grupa = @Knt_G" +
                "rupa, \r\n                         Knt_Nazwa1 = @Knt_Nazwa1, Knt_Nazwa2 = @Knt_Naz" +
                "wa2, Knt_Nazwa3 = @Knt_Nazwa3, Knt_Kraj = @Knt_Kraj, Knt_Wojewodztwo = @Knt_Woje" +
                "wodztwo, \r\n                         Knt_Powiat = @Knt_Powiat, Knt_Gmina = @Knt_G" +
                "mina, Knt_Ulica = @Knt_Ulica, Knt_NrDomu = @Knt_NrDomu, Knt_NrLokalu = @Knt_NrLo" +
                "kalu, \r\n                         Knt_Miasto = @Knt_Miasto, Knt_KodPocztowy = @Kn" +
                "t_KodPocztowy, Knt_Poczta = @Knt_Poczta, Knt_Adres2 = @Knt_Adres2, Knt_NipKraj =" +
                " @Knt_NipKraj, \r\n                         Knt_NipE = @Knt_NipE, Knt_Nip = @Knt_N" +
                "ip, Knt_Regon = @Knt_Regon, Knt_Pesel = @Knt_Pesel, Knt_Telefon1 = @Knt_Telefon1" +
                ", \r\n                         Knt_Telefon2 = @Knt_Telefon2, Knt_Fax = @Knt_Fax, K" +
                "nt_Email = @Knt_Email, Knt_URL = @Knt_URL, Knt_KrajISO = @Knt_KrajISO, \r\n       " +
                "                  Knt_Zezwolenie = @Knt_Zezwolenie, Knt_KodTransakcji = @Knt_Kod" +
                "Transakcji, Knt_BNaID = @Knt_BNaID, Knt_RachunekNr = @Knt_RachunekNr, \r\n        " +
                "                 Knt_IBAN = @Knt_IBAN, Knt_OsTytul = @Knt_OsTytul, Knt_OsPlec = " +
                "@Knt_OsPlec, Knt_OsNazwisko = @Knt_OsNazwisko, Knt_OsKraj = @Knt_OsKraj, \r\n     " +
                "                    Knt_OsWojewodztwo = @Knt_OsWojewodztwo, Knt_OsPowiat = @Knt_" +
                "OsPowiat, Knt_OsGmina = @Knt_OsGmina, Knt_OsUlica = @Knt_OsUlica, \r\n            " +
                "             Knt_OsNrDomu = @Knt_OsNrDomu, Knt_OsNrLokalu = @Knt_OsNrLokalu, Knt" +
                "_OsMiasto = @Knt_OsMiasto, Knt_OsKodPocztowy = @Knt_OsKodPocztowy, \r\n           " +
                "              Knt_OsPoczta = @Knt_OsPoczta, Knt_OsAdres2 = @Knt_OsAdres2, Knt_Os" +
                "Telefon = @Knt_OsTelefon, Knt_OsGSM = @Knt_OsGSM, \r\n                         Knt" +
                "_OsEmail = @Knt_OsEmail, Knt_Informacje = @Knt_Informacje, Knt_Upust = @Knt_Upus" +
                "t, Knt_LimitFlag = @Knt_LimitFlag, \r\n                         Knt_LimitKredytu =" +
                " @Knt_LimitKredytu, Knt_Ceny = @Knt_Ceny, Knt_FplID = @Knt_FplID, Knt_MaxZwloka " +
                "= @Knt_MaxZwloka, \r\n                         Knt_TerminPlat = @Knt_TerminPlat, K" +
                "nt_Termin = @Knt_Termin, Knt_KontoOdb = @Knt_KontoOdb, Knt_KontoDost = @Knt_Kont" +
                "oDost, \r\n                         Knt_KatID = @Knt_KatID, Knt_BlokadaDok = @Knt_" +
                "BlokadaDok, Knt_LimitKredytuWal = @Knt_LimitKredytuWal, \r\n                      " +
                "   Knt_LimitKredytuWykorzystany = @Knt_LimitKredytuWykorzystany, Knt_NieRozlicza" +
                "c = @Knt_NieRozliczac, Knt_PodatekVat = @Knt_PodatekVat, \r\n                     " +
                "    Knt_Finalny = @Knt_Finalny, Knt_Export = @Knt_Export, Knt_Rodzaj = @Knt_Rodz" +
                "aj, Knt_Rodzaj_Dostawca = @Knt_Rodzaj_Dostawca, \r\n                         Knt_R" +
                "odzaj_Odbiorca = @Knt_Rodzaj_Odbiorca, Knt_Rodzaj_Konkurencja = @Knt_Rodzaj_Konk" +
                "urencja, Knt_Rodzaj_Partner = @Knt_Rodzaj_Partner, \r\n                         Kn" +
                "t_Rodzaj_Potencjalny = @Knt_Rodzaj_Potencjalny, Knt_Medialny = @Knt_Medialny, Kn" +
                "t_MalyPod = @Knt_MalyPod, Knt_Rolnik = @Knt_Rolnik, \r\n                         K" +
                "nt_Nieaktywny = @Knt_Nieaktywny, Knt_Chroniony = @Knt_Chroniony, Knt_Opis = @Knt" +
                "_Opis, Knt_OdbiorcaId = @Knt_OdbiorcaId, \r\n                         Knt_OpiekunT" +
                "yp = @Knt_OpiekunTyp, Knt_OpiekunId = @Knt_OpiekunId, Knt_TerminZwrotuKaucji = @" +
                "Knt_TerminZwrotuKaucji, \r\n                         Knt_NaliczajPlatnosc = @Knt_N" +
                "aliczajPlatnosc, Knt_ZakazDokumentowHaMag = @Knt_ZakazDokumentowHaMag, Knt_TS_Ex" +
                "port = @Knt_TS_Export, \r\n                         Knt_ImportAppId = @Knt_ImportA" +
                "ppId, Knt_ImportRowId = @Knt_ImportRowId, Knt_OpeZalID = @Knt_OpeZalID, Knt_StaZ" +
                "alId = @Knt_StaZalId, \r\n                         Knt_TS_Zal = @Knt_TS_Zal, Knt_O" +
                "peModID = @Knt_OpeModID, Knt_StaModId = @Knt_StaModId, Knt_TS_Mod = @Knt_TS_Mod," +
                " \r\n                         Knt_GIDTyp = @Knt_GIDTyp, Knt_GIDFirma = @Knt_GIDFir" +
                "ma, Knt_GIDNumer = @Knt_GIDNumer, Knt_GIDLp = @Knt_GIDLp, \r\n                    " +
                "     Knt_LimitPrzeterKredytFlag = @Knt_LimitPrzeterKredytFlag, Knt_LimitPrzeterK" +
                "redytWartosc = @Knt_LimitPrzeterKredytWartosc, \r\n                         Knt_Ba" +
                "zaBR = @Knt_BazaBR\r\nWHERE        (Knt_KntId = @Original_Knt_KntId); \r\nSELECT Knt" +
                "_KntId, Knt_PodmiotTyp, Knt_Kod, Knt_GLN, Knt_EAN, Knt_Grupa, Knt_Nazwa1, Knt_Na" +
                "zwa2, Knt_Nazwa3, Knt_Kraj, Knt_Wojewodztwo, Knt_Powiat, Knt_Gmina, Knt_Ulica, K" +
                "nt_NrDomu, Knt_NrLokalu, Knt_Miasto, Knt_KodPocztowy, Knt_Poczta, Knt_Adres2, Kn" +
                "t_NipKraj, Knt_NipE, Knt_Nip, Knt_Regon, Knt_Pesel, Knt_Telefon1, Knt_Telefon2, " +
                "Knt_Fax, Knt_Email, Knt_URL, Knt_KrajISO, Knt_Zezwolenie, Knt_KodTransakcji, Knt" +
                "_BNaID, Knt_RachunekNr, Knt_IBAN, Knt_RachunekNr0, Knt_OsTytul, Knt_OsPlec, Knt_" +
                "OsNazwisko, Knt_OsKraj, Knt_OsWojewodztwo, Knt_OsPowiat, Knt_OsGmina, Knt_OsUlic" +
                "a, Knt_OsNrDomu, Knt_OsNrLokalu, Knt_OsMiasto, Knt_OsKodPocztowy, Knt_OsPoczta, " +
                "Knt_OsAdres2, Knt_OsTelefon, Knt_OsGSM, Knt_OsEmail, Knt_Informacje, Knt_Upust, " +
                "Knt_LimitFlag, Knt_LimitKredytu, Knt_Ceny, Knt_FplID, Knt_MaxZwloka, Knt_TerminP" +
                "lat, Knt_Termin, Knt_KontoOdb, Knt_KontoDost, Knt_KatID, Knt_BlokadaDok, Knt_Lim" +
                "itKredytuWal, Knt_LimitKredytuWykorzystany, Knt_NieRozliczac, Knt_PodatekVat, Kn" +
                "t_Finalny, Knt_Export, Knt_Rodzaj, Knt_Rodzaj_Dostawca, Knt_Rodzaj_Odbiorca, Knt" +
                "_Rodzaj_Konkurencja, Knt_Rodzaj_Partner, Knt_Rodzaj_Potencjalny, Knt_Medialny, K" +
                "nt_MalyPod, Knt_Rolnik, Knt_Nieaktywny, Knt_Chroniony, Knt_Opis, Knt_OdbiorcaId," +
                " Knt_OpiekunTyp, Knt_OpiekunId, Knt_TerminZwrotuKaucji, Knt_NaliczajPlatnosc, Kn" +
                "t_ZakazDokumentowHaMag, Knt_TS_Export, Knt_ImportAppId, Knt_ImportRowId, Knt_Ope" +
                "ZalID, Knt_StaZalId, Knt_TS_Zal, Knt_OpeModID, Knt_StaModId, Knt_TS_Mod, Knt_GID" +
                "Typ, Knt_GIDFirma, Knt_GIDNumer, Knt_GIDLp, Knt_LimitPrzeterKredytFlag, Knt_Limi" +
                "tPrzeterKredytWartosc, Knt_BazaBR FROM CDN.Kontrahenci WHERE (Knt_KntId = @Knt_K" +
                "ntId)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_PodmiotTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_PodmiotTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Kod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_GLN", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_GLN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_EAN", global::System.Data.SqlDbType.VarChar, 16, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_EAN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Grupa", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Grupa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Nazwa1", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Nazwa1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Nazwa2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Nazwa2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Nazwa3", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Nazwa3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Kraj", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Kraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Wojewodztwo", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Wojewodztwo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Powiat", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Powiat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Gmina", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Gmina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Ulica", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Ulica", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_NrDomu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_NrDomu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_NrLokalu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_NrLokalu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Miasto", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Miasto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_KodPocztowy", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KodPocztowy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Poczta", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Poczta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Adres2", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Adres2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_NipKraj", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_NipKraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_NipE", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_NipE", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Nip", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Nip", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Regon", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Regon", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Pesel", global::System.Data.SqlDbType.VarChar, 11, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Pesel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Telefon1", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Telefon1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Telefon2", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Telefon2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Fax", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Fax", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Email", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_URL", global::System.Data.SqlDbType.VarChar, 254, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_URL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_KrajISO", global::System.Data.SqlDbType.VarChar, 9, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KrajISO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Zezwolenie", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Zezwolenie", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_KodTransakcji", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KodTransakcji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_BNaID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_BNaID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_RachunekNr", global::System.Data.SqlDbType.VarChar, 51, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_RachunekNr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_IBAN", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_IBAN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsTytul", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsTytul", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsPlec", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsPlec", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsNazwisko", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsNazwisko", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsKraj", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsKraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsWojewodztwo", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsWojewodztwo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsPowiat", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsPowiat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsGmina", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsGmina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsUlica", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsUlica", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsNrDomu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsNrDomu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsNrLokalu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsNrLokalu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsMiasto", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsMiasto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsKodPocztowy", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsKodPocztowy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsPoczta", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsPoczta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsAdres2", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsAdres2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsTelefon", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsTelefon", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsGSM", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsGSM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OsEmail", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OsEmail", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Informacje", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Informacje", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Upust", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 2, "Knt_Upust", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_LimitFlag", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_LimitFlag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_LimitKredytu", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "Knt_LimitKredytu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Ceny", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Ceny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_FplID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_FplID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_MaxZwloka", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_MaxZwloka", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_TerminPlat", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_TerminPlat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Termin", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Termin", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_KontoOdb", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KontoOdb", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_KontoDost", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KontoDost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_KatID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KatID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_BlokadaDok", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_BlokadaDok", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_LimitKredytuWal", global::System.Data.SqlDbType.VarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_LimitKredytuWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_LimitKredytuWykorzystany", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "Knt_LimitKredytuWykorzystany", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_NieRozliczac", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_NieRozliczac", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_PodatekVat", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_PodatekVat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Finalny", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Finalny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Export", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Export", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Rodzaj", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Rodzaj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Rodzaj_Dostawca", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Rodzaj_Dostawca", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Rodzaj_Odbiorca", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Rodzaj_Odbiorca", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Rodzaj_Konkurencja", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Rodzaj_Konkurencja", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Rodzaj_Partner", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Rodzaj_Partner", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Rodzaj_Potencjalny", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Rodzaj_Potencjalny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Medialny", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Medialny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_MalyPod", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_MalyPod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Rolnik", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Rolnik", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Nieaktywny", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Nieaktywny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Chroniony", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Chroniony", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_Opis", global::System.Data.SqlDbType.VarChar, 254, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Opis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OdbiorcaId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OdbiorcaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OpiekunTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OpiekunTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OpiekunId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OpiekunId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_TerminZwrotuKaucji", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_TerminZwrotuKaucji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_NaliczajPlatnosc", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_NaliczajPlatnosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_ZakazDokumentowHaMag", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_ZakazDokumentowHaMag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_TS_Export", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_TS_Export", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_ImportAppId", global::System.Data.SqlDbType.VarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_ImportAppId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_ImportRowId", global::System.Data.SqlDbType.VarChar, 36, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_ImportRowId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OpeZalID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OpeZalID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_StaZalId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_StaZalId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_TS_Zal", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_TS_Zal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_OpeModID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_OpeModID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_StaModId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_StaModId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_TS_Mod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_TS_Mod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_GIDTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_GIDTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_GIDFirma", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_GIDFirma", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_GIDNumer", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_GIDNumer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_GIDLp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_GIDLp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_LimitPrzeterKredytFlag", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_LimitPrzeterKredytFlag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_LimitPrzeterKredytWartosc", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "Knt_LimitPrzeterKredytWartosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_BazaBR", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_BazaBR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Knt_KntId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KntId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Knt_KntId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_KntId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::ExportFaktur.Properties.Settings.Default.CDN_DemoConnectionString;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT Knt_KntId, Knt_PodmiotTyp, Knt_Kod, Knt_GLN, Knt_EAN, Knt_Grupa, Knt_Nazwa" +
                "1, Knt_Nazwa2, Knt_Nazwa3, Knt_Kraj, Knt_Wojewodztwo, Knt_Powiat, Knt_Gmina, Knt" +
                "_Ulica, Knt_NrDomu, Knt_NrLokalu, Knt_Miasto, Knt_KodPocztowy, Knt_Poczta, Knt_A" +
                "dres2, Knt_NipKraj, Knt_NipE, Knt_Nip, Knt_Regon, Knt_Pesel, Knt_Telefon1, Knt_T" +
                "elefon2, Knt_Fax, Knt_Email, Knt_URL, Knt_KrajISO, Knt_Zezwolenie, Knt_KodTransa" +
                "kcji, Knt_BNaID, Knt_RachunekNr, Knt_IBAN, Knt_RachunekNr0, Knt_OsTytul, Knt_OsP" +
                "lec, Knt_OsNazwisko, Knt_OsKraj, Knt_OsWojewodztwo, Knt_OsPowiat, Knt_OsGmina, K" +
                "nt_OsUlica, Knt_OsNrDomu, Knt_OsNrLokalu, Knt_OsMiasto, Knt_OsKodPocztowy, Knt_O" +
                "sPoczta, Knt_OsAdres2, Knt_OsTelefon, Knt_OsGSM, Knt_OsEmail, Knt_Informacje, Kn" +
                "t_Upust, Knt_LimitFlag, Knt_LimitKredytu, Knt_Ceny, Knt_FplID, Knt_MaxZwloka, Kn" +
                "t_TerminPlat, Knt_Termin, Knt_KontoOdb, Knt_KontoDost, Knt_KatID, Knt_BlokadaDok" +
                ", Knt_LimitKredytuWal, Knt_LimitKredytuWykorzystany, Knt_NieRozliczac, Knt_Podat" +
                "ekVat, Knt_Finalny, Knt_Export, Knt_Rodzaj, Knt_Rodzaj_Dostawca, Knt_Rodzaj_Odbi" +
                "orca, Knt_Rodzaj_Konkurencja, Knt_Rodzaj_Partner, Knt_Rodzaj_Potencjalny, Knt_Me" +
                "dialny, Knt_MalyPod, Knt_Rolnik, Knt_Nieaktywny, Knt_Chroniony, Knt_Opis, Knt_Od" +
                "biorcaId, Knt_OpiekunTyp, Knt_OpiekunId, Knt_TerminZwrotuKaucji, Knt_NaliczajPla" +
                "tnosc, Knt_ZakazDokumentowHaMag, Knt_TS_Export, Knt_ImportAppId, Knt_ImportRowId" +
                ", Knt_OpeZalID, Knt_StaZalId, Knt_TS_Zal, Knt_OpeModID, Knt_StaModId, Knt_TS_Mod" +
                ", Knt_GIDTyp, Knt_GIDFirma, Knt_GIDNumer, Knt_GIDLp, Knt_LimitPrzeterKredytFlag," +
                " Knt_LimitPrzeterKredytWartosc, Knt_BazaBR FROM CDN.Kontrahenci";
            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 = "SELECT Knt_Adres2, Knt_BNaID, Knt_BazaBR, Knt_BlokadaDok, Knt_Ceny, Knt_Chroniony" +
                ", Knt_EAN, Knt_Email, Knt_Export, Knt_Fax, Knt_Finalny, Knt_FplID, Knt_GIDFirma," +
                " Knt_GIDLp, Knt_GIDNumer, Knt_GIDTyp, Knt_GLN, Knt_Gmina, Knt_Grupa, Knt_IBAN, K" +
                "nt_ImportAppId, Knt_ImportRowId, Knt_Informacje, Knt_KatID, Knt_KntId, Knt_Kod, " +
                "Knt_KodPocztowy, Knt_KodTransakcji, Knt_KontoDost, Knt_KontoOdb, Knt_Kraj, Knt_K" +
                "rajISO, Knt_LimitFlag, Knt_LimitKredytu, Knt_LimitKredytuWal, Knt_LimitKredytuWy" +
                "korzystany, Knt_LimitPrzeterKredytFlag, Knt_LimitPrzeterKredytWartosc, Knt_MalyP" +
                "od, Knt_MaxZwloka, Knt_Medialny, Knt_Miasto, Knt_NaliczajPlatnosc, Knt_Nazwa1, K" +
                "nt_Nazwa2, Knt_Nazwa3, Knt_NieRozliczac, Knt_Nieaktywny, Knt_Nip, Knt_NipE, Knt_" +
                "NipKraj, Knt_NrDomu, Knt_NrLokalu, Knt_OdbiorcaId, Knt_OpeModID, Knt_OpeZalID, K" +
                "nt_OpiekunId, Knt_OpiekunTyp, Knt_Opis, Knt_OsAdres2, Knt_OsEmail, Knt_OsGSM, Kn" +
                "t_OsGmina, Knt_OsKodPocztowy, Knt_OsKraj, Knt_OsMiasto, Knt_OsNazwisko, Knt_OsNr" +
                "Domu, Knt_OsNrLokalu, Knt_OsPlec, Knt_OsPoczta, Knt_OsPowiat, Knt_OsTelefon, Knt" +
                "_OsTytul, Knt_OsUlica, Knt_OsWojewodztwo, Knt_Pesel, Knt_Poczta, Knt_PodatekVat," +
                " Knt_PodmiotTyp, Knt_Powiat, Knt_RachunekNr, Knt_RachunekNr0, Knt_Regon, Knt_Rod" +
                "zaj, Knt_Rodzaj_Dostawca, Knt_Rodzaj_Konkurencja, Knt_Rodzaj_Odbiorca, Knt_Rodza" +
                "j_Partner, Knt_Rodzaj_Potencjalny, Knt_Rolnik, Knt_StaModId, Knt_StaZalId, Knt_T" +
                "S_Export, Knt_TS_Mod, Knt_TS_Zal, Knt_Telefon1, Knt_Telefon2, Knt_Termin, Knt_Te" +
                "rminPlat, Knt_TerminZwrotuKaucji, Knt_URL, Knt_Ulica, Knt_Upust, Knt_Wojewodztwo" +
                ", Knt_ZakazDokumentowHaMag, Knt_Zezwolenie FROM CDN.Kontrahenci WHERE (Knt_Kod =" +
                " @param)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "Knt_Kod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = "SELECT TOP 1 Knt_Adres2, Knt_BNaID, Knt_BazaBR, Knt_BlokadaDok, Knt_Ceny, Knt_Chr" +
                "oniony, Knt_EAN, Knt_Email, Knt_Export, Knt_Fax, Knt_Finalny, Knt_FplID, Knt_GID" +
                "Firma, Knt_GIDLp, Knt_GIDNumer, Knt_GIDTyp, Knt_GLN, Knt_Gmina, Knt_Grupa, Knt_I" +
                "BAN, Knt_ImportAppId, Knt_ImportRowId, Knt_Informacje, Knt_KatID, Knt_KntId, Knt" +
                "_Kod, Knt_KodPocztowy, Knt_KodTransakcji, Knt_KontoDost, Knt_KontoOdb, Knt_Kraj," +
                " Knt_KrajISO, Knt_LimitFlag, Knt_LimitKredytu, Knt_LimitKredytuWal, Knt_LimitKre" +
                "dytuWykorzystany, Knt_LimitPrzeterKredytFlag, Knt_LimitPrzeterKredytWartosc, Knt" +
                "_MalyPod, Knt_MaxZwloka, Knt_Medialny, Knt_Miasto, Knt_NaliczajPlatnosc, Knt_Naz" +
                "wa1, Knt_Nazwa2, Knt_Nazwa3, Knt_NieRozliczac, Knt_Nieaktywny, Knt_Nip, Knt_NipE" +
                ", Knt_NipKraj, Knt_NrDomu, Knt_NrLokalu, Knt_OdbiorcaId, Knt_OpeModID, Knt_OpeZa" +
                "lID, Knt_OpiekunId, Knt_OpiekunTyp, Knt_Opis, Knt_OsAdres2, Knt_OsEmail, Knt_OsG" +
                "SM, Knt_OsGmina, Knt_OsKodPocztowy, Knt_OsKraj, Knt_OsMiasto, Knt_OsNazwisko, Kn" +
                "t_OsNrDomu, Knt_OsNrLokalu, Knt_OsPlec, Knt_OsPoczta, Knt_OsPowiat, Knt_OsTelefo" +
                "n, Knt_OsTytul, Knt_OsUlica, Knt_OsWojewodztwo, Knt_Pesel, Knt_Poczta, Knt_Podat" +
                "ekVat, Knt_PodmiotTyp, Knt_Powiat, Knt_RachunekNr, Knt_RachunekNr0, Knt_Regon, K" +
                "nt_Rodzaj, Knt_Rodzaj_Dostawca, Knt_Rodzaj_Konkurencja, Knt_Rodzaj_Odbiorca, Knt" +
                "_Rodzaj_Partner, Knt_Rodzaj_Potencjalny, Knt_Rolnik, Knt_StaModId, Knt_StaZalId," +
                " Knt_TS_Export, Knt_TS_Mod, Knt_TS_Zal, Knt_Telefon1, Knt_Telefon2, Knt_Termin, " +
                "Knt_TerminPlat, Knt_TerminZwrotuKaucji, Knt_URL, Knt_Ulica, Knt_Upust, Knt_Wojew" +
                "odztwo, Knt_ZakazDokumentowHaMag, Knt_Zezwolenie FROM CDN.Kontrahenci ORDER BY K" +
                "nt_KntId DESC";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(CDNDataSet.KontrahenciDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual CDNDataSet.KontrahenciDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            CDNDataSet.KontrahenciDataTable dataTable = new CDNDataSet.KontrahenciDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByKnt_Kod(CDNDataSet.KontrahenciDataTable dataTable, string param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((param == null)) {
                throw new global::System.ArgumentNullException("param");
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(param));
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual CDNDataSet.KontrahenciDataTable GetDataByKnt_Kod(string param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((param == null)) {
                throw new global::System.ArgumentNullException("param");
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(param));
            }
            CDNDataSet.KontrahenciDataTable dataTable = new CDNDataSet.KontrahenciDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByTop1(CDNDataSet.KontrahenciDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual CDNDataSet.KontrahenciDataTable GetDataByTop1() {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            CDNDataSet.KontrahenciDataTable dataTable = new CDNDataSet.KontrahenciDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(CDNDataSet.KontrahenciDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(CDNDataSet dataSet) {
            return this.Adapter.Update(dataSet, "Kontrahenci");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_Knt_KntId) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_Knt_KntId));
            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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(
                    global::System.Nullable<short> Knt_PodmiotTyp, 
                    string Knt_Kod, 
                    string Knt_GLN, 
                    string Knt_EAN, 
                    string Knt_Grupa, 
                    string Knt_Nazwa1, 
                    string Knt_Nazwa2, 
                    string Knt_Nazwa3, 
                    string Knt_Kraj, 
                    string Knt_Wojewodztwo, 
                    string Knt_Powiat, 
                    string Knt_Gmina, 
                    string Knt_Ulica, 
                    string Knt_NrDomu, 
                    string Knt_NrLokalu, 
                    string Knt_Miasto, 
                    string Knt_KodPocztowy, 
                    string Knt_Poczta, 
                    string Knt_Adres2, 
                    string Knt_NipKraj, 
                    string Knt_NipE, 
                    string Knt_Nip, 
                    string Knt_Regon, 
                    string Knt_Pesel, 
                    string Knt_Telefon1, 
                    string Knt_Telefon2, 
                    string Knt_Fax, 
                    string Knt_Email, 
                    string Knt_URL, 
                    string Knt_KrajISO, 
                    string Knt_Zezwolenie, 
                    string Knt_KodTransakcji, 
                    global::System.Nullable<int> Knt_BNaID, 
                    string Knt_RachunekNr, 
                    short Knt_IBAN, 
                    string Knt_OsTytul, 
                    byte Knt_OsPlec, 
                    string Knt_OsNazwisko, 
                    string Knt_OsKraj, 
                    string Knt_OsWojewodztwo, 
                    string Knt_OsPowiat, 
                    string Knt_OsGmina, 
                    string Knt_OsUlica, 
                    string Knt_OsNrDomu, 
                    string Knt_OsNrLokalu, 
                    string Knt_OsMiasto, 
                    string Knt_OsKodPocztowy, 
                    string Knt_OsPoczta, 
                    string Knt_OsAdres2, 
                    string Knt_OsTelefon, 
                    string Knt_OsGSM, 
                    string Knt_OsEmail, 
                    byte Knt_Informacje, 
                    decimal Knt_Upust, 
                    byte Knt_LimitFlag, 
                    decimal Knt_LimitKredytu, 
                    short Knt_Ceny, 
                    global::System.Nullable<int> Knt_FplID, 
                    short Knt_MaxZwloka, 
                    byte Knt_TerminPlat, 
                    short Knt_Termin, 
                    string Knt_KontoOdb, 
                    string Knt_KontoDost, 
                    global::System.Nullable<int> Knt_KatID, 
                    byte Knt_BlokadaDok, 
                    string Knt_LimitKredytuWal, 
                    decimal Knt_LimitKredytuWykorzystany, 
                    byte Knt_NieRozliczac, 
                    byte Knt_PodatekVat, 
                    byte Knt_Finalny, 
                    byte Knt_Export, 
                    byte Knt_Rodzaj, 
                    byte Knt_Rodzaj_Dostawca, 
                    byte Knt_Rodzaj_Odbiorca, 
                    byte Knt_Rodzaj_Konkurencja, 
                    byte Knt_Rodzaj_Partner, 
                    byte Knt_Rodzaj_Potencjalny, 
                    byte Knt_Medialny, 
                    byte Knt_MalyPod, 
                    byte Knt_Rolnik, 
                    byte Knt_Nieaktywny, 
                    byte Knt_Chroniony, 
                    string Knt_Opis, 
                    global::System.Nullable<int> Knt_OdbiorcaId, 
                    global::System.Nullable<short> Knt_OpiekunTyp, 
                    global::System.Nullable<int> Knt_OpiekunId, 
                    short Knt_TerminZwrotuKaucji, 
                    byte Knt_NaliczajPlatnosc, 
                    byte Knt_ZakazDokumentowHaMag, 
                    global::System.Nullable<global::System.DateTime> Knt_TS_Export, 
                    string Knt_ImportAppId, 
                    string Knt_ImportRowId, 
                    global::System.Nullable<int> Knt_OpeZalID, 
                    global::System.Nullable<int> Knt_StaZalId, 
                    System.DateTime Knt_TS_Zal, 
                    global::System.Nullable<int> Knt_OpeModID, 
                    global::System.Nullable<int> Knt_StaModId, 
                    System.DateTime Knt_TS_Mod, 
                    global::System.Nullable<short> Knt_GIDTyp, 
                    global::System.Nullable<int> Knt_GIDFirma, 
                    global::System.Nullable<int> Knt_GIDNumer, 
                    global::System.Nullable<short> Knt_GIDLp, 
                    byte Knt_LimitPrzeterKredytFlag, 
                    decimal Knt_LimitPrzeterKredytWartosc, 
                    global::System.Nullable<int> Knt_BazaBR) {
            if ((Knt_PodmiotTyp.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[0].Value = ((short)(Knt_PodmiotTyp.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((Knt_Kod == null)) {
                throw new global::System.ArgumentNullException("Knt_Kod");
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Knt_Kod));
            }
            if ((Knt_GLN == null)) {
                throw new global::System.ArgumentNullException("Knt_GLN");
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Knt_GLN));
            }
            if ((Knt_EAN == null)) {
                throw new global::System.ArgumentNullException("Knt_EAN");
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Knt_EAN));
            }
            if ((Knt_Grupa == null)) {
                throw new global::System.ArgumentNullException("Knt_Grupa");
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Knt_Grupa));
            }
            if ((Knt_Nazwa1 == null)) {
                throw new global::System.ArgumentNullException("Knt_Nazwa1");
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Knt_Nazwa1));
            }
            if ((Knt_Nazwa2 == null)) {
                throw new global::System.ArgumentNullException("Knt_Nazwa2");
            }
            else {
                this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Knt_Nazwa2));
            }
            if ((Knt_Nazwa3 == null)) {
                throw new global::System.ArgumentNullException("Knt_Nazwa3");
            }
            else {
                this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Knt_Nazwa3));
            }
            if ((Knt_Kraj == null)) {
                throw new global::System.ArgumentNullException("Knt_Kraj");
            }
            else {
                this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Knt_Kraj));
            }
            if ((Knt_Wojewodztwo == null)) {
                throw new global::System.ArgumentNullException("Knt_Wojewodztwo");
            }
            else {
                this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Knt_Wojewodztwo));
            }
            if ((Knt_Powiat == null)) {
                throw new global::System.ArgumentNullException("Knt_Powiat");
            }
            else {
                this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Knt_Powiat));
            }
            if ((Knt_Gmina == null)) {
                throw new global::System.ArgumentNullException("Knt_Gmina");
            }
            else {
                this.Adapter.InsertCommand.Parameters[11].Value = ((string)(Knt_Gmina));
            }
            if ((Knt_Ulica == null)) {
                throw new global::System.ArgumentNullException("Knt_Ulica");
            }
            else {
                this.Adapter.InsertCommand.Parameters[12].Value = ((string)(Knt_Ulica));
            }
            if ((Knt_NrDomu == null)) {
                throw new global::System.ArgumentNullException("Knt_NrDomu");
            }
            else {
                this.Adapter.InsertCommand.Parameters[13].Value = ((string)(Knt_NrDomu));
            }
            if ((Knt_NrLokalu == null)) {
                throw new global::System.ArgumentNullException("Knt_NrLokalu");
            }
            else {
                this.Adapter.InsertCommand.Parameters[14].Value = ((string)(Knt_NrLokalu));
            }
            if ((Knt_Miasto == null)) {
                throw new global::System.ArgumentNullException("Knt_Miasto");
            }
            else {
                this.Adapter.InsertCommand.Parameters[15].Value = ((string)(Knt_Miasto));
            }
            if ((Knt_KodPocztowy == null)) {
                throw new global::System.ArgumentNullException("Knt_KodPocztowy");
            }
            else {
                this.Adapter.InsertCommand.Parameters[16].Value = ((string)(Knt_KodPocztowy));
            }
            if ((Knt_Poczta == null)) {
                throw new global::System.ArgumentNullException("Knt_Poczta");
            }
            else {
                this.Adapter.InsertCommand.Parameters[17].Value = ((string)(Knt_Poczta));
            }
            if ((Knt_Adres2 == null)) {
                throw new global::System.ArgumentNullException("Knt_Adres2");
            }
            else {
                this.Adapter.InsertCommand.Parameters[18].Value = ((string)(Knt_Adres2));
            }
            if ((Knt_NipKraj == null)) {
                throw new global::System.ArgumentNullException("Knt_NipKraj");
            }
            else {
                this.Adapter.InsertCommand.Parameters[19].Value = ((string)(Knt_NipKraj));
            }
            if ((Knt_NipE == null)) {
                throw new global::System.ArgumentNullException("Knt_NipE");
            }
            else {
                this.Adapter.InsertCommand.Parameters[20].Value = ((string)(Knt_NipE));
            }
            if ((Knt_Nip == null)) {
                throw new global::System.ArgumentNullException("Knt_Nip");
            }
            else {
                this.Adapter.InsertCommand.Parameters[21].Value = ((string)(Knt_Nip));
            }
            if ((Knt_Regon == null)) {
                throw new global::System.ArgumentNullException("Knt_Regon");
            }
            else {
                this.Adapter.InsertCommand.Parameters[22].Value = ((string)(Knt_Regon));
            }
            if ((Knt_Pesel == null)) {
                throw new global::System.ArgumentNullException("Knt_Pesel");
            }
            else {
                this.Adapter.InsertCommand.Parameters[23].Value = ((string)(Knt_Pesel));
            }
            if ((Knt_Telefon1 == null)) {
                throw new global::System.ArgumentNullException("Knt_Telefon1");
            }
            else {
                this.Adapter.InsertCommand.Parameters[24].Value = ((string)(Knt_Telefon1));
            }
            if ((Knt_Telefon2 == null)) {
                throw new global::System.ArgumentNullException("Knt_Telefon2");
            }
            else {
                this.Adapter.InsertCommand.Parameters[25].Value = ((string)(Knt_Telefon2));
            }
            if ((Knt_Fax == null)) {
                throw new global::System.ArgumentNullException("Knt_Fax");
            }
            else {
                this.Adapter.InsertCommand.Parameters[26].Value = ((string)(Knt_Fax));
            }
            if ((Knt_Email == null)) {
                throw new global::System.ArgumentNullException("Knt_Email");
            }
            else {
                this.Adapter.InsertCommand.Parameters[27].Value = ((string)(Knt_Email));
            }
            if ((Knt_URL == null)) {
                throw new global::System.ArgumentNullException("Knt_URL");
            }
            else {
                this.Adapter.InsertCommand.Parameters[28].Value = ((string)(Knt_URL));
            }
            if ((Knt_KrajISO == null)) {
                throw new global::System.ArgumentNullException("Knt_KrajISO");
            }
            else {
                this.Adapter.InsertCommand.Parameters[29].Value = ((string)(Knt_KrajISO));
            }
            if ((Knt_Zezwolenie == null)) {
                throw new global::System.ArgumentNullException("Knt_Zezwolenie");
            }
            else {
                this.Adapter.InsertCommand.Parameters[30].Value = ((string)(Knt_Zezwolenie));
            }
            if ((Knt_KodTransakcji == null)) {
                throw new global::System.ArgumentNullException("Knt_KodTransakcji");
            }
            else {
                this.Adapter.InsertCommand.Parameters[31].Value = ((string)(Knt_KodTransakcji));
            }
            if ((Knt_BNaID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[32].Value = ((int)(Knt_BNaID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[32].Value = global::System.DBNull.Value;
            }
            if ((Knt_RachunekNr == null)) {
                throw new global::System.ArgumentNullException("Knt_RachunekNr");
            }
            else {
                this.Adapter.InsertCommand.Parameters[33].Value = ((string)(Knt_RachunekNr));
            }
            this.Adapter.InsertCommand.Parameters[34].Value = ((short)(Knt_IBAN));
            if ((Knt_OsTytul == null)) {
                throw new global::System.ArgumentNullException("Knt_OsTytul");
            }
            else {
                this.Adapter.InsertCommand.Parameters[35].Value = ((string)(Knt_OsTytul));
            }
            this.Adapter.InsertCommand.Parameters[36].Value = ((byte)(Knt_OsPlec));
            if ((Knt_OsNazwisko == null)) {
                throw new global::System.ArgumentNullException("Knt_OsNazwisko");
            }
            else {
                this.Adapter.InsertCommand.Parameters[37].Value = ((string)(Knt_OsNazwisko));
            }
            if ((Knt_OsKraj == null)) {
                throw new global::System.ArgumentNullException("Knt_OsKraj");
            }
            else {
                this.Adapter.InsertCommand.Parameters[38].Value = ((string)(Knt_OsKraj));
            }
            if ((Knt_OsWojewodztwo == null)) {
                throw new global::System.ArgumentNullException("Knt_OsWojewodztwo");
            }
            else {
                this.Adapter.InsertCommand.Parameters[39].Value = ((string)(Knt_OsWojewodztwo));
            }
            if ((Knt_OsPowiat == null)) {
                throw new global::System.ArgumentNullException("Knt_OsPowiat");
            }
            else {
                this.Adapter.InsertCommand.Parameters[40].Value = ((string)(Knt_OsPowiat));
            }
            if ((Knt_OsGmina == null)) {
                throw new global::System.ArgumentNullException("Knt_OsGmina");
            }
            else {
                this.Adapter.InsertCommand.Parameters[41].Value = ((string)(Knt_OsGmina));
            }
            if ((Knt_OsUlica == null)) {
                throw new global::System.ArgumentNullException("Knt_OsUlica");
            }
            else {
                this.Adapter.InsertCommand.Parameters[42].Value = ((string)(Knt_OsUlica));
            }
            if ((Knt_OsNrDomu == null)) {
                throw new global::System.ArgumentNullException("Knt_OsNrDomu");
            }
            else {
                this.Adapter.InsertCommand.Parameters[43].Value = ((string)(Knt_OsNrDomu));
            }
            if ((Knt_OsNrLokalu == null)) {
                throw new global::System.ArgumentNullException("Knt_OsNrLokalu");
            }
            else {
                this.Adapter.InsertCommand.Parameters[44].Value = ((string)(Knt_OsNrLokalu));
            }
            if ((Knt_OsMiasto == null)) {
                throw new global::System.ArgumentNullException("Knt_OsMiasto");
            }
            else {
                this.Adapter.InsertCommand.Parameters[45].Value = ((string)(Knt_OsMiasto));
            }
            if ((Knt_OsKodPocztowy == null)) {
                throw new global::System.ArgumentNullException("Knt_OsKodPocztowy");
            }
            else {
                this.Adapter.InsertCommand.Parameters[46].Value = ((string)(Knt_OsKodPocztowy));
            }
            if ((Knt_OsPoczta == null)) {
                throw new global::System.ArgumentNullException("Knt_OsPoczta");
            }
            else {
                this.Adapter.InsertCommand.Parameters[47].Value = ((string)(Knt_OsPoczta));
            }
            if ((Knt_OsAdres2 == null)) {
                throw new global::System.ArgumentNullException("Knt_OsAdres2");
            }
            else {
                this.Adapter.InsertCommand.Parameters[48].Value = ((string)(Knt_OsAdres2));
            }
            if ((Knt_OsTelefon == null)) {
                throw new global::System.ArgumentNullException("Knt_OsTelefon");
            }
            else {
                this.Adapter.InsertCommand.Parameters[49].Value = ((string)(Knt_OsTelefon));
            }
            if ((Knt_OsGSM == null)) {
                throw new global::System.ArgumentNullException("Knt_OsGSM");
            }
            else {
                this.Adapter.InsertCommand.Parameters[50].Value = ((string)(Knt_OsGSM));
            }
            if ((Knt_OsEmail == null)) {
                throw new global::System.ArgumentNullException("Knt_OsEmail");
            }
            else {
                this.Adapter.InsertCommand.Parameters[51].Value = ((string)(Knt_OsEmail));
            }
            this.Adapter.InsertCommand.Parameters[52].Value = ((byte)(Knt_Informacje));
            this.Adapter.InsertCommand.Parameters[53].Value = ((decimal)(Knt_Upust));
            this.Adapter.InsertCommand.Parameters[54].Value = ((byte)(Knt_LimitFlag));
            this.Adapter.InsertCommand.Parameters[55].Value = ((decimal)(Knt_LimitKredytu));
            this.Adapter.InsertCommand.Parameters[56].Value = ((short)(Knt_Ceny));
            if ((Knt_FplID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[57].Value = ((int)(Knt_FplID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[57].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[58].Value = ((short)(Knt_MaxZwloka));
            this.Adapter.InsertCommand.Parameters[59].Value = ((byte)(Knt_TerminPlat));
            this.Adapter.InsertCommand.Parameters[60].Value = ((short)(Knt_Termin));
            if ((Knt_KontoOdb == null)) {
                throw new global::System.ArgumentNullException("Knt_KontoOdb");
            }
            else {
                this.Adapter.InsertCommand.Parameters[61].Value = ((string)(Knt_KontoOdb));
            }
            if ((Knt_KontoDost == null)) {
                throw new global::System.ArgumentNullException("Knt_KontoDost");
            }
            else {
                this.Adapter.InsertCommand.Parameters[62].Value = ((string)(Knt_KontoDost));
            }
            if ((Knt_KatID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[63].Value = ((int)(Knt_KatID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[63].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[64].Value = ((byte)(Knt_BlokadaDok));
            if ((Knt_LimitKredytuWal == null)) {
                throw new global::System.ArgumentNullException("Knt_LimitKredytuWal");
            }
            else {
                this.Adapter.InsertCommand.Parameters[65].Value = ((string)(Knt_LimitKredytuWal));
            }
            this.Adapter.InsertCommand.Parameters[66].Value = ((decimal)(Knt_LimitKredytuWykorzystany));
            this.Adapter.InsertCommand.Parameters[67].Value = ((byte)(Knt_NieRozliczac));
            this.Adapter.InsertCommand.Parameters[68].Value = ((byte)(Knt_PodatekVat));
            this.Adapter.InsertCommand.Parameters[69].Value = ((byte)(Knt_Finalny));
            this.Adapter.InsertCommand.Parameters[70].Value = ((byte)(Knt_Export));
            this.Adapter.InsertCommand.Parameters[71].Value = ((byte)(Knt_Rodzaj));
            this.Adapter.InsertCommand.Parameters[72].Value = ((byte)(Knt_Rodzaj_Dostawca));
            this.Adapter.InsertCommand.Parameters[73].Value = ((byte)(Knt_Rodzaj_Odbiorca));
            this.Adapter.InsertCommand.Parameters[74].Value = ((byte)(Knt_Rodzaj_Konkurencja));
            this.Adapter.InsertCommand.Parameters[75].Value = ((byte)(Knt_Rodzaj_Partner));
            this.Adapter.InsertCommand.Parameters[76].Value = ((byte)(Knt_Rodzaj_Potencjalny));
            this.Adapter.InsertCommand.Parameters[77].Value = ((byte)(Knt_Medialny));
            this.Adapter.InsertCommand.Parameters[78].Value = ((byte)(Knt_MalyPod));
            this.Adapter.InsertCommand.Parameters[79].Value = ((byte)(Knt_Rolnik));
            this.Adapter.InsertCommand.Parameters[80].Value = ((byte)(Knt_Nieaktywny));
            this.Adapter.InsertCommand.Parameters[81].Value = ((byte)(Knt_Chroniony));
            if ((Knt_Opis == null)) {
                throw new global::System.ArgumentNullException("Knt_Opis");
            }
            else {
                this.Adapter.InsertCommand.Parameters[82].Value = ((string)(Knt_Opis));
            }
            if ((Knt_OdbiorcaId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[83].Value = ((int)(Knt_OdbiorcaId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[83].Value = global::System.DBNull.Value;
            }
            if ((Knt_OpiekunTyp.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[84].Value = ((short)(Knt_OpiekunTyp.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[84].Value = global::System.DBNull.Value;
            }
            if ((Knt_OpiekunId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[85].Value = ((int)(Knt_OpiekunId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[85].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[86].Value = ((short)(Knt_TerminZwrotuKaucji));
            this.Adapter.InsertCommand.Parameters[87].Value = ((byte)(Knt_NaliczajPlatnosc));
            this.Adapter.InsertCommand.Parameters[88].Value = ((byte)(Knt_ZakazDokumentowHaMag));
            if ((Knt_TS_Export.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[89].Value = ((System.DateTime)(Knt_TS_Export.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[89].Value = global::System.DBNull.Value;
            }
            if ((Knt_ImportAppId == null)) {
                this.Adapter.InsertCommand.Parameters[90].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[90].Value = ((string)(Knt_ImportAppId));
            }
            if ((Knt_ImportRowId == null)) {
                this.Adapter.InsertCommand.Parameters[91].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[91].Value = ((string)(Knt_ImportRowId));
            }
            if ((Knt_OpeZalID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[92].Value = ((int)(Knt_OpeZalID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[92].Value = global::System.DBNull.Value;
            }
            if ((Knt_StaZalId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[93].Value = ((int)(Knt_StaZalId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[93].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[94].Value = ((System.DateTime)(Knt_TS_Zal));
            if ((Knt_OpeModID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[95].Value = ((int)(Knt_OpeModID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[95].Value = global::System.DBNull.Value;
            }
            if ((Knt_StaModId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[96].Value = ((int)(Knt_StaModId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[96].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[97].Value = ((System.DateTime)(Knt_TS_Mod));
            if ((Knt_GIDTyp.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[98].Value = ((short)(Knt_GIDTyp.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[98].Value = global::System.DBNull.Value;
            }
            if ((Knt_GIDFirma.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[99].Value = ((int)(Knt_GIDFirma.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[99].Value = global::System.DBNull.Value;
            }
            if ((Knt_GIDNumer.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[100].Value = ((int)(Knt_GIDNumer.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[100].Value = global::System.DBNull.Value;
            }
            if ((Knt_GIDLp.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[101].Value = ((short)(Knt_GIDLp.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[101].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[102].Value = ((byte)(Knt_LimitPrzeterKredytFlag));
            this.Adapter.InsertCommand.Parameters[103].Value = ((decimal)(Knt_LimitPrzeterKredytWartosc));
            if ((Knt_BazaBR.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[104].Value = ((int)(Knt_BazaBR.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[104].Value = global::System.DBNull.Value;
            }
            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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    global::System.Nullable<short> Knt_PodmiotTyp, 
                    string Knt_Kod, 
                    string Knt_GLN, 
                    string Knt_EAN, 
                    string Knt_Grupa, 
                    string Knt_Nazwa1, 
                    string Knt_Nazwa2, 
                    string Knt_Nazwa3, 
                    string Knt_Kraj, 
                    string Knt_Wojewodztwo, 
                    string Knt_Powiat, 
                    string Knt_Gmina, 
                    string Knt_Ulica, 
                    string Knt_NrDomu, 
                    string Knt_NrLokalu, 
                    string Knt_Miasto, 
                    string Knt_KodPocztowy, 
                    string Knt_Poczta, 
                    string Knt_Adres2, 
                    string Knt_NipKraj, 
                    string Knt_NipE, 
                    string Knt_Nip, 
                    string Knt_Regon, 
                    string Knt_Pesel, 
                    string Knt_Telefon1, 
                    string Knt_Telefon2, 
                    string Knt_Fax, 
                    string Knt_Email, 
                    string Knt_URL, 
                    string Knt_KrajISO, 
                    string Knt_Zezwolenie, 
                    string Knt_KodTransakcji, 
                    global::System.Nullable<int> Knt_BNaID, 
                    string Knt_RachunekNr, 
                    short Knt_IBAN, 
                    string Knt_OsTytul, 
                    byte Knt_OsPlec, 
                    string Knt_OsNazwisko, 
                    string Knt_OsKraj, 
                    string Knt_OsWojewodztwo, 
                    string Knt_OsPowiat, 
                    string Knt_OsGmina, 
                    string Knt_OsUlica, 
                    string Knt_OsNrDomu, 
                    string Knt_OsNrLokalu, 
                    string Knt_OsMiasto, 
                    string Knt_OsKodPocztowy, 
                    string Knt_OsPoczta, 
                    string Knt_OsAdres2, 
                    string Knt_OsTelefon, 
                    string Knt_OsGSM, 
                    string Knt_OsEmail, 
                    byte Knt_Informacje, 
                    decimal Knt_Upust, 
                    byte Knt_LimitFlag, 
                    decimal Knt_LimitKredytu, 
                    short Knt_Ceny, 
                    global::System.Nullable<int> Knt_FplID, 
                    short Knt_MaxZwloka, 
                    byte Knt_TerminPlat, 
                    short Knt_Termin, 
                    string Knt_KontoOdb, 
                    string Knt_KontoDost, 
                    global::System.Nullable<int> Knt_KatID, 
                    byte Knt_BlokadaDok, 
                    string Knt_LimitKredytuWal, 
                    decimal Knt_LimitKredytuWykorzystany, 
                    byte Knt_NieRozliczac, 
                    byte Knt_PodatekVat, 
                    byte Knt_Finalny, 
                    byte Knt_Export, 
                    byte Knt_Rodzaj, 
                    byte Knt_Rodzaj_Dostawca, 
                    byte Knt_Rodzaj_Odbiorca, 
                    byte Knt_Rodzaj_Konkurencja, 
                    byte Knt_Rodzaj_Partner, 
                    byte Knt_Rodzaj_Potencjalny, 
                    byte Knt_Medialny, 
                    byte Knt_MalyPod, 
                    byte Knt_Rolnik, 
                    byte Knt_Nieaktywny, 
                    byte Knt_Chroniony, 
                    string Knt_Opis, 
                    global::System.Nullable<int> Knt_OdbiorcaId, 
                    global::System.Nullable<short> Knt_OpiekunTyp, 
                    global::System.Nullable<int> Knt_OpiekunId, 
                    short Knt_TerminZwrotuKaucji, 
                    byte Knt_NaliczajPlatnosc, 
                    byte Knt_ZakazDokumentowHaMag, 
                    global::System.Nullable<global::System.DateTime> Knt_TS_Export, 
                    string Knt_ImportAppId, 
                    string Knt_ImportRowId, 
                    global::System.Nullable<int> Knt_OpeZalID, 
                    global::System.Nullable<int> Knt_StaZalId, 
                    System.DateTime Knt_TS_Zal, 
                    global::System.Nullable<int> Knt_OpeModID, 
                    global::System.Nullable<int> Knt_StaModId, 
                    System.DateTime Knt_TS_Mod, 
                    global::System.Nullable<short> Knt_GIDTyp, 
                    global::System.Nullable<int> Knt_GIDFirma, 
                    global::System.Nullable<int> Knt_GIDNumer, 
                    global::System.Nullable<short> Knt_GIDLp, 
                    byte Knt_LimitPrzeterKredytFlag, 
                    decimal Knt_LimitPrzeterKredytWartosc, 
                    global::System.Nullable<int> Knt_BazaBR, 
                    int Original_Knt_KntId, 
                    int Knt_KntId) {
            if ((Knt_PodmiotTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((short)(Knt_PodmiotTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((Knt_Kod == null)) {
                throw new global::System.ArgumentNullException("Knt_Kod");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Knt_Kod));
            }
            if ((Knt_GLN == null)) {
                throw new global::System.ArgumentNullException("Knt_GLN");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Knt_GLN));
            }
            if ((Knt_EAN == null)) {
                throw new global::System.ArgumentNullException("Knt_EAN");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Knt_EAN));
            }
            if ((Knt_Grupa == null)) {
                throw new global::System.ArgumentNullException("Knt_Grupa");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Knt_Grupa));
            }
            if ((Knt_Nazwa1 == null)) {
                throw new global::System.ArgumentNullException("Knt_Nazwa1");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Knt_Nazwa1));
            }
            if ((Knt_Nazwa2 == null)) {
                throw new global::System.ArgumentNullException("Knt_Nazwa2");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Knt_Nazwa2));
            }
            if ((Knt_Nazwa3 == null)) {
                throw new global::System.ArgumentNullException("Knt_Nazwa3");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Knt_Nazwa3));
            }
            if ((Knt_Kraj == null)) {
                throw new global::System.ArgumentNullException("Knt_Kraj");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Knt_Kraj));
            }
            if ((Knt_Wojewodztwo == null)) {
                throw new global::System.ArgumentNullException("Knt_Wojewodztwo");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Knt_Wojewodztwo));
            }
            if ((Knt_Powiat == null)) {
                throw new global::System.ArgumentNullException("Knt_Powiat");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Knt_Powiat));
            }
            if ((Knt_Gmina == null)) {
                throw new global::System.ArgumentNullException("Knt_Gmina");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Knt_Gmina));
            }
            if ((Knt_Ulica == null)) {
                throw new global::System.ArgumentNullException("Knt_Ulica");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Knt_Ulica));
            }
            if ((Knt_NrDomu == null)) {
                throw new global::System.ArgumentNullException("Knt_NrDomu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Knt_NrDomu));
            }
            if ((Knt_NrLokalu == null)) {
                throw new global::System.ArgumentNullException("Knt_NrLokalu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Knt_NrLokalu));
            }
            if ((Knt_Miasto == null)) {
                throw new global::System.ArgumentNullException("Knt_Miasto");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Knt_Miasto));
            }
            if ((Knt_KodPocztowy == null)) {
                throw new global::System.ArgumentNullException("Knt_KodPocztowy");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Knt_KodPocztowy));
            }
            if ((Knt_Poczta == null)) {
                throw new global::System.ArgumentNullException("Knt_Poczta");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Knt_Poczta));
            }
            if ((Knt_Adres2 == null)) {
                throw new global::System.ArgumentNullException("Knt_Adres2");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Knt_Adres2));
            }
            if ((Knt_NipKraj == null)) {
                throw new global::System.ArgumentNullException("Knt_NipKraj");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Knt_NipKraj));
            }
            if ((Knt_NipE == null)) {
                throw new global::System.ArgumentNullException("Knt_NipE");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Knt_NipE));
            }
            if ((Knt_Nip == null)) {
                throw new global::System.ArgumentNullException("Knt_Nip");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Knt_Nip));
            }
            if ((Knt_Regon == null)) {
                throw new global::System.ArgumentNullException("Knt_Regon");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Knt_Regon));
            }
            if ((Knt_Pesel == null)) {
                throw new global::System.ArgumentNullException("Knt_Pesel");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Knt_Pesel));
            }
            if ((Knt_Telefon1 == null)) {
                throw new global::System.ArgumentNullException("Knt_Telefon1");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Knt_Telefon1));
            }
            if ((Knt_Telefon2 == null)) {
                throw new global::System.ArgumentNullException("Knt_Telefon2");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Knt_Telefon2));
            }
            if ((Knt_Fax == null)) {
                throw new global::System.ArgumentNullException("Knt_Fax");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Knt_Fax));
            }
            if ((Knt_Email == null)) {
                throw new global::System.ArgumentNullException("Knt_Email");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Knt_Email));
            }
            if ((Knt_URL == null)) {
                throw new global::System.ArgumentNullException("Knt_URL");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Knt_URL));
            }
            if ((Knt_KrajISO == null)) {
                throw new global::System.ArgumentNullException("Knt_KrajISO");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Knt_KrajISO));
            }
            if ((Knt_Zezwolenie == null)) {
                throw new global::System.ArgumentNullException("Knt_Zezwolenie");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Knt_Zezwolenie));
            }
            if ((Knt_KodTransakcji == null)) {
                throw new global::System.ArgumentNullException("Knt_KodTransakcji");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Knt_KodTransakcji));
            }
            if ((Knt_BNaID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(Knt_BNaID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
            }
            if ((Knt_RachunekNr == null)) {
                throw new global::System.ArgumentNullException("Knt_RachunekNr");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Knt_RachunekNr));
            }
            this.Adapter.UpdateCommand.Parameters[34].Value = ((short)(Knt_IBAN));
            if ((Knt_OsTytul == null)) {
                throw new global::System.ArgumentNullException("Knt_OsTytul");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Knt_OsTytul));
            }
            this.Adapter.UpdateCommand.Parameters[36].Value = ((byte)(Knt_OsPlec));
            if ((Knt_OsNazwisko == null)) {
                throw new global::System.ArgumentNullException("Knt_OsNazwisko");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Knt_OsNazwisko));
            }
            if ((Knt_OsKraj == null)) {
                throw new global::System.ArgumentNullException("Knt_OsKraj");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Knt_OsKraj));
            }
            if ((Knt_OsWojewodztwo == null)) {
                throw new global::System.ArgumentNullException("Knt_OsWojewodztwo");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Knt_OsWojewodztwo));
            }
            if ((Knt_OsPowiat == null)) {
                throw new global::System.ArgumentNullException("Knt_OsPowiat");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Knt_OsPowiat));
            }
            if ((Knt_OsGmina == null)) {
                throw new global::System.ArgumentNullException("Knt_OsGmina");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Knt_OsGmina));
            }
            if ((Knt_OsUlica == null)) {
                throw new global::System.ArgumentNullException("Knt_OsUlica");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Knt_OsUlica));
            }
            if ((Knt_OsNrDomu == null)) {
                throw new global::System.ArgumentNullException("Knt_OsNrDomu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Knt_OsNrDomu));
            }
            if ((Knt_OsNrLokalu == null)) {
                throw new global::System.ArgumentNullException("Knt_OsNrLokalu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Knt_OsNrLokalu));
            }
            if ((Knt_OsMiasto == null)) {
                throw new global::System.ArgumentNullException("Knt_OsMiasto");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Knt_OsMiasto));
            }
            if ((Knt_OsKodPocztowy == null)) {
                throw new global::System.ArgumentNullException("Knt_OsKodPocztowy");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Knt_OsKodPocztowy));
            }
            if ((Knt_OsPoczta == null)) {
                throw new global::System.ArgumentNullException("Knt_OsPoczta");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Knt_OsPoczta));
            }
            if ((Knt_OsAdres2 == null)) {
                throw new global::System.ArgumentNullException("Knt_OsAdres2");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Knt_OsAdres2));
            }
            if ((Knt_OsTelefon == null)) {
                throw new global::System.ArgumentNullException("Knt_OsTelefon");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Knt_OsTelefon));
            }
            if ((Knt_OsGSM == null)) {
                throw new global::System.ArgumentNullException("Knt_OsGSM");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Knt_OsGSM));
            }
            if ((Knt_OsEmail == null)) {
                throw new global::System.ArgumentNullException("Knt_OsEmail");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Knt_OsEmail));
            }
            this.Adapter.UpdateCommand.Parameters[52].Value = ((byte)(Knt_Informacje));
            this.Adapter.UpdateCommand.Parameters[53].Value = ((decimal)(Knt_Upust));
            this.Adapter.UpdateCommand.Parameters[54].Value = ((byte)(Knt_LimitFlag));
            this.Adapter.UpdateCommand.Parameters[55].Value = ((decimal)(Knt_LimitKredytu));
            this.Adapter.UpdateCommand.Parameters[56].Value = ((short)(Knt_Ceny));
            if ((Knt_FplID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[57].Value = ((int)(Knt_FplID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[58].Value = ((short)(Knt_MaxZwloka));
            this.Adapter.UpdateCommand.Parameters[59].Value = ((byte)(Knt_TerminPlat));
            this.Adapter.UpdateCommand.Parameters[60].Value = ((short)(Knt_Termin));
            if ((Knt_KontoOdb == null)) {
                throw new global::System.ArgumentNullException("Knt_KontoOdb");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[61].Value = ((string)(Knt_KontoOdb));
            }
            if ((Knt_KontoDost == null)) {
                throw new global::System.ArgumentNullException("Knt_KontoDost");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[62].Value = ((string)(Knt_KontoDost));
            }
            if ((Knt_KatID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[63].Value = ((int)(Knt_KatID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[64].Value = ((byte)(Knt_BlokadaDok));
            if ((Knt_LimitKredytuWal == null)) {
                throw new global::System.ArgumentNullException("Knt_LimitKredytuWal");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[65].Value = ((string)(Knt_LimitKredytuWal));
            }
            this.Adapter.UpdateCommand.Parameters[66].Value = ((decimal)(Knt_LimitKredytuWykorzystany));
            this.Adapter.UpdateCommand.Parameters[67].Value = ((byte)(Knt_NieRozliczac));
            this.Adapter.UpdateCommand.Parameters[68].Value = ((byte)(Knt_PodatekVat));
            this.Adapter.UpdateCommand.Parameters[69].Value = ((byte)(Knt_Finalny));
            this.Adapter.UpdateCommand.Parameters[70].Value = ((byte)(Knt_Export));
            this.Adapter.UpdateCommand.Parameters[71].Value = ((byte)(Knt_Rodzaj));
            this.Adapter.UpdateCommand.Parameters[72].Value = ((byte)(Knt_Rodzaj_Dostawca));
            this.Adapter.UpdateCommand.Parameters[73].Value = ((byte)(Knt_Rodzaj_Odbiorca));
            this.Adapter.UpdateCommand.Parameters[74].Value = ((byte)(Knt_Rodzaj_Konkurencja));
            this.Adapter.UpdateCommand.Parameters[75].Value = ((byte)(Knt_Rodzaj_Partner));
            this.Adapter.UpdateCommand.Parameters[76].Value = ((byte)(Knt_Rodzaj_Potencjalny));
            this.Adapter.UpdateCommand.Parameters[77].Value = ((byte)(Knt_Medialny));
            this.Adapter.UpdateCommand.Parameters[78].Value = ((byte)(Knt_MalyPod));
            this.Adapter.UpdateCommand.Parameters[79].Value = ((byte)(Knt_Rolnik));
            this.Adapter.UpdateCommand.Parameters[80].Value = ((byte)(Knt_Nieaktywny));
            this.Adapter.UpdateCommand.Parameters[81].Value = ((byte)(Knt_Chroniony));
            if ((Knt_Opis == null)) {
                throw new global::System.ArgumentNullException("Knt_Opis");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[82].Value = ((string)(Knt_Opis));
            }
            if ((Knt_OdbiorcaId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[83].Value = ((int)(Knt_OdbiorcaId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[83].Value = global::System.DBNull.Value;
            }
            if ((Knt_OpiekunTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[84].Value = ((short)(Knt_OpiekunTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[84].Value = global::System.DBNull.Value;
            }
            if ((Knt_OpiekunId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[85].Value = ((int)(Knt_OpiekunId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[85].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[86].Value = ((short)(Knt_TerminZwrotuKaucji));
            this.Adapter.UpdateCommand.Parameters[87].Value = ((byte)(Knt_NaliczajPlatnosc));
            this.Adapter.UpdateCommand.Parameters[88].Value = ((byte)(Knt_ZakazDokumentowHaMag));
            if ((Knt_TS_Export.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[89].Value = ((System.DateTime)(Knt_TS_Export.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[89].Value = global::System.DBNull.Value;
            }
            if ((Knt_ImportAppId == null)) {
                this.Adapter.UpdateCommand.Parameters[90].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[90].Value = ((string)(Knt_ImportAppId));
            }
            if ((Knt_ImportRowId == null)) {
                this.Adapter.UpdateCommand.Parameters[91].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[91].Value = ((string)(Knt_ImportRowId));
            }
            if ((Knt_OpeZalID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[92].Value = ((int)(Knt_OpeZalID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[92].Value = global::System.DBNull.Value;
            }
            if ((Knt_StaZalId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[93].Value = ((int)(Knt_StaZalId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[93].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[94].Value = ((System.DateTime)(Knt_TS_Zal));
            if ((Knt_OpeModID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[95].Value = ((int)(Knt_OpeModID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[95].Value = global::System.DBNull.Value;
            }
            if ((Knt_StaModId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[96].Value = ((int)(Knt_StaModId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[96].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[97].Value = ((System.DateTime)(Knt_TS_Mod));
            if ((Knt_GIDTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[98].Value = ((short)(Knt_GIDTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[98].Value = global::System.DBNull.Value;
            }
            if ((Knt_GIDFirma.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[99].Value = ((int)(Knt_GIDFirma.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[99].Value = global::System.DBNull.Value;
            }
            if ((Knt_GIDNumer.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[100].Value = ((int)(Knt_GIDNumer.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[100].Value = global::System.DBNull.Value;
            }
            if ((Knt_GIDLp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[101].Value = ((short)(Knt_GIDLp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[101].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[102].Value = ((byte)(Knt_LimitPrzeterKredytFlag));
            this.Adapter.UpdateCommand.Parameters[103].Value = ((decimal)(Knt_LimitPrzeterKredytWartosc));
            if ((Knt_BazaBR.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[104].Value = ((int)(Knt_BazaBR.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[104].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[105].Value = ((int)(Original_Knt_KntId));
            this.Adapter.UpdateCommand.Parameters[106].Value = ((int)(Knt_KntId));
            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();
                }
            }
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class TraNagTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public TraNagTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "TraNag";
            tableMapping.ColumnMappings.Add("TrN_TrNID", "TrN_TrNID");
            tableMapping.ColumnMappings.Add("TrN_TerminZwrotuKaucji", "TrN_TerminZwrotuKaucji");
            tableMapping.ColumnMappings.Add("TrN_OFFPrawoDoFAPA", "TrN_OFFPrawoDoFAPA");
            tableMapping.ColumnMappings.Add("TrN_OFFPrawoDoAnulowania", "TrN_OFFPrawoDoAnulowania");
            tableMapping.ColumnMappings.Add("TrN_RelTrNId", "TrN_RelTrNId");
            tableMapping.ColumnMappings.Add("TrN_FVMarza", "TrN_FVMarza");
            tableMapping.ColumnMappings.Add("TrN_DDfId", "TrN_DDfId");
            tableMapping.ColumnMappings.Add("TrN_TypDokumentu", "TrN_TypDokumentu");
            tableMapping.ColumnMappings.Add("TrN_ZwrId", "TrN_ZwrId");
            tableMapping.ColumnMappings.Add("TrN_FaId", "TrN_FaId");
            tableMapping.ColumnMappings.Add("TrN_NumerNr", "TrN_NumerNr");
            tableMapping.ColumnMappings.Add("TrN_NumerString", "TrN_NumerString");
            tableMapping.ColumnMappings.Add("TrN_NumerPelny", "TrN_NumerPelny");
            tableMapping.ColumnMappings.Add("TrN_Bufor", "TrN_Bufor");
            tableMapping.ColumnMappings.Add("TrN_Anulowany", "TrN_Anulowany");
            tableMapping.ColumnMappings.Add("TrN_VaNId", "TrN_VaNId");
            tableMapping.ColumnMappings.Add("TrN_DataDok", "TrN_DataDok");
            tableMapping.ColumnMappings.Add("TrN_DataWys", "TrN_DataWys");
            tableMapping.ColumnMappings.Add("TrN_DataOpe", "TrN_DataOpe");
            tableMapping.ColumnMappings.Add("TrN_NumerObcy", "TrN_NumerObcy");
            tableMapping.ColumnMappings.Add("TrN_NumerPelnyPrw", "TrN_NumerPelnyPrw");
            tableMapping.ColumnMappings.Add("TrN_TaxFreePotwierdzony", "TrN_TaxFreePotwierdzony");
            tableMapping.ColumnMappings.Add("TrN_Korekta", "TrN_Korekta");
            tableMapping.ColumnMappings.Add("TrN_Fiskalna", "TrN_Fiskalna");
            tableMapping.ColumnMappings.Add("TrN_FiskalnaErr", "TrN_FiskalnaErr");
            tableMapping.ColumnMappings.Add("TrN_RabatPromocyjny", "TrN_RabatPromocyjny");
            tableMapping.ColumnMappings.Add("TrN_RabatKorekta", "TrN_RabatKorekta");
            tableMapping.ColumnMappings.Add("TrN_Detal", "TrN_Detal");
            tableMapping.ColumnMappings.Add("TrN_Rodzaj", "TrN_Rodzaj");
            tableMapping.ColumnMappings.Add("TrN_PodmiotTyp", "TrN_PodmiotTyp");
            tableMapping.ColumnMappings.Add("TrN_PodID", "TrN_PodID");
            tableMapping.ColumnMappings.Add("TrN_PodNazwa1", "TrN_PodNazwa1");
            tableMapping.ColumnMappings.Add("TrN_PodNazwa2", "TrN_PodNazwa2");
            tableMapping.ColumnMappings.Add("TrN_PodNazwa3", "TrN_PodNazwa3");
            tableMapping.ColumnMappings.Add("TrN_PodKraj", "TrN_PodKraj");
            tableMapping.ColumnMappings.Add("TrN_PodWojewodztwo", "TrN_PodWojewodztwo");
            tableMapping.ColumnMappings.Add("TrN_PodPowiat", "TrN_PodPowiat");
            tableMapping.ColumnMappings.Add("TrN_PodGmina", "TrN_PodGmina");
            tableMapping.ColumnMappings.Add("TrN_PodUlica", "TrN_PodUlica");
            tableMapping.ColumnMappings.Add("TrN_PodNrDomu", "TrN_PodNrDomu");
            tableMapping.ColumnMappings.Add("TrN_PodNrLokalu", "TrN_PodNrLokalu");
            tableMapping.ColumnMappings.Add("TrN_PodMiasto", "TrN_PodMiasto");
            tableMapping.ColumnMappings.Add("TrN_PodKodPocztowy", "TrN_PodKodPocztowy");
            tableMapping.ColumnMappings.Add("TrN_PodPoczta", "TrN_PodPoczta");
            tableMapping.ColumnMappings.Add("TrN_PodAdres2", "TrN_PodAdres2");
            tableMapping.ColumnMappings.Add("TrN_PodNipKraj", "TrN_PodNipKraj");
            tableMapping.ColumnMappings.Add("TrN_PodNipE", "TrN_PodNipE");
            tableMapping.ColumnMappings.Add("TrN_PodmiotGLN", "TrN_PodmiotGLN");
            tableMapping.ColumnMappings.Add("TrN_Finalny", "TrN_Finalny");
            tableMapping.ColumnMappings.Add("TrN_Export", "TrN_Export");
            tableMapping.ColumnMappings.Add("TrN_OdbiorcaTyp", "TrN_OdbiorcaTyp");
            tableMapping.ColumnMappings.Add("TrN_OdbID", "TrN_OdbID");
            tableMapping.ColumnMappings.Add("TrN_OdbNazwa1", "TrN_OdbNazwa1");
            tableMapping.ColumnMappings.Add("TrN_OdbNazwa2", "TrN_OdbNazwa2");
            tableMapping.ColumnMappings.Add("TrN_OdbNazwa3", "TrN_OdbNazwa3");
            tableMapping.ColumnMappings.Add("TrN_OdbKraj", "TrN_OdbKraj");
            tableMapping.ColumnMappings.Add("TrN_OdbWojewodztwo", "TrN_OdbWojewodztwo");
            tableMapping.ColumnMappings.Add("TrN_OdbPowiat", "TrN_OdbPowiat");
            tableMapping.ColumnMappings.Add("TrN_OdbGmina", "TrN_OdbGmina");
            tableMapping.ColumnMappings.Add("TrN_OdbUlica", "TrN_OdbUlica");
            tableMapping.ColumnMappings.Add("TrN_OdbNrDomu", "TrN_OdbNrDomu");
            tableMapping.ColumnMappings.Add("TrN_OdbNrLokalu", "TrN_OdbNrLokalu");
            tableMapping.ColumnMappings.Add("TrN_OdbMiasto", "TrN_OdbMiasto");
            tableMapping.ColumnMappings.Add("TrN_OdbKodPocztowy", "TrN_OdbKodPocztowy");
            tableMapping.ColumnMappings.Add("TrN_OdbPoczta", "TrN_OdbPoczta");
            tableMapping.ColumnMappings.Add("TrN_OdbAdres2", "TrN_OdbAdres2");
            tableMapping.ColumnMappings.Add("TrN_OdbNipKraj", "TrN_OdbNipKraj");
            tableMapping.ColumnMappings.Add("TrN_OdbNipE", "TrN_OdbNipE");
            tableMapping.ColumnMappings.Add("TrN_OdbiorcaGLN", "TrN_OdbiorcaGLN");
            tableMapping.ColumnMappings.Add("TrN_OdbiorcaDocTyp", "TrN_OdbiorcaDocTyp");
            tableMapping.ColumnMappings.Add("TrN_OdbDocID", "TrN_OdbDocID");
            tableMapping.ColumnMappings.Add("TrN_KatID", "TrN_KatID");
            tableMapping.ColumnMappings.Add("TrN_Kategoria", "TrN_Kategoria");
            tableMapping.ColumnMappings.Add("TrN_FPlId", "TrN_FPlId");
            tableMapping.ColumnMappings.Add("TrN_Termin", "TrN_Termin");
            tableMapping.ColumnMappings.Add("TrN_RazemNetto", "TrN_RazemNetto");
            tableMapping.ColumnMappings.Add("TrN_RazemVAT", "TrN_RazemVAT");
            tableMapping.ColumnMappings.Add("TrN_RazemBrutto", "TrN_RazemBrutto");
            tableMapping.ColumnMappings.Add("TrN_RazemNettoWal", "TrN_RazemNettoWal");
            tableMapping.ColumnMappings.Add("TrN_RazemVATWal", "TrN_RazemVATWal");
            tableMapping.ColumnMappings.Add("TrN_RazemBruttoWal", "TrN_RazemBruttoWal");
            tableMapping.ColumnMappings.Add("TrN_Waluta", "TrN_Waluta");
            tableMapping.ColumnMappings.Add("TrN_KursNumer", "TrN_KursNumer");
            tableMapping.ColumnMappings.Add("TrN_KursL", "TrN_KursL");
            tableMapping.ColumnMappings.Add("TrN_KursM", "TrN_KursM");
            tableMapping.ColumnMappings.Add("TrN_PlatElemWalSys", "TrN_PlatElemWalSys");
            tableMapping.ColumnMappings.Add("TrN_PlatKaucje", "TrN_PlatKaucje");
            tableMapping.ColumnMappings.Add("TrN_PodmiotZalTyp", "TrN_PodmiotZalTyp");
            tableMapping.ColumnMappings.Add("TrN_PodZalId", "TrN_PodZalId");
            tableMapping.ColumnMappings.Add("TrN_BlokadaPlatnosci", "TrN_BlokadaPlatnosci");
            tableMapping.ColumnMappings.Add("TrN_MagZrdId", "TrN_MagZrdId");
            tableMapping.ColumnMappings.Add("TrN_MagDocId", "TrN_MagDocId");
            tableMapping.ColumnMappings.Add("TrN_TypNB", "TrN_TypNB");
            tableMapping.ColumnMappings.Add("TrN_Rabat", "TrN_Rabat");
            tableMapping.ColumnMappings.Add("TrN_Odebral", "TrN_Odebral");
            tableMapping.ColumnMappings.Add("TrN_Opis", "TrN_Opis");
            tableMapping.ColumnMappings.Add("TrN_ZwroconoCalaIlosc", "TrN_ZwroconoCalaIlosc");
            tableMapping.ColumnMappings.Add("TrN_NotaKorPrzed", "TrN_NotaKorPrzed");
            tableMapping.ColumnMappings.Add("TrN_NotaKorPo", "TrN_NotaKorPo");
            tableMapping.ColumnMappings.Add("TrN_TrSTyp", "TrN_TrSTyp");
            tableMapping.ColumnMappings.Add("TrN_DekId", "TrN_DekId");
            tableMapping.ColumnMappings.Add("TrN_TS_Export", "TrN_TS_Export");
            tableMapping.ColumnMappings.Add("TrN_ImportAppId", "TrN_ImportAppId");
            tableMapping.ColumnMappings.Add("TrN_ImportRowId", "TrN_ImportRowId");
            tableMapping.ColumnMappings.Add("TrN_OpeZalID", "TrN_OpeZalID");
            tableMapping.ColumnMappings.Add("TrN_StaZalId", "TrN_StaZalId");
            tableMapping.ColumnMappings.Add("TrN_TS_Zal", "TrN_TS_Zal");
            tableMapping.ColumnMappings.Add("TrN_OpeModID", "TrN_OpeModID");
            tableMapping.ColumnMappings.Add("TrN_StaModId", "TrN_StaModId");
            tableMapping.ColumnMappings.Add("TrN_TS_Mod", "TrN_TS_Mod");
            tableMapping.ColumnMappings.Add("TrN_GIDTyp", "TrN_GIDTyp");
            tableMapping.ColumnMappings.Add("TrN_GIDFirma", "TrN_GIDFirma");
            tableMapping.ColumnMappings.Add("TrN_GIDNumer", "TrN_GIDNumer");
            tableMapping.ColumnMappings.Add("TrN_GIDLp", "TrN_GIDLp");
            tableMapping.ColumnMappings.Add("TrN_Centrala", "TrN_Centrala");
            tableMapping.ColumnMappings.Add("TrN_KodTransakcji", "TrN_KodTransakcji");
            tableMapping.ColumnMappings.Add("TrN_IsNId", "TrN_IsNId");
            tableMapping.ColumnMappings.Add("TrN_DataTransportu", "TrN_DataTransportu");
            tableMapping.ColumnMappings.Add("TrN_KodKraju", "TrN_KodKraju");
            tableMapping.ColumnMappings.Add("TrN_VatDlaDokWal", "TrN_VatDlaDokWal");
            tableMapping.ColumnMappings.Add("TrN_OFFExportMag", "TrN_OFFExportMag");
            tableMapping.ColumnMappings.Add("TrN_DataKur", "TrN_DataKur");
            tableMapping.ColumnMappings.Add("TrN_StatusString", "TrN_StatusString");
            tableMapping.ColumnMappings.Add("TrN_OdbEmail", "TrN_OdbEmail");
            tableMapping.ColumnMappings.Add("TrN_OdbTelefon", "TrN_OdbTelefon");
            tableMapping.ColumnMappings.Add("TrN_WartoscZakupu", "TrN_WartoscZakupu");
            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 [CDN].[TraNag] WHERE (([TrN_TrNID] = @Original_TrN_TrNID) AND ((@IsNu" +
                "ll_TrN_TerminZwrotuKaucji = 1 AND [TrN_TerminZwrotuKaucji] IS NULL) OR ([TrN_Ter" +
                "minZwrotuKaucji] = @Original_TrN_TerminZwrotuKaucji)) AND ((@IsNull_TrN_OFFPrawo" +
                "DoFAPA = 1 AND [TrN_OFFPrawoDoFAPA] IS NULL) OR ([TrN_OFFPrawoDoFAPA] = @Origina" +
                "l_TrN_OFFPrawoDoFAPA)) AND ((@IsNull_TrN_OFFPrawoDoAnulowania = 1 AND [TrN_OFFPr" +
                "awoDoAnulowania] IS NULL) OR ([TrN_OFFPrawoDoAnulowania] = @Original_TrN_OFFPraw" +
                "oDoAnulowania)) AND ((@IsNull_TrN_RelTrNId = 1 AND [TrN_RelTrNId] IS NULL) OR ([" +
                "TrN_RelTrNId] = @Original_TrN_RelTrNId)) AND ((@IsNull_TrN_FVMarza = 1 AND [TrN_" +
                "FVMarza] IS NULL) OR ([TrN_FVMarza] = @Original_TrN_FVMarza)) AND ((@IsNull_TrN_" +
                "DDfId = 1 AND [TrN_DDfId] IS NULL) OR ([TrN_DDfId] = @Original_TrN_DDfId)) AND (" +
                "[TrN_TypDokumentu] = @Original_TrN_TypDokumentu) AND ((@IsNull_TrN_ZwrId = 1 AND" +
                " [TrN_ZwrId] IS NULL) OR ([TrN_ZwrId] = @Original_TrN_ZwrId)) AND ((@IsNull_TrN_" +
                "FaId = 1 AND [TrN_FaId] IS NULL) OR ([TrN_FaId] = @Original_TrN_FaId)) AND ([TrN" +
                "_NumerNr] = @Original_TrN_NumerNr) AND ([TrN_NumerString] = @Original_TrN_NumerS" +
                "tring) AND ((@IsNull_TrN_NumerPelny = 1 AND [TrN_NumerPelny] IS NULL) OR ([TrN_N" +
                "umerPelny] = @Original_TrN_NumerPelny)) AND ([TrN_Bufor] = @Original_TrN_Bufor) " +
                "AND ([TrN_Anulowany] = @Original_TrN_Anulowany) AND ((@IsNull_TrN_VaNId = 1 AND " +
                "[TrN_VaNId] IS NULL) OR ([TrN_VaNId] = @Original_TrN_VaNId)) AND ([TrN_DataDok] " +
                "= @Original_TrN_DataDok) AND ([TrN_DataWys] = @Original_TrN_DataWys) AND ([TrN_D" +
                "ataOpe] = @Original_TrN_DataOpe) AND ([TrN_NumerObcy] = @Original_TrN_NumerObcy)" +
                " AND ([TrN_NumerPelnyPrw] = @Original_TrN_NumerPelnyPrw) AND ([TrN_TaxFreePotwie" +
                "rdzony] = @Original_TrN_TaxFreePotwierdzony) AND ([TrN_Korekta] = @Original_TrN_" +
                "Korekta) AND ([TrN_Fiskalna] = @Original_TrN_Fiskalna) AND ((@IsNull_TrN_Fiskaln" +
                "aErr = 1 AND [TrN_FiskalnaErr] IS NULL) OR ([TrN_FiskalnaErr] = @Original_TrN_Fi" +
                "skalnaErr)) AND ((@IsNull_TrN_RabatPromocyjny = 1 AND [TrN_RabatPromocyjny] IS N" +
                "ULL) OR ([TrN_RabatPromocyjny] = @Original_TrN_RabatPromocyjny)) AND ((@IsNull_T" +
                "rN_RabatKorekta = 1 AND [TrN_RabatKorekta] IS NULL) OR ([TrN_RabatKorekta] = @Or" +
                "iginal_TrN_RabatKorekta)) AND ([TrN_Detal] = @Original_TrN_Detal) AND ([TrN_Rodz" +
                "aj] = @Original_TrN_Rodzaj) AND ((@IsNull_TrN_PodmiotTyp = 1 AND [TrN_PodmiotTyp" +
                "] IS NULL) OR ([TrN_PodmiotTyp] = @Original_TrN_PodmiotTyp)) AND ((@IsNull_TrN_P" +
                "odID = 1 AND [TrN_PodID] IS NULL) OR ([TrN_PodID] = @Original_TrN_PodID)) AND ([" +
                "TrN_PodNazwa1] = @Original_TrN_PodNazwa1) AND ([TrN_PodNazwa2] = @Original_TrN_P" +
                "odNazwa2) AND ([TrN_PodNazwa3] = @Original_TrN_PodNazwa3) AND ([TrN_PodKraj] = @" +
                "Original_TrN_PodKraj) AND ([TrN_PodWojewodztwo] = @Original_TrN_PodWojewodztwo) " +
                "AND ([TrN_PodPowiat] = @Original_TrN_PodPowiat) AND ([TrN_PodGmina] = @Original_" +
                "TrN_PodGmina) AND ([TrN_PodUlica] = @Original_TrN_PodUlica) AND ([TrN_PodNrDomu]" +
                " = @Original_TrN_PodNrDomu) AND ([TrN_PodNrLokalu] = @Original_TrN_PodNrLokalu) " +
                "AND ([TrN_PodMiasto] = @Original_TrN_PodMiasto) AND ([TrN_PodKodPocztowy] = @Ori" +
                "ginal_TrN_PodKodPocztowy) AND ([TrN_PodPoczta] = @Original_TrN_PodPoczta) AND ([" +
                "TrN_PodAdres2] = @Original_TrN_PodAdres2) AND ([TrN_PodNipKraj] = @Original_TrN_" +
                "PodNipKraj) AND ([TrN_PodNipE] = @Original_TrN_PodNipE) AND ([TrN_PodmiotGLN] = " +
                "@Original_TrN_PodmiotGLN) AND ([TrN_Finalny] = @Original_TrN_Finalny) AND ([TrN_" +
                "Export] = @Original_TrN_Export) AND ((@IsNull_TrN_OdbiorcaTyp = 1 AND [TrN_Odbio" +
                "rcaTyp] IS NULL) OR ([TrN_OdbiorcaTyp] = @Original_TrN_OdbiorcaTyp)) AND ((@IsNu" +
                "ll_TrN_OdbID = 1 AND [TrN_OdbID] IS NULL) OR ([TrN_OdbID] = @Original_TrN_OdbID)" +
                ") AND ([TrN_OdbNazwa1] = @Original_TrN_OdbNazwa1) AND ([TrN_OdbNazwa2] = @Origin" +
                "al_TrN_OdbNazwa2) AND ([TrN_OdbNazwa3] = @Original_TrN_OdbNazwa3) AND ([TrN_OdbK" +
                "raj] = @Original_TrN_OdbKraj) AND ([TrN_OdbWojewodztwo] = @Original_TrN_OdbWojew" +
                "odztwo) AND ([TrN_OdbPowiat] = @Original_TrN_OdbPowiat) AND ([TrN_OdbGmina] = @O" +
                "riginal_TrN_OdbGmina) AND ([TrN_OdbUlica] = @Original_TrN_OdbUlica) AND ([TrN_Od" +
                "bNrDomu] = @Original_TrN_OdbNrDomu) AND ([TrN_OdbNrLokalu] = @Original_TrN_OdbNr" +
                "Lokalu) AND ([TrN_OdbMiasto] = @Original_TrN_OdbMiasto) AND ([TrN_OdbKodPocztowy" +
                "] = @Original_TrN_OdbKodPocztowy) AND ([TrN_OdbPoczta] = @Original_TrN_OdbPoczta" +
                ") AND ([TrN_OdbAdres2] = @Original_TrN_OdbAdres2) AND ([TrN_OdbNipKraj] = @Origi" +
                "nal_TrN_OdbNipKraj) AND ([TrN_OdbNipE] = @Original_TrN_OdbNipE) AND ([TrN_Odbior" +
                "caGLN] = @Original_TrN_OdbiorcaGLN) AND ((@IsNull_TrN_OdbiorcaDocTyp = 1 AND [Tr" +
                "N_OdbiorcaDocTyp] IS NULL) OR ([TrN_OdbiorcaDocTyp] = @Original_TrN_OdbiorcaDocT" +
                "yp)) AND ((@IsNull_TrN_OdbDocID = 1 AND [TrN_OdbDocID] IS NULL) OR ([TrN_OdbDocI" +
                "D] = @Original_TrN_OdbDocID)) AND ((@IsNull_TrN_KatID = 1 AND [TrN_KatID] IS NUL" +
                "L) OR ([TrN_KatID] = @Original_TrN_KatID)) AND ([TrN_Kategoria] = @Original_TrN_" +
                "Kategoria) AND ((@IsNull_TrN_FPlId = 1 AND [TrN_FPlId] IS NULL) OR ([TrN_FPlId] " +
                "= @Original_TrN_FPlId)) AND ([TrN_Termin] = @Original_TrN_Termin) AND ([TrN_Raze" +
                "mNetto] = @Original_TrN_RazemNetto) AND ([TrN_RazemVAT] = @Original_TrN_RazemVAT" +
                ") AND ([TrN_RazemBrutto] = @Original_TrN_RazemBrutto) AND ([TrN_RazemNettoWal] =" +
                " @Original_TrN_RazemNettoWal) AND ([TrN_RazemVATWal] = @Original_TrN_RazemVATWal" +
                ") AND ([TrN_RazemBruttoWal] = @Original_TrN_RazemBruttoWal) AND ([TrN_Waluta] = " +
                "@Original_TrN_Waluta) AND ([TrN_KursNumer] = @Original_TrN_KursNumer) AND ([TrN_" +
                "KursL] = @Original_TrN_KursL) AND ([TrN_KursM] = @Original_TrN_KursM) AND ([TrN_" +
                "PlatElemWalSys] = @Original_TrN_PlatElemWalSys) AND ([TrN_PlatKaucje] = @Origina" +
                "l_TrN_PlatKaucje) AND ((@IsNull_TrN_PodmiotZalTyp = 1 AND [TrN_PodmiotZalTyp] IS" +
                " NULL) OR ([TrN_PodmiotZalTyp] = @Original_TrN_PodmiotZalTyp)) AND ((@IsNull_TrN" +
                "_PodZalId = 1 AND [TrN_PodZalId] IS NULL) OR ([TrN_PodZalId] = @Original_TrN_Pod" +
                "ZalId)) AND ([TrN_BlokadaPlatnosci] = @Original_TrN_BlokadaPlatnosci) AND ((@IsN" +
                "ull_TrN_MagZrdId = 1 AND [TrN_MagZrdId] IS NULL) OR ([TrN_MagZrdId] = @Original_" +
                "TrN_MagZrdId)) AND ((@IsNull_TrN_MagDocId = 1 AND [TrN_MagDocId] IS NULL) OR ([T" +
                "rN_MagDocId] = @Original_TrN_MagDocId)) AND ([TrN_TypNB] = @Original_TrN_TypNB) " +
                "AND ([TrN_Rabat] = @Original_TrN_Rabat) AND ([TrN_Odebral] = @Original_TrN_Odebr" +
                "al) AND ([TrN_Opis] = @Original_TrN_Opis) AND ((@IsNull_TrN_ZwroconoCalaIlosc = " +
                "1 AND [TrN_ZwroconoCalaIlosc] IS NULL) OR ([TrN_ZwroconoCalaIlosc] = @Original_T" +
                "rN_ZwroconoCalaIlosc)) AND ([TrN_NotaKorPrzed] = @Original_TrN_NotaKorPrzed) AND" +
                " ([TrN_NotaKorPo] = @Original_TrN_NotaKorPo) AND ([TrN_TrSTyp] = @Original_TrN_T" +
                "rSTyp) AND ((@IsNull_TrN_DekId = 1 AND [TrN_DekId] IS NULL) OR ([TrN_DekId] = @O" +
                "riginal_TrN_DekId)) AND ((@IsNull_TrN_TS_Export = 1 AND [TrN_TS_Export] IS NULL)" +
                " OR ([TrN_TS_Export] = @Original_TrN_TS_Export)) AND ((@IsNull_TrN_ImportAppId =" +
                " 1 AND [TrN_ImportAppId] IS NULL) OR ([TrN_ImportAppId] = @Original_TrN_ImportAp" +
                "pId)) AND ((@IsNull_TrN_ImportRowId = 1 AND [TrN_ImportRowId] IS NULL) OR ([TrN_" +
                "ImportRowId] = @Original_TrN_ImportRowId)) AND ((@IsNull_TrN_OpeZalID = 1 AND [T" +
                "rN_OpeZalID] IS NULL) OR ([TrN_OpeZalID] = @Original_TrN_OpeZalID)) AND ((@IsNul" +
                "l_TrN_StaZalId = 1 AND [TrN_StaZalId] IS NULL) OR ([TrN_StaZalId] = @Original_Tr" +
                "N_StaZalId)) AND ([TrN_TS_Zal] = @Original_TrN_TS_Zal) AND ((@IsNull_TrN_OpeModI" +
                "D = 1 AND [TrN_OpeModID] IS NULL) OR ([TrN_OpeModID] = @Original_TrN_OpeModID)) " +
                "AND ((@IsNull_TrN_StaModId = 1 AND [TrN_StaModId] IS NULL) OR ([TrN_StaModId] = " +
                "@Original_TrN_StaModId)) AND ([TrN_TS_Mod] = @Original_TrN_TS_Mod) AND ((@IsNull" +
                "_TrN_GIDTyp = 1 AND [TrN_GIDTyp] IS NULL) OR ([TrN_GIDTyp] = @Original_TrN_GIDTy" +
                "p)) AND ((@IsNull_TrN_GIDFirma = 1 AND [TrN_GIDFirma] IS NULL) OR ([TrN_GIDFirma" +
                "] = @Original_TrN_GIDFirma)) AND ((@IsNull_TrN_GIDNumer = 1 AND [TrN_GIDNumer] I" +
                "S NULL) OR ([TrN_GIDNumer] = @Original_TrN_GIDNumer)) AND ((@IsNull_TrN_GIDLp = " +
                "1 AND [TrN_GIDLp] IS NULL) OR ([TrN_GIDLp] = @Original_TrN_GIDLp)) AND ([TrN_Cen" +
                "trala] = @Original_TrN_Centrala) AND ([TrN_KodTransakcji] = @Original_TrN_KodTra" +
                "nsakcji) AND ((@IsNull_TrN_IsNId = 1 AND [TrN_IsNId] IS NULL) OR ([TrN_IsNId] = " +
                "@Original_TrN_IsNId)) AND ((@IsNull_TrN_DataTransportu = 1 AND [TrN_DataTranspor" +
                "tu] IS NULL) OR ([TrN_DataTransportu] = @Original_TrN_DataTransportu)) AND ([TrN" +
                "_KodKraju] = @Original_TrN_KodKraju) AND ([TrN_VatDlaDokWal] = @Original_TrN_Vat" +
                "DlaDokWal) AND ((@IsNull_TrN_OFFExportMag = 1 AND [TrN_OFFExportMag] IS NULL) OR" +
                " ([TrN_OFFExportMag] = @Original_TrN_OFFExportMag)) AND ([TrN_DataKur] = @Origin" +
                "al_TrN_DataKur) AND ((@IsNull_TrN_StatusString = 1 AND [TrN_StatusString] IS NUL" +
                "L) OR ([TrN_StatusString] = @Original_TrN_StatusString)) AND ((@IsNull_TrN_OdbEm" +
                "ail = 1 AND [TrN_OdbEmail] IS NULL) OR ([TrN_OdbEmail] = @Original_TrN_OdbEmail)" +
                ") AND ((@IsNull_TrN_OdbTelefon = 1 AND [TrN_OdbTelefon] IS NULL) OR ([TrN_OdbTel" +
                "efon] = @Original_TrN_OdbTelefon)) AND ((@IsNull_TrN_WartoscZakupu = 1 AND [TrN_" +
                "WartoscZakupu] IS NULL) OR ([TrN_WartoscZakupu] = @Original_TrN_WartoscZakupu)))" +
                "";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TrNID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TrNID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_TerminZwrotuKaucji", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TerminZwrotuKaucji", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TerminZwrotuKaucji", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TerminZwrotuKaucji", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OFFPrawoDoFAPA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFPrawoDoFAPA", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OFFPrawoDoFAPA", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFPrawoDoFAPA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OFFPrawoDoAnulowania", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFPrawoDoAnulowania", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OFFPrawoDoAnulowania", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFPrawoDoAnulowania", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_RelTrNId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_RelTrNId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RelTrNId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_RelTrNId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_FVMarza", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FVMarza", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_FVMarza", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FVMarza", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_DDfId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DDfId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_DDfId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DDfId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TypDokumentu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TypDokumentu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_ZwrId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ZwrId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_ZwrId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ZwrId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_FaId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FaId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_FaId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FaId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_NumerNr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerNr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_NumerString", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerString", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_NumerPelny", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerPelny", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_NumerPelny", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerPelny", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Bufor", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Bufor", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Anulowany", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Anulowany", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_VaNId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_VaNId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_VaNId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_VaNId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_DataDok", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataDok", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_DataWys", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataWys", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_DataOpe", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataOpe", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_NumerObcy", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerObcy", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_NumerPelnyPrw", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerPelnyPrw", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TaxFreePotwierdzony", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TaxFreePotwierdzony", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Korekta", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Korekta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Fiskalna", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Fiskalna", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_FiskalnaErr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FiskalnaErr", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_FiskalnaErr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FiskalnaErr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_RabatPromocyjny", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_RabatPromocyjny", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RabatPromocyjny", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 11, 4, "TrN_RabatPromocyjny", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_RabatKorekta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_RabatKorekta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RabatKorekta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 11, 4, "TrN_RabatKorekta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Detal", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Detal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Rodzaj", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Rodzaj", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_PodmiotTyp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodmiotTyp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodmiotTyp", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodmiotTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_PodID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodID", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodNazwa1", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNazwa1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodNazwa2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNazwa2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodNazwa3", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNazwa3", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodKraj", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodKraj", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodWojewodztwo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodWojewodztwo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodPowiat", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodPowiat", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodGmina", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodGmina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodUlica", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodUlica", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodNrDomu", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNrDomu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodNrLokalu", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNrLokalu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodMiasto", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodMiasto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodKodPocztowy", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodKodPocztowy", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodPoczta", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodPoczta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodAdres2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodAdres2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodNipKraj", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNipKraj", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodNipE", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNipE", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodmiotGLN", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodmiotGLN", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Finalny", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Finalny", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Export", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Export", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OdbiorcaTyp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbiorcaTyp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbiorcaTyp", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbiorcaTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OdbID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbID", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbNazwa1", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNazwa1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbNazwa2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNazwa2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbNazwa3", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNazwa3", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbKraj", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbKraj", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbWojewodztwo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbWojewodztwo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbPowiat", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbPowiat", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbGmina", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbGmina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbUlica", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbUlica", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbNrDomu", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNrDomu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbNrLokalu", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNrLokalu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbMiasto", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbMiasto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbKodPocztowy", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbKodPocztowy", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbPoczta", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbPoczta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbAdres2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbAdres2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbNipKraj", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNipKraj", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbNipE", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNipE", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbiorcaGLN", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbiorcaGLN", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OdbiorcaDocTyp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbiorcaDocTyp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbiorcaDocTyp", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbiorcaDocTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OdbDocID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbDocID", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbDocID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbDocID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_KatID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KatID", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_KatID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KatID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Kategoria", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Kategoria", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_FPlId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FPlId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_FPlId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FPlId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Termin", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Termin", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RazemNetto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemNetto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RazemVAT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemVAT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RazemBrutto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemBrutto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RazemNettoWal", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemNettoWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RazemVATWal", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemVATWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RazemBruttoWal", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemBruttoWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Waluta", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Waluta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_KursNumer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KursNumer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_KursL", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 4, "TrN_KursL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_KursM", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 0, "TrN_KursM", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PlatElemWalSys", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PlatElemWalSys", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PlatKaucje", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PlatKaucje", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_PodmiotZalTyp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodmiotZalTyp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodmiotZalTyp", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodmiotZalTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_PodZalId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodZalId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodZalId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodZalId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_BlokadaPlatnosci", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_BlokadaPlatnosci", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_MagZrdId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_MagZrdId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_MagZrdId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_MagZrdId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_MagDocId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_MagDocId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_MagDocId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_MagDocId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TypNB", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TypNB", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Rabat", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 2, "TrN_Rabat", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Odebral", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Odebral", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Opis", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Opis", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_ZwroconoCalaIlosc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ZwroconoCalaIlosc", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_ZwroconoCalaIlosc", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ZwroconoCalaIlosc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_NotaKorPrzed", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NotaKorPrzed", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_NotaKorPo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NotaKorPo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TrSTyp", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TrSTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_DekId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DekId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_DekId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DekId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_TS_Export", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TS_Export", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TS_Export", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TS_Export", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_ImportAppId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ImportAppId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_ImportAppId", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ImportAppId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_ImportRowId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ImportRowId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_ImportRowId", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ImportRowId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OpeZalID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OpeZalID", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OpeZalID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OpeZalID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_StaZalId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_StaZalId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_StaZalId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_StaZalId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TS_Zal", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TS_Zal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OpeModID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OpeModID", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OpeModID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OpeModID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_StaModId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_StaModId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_StaModId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_StaModId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TS_Mod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TS_Mod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_GIDTyp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDTyp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_GIDTyp", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_GIDFirma", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDFirma", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_GIDFirma", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDFirma", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_GIDNumer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDNumer", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_GIDNumer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDNumer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_GIDLp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDLp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_GIDLp", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDLp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Centrala", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Centrala", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_KodTransakcji", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KodTransakcji", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_IsNId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_IsNId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_IsNId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_IsNId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_DataTransportu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataTransportu", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_DataTransportu", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataTransportu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_KodKraju", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KodKraju", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_VatDlaDokWal", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_VatDlaDokWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OFFExportMag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFExportMag", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OFFExportMag", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFExportMag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_DataKur", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataKur", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_StatusString", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_StatusString", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_StatusString", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_StatusString", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OdbEmail", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbEmail", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbEmail", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbEmail", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OdbTelefon", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbTelefon", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbTelefon", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbTelefon", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_WartoscZakupu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_WartoscZakupu", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_WartoscZakupu", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_WartoscZakupu", 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 CDN.TraNag\r\n                         (TrN_TerminZwrotuKaucji, TrN_OFF" +
                "PrawoDoFAPA, TrN_OFFPrawoDoAnulowania, TrN_RelTrNId, TrN_FVMarza, TrN_DDfId, TrN" +
                "_TypDokumentu, TrN_ZwrId, \r\n                         TrN_FaId, TrN_NumerNr, TrN_" +
                "NumerString, TrN_Bufor, TrN_Anulowany, TrN_VaNId, TrN_DataDok, TrN_DataWys, TrN_" +
                "DataOpe, TrN_NumerObcy, \r\n                         TrN_NumerPelnyPrw, TrN_TaxFre" +
                "ePotwierdzony, TrN_Korekta, TrN_Fiskalna, TrN_FiskalnaErr, TrN_RabatPromocyjny, " +
                "TrN_RabatKorekta, TrN_Detal, \r\n                         TrN_Rodzaj, TrN_PodmiotT" +
                "yp, TrN_PodID, TrN_PodNazwa1, TrN_PodNazwa2, TrN_PodNazwa3, TrN_PodKraj, TrN_Pod" +
                "Wojewodztwo, TrN_PodPowiat, \r\n                         TrN_PodGmina, TrN_PodUlic" +
                "a, TrN_PodNrDomu, TrN_PodNrLokalu, TrN_PodMiasto, TrN_PodKodPocztowy, TrN_PodPoc" +
                "zta, TrN_PodAdres2, \r\n                         TrN_PodNipKraj, TrN_PodNipE, TrN_" +
                "PodmiotGLN, TrN_Finalny, TrN_Export, TrN_OdbiorcaTyp, TrN_OdbID, TrN_OdbNazwa1, " +
                "TrN_OdbNazwa2, \r\n                         TrN_OdbNazwa3, TrN_OdbKraj, TrN_OdbWoj" +
                "ewodztwo, TrN_OdbPowiat, TrN_OdbGmina, TrN_OdbUlica, TrN_OdbNrDomu, TrN_OdbNrLok" +
                "alu, TrN_OdbMiasto,\r\n                          TrN_OdbKodPocztowy, TrN_OdbPoczta" +
                ", TrN_OdbAdres2, TrN_OdbNipKraj, TrN_OdbNipE, TrN_OdbiorcaGLN, TrN_OdbiorcaDocTy" +
                "p, TrN_OdbDocID, \r\n                         TrN_KatID, TrN_Kategoria, TrN_FPlId," +
                " TrN_Termin, TrN_RazemNetto, TrN_RazemVAT, TrN_RazemBrutto, TrN_RazemNettoWal, T" +
                "rN_RazemVATWal, \r\n                         TrN_RazemBruttoWal, TrN_Waluta, TrN_K" +
                "ursNumer, TrN_KursL, TrN_KursM, TrN_PlatElemWalSys, TrN_PlatKaucje, TrN_PodmiotZ" +
                "alTyp, TrN_PodZalId, \r\n                         TrN_BlokadaPlatnosci, TrN_MagZrd" +
                "Id, TrN_MagDocId, TrN_TypNB, TrN_Rabat, TrN_Odebral, TrN_Opis, TrN_ZwroconoCalaI" +
                "losc, TrN_NotaKorPrzed, \r\n                         TrN_NotaKorPo, TrN_TrSTyp, Tr" +
                "N_DekId, TrN_TS_Export, TrN_ImportAppId, TrN_ImportRowId, TrN_OpeZalID, TrN_StaZ" +
                "alId, TrN_TS_Zal, TrN_OpeModID, \r\n                         TrN_StaModId, TrN_TS_" +
                "Mod, TrN_GIDTyp, TrN_GIDFirma, TrN_GIDNumer, TrN_GIDLp, TrN_Centrala, TrN_KodTra" +
                "nsakcji, TrN_IsNId, TrN_DataTransportu, \r\n                         TrN_KodKraju," +
                " TrN_VatDlaDokWal, TrN_OFFExportMag, TrN_DataKur, TrN_OdbEmail, TrN_OdbTelefon)\r" +
                "\nVALUES        (@TrN_TerminZwrotuKaucji,@TrN_OFFPrawoDoFAPA,@TrN_OFFPrawoDoAnulo" +
                "wania,@TrN_RelTrNId,@TrN_FVMarza,@TrN_DDfId,@TrN_TypDokumentu,@TrN_ZwrId,@TrN_Fa" +
                "Id,@TrN_NumerNr,@TrN_NumerString,@TrN_Bufor,@TrN_Anulowany,@TrN_VaNId,@TrN_DataD" +
                "ok,@TrN_DataWys,@TrN_DataOpe,@TrN_NumerObcy,@TrN_NumerPelnyPrw,@TrN_TaxFreePotwi" +
                "erdzony,@TrN_Korekta,@TrN_Fiskalna,@TrN_FiskalnaErr,@TrN_RabatPromocyjny,@TrN_Ra" +
                "batKorekta,@TrN_Detal,@TrN_Rodzaj,@TrN_PodmiotTyp,@TrN_PodID,@TrN_PodNazwa1,@TrN" +
                "_PodNazwa2,@TrN_PodNazwa3,@TrN_PodKraj,@TrN_PodWojewodztwo,@TrN_PodPowiat,@TrN_P" +
                "odGmina,@TrN_PodUlica,@TrN_PodNrDomu,@TrN_PodNrLokalu,@TrN_PodMiasto,@TrN_PodKod" +
                "Pocztowy,@TrN_PodPoczta,@TrN_PodAdres2,@TrN_PodNipKraj,@TrN_PodNipE,@TrN_Podmiot" +
                "GLN,@TrN_Finalny,@TrN_Export,@TrN_OdbiorcaTyp,@TrN_OdbID,@TrN_OdbNazwa1,@TrN_Odb" +
                "Nazwa2,@TrN_OdbNazwa3,@TrN_OdbKraj,@TrN_OdbWojewodztwo,@TrN_OdbPowiat,@TrN_OdbGm" +
                "ina,@TrN_OdbUlica,@TrN_OdbNrDomu,@TrN_OdbNrLokalu,@TrN_OdbMiasto,@TrN_OdbKodPocz" +
                "towy,@TrN_OdbPoczta,@TrN_OdbAdres2,@TrN_OdbNipKraj,@TrN_OdbNipE,@TrN_OdbiorcaGLN" +
                ",@TrN_OdbiorcaDocTyp,@TrN_OdbDocID,@TrN_KatID,@TrN_Kategoria,@TrN_FPlId,@TrN_Ter" +
                "min,@TrN_RazemNetto,@TrN_RazemVAT,@TrN_RazemBrutto,@TrN_RazemNettoWal,@TrN_Razem" +
                "VATWal,@TrN_RazemBruttoWal,@TrN_Waluta,@TrN_KursNumer,@TrN_KursL,@TrN_KursM,@TrN" +
                "_PlatElemWalSys,@TrN_PlatKaucje,@TrN_PodmiotZalTyp,@TrN_PodZalId,@TrN_BlokadaPla" +
                "tnosci,@TrN_MagZrdId,@TrN_MagDocId,@TrN_TypNB,@TrN_Rabat,@TrN_Odebral,@TrN_Opis," +
                "@TrN_ZwroconoCalaIlosc,@TrN_NotaKorPrzed,@TrN_NotaKorPo,@TrN_TrSTyp,@TrN_DekId,@" +
                "TrN_TS_Export,@TrN_ImportAppId,@TrN_ImportRowId,@TrN_OpeZalID,@TrN_StaZalId,@TrN" +
                "_TS_Zal,@TrN_OpeModID,@TrN_StaModId,@TrN_TS_Mod,@TrN_GIDTyp,@TrN_GIDFirma,@TrN_G" +
                "IDNumer,@TrN_GIDLp,@TrN_Centrala,@TrN_KodTransakcji,@TrN_IsNId,@TrN_DataTranspor" +
                "tu,@TrN_KodKraju,@TrN_VatDlaDokWal,@TrN_OFFExportMag,@TrN_DataKur,@TrN_OdbEmail," +
                "@TrN_OdbTelefon);  \r\nSELECT TrN_TrNID, TrN_TerminZwrotuKaucji, TrN_OFFPrawoDoFAP" +
                "A, TrN_OFFPrawoDoAnulowania, TrN_RelTrNId, TrN_FVMarza, TrN_DDfId, TrN_TypDokume" +
                "ntu, TrN_ZwrId, TrN_FaId, TrN_NumerNr, TrN_NumerString, TrN_NumerPelny, TrN_Bufo" +
                "r, TrN_Anulowany, TrN_VaNId, TrN_DataDok, TrN_DataWys, TrN_DataOpe, TrN_NumerObc" +
                "y, TrN_NumerPelnyPrw, TrN_TaxFreePotwierdzony, TrN_Korekta, TrN_Fiskalna, TrN_Fi" +
                "skalnaErr, TrN_RabatPromocyjny, TrN_RabatKorekta, TrN_Detal, TrN_Rodzaj, TrN_Pod" +
                "miotTyp, TrN_PodID, TrN_PodNazwa1, TrN_PodNazwa2, TrN_PodNazwa3, TrN_PodKraj, Tr" +
                "N_PodWojewodztwo, TrN_PodPowiat, TrN_PodGmina, TrN_PodUlica, TrN_PodNrDomu, TrN_" +
                "PodNrLokalu, TrN_PodMiasto, TrN_PodKodPocztowy, TrN_PodPoczta, TrN_PodAdres2, Tr" +
                "N_PodNipKraj, TrN_PodNipE, TrN_PodmiotGLN, TrN_Finalny, TrN_Export, TrN_Odbiorca" +
                "Typ, TrN_OdbID, TrN_OdbNazwa1, TrN_OdbNazwa2, TrN_OdbNazwa3, TrN_OdbKraj, TrN_Od" +
                "bWojewodztwo, TrN_OdbPowiat, TrN_OdbGmina, TrN_OdbUlica, TrN_OdbNrDomu, TrN_OdbN" +
                "rLokalu, TrN_OdbMiasto, TrN_OdbKodPocztowy, TrN_OdbPoczta, TrN_OdbAdres2, TrN_Od" +
                "bNipKraj, TrN_OdbNipE, TrN_OdbiorcaGLN, TrN_OdbiorcaDocTyp, TrN_OdbDocID, TrN_Ka" +
                "tID, TrN_Kategoria, TrN_FPlId, TrN_Termin, TrN_RazemNetto, TrN_RazemVAT, TrN_Raz" +
                "emBrutto, TrN_RazemNettoWal, TrN_RazemVATWal, TrN_RazemBruttoWal, TrN_Waluta, Tr" +
                "N_KursNumer, TrN_KursL, TrN_KursM, TrN_PlatElemWalSys, TrN_PlatKaucje, TrN_Podmi" +
                "otZalTyp, TrN_PodZalId, TrN_BlokadaPlatnosci, TrN_MagZrdId, TrN_MagDocId, TrN_Ty" +
                "pNB, TrN_Rabat, TrN_Odebral, TrN_Opis, TrN_ZwroconoCalaIlosc, TrN_NotaKorPrzed, " +
                "TrN_NotaKorPo, TrN_TrSTyp, TrN_DekId, TrN_TS_Export, TrN_ImportAppId, TrN_Import" +
                "RowId, TrN_OpeZalID, TrN_StaZalId, TrN_TS_Zal, TrN_OpeModID, TrN_StaModId, TrN_T" +
                "S_Mod, TrN_GIDTyp, TrN_GIDFirma, TrN_GIDNumer, TrN_GIDLp, TrN_Centrala, TrN_KodT" +
                "ransakcji, TrN_IsNId, TrN_DataTransportu, TrN_KodKraju, TrN_VatDlaDokWal, TrN_OF" +
                "FExportMag, TrN_DataKur, TrN_StatusString, TrN_OdbEmail, TrN_OdbTelefon, TrN_War" +
                "toscZakupu FROM CDN.TraNag WHERE (TrN_TrNID = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TerminZwrotuKaucji", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TerminZwrotuKaucji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OFFPrawoDoFAPA", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFPrawoDoFAPA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OFFPrawoDoAnulowania", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFPrawoDoAnulowania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RelTrNId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_RelTrNId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_FVMarza", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FVMarza", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_DDfId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DDfId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TypDokumentu", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TypDokumentu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_ZwrId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ZwrId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_FaId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_NumerNr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerNr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_NumerString", global::System.Data.SqlDbType.VarChar, 31, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerString", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Bufor", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Bufor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Anulowany", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Anulowany", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_VaNId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_VaNId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_DataDok", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataDok", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_DataWys", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataWys", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_DataOpe", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataOpe", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_NumerObcy", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerObcy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_NumerPelnyPrw", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerPelnyPrw", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TaxFreePotwierdzony", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TaxFreePotwierdzony", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Korekta", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Korekta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Fiskalna", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Fiskalna", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_FiskalnaErr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FiskalnaErr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RabatPromocyjny", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 11, 4, "TrN_RabatPromocyjny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RabatKorekta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 11, 4, "TrN_RabatKorekta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Detal", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Detal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Rodzaj", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Rodzaj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodmiotTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodmiotTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodNazwa1", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNazwa1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodNazwa2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNazwa2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodNazwa3", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNazwa3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodKraj", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodKraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodWojewodztwo", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodWojewodztwo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodPowiat", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodPowiat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodGmina", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodGmina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodUlica", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodUlica", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodNrDomu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNrDomu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodNrLokalu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNrLokalu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodMiasto", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodMiasto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodKodPocztowy", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodKodPocztowy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodPoczta", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodPoczta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodAdres2", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodAdres2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodNipKraj", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNipKraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodNipE", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNipE", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodmiotGLN", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodmiotGLN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Finalny", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Finalny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Export", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Export", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbiorcaTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbiorcaTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbNazwa1", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNazwa1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbNazwa2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNazwa2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbNazwa3", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNazwa3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbKraj", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbKraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbWojewodztwo", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbWojewodztwo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbPowiat", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbPowiat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbGmina", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbGmina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbUlica", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbUlica", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbNrDomu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNrDomu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbNrLokalu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNrLokalu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbMiasto", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbMiasto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbKodPocztowy", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbKodPocztowy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbPoczta", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbPoczta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbAdres2", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbAdres2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbNipKraj", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNipKraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbNipE", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNipE", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbiorcaGLN", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbiorcaGLN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbiorcaDocTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbiorcaDocTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbDocID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbDocID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_KatID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KatID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Kategoria", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Kategoria", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_FPlId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FPlId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Termin", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Termin", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RazemNetto", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemNetto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RazemVAT", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemVAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RazemBrutto", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemBrutto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RazemNettoWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemNettoWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RazemVATWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemVATWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RazemBruttoWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemBruttoWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Waluta", global::System.Data.SqlDbType.VarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Waluta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_KursNumer", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KursNumer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_KursL", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrN_KursL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_KursM", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 0, "TrN_KursM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PlatElemWalSys", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PlatElemWalSys", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PlatKaucje", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PlatKaucje", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodmiotZalTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodmiotZalTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodZalId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodZalId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_BlokadaPlatnosci", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_BlokadaPlatnosci", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_MagZrdId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_MagZrdId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_MagDocId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_MagDocId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TypNB", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TypNB", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Rabat", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 2, "TrN_Rabat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Odebral", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Odebral", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Opis", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Opis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_ZwroconoCalaIlosc", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ZwroconoCalaIlosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_NotaKorPrzed", global::System.Data.SqlDbType.VarChar, 254, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NotaKorPrzed", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_NotaKorPo", global::System.Data.SqlDbType.VarChar, 254, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NotaKorPo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TrSTyp", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TrSTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_DekId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DekId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TS_Export", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TS_Export", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_ImportAppId", global::System.Data.SqlDbType.VarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ImportAppId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_ImportRowId", global::System.Data.SqlDbType.VarChar, 36, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ImportRowId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OpeZalID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OpeZalID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_StaZalId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_StaZalId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TS_Zal", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TS_Zal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OpeModID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OpeModID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_StaModId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_StaModId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TS_Mod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TS_Mod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_GIDTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_GIDFirma", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDFirma", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_GIDNumer", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDNumer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_GIDLp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDLp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Centrala", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Centrala", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_KodTransakcji", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KodTransakcji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_IsNId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_IsNId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_DataTransportu", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataTransportu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_KodKraju", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KodKraju", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_VatDlaDokWal", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_VatDlaDokWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OFFExportMag", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFExportMag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_DataKur", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataKur", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbEmail", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbEmail", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbTelefon", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbTelefon", 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       CDN.TraNag\r\nSET                TrN_TerminZwrotuKaucji = @TrN_TerminZ" +
                "wrotuKaucji, TrN_OFFPrawoDoFAPA = @TrN_OFFPrawoDoFAPA, \r\n                       " +
                "  TrN_OFFPrawoDoAnulowania = @TrN_OFFPrawoDoAnulowania, TrN_RelTrNId = @TrN_RelT" +
                "rNId, TrN_FVMarza = @TrN_FVMarza, TrN_DDfId = @TrN_DDfId, \r\n                    " +
                "     TrN_TypDokumentu = @TrN_TypDokumentu, TrN_ZwrId = @TrN_ZwrId, TrN_FaId = @T" +
                "rN_FaId, TrN_NumerNr = @TrN_NumerNr, \r\n                         TrN_NumerString " +
                "= @TrN_NumerString, TrN_Bufor = @TrN_Bufor, TrN_Anulowany = @TrN_Anulowany, TrN_" +
                "VaNId = @TrN_VaNId, \r\n                         TrN_DataDok = @TrN_DataDok, TrN_D" +
                "ataWys = @TrN_DataWys, TrN_DataOpe = @TrN_DataOpe, TrN_NumerObcy = @TrN_NumerObc" +
                "y, \r\n                         TrN_NumerPelnyPrw = @TrN_NumerPelnyPrw, TrN_TaxFre" +
                "ePotwierdzony = @TrN_TaxFreePotwierdzony, TrN_Korekta = @TrN_Korekta, \r\n        " +
                "                 TrN_Fiskalna = @TrN_Fiskalna, TrN_FiskalnaErr = @TrN_FiskalnaEr" +
                "r, TrN_RabatPromocyjny = @TrN_RabatPromocyjny, \r\n                         TrN_Ra" +
                "batKorekta = @TrN_RabatKorekta, TrN_Detal = @TrN_Detal, TrN_Rodzaj = @TrN_Rodzaj" +
                ", TrN_PodmiotTyp = @TrN_PodmiotTyp, \r\n                         TrN_PodID = @TrN_" +
                "PodID, TrN_PodNazwa1 = @TrN_PodNazwa1, TrN_PodNazwa2 = @TrN_PodNazwa2, TrN_PodNa" +
                "zwa3 = @TrN_PodNazwa3, \r\n                         TrN_PodKraj = @TrN_PodKraj, Tr" +
                "N_PodWojewodztwo = @TrN_PodWojewodztwo, TrN_PodPowiat = @TrN_PodPowiat, TrN_PodG" +
                "mina = @TrN_PodGmina, \r\n                         TrN_PodUlica = @TrN_PodUlica, T" +
                "rN_PodNrDomu = @TrN_PodNrDomu, TrN_PodNrLokalu = @TrN_PodNrLokalu, TrN_PodMiasto" +
                " = @TrN_PodMiasto, \r\n                         TrN_PodKodPocztowy = @TrN_PodKodPo" +
                "cztowy, TrN_PodPoczta = @TrN_PodPoczta, TrN_PodAdres2 = @TrN_PodAdres2, \r\n      " +
                "                   TrN_PodNipKraj = @TrN_PodNipKraj, TrN_PodNipE = @TrN_PodNipE," +
                " TrN_PodmiotGLN = @TrN_PodmiotGLN, TrN_Finalny = @TrN_Finalny, \r\n               " +
                "          TrN_Export = @TrN_Export, TrN_OdbiorcaTyp = @TrN_OdbiorcaTyp, TrN_OdbI" +
                "D = @TrN_OdbID, TrN_OdbNazwa1 = @TrN_OdbNazwa1, \r\n                         TrN_O" +
                "dbNazwa2 = @TrN_OdbNazwa2, TrN_OdbNazwa3 = @TrN_OdbNazwa3, TrN_OdbKraj = @TrN_Od" +
                "bKraj, \r\n                         TrN_OdbWojewodztwo = @TrN_OdbWojewodztwo, TrN_" +
                "OdbPowiat = @TrN_OdbPowiat, TrN_OdbGmina = @TrN_OdbGmina, TrN_OdbUlica = @TrN_Od" +
                "bUlica, \r\n                         TrN_OdbNrDomu = @TrN_OdbNrDomu, TrN_OdbNrLoka" +
                "lu = @TrN_OdbNrLokalu, TrN_OdbMiasto = @TrN_OdbMiasto, \r\n                       " +
                "  TrN_OdbKodPocztowy = @TrN_OdbKodPocztowy, TrN_OdbPoczta = @TrN_OdbPoczta, TrN_" +
                "OdbAdres2 = @TrN_OdbAdres2, \r\n                         TrN_OdbNipKraj = @TrN_Odb" +
                "NipKraj, TrN_OdbNipE = @TrN_OdbNipE, TrN_OdbiorcaGLN = @TrN_OdbiorcaGLN, \r\n     " +
                "                    TrN_OdbiorcaDocTyp = @TrN_OdbiorcaDocTyp, TrN_OdbDocID = @Tr" +
                "N_OdbDocID, TrN_KatID = @TrN_KatID, TrN_Kategoria = @TrN_Kategoria, \r\n          " +
                "               TrN_FPlId = @TrN_FPlId, TrN_Termin = @TrN_Termin, TrN_RazemNetto " +
                "= @TrN_RazemNetto, TrN_RazemVAT = @TrN_RazemVAT, \r\n                         TrN_" +
                "RazemBrutto = @TrN_RazemBrutto, TrN_RazemNettoWal = @TrN_RazemNettoWal, TrN_Raze" +
                "mVATWal = @TrN_RazemVATWal, \r\n                         TrN_RazemBruttoWal = @TrN" +
                "_RazemBruttoWal, TrN_Waluta = @TrN_Waluta, TrN_KursNumer = @TrN_KursNumer, TrN_K" +
                "ursL = @TrN_KursL, \r\n                         TrN_KursM = @TrN_KursM, TrN_PlatEl" +
                "emWalSys = @TrN_PlatElemWalSys, TrN_PlatKaucje = @TrN_PlatKaucje, \r\n            " +
                "             TrN_PodmiotZalTyp = @TrN_PodmiotZalTyp, TrN_PodZalId = @TrN_PodZalI" +
                "d, TrN_BlokadaPlatnosci = @TrN_BlokadaPlatnosci, \r\n                         TrN_" +
                "MagZrdId = @TrN_MagZrdId, TrN_MagDocId = @TrN_MagDocId, TrN_TypNB = @TrN_TypNB, " +
                "TrN_Rabat = @TrN_Rabat, TrN_Odebral = @TrN_Odebral, \r\n                         T" +
                "rN_Opis = @TrN_Opis, TrN_ZwroconoCalaIlosc = @TrN_ZwroconoCalaIlosc, TrN_NotaKor" +
                "Przed = @TrN_NotaKorPrzed, TrN_NotaKorPo = @TrN_NotaKorPo, \r\n                   " +
                "      TrN_TrSTyp = @TrN_TrSTyp, TrN_DekId = @TrN_DekId, TrN_TS_Export = @TrN_TS_" +
                "Export, TrN_ImportAppId = @TrN_ImportAppId, \r\n                         TrN_Impor" +
                "tRowId = @TrN_ImportRowId, TrN_OpeZalID = @TrN_OpeZalID, TrN_StaZalId = @TrN_Sta" +
                "ZalId, TrN_TS_Zal = @TrN_TS_Zal, \r\n                         TrN_OpeModID = @TrN_" +
                "OpeModID, TrN_StaModId = @TrN_StaModId, TrN_TS_Mod = @TrN_TS_Mod, TrN_GIDTyp = @" +
                "TrN_GIDTyp, \r\n                         TrN_GIDFirma = @TrN_GIDFirma, TrN_GIDNume" +
                "r = @TrN_GIDNumer, TrN_GIDLp = @TrN_GIDLp, TrN_Centrala = @TrN_Centrala, \r\n     " +
                "                    TrN_KodTransakcji = @TrN_KodTransakcji, TrN_IsNId = @TrN_IsN" +
                "Id, TrN_DataTransportu = @TrN_DataTransportu, TrN_KodKraju = @TrN_KodKraju, \r\n  " +
                "                       TrN_VatDlaDokWal = @TrN_VatDlaDokWal, TrN_OFFExportMag = " +
                "@TrN_OFFExportMag, TrN_DataKur = @TrN_DataKur, TrN_OdbEmail = @TrN_OdbEmail, \r\n " +
                "                        TrN_OdbTelefon = @TrN_OdbTelefon\r\nWHERE        (TrN_TrNI" +
                "D = @Original_TrN_TrNID) AND (@IsNull_TrN_TerminZwrotuKaucji = 1 AND TrN_TerminZ" +
                "wrotuKaucji IS NULL OR\r\n                         TrN_TerminZwrotuKaucji = @Origi" +
                "nal_TrN_TerminZwrotuKaucji) AND (@IsNull_TrN_OFFPrawoDoFAPA = 1 AND TrN_OFFPrawo" +
                "DoFAPA IS NULL OR\r\n                         TrN_OFFPrawoDoFAPA = @Original_TrN_O" +
                "FFPrawoDoFAPA) AND (@IsNull_TrN_OFFPrawoDoAnulowania = 1 AND TrN_OFFPrawoDoAnulo" +
                "wania IS NULL OR\r\n                         TrN_OFFPrawoDoAnulowania = @Original_" +
                "TrN_OFFPrawoDoAnulowania) AND (@IsNull_TrN_RelTrNId = 1 AND TrN_RelTrNId IS NULL" +
                " OR\r\n                         TrN_RelTrNId = @Original_TrN_RelTrNId) AND (@IsNul" +
                "l_TrN_FVMarza = 1 AND TrN_FVMarza IS NULL OR\r\n                         TrN_FVMar" +
                "za = @Original_TrN_FVMarza) AND (@IsNull_TrN_DDfId = 1 AND TrN_DDfId IS NULL OR\r" +
                "\n                         TrN_DDfId = @Original_TrN_DDfId) AND (TrN_TypDokumentu" +
                " = @Original_TrN_TypDokumentu) AND (@IsNull_TrN_ZwrId = 1 AND TrN_ZwrId IS NULL " +
                "OR\r\n                         TrN_ZwrId = @Original_TrN_ZwrId) AND (@IsNull_TrN_F" +
                "aId = 1 AND TrN_FaId IS NULL OR\r\n                         TrN_FaId = @Original_T" +
                "rN_FaId) AND (TrN_NumerNr = @Original_TrN_NumerNr) AND (TrN_NumerString = @Origi" +
                "nal_TrN_NumerString) AND \r\n                         (@IsNull_TrN_NumerPelny = 1 " +
                "AND TrN_NumerPelny IS NULL OR\r\n                         TrN_NumerPelny = @Origin" +
                "al_TrN_NumerPelny) AND (TrN_Bufor = @Original_TrN_Bufor) AND (TrN_Anulowany = @O" +
                "riginal_TrN_Anulowany) AND \r\n                         (@IsNull_TrN_VaNId = 1 AND" +
                " TrN_VaNId IS NULL OR\r\n                         TrN_VaNId = @Original_TrN_VaNId)" +
                " AND (TrN_DataDok = @Original_TrN_DataDok) AND (TrN_DataWys = @Original_TrN_Data" +
                "Wys) AND \r\n                         (TrN_DataOpe = @Original_TrN_DataOpe) AND (T" +
                "rN_NumerObcy = @Original_TrN_NumerObcy) AND (TrN_NumerPelnyPrw = @Original_TrN_N" +
                "umerPelnyPrw) \r\n                         AND (TrN_TaxFreePotwierdzony = @Origina" +
                "l_TrN_TaxFreePotwierdzony) AND (TrN_Korekta = @Original_TrN_Korekta) AND \r\n     " +
                "                    (TrN_Fiskalna = @Original_TrN_Fiskalna) AND (@IsNull_TrN_Fis" +
                "kalnaErr = 1 AND TrN_FiskalnaErr IS NULL OR\r\n                         TrN_Fiskal" +
                "naErr = @Original_TrN_FiskalnaErr) AND (@IsNull_TrN_RabatPromocyjny = 1 AND TrN_" +
                "RabatPromocyjny IS NULL OR\r\n                         TrN_RabatPromocyjny = @Orig" +
                "inal_TrN_RabatPromocyjny) AND (@IsNull_TrN_RabatKorekta = 1 AND TrN_RabatKorekta" +
                " IS NULL OR\r\n                         TrN_RabatKorekta = @Original_TrN_RabatKore" +
                "kta) AND (TrN_Detal = @Original_TrN_Detal) AND (TrN_Rodzaj = @Original_TrN_Rodza" +
                "j) AND \r\n                         (@IsNull_TrN_PodmiotTyp = 1 AND TrN_PodmiotTyp" +
                " IS NULL OR\r\n                         TrN_PodmiotTyp = @Original_TrN_PodmiotTyp)" +
                " AND (@IsNull_TrN_PodID = 1 AND TrN_PodID IS NULL OR\r\n                         T" +
                "rN_PodID = @Original_TrN_PodID) AND (TrN_PodNazwa1 = @Original_TrN_PodNazwa1) AN" +
                "D (TrN_PodNazwa2 = @Original_TrN_PodNazwa2) AND \r\n                         (TrN_" +
                "PodNazwa3 = @Original_TrN_PodNazwa3) AND (TrN_PodKraj = @Original_TrN_PodKraj) A" +
                "ND \r\n                         (TrN_PodWojewodztwo = @Original_TrN_PodWojewodztwo" +
                ") AND (TrN_PodPowiat = @Original_TrN_PodPowiat) AND \r\n                         (" +
                "TrN_PodGmina = @Original_TrN_PodGmina) AND (TrN_PodUlica = @Original_TrN_PodUlic" +
                "a) AND (TrN_PodNrDomu = @Original_TrN_PodNrDomu) AND \r\n                         " +
                "(TrN_PodNrLokalu = @Original_TrN_PodNrLokalu) AND (TrN_PodMiasto = @Original_TrN" +
                "_PodMiasto) AND \r\n                         (TrN_PodKodPocztowy = @Original_TrN_P" +
                "odKodPocztowy) AND (TrN_PodPoczta = @Original_TrN_PodPoczta) AND \r\n             " +
                "            (TrN_PodAdres2 = @Original_TrN_PodAdres2) AND (TrN_PodNipKraj = @Ori" +
                "ginal_TrN_PodNipKraj) AND (TrN_PodNipE = @Original_TrN_PodNipE) AND \r\n          " +
                "               (TrN_PodmiotGLN = @Original_TrN_PodmiotGLN) AND (TrN_Finalny = @O" +
                "riginal_TrN_Finalny) AND (TrN_Export = @Original_TrN_Export) AND \r\n             " +
                "            (@IsNull_TrN_OdbiorcaTyp = 1 AND TrN_OdbiorcaTyp IS NULL OR\r\n       " +
                "                  TrN_OdbiorcaTyp = @Original_TrN_OdbiorcaTyp) AND (@IsNull_TrN_" +
                "OdbID = 1 AND TrN_OdbID IS NULL OR\r\n                         TrN_OdbID = @Origin" +
                "al_TrN_OdbID) AND (TrN_OdbNazwa1 = @Original_TrN_OdbNazwa1) AND (TrN_OdbNazwa2 =" +
                " @Original_TrN_OdbNazwa2) AND \r\n                         (TrN_OdbNazwa3 = @Origi" +
                "nal_TrN_OdbNazwa3) AND (TrN_OdbKraj = @Original_TrN_OdbKraj) AND \r\n             " +
                "            (TrN_OdbWojewodztwo = @Original_TrN_OdbWojewodztwo) AND (TrN_OdbPowi" +
                "at = @Original_TrN_OdbPowiat) AND \r\n                         (TrN_OdbGmina = @Or" +
                "iginal_TrN_OdbGmina) AND (TrN_OdbUlica = @Original_TrN_OdbUlica) AND (TrN_OdbNrD" +
                "omu = @Original_TrN_OdbNrDomu) AND \r\n                         (TrN_OdbNrLokalu =" +
                " @Original_TrN_OdbNrLokalu) AND (TrN_OdbMiasto = @Original_TrN_OdbMiasto) AND \r\n" +
                "                         (TrN_OdbKodPocztowy = @Original_TrN_OdbKodPocztowy) AND" +
                " (TrN_OdbPoczta = @Original_TrN_OdbPoczta) AND \r\n                         (TrN_O" +
                "dbAdres2 = @Original_TrN_OdbAdres2) AND (TrN_OdbNipKraj = @Original_TrN_OdbNipKr" +
                "aj) AND (TrN_OdbNipE = @Original_TrN_OdbNipE) AND \r\n                         (Tr" +
                "N_OdbiorcaGLN = @Original_TrN_OdbiorcaGLN) AND (@IsNull_TrN_OdbiorcaDocTyp = 1 A" +
                "ND TrN_OdbiorcaDocTyp IS NULL OR\r\n                         TrN_OdbiorcaDocTyp = " +
                "@Original_TrN_OdbiorcaDocTyp) AND (@IsNull_TrN_OdbDocID = 1 AND TrN_OdbDocID IS " +
                "NULL OR\r\n                         TrN_OdbDocID = @Original_TrN_OdbDocID) AND (@I" +
                "sNull_TrN_KatID = 1 AND TrN_KatID IS NULL OR\r\n                         TrN_KatID" +
                " = @Original_TrN_KatID) AND (TrN_Kategoria = @Original_TrN_Kategoria) AND (@IsNu" +
                "ll_TrN_FPlId = 1 AND TrN_FPlId IS NULL OR\r\n                         TrN_FPlId = " +
                "@Original_TrN_FPlId) AND (TrN_Termin = @Original_TrN_Termin) AND (TrN_RazemNetto" +
                " = @Original_TrN_RazemNetto) AND \r\n                         (TrN_RazemVAT = @Ori" +
                "ginal_TrN_RazemVAT) AND (TrN_RazemBrutto = @Original_TrN_RazemBrutto) AND \r\n    " +
                "                     (TrN_RazemNettoWal = @Original_TrN_RazemNettoWal) AND (TrN_" +
                "RazemVATWal = @Original_TrN_RazemVATWal) AND \r\n                         (TrN_Raz" +
                "emBruttoWal = @Original_TrN_RazemBruttoWal) AND (TrN_Waluta = @Original_TrN_Walu" +
                "ta) AND (TrN_KursNumer = @Original_TrN_KursNumer) \r\n                         AND" +
                " (TrN_KursL = @Original_TrN_KursL) AND (TrN_KursM = @Original_TrN_KursM) AND (Tr" +
                "N_PlatElemWalSys = @Original_TrN_PlatElemWalSys) AND \r\n                         " +
                "(TrN_PlatKaucje = @Original_TrN_PlatKaucje) AND (@IsNull_TrN_PodmiotZalTyp = 1 A" +
                "ND TrN_PodmiotZalTyp IS NULL OR\r\n                         TrN_PodmiotZalTyp = @O" +
                "riginal_TrN_PodmiotZalTyp) AND (@IsNull_TrN_PodZalId = 1 AND TrN_PodZalId IS NUL" +
                "L OR\r\n                         TrN_PodZalId = @Original_TrN_PodZalId) AND (TrN_B" +
                "lokadaPlatnosci = @Original_TrN_BlokadaPlatnosci) AND (@IsNull_TrN_MagZrdId = 1 " +
                "AND \r\n                         TrN_MagZrdId IS NULL OR\r\n                        " +
                " TrN_MagZrdId = @Original_TrN_MagZrdId) AND (@IsNull_TrN_MagDocId = 1 AND TrN_Ma" +
                "gDocId IS NULL OR\r\n                         TrN_MagDocId = @Original_TrN_MagDocI" +
                "d) AND (TrN_TypNB = @Original_TrN_TypNB) AND (TrN_Rabat = @Original_TrN_Rabat) A" +
                "ND \r\n                         (TrN_Odebral = @Original_TrN_Odebral) AND (TrN_Opi" +
                "s = @Original_TrN_Opis) AND (@IsNull_TrN_ZwroconoCalaIlosc = 1 AND \r\n           " +
                "              TrN_ZwroconoCalaIlosc IS NULL OR\r\n                         TrN_Zwr" +
                "oconoCalaIlosc = @Original_TrN_ZwroconoCalaIlosc) AND (TrN_NotaKorPrzed = @Origi" +
                "nal_TrN_NotaKorPrzed) AND \r\n                         (TrN_NotaKorPo = @Original_" +
                "TrN_NotaKorPo) AND (TrN_TrSTyp = @Original_TrN_TrSTyp) AND (@IsNull_TrN_DekId = " +
                "1 AND TrN_DekId IS NULL OR\r\n                         TrN_DekId = @Original_TrN_D" +
                "ekId) AND (@IsNull_TrN_TS_Export = 1 AND TrN_TS_Export IS NULL OR\r\n             " +
                "            TrN_TS_Export = @Original_TrN_TS_Export) AND (@IsNull_TrN_ImportAppI" +
                "d = 1 AND TrN_ImportAppId IS NULL OR\r\n                         TrN_ImportAppId =" +
                " @Original_TrN_ImportAppId) AND (@IsNull_TrN_ImportRowId = 1 AND TrN_ImportRowId" +
                " IS NULL OR\r\n                         TrN_ImportRowId = @Original_TrN_ImportRowI" +
                "d) AND (@IsNull_TrN_OpeZalID = 1 AND TrN_OpeZalID IS NULL OR\r\n                  " +
                "       TrN_OpeZalID = @Original_TrN_OpeZalID) AND (@IsNull_TrN_StaZalId = 1 AND " +
                "TrN_StaZalId IS NULL OR\r\n                         TrN_StaZalId = @Original_TrN_S" +
                "taZalId) AND (TrN_TS_Zal = @Original_TrN_TS_Zal) AND (@IsNull_TrN_OpeModID = 1 A" +
                "ND TrN_OpeModID IS NULL OR\r\n                         TrN_OpeModID = @Original_Tr" +
                "N_OpeModID) AND (@IsNull_TrN_StaModId = 1 AND TrN_StaModId IS NULL OR\r\n         " +
                "                TrN_StaModId = @Original_TrN_StaModId) AND (TrN_TS_Mod = @Origin" +
                "al_TrN_TS_Mod) AND (@IsNull_TrN_GIDTyp = 1 AND TrN_GIDTyp IS NULL OR\r\n          " +
                "               TrN_GIDTyp = @Original_TrN_GIDTyp) AND (@IsNull_TrN_GIDFirma = 1 " +
                "AND TrN_GIDFirma IS NULL OR\r\n                         TrN_GIDFirma = @Original_T" +
                "rN_GIDFirma) AND (@IsNull_TrN_GIDNumer = 1 AND TrN_GIDNumer IS NULL OR\r\n        " +
                "                 TrN_GIDNumer = @Original_TrN_GIDNumer) AND (@IsNull_TrN_GIDLp =" +
                " 1 AND TrN_GIDLp IS NULL OR\r\n                         TrN_GIDLp = @Original_TrN_" +
                "GIDLp) AND (TrN_Centrala = @Original_TrN_Centrala) AND (TrN_KodTransakcji = @Ori" +
                "ginal_TrN_KodTransakcji) AND \r\n                         (@IsNull_TrN_IsNId = 1 A" +
                "ND TrN_IsNId IS NULL OR\r\n                         TrN_IsNId = @Original_TrN_IsNI" +
                "d) AND (@IsNull_TrN_DataTransportu = 1 AND TrN_DataTransportu IS NULL OR\r\n      " +
                "                   TrN_DataTransportu = @Original_TrN_DataTransportu) AND (TrN_K" +
                "odKraju = @Original_TrN_KodKraju) AND \r\n                         (TrN_VatDlaDokW" +
                "al = @Original_TrN_VatDlaDokWal) AND (@IsNull_TrN_OFFExportMag = 1 AND TrN_OFFEx" +
                "portMag IS NULL OR\r\n                         TrN_OFFExportMag = @Original_TrN_OF" +
                "FExportMag) AND (TrN_DataKur = @Original_TrN_DataKur) AND (@IsNull_TrN_StatusStr" +
                "ing = 1 AND \r\n                         TrN_StatusString IS NULL OR\r\n            " +
                "             TrN_StatusString = @Original_TrN_StatusString) AND (@IsNull_TrN_Odb" +
                "Email = 1 AND TrN_OdbEmail IS NULL OR\r\n                         TrN_OdbEmail = @" +
                "Original_TrN_OdbEmail) AND (@IsNull_TrN_OdbTelefon = 1 AND TrN_OdbTelefon IS NUL" +
                "L OR\r\n                         TrN_OdbTelefon = @Original_TrN_OdbTelefon) AND (@" +
                "IsNull_TrN_WartoscZakupu = 1 AND TrN_WartoscZakupu IS NULL OR\r\n                 " +
                "        TrN_WartoscZakupu = @Original_TrN_WartoscZakupu);  \r\nSELECT TrN_TrNID, T" +
                "rN_TerminZwrotuKaucji, TrN_OFFPrawoDoFAPA, TrN_OFFPrawoDoAnulowania, TrN_RelTrNI" +
                "d, TrN_FVMarza, TrN_DDfId, TrN_TypDokumentu, TrN_ZwrId, TrN_FaId, TrN_NumerNr, T" +
                "rN_NumerString, TrN_NumerPelny, TrN_Bufor, TrN_Anulowany, TrN_VaNId, TrN_DataDok" +
                ", TrN_DataWys, TrN_DataOpe, TrN_NumerObcy, TrN_NumerPelnyPrw, TrN_TaxFreePotwier" +
                "dzony, TrN_Korekta, TrN_Fiskalna, TrN_FiskalnaErr, TrN_RabatPromocyjny, TrN_Raba" +
                "tKorekta, TrN_Detal, TrN_Rodzaj, TrN_PodmiotTyp, TrN_PodID, TrN_PodNazwa1, TrN_P" +
                "odNazwa2, TrN_PodNazwa3, TrN_PodKraj, TrN_PodWojewodztwo, TrN_PodPowiat, TrN_Pod" +
                "Gmina, TrN_PodUlica, TrN_PodNrDomu, TrN_PodNrLokalu, TrN_PodMiasto, TrN_PodKodPo" +
                "cztowy, TrN_PodPoczta, TrN_PodAdres2, TrN_PodNipKraj, TrN_PodNipE, TrN_PodmiotGL" +
                "N, TrN_Finalny, TrN_Export, TrN_OdbiorcaTyp, TrN_OdbID, TrN_OdbNazwa1, TrN_OdbNa" +
                "zwa2, TrN_OdbNazwa3, TrN_OdbKraj, TrN_OdbWojewodztwo, TrN_OdbPowiat, TrN_OdbGmin" +
                "a, TrN_OdbUlica, TrN_OdbNrDomu, TrN_OdbNrLokalu, TrN_OdbMiasto, TrN_OdbKodPoczto" +
                "wy, TrN_OdbPoczta, TrN_OdbAdres2, TrN_OdbNipKraj, TrN_OdbNipE, TrN_OdbiorcaGLN, " +
                "TrN_OdbiorcaDocTyp, TrN_OdbDocID, TrN_KatID, TrN_Kategoria, TrN_FPlId, TrN_Termi" +
                "n, TrN_RazemNetto, TrN_RazemVAT, TrN_RazemBrutto, TrN_RazemNettoWal, TrN_RazemVA" +
                "TWal, TrN_RazemBruttoWal, TrN_Waluta, TrN_KursNumer, TrN_KursL, TrN_KursM, TrN_P" +
                "latElemWalSys, TrN_PlatKaucje, TrN_PodmiotZalTyp, TrN_PodZalId, TrN_BlokadaPlatn" +
                "osci, TrN_MagZrdId, TrN_MagDocId, TrN_TypNB, TrN_Rabat, TrN_Odebral, TrN_Opis, T" +
                "rN_ZwroconoCalaIlosc, TrN_NotaKorPrzed, TrN_NotaKorPo, TrN_TrSTyp, TrN_DekId, Tr" +
                "N_TS_Export, TrN_ImportAppId, TrN_ImportRowId, TrN_OpeZalID, TrN_StaZalId, TrN_T" +
                "S_Zal, TrN_OpeModID, TrN_StaModId, TrN_TS_Mod, TrN_GIDTyp, TrN_GIDFirma, TrN_GID" +
                "Numer, TrN_GIDLp, TrN_Centrala, TrN_KodTransakcji, TrN_IsNId, TrN_DataTransportu" +
                ", TrN_KodKraju, TrN_VatDlaDokWal, TrN_OFFExportMag, TrN_DataKur, TrN_StatusStrin" +
                "g, TrN_OdbEmail, TrN_OdbTelefon, TrN_WartoscZakupu FROM CDN.TraNag WHERE (TrN_Tr" +
                "NID = @TrN_TrNID)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TerminZwrotuKaucji", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TerminZwrotuKaucji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OFFPrawoDoFAPA", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFPrawoDoFAPA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OFFPrawoDoAnulowania", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFPrawoDoAnulowania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RelTrNId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_RelTrNId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_FVMarza", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FVMarza", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_DDfId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DDfId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TypDokumentu", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TypDokumentu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_ZwrId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ZwrId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_FaId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_NumerNr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerNr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_NumerString", global::System.Data.SqlDbType.VarChar, 31, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerString", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Bufor", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Bufor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Anulowany", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Anulowany", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_VaNId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_VaNId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_DataDok", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataDok", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_DataWys", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataWys", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_DataOpe", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataOpe", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_NumerObcy", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerObcy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_NumerPelnyPrw", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerPelnyPrw", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TaxFreePotwierdzony", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TaxFreePotwierdzony", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Korekta", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Korekta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Fiskalna", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Fiskalna", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_FiskalnaErr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FiskalnaErr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RabatPromocyjny", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 11, 4, "TrN_RabatPromocyjny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RabatKorekta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 11, 4, "TrN_RabatKorekta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Detal", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Detal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Rodzaj", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Rodzaj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodmiotTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodmiotTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodNazwa1", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNazwa1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodNazwa2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNazwa2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodNazwa3", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNazwa3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodKraj", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodKraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodWojewodztwo", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodWojewodztwo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodPowiat", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodPowiat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodGmina", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodGmina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodUlica", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodUlica", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodNrDomu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNrDomu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodNrLokalu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNrLokalu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodMiasto", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodMiasto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodKodPocztowy", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodKodPocztowy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodPoczta", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodPoczta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodAdres2", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodAdres2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodNipKraj", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNipKraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodNipE", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNipE", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodmiotGLN", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodmiotGLN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Finalny", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Finalny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Export", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Export", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbiorcaTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbiorcaTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbNazwa1", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNazwa1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbNazwa2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNazwa2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbNazwa3", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNazwa3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbKraj", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbKraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbWojewodztwo", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbWojewodztwo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbPowiat", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbPowiat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbGmina", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbGmina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbUlica", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbUlica", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbNrDomu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNrDomu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbNrLokalu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNrLokalu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbMiasto", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbMiasto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbKodPocztowy", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbKodPocztowy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbPoczta", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbPoczta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbAdres2", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbAdres2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbNipKraj", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNipKraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbNipE", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNipE", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbiorcaGLN", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbiorcaGLN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbiorcaDocTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbiorcaDocTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbDocID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbDocID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_KatID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KatID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Kategoria", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Kategoria", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_FPlId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FPlId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Termin", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Termin", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RazemNetto", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemNetto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RazemVAT", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemVAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RazemBrutto", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemBrutto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RazemNettoWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemNettoWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RazemVATWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemVATWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_RazemBruttoWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemBruttoWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Waluta", global::System.Data.SqlDbType.VarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Waluta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_KursNumer", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KursNumer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_KursL", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrN_KursL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_KursM", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 0, "TrN_KursM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PlatElemWalSys", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PlatElemWalSys", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PlatKaucje", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PlatKaucje", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodmiotZalTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodmiotZalTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_PodZalId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodZalId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_BlokadaPlatnosci", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_BlokadaPlatnosci", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_MagZrdId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_MagZrdId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_MagDocId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_MagDocId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TypNB", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TypNB", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Rabat", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 2, "TrN_Rabat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Odebral", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Odebral", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Opis", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Opis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_ZwroconoCalaIlosc", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ZwroconoCalaIlosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_NotaKorPrzed", global::System.Data.SqlDbType.VarChar, 254, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NotaKorPrzed", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_NotaKorPo", global::System.Data.SqlDbType.VarChar, 254, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NotaKorPo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TrSTyp", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TrSTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_DekId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DekId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TS_Export", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TS_Export", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_ImportAppId", global::System.Data.SqlDbType.VarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ImportAppId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_ImportRowId", global::System.Data.SqlDbType.VarChar, 36, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ImportRowId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OpeZalID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OpeZalID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_StaZalId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_StaZalId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TS_Zal", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TS_Zal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OpeModID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OpeModID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_StaModId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_StaModId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TS_Mod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TS_Mod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_GIDTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_GIDFirma", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDFirma", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_GIDNumer", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDNumer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_GIDLp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDLp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_Centrala", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Centrala", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_KodTransakcji", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KodTransakcji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_IsNId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_IsNId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_DataTransportu", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataTransportu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_KodKraju", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KodKraju", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_VatDlaDokWal", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_VatDlaDokWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OFFExportMag", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFExportMag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_DataKur", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataKur", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbEmail", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbEmail", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_OdbTelefon", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbTelefon", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TrNID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TrNID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_TerminZwrotuKaucji", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TerminZwrotuKaucji", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TerminZwrotuKaucji", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OFFPrawoDoFAPA", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OFFPrawoDoFAPA", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFPrawoDoFAPA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OFFPrawoDoAnulowania", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OFFPrawoDoAnulowania", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFPrawoDoAnulowania", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_RelTrNId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RelTrNId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_RelTrNId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_FVMarza", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_FVMarza", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FVMarza", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_DDfId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_DDfId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DDfId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TypDokumentu", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TypDokumentu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_ZwrId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_ZwrId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ZwrId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_FaId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_FaId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FaId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_NumerNr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerNr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_NumerString", global::System.Data.SqlDbType.VarChar, 31, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerString", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_NumerPelny", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_NumerPelny", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerPelny", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Bufor", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Bufor", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Anulowany", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Anulowany", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_VaNId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_VaNId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_VaNId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_DataDok", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataDok", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_DataWys", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataWys", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_DataOpe", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataOpe", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_NumerObcy", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerObcy", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_NumerPelnyPrw", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NumerPelnyPrw", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TaxFreePotwierdzony", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TaxFreePotwierdzony", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Korekta", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Korekta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Fiskalna", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Fiskalna", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_FiskalnaErr", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_FiskalnaErr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FiskalnaErr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_RabatPromocyjny", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RabatPromocyjny", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 11, 4, "TrN_RabatPromocyjny", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_RabatKorekta", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RabatKorekta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 11, 4, "TrN_RabatKorekta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Detal", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Detal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Rodzaj", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Rodzaj", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_PodmiotTyp", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodmiotTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodmiotTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_PodID", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodNazwa1", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNazwa1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodNazwa2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNazwa2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodNazwa3", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNazwa3", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodKraj", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodKraj", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodWojewodztwo", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodWojewodztwo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodPowiat", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodPowiat", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodGmina", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodGmina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodUlica", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodUlica", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodNrDomu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNrDomu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodNrLokalu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNrLokalu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodMiasto", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodMiasto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodKodPocztowy", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodKodPocztowy", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodPoczta", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodPoczta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodAdres2", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodAdres2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodNipKraj", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNipKraj", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodNipE", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodNipE", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodmiotGLN", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodmiotGLN", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Finalny", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Finalny", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Export", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Export", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OdbiorcaTyp", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbiorcaTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbiorcaTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OdbID", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbNazwa1", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNazwa1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbNazwa2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNazwa2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbNazwa3", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNazwa3", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbKraj", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbKraj", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbWojewodztwo", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbWojewodztwo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbPowiat", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbPowiat", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbGmina", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbGmina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbUlica", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbUlica", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbNrDomu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNrDomu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbNrLokalu", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNrLokalu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbMiasto", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbMiasto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbKodPocztowy", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbKodPocztowy", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbPoczta", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbPoczta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbAdres2", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbAdres2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbNipKraj", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNipKraj", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbNipE", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbNipE", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbiorcaGLN", global::System.Data.SqlDbType.VarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbiorcaGLN", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OdbiorcaDocTyp", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbiorcaDocTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbiorcaDocTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OdbDocID", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbDocID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbDocID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_KatID", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_KatID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KatID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Kategoria", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Kategoria", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_FPlId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_FPlId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_FPlId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Termin", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Termin", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RazemNetto", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemNetto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RazemVAT", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemVAT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RazemBrutto", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemBrutto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RazemNettoWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemNettoWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RazemVATWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemVATWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_RazemBruttoWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_RazemBruttoWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Waluta", global::System.Data.SqlDbType.VarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Waluta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_KursNumer", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KursNumer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_KursL", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrN_KursL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_KursM", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 0, "TrN_KursM", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PlatElemWalSys", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PlatElemWalSys", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PlatKaucje", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PlatKaucje", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_PodmiotZalTyp", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodmiotZalTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodmiotZalTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_PodZalId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_PodZalId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_PodZalId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_BlokadaPlatnosci", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_BlokadaPlatnosci", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_MagZrdId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_MagZrdId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_MagZrdId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_MagDocId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_MagDocId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_MagDocId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TypNB", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TypNB", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Rabat", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 2, "TrN_Rabat", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Odebral", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Odebral", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Opis", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Opis", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_ZwroconoCalaIlosc", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_ZwroconoCalaIlosc", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ZwroconoCalaIlosc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_NotaKorPrzed", global::System.Data.SqlDbType.VarChar, 254, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NotaKorPrzed", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_NotaKorPo", global::System.Data.SqlDbType.VarChar, 254, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_NotaKorPo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TrSTyp", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TrSTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_DekId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_DekId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DekId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_TS_Export", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TS_Export", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TS_Export", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_ImportAppId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_ImportAppId", global::System.Data.SqlDbType.VarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ImportAppId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_ImportRowId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_ImportRowId", global::System.Data.SqlDbType.VarChar, 36, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_ImportRowId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OpeZalID", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OpeZalID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OpeZalID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_StaZalId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_StaZalId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_StaZalId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TS_Zal", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TS_Zal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OpeModID", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OpeModID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OpeModID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_StaModId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_StaModId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_StaModId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_TS_Mod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TS_Mod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_GIDTyp", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_GIDTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_GIDFirma", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_GIDFirma", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDFirma", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_GIDNumer", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_GIDNumer", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDNumer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_GIDLp", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_GIDLp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_GIDLp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_Centrala", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_Centrala", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_KodTransakcji", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KodTransakcji", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_IsNId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_IsNId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_IsNId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_DataTransportu", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_DataTransportu", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataTransportu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_KodKraju", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_KodKraju", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_VatDlaDokWal", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_VatDlaDokWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OFFExportMag", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OFFExportMag", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OFFExportMag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_DataKur", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_DataKur", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_StatusString", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_StatusString", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_StatusString", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OdbEmail", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbEmail", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbEmail", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_OdbTelefon", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_OdbTelefon", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_OdbTelefon", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrN_WartoscZakupu", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrN_WartoscZakupu", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrN_WartoscZakupu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrN_TrNID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrN_TrNID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::ExportFaktur.Properties.Settings.Default.CDN_DemoConnectionString;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT TrN_TrNID, TrN_TerminZwrotuKaucji, TrN_OFFPrawoDoFAPA, TrN_OFFPrawoDoAnulo" +
                "wania, TrN_RelTrNId, TrN_FVMarza, TrN_DDfId, TrN_TypDokumentu, TrN_ZwrId, TrN_Fa" +
                "Id, TrN_NumerNr, TrN_NumerString, TrN_NumerPelny, TrN_Bufor, TrN_Anulowany, TrN_" +
                "VaNId, TrN_DataDok, TrN_DataWys, TrN_DataOpe, TrN_NumerObcy, TrN_NumerPelnyPrw, " +
                "TrN_TaxFreePotwierdzony, TrN_Korekta, TrN_Fiskalna, TrN_FiskalnaErr, TrN_RabatPr" +
                "omocyjny, TrN_RabatKorekta, TrN_Detal, TrN_Rodzaj, TrN_PodmiotTyp, TrN_PodID, Tr" +
                "N_PodNazwa1, TrN_PodNazwa2, TrN_PodNazwa3, TrN_PodKraj, TrN_PodWojewodztwo, TrN_" +
                "PodPowiat, TrN_PodGmina, TrN_PodUlica, TrN_PodNrDomu, TrN_PodNrLokalu, TrN_PodMi" +
                "asto, TrN_PodKodPocztowy, TrN_PodPoczta, TrN_PodAdres2, TrN_PodNipKraj, TrN_PodN" +
                "ipE, TrN_PodmiotGLN, TrN_Finalny, TrN_Export, TrN_OdbiorcaTyp, TrN_OdbID, TrN_Od" +
                "bNazwa1, TrN_OdbNazwa2, TrN_OdbNazwa3, TrN_OdbKraj, TrN_OdbWojewodztwo, TrN_OdbP" +
                "owiat, TrN_OdbGmina, TrN_OdbUlica, TrN_OdbNrDomu, TrN_OdbNrLokalu, TrN_OdbMiasto" +
                ", TrN_OdbKodPocztowy, TrN_OdbPoczta, TrN_OdbAdres2, TrN_OdbNipKraj, TrN_OdbNipE," +
                " TrN_OdbiorcaGLN, TrN_OdbiorcaDocTyp, TrN_OdbDocID, TrN_KatID, TrN_Kategoria, Tr" +
                "N_FPlId, TrN_Termin, TrN_RazemNetto, TrN_RazemVAT, TrN_RazemBrutto, TrN_RazemNet" +
                "toWal, TrN_RazemVATWal, TrN_RazemBruttoWal, TrN_Waluta, TrN_KursNumer, TrN_KursL" +
                ", TrN_KursM, TrN_PlatElemWalSys, TrN_PlatKaucje, TrN_PodmiotZalTyp, TrN_PodZalId" +
                ", TrN_BlokadaPlatnosci, TrN_MagZrdId, TrN_MagDocId, TrN_TypNB, TrN_Rabat, TrN_Od" +
                "ebral, TrN_Opis, TrN_ZwroconoCalaIlosc, TrN_NotaKorPrzed, TrN_NotaKorPo, TrN_TrS" +
                "Typ, TrN_DekId, TrN_TS_Export, TrN_ImportAppId, TrN_ImportRowId, TrN_OpeZalID, T" +
                "rN_StaZalId, TrN_TS_Zal, TrN_OpeModID, TrN_StaModId, TrN_TS_Mod, TrN_GIDTyp, TrN" +
                "_GIDFirma, TrN_GIDNumer, TrN_GIDLp, TrN_Centrala, TrN_KodTransakcji, TrN_IsNId, " +
                "TrN_DataTransportu, TrN_KodKraju, TrN_VatDlaDokWal, TrN_OFFExportMag, TrN_DataKu" +
                "r, TrN_StatusString, TrN_OdbEmail, TrN_OdbTelefon, TrN_WartoscZakupu FROM CDN.Tr" +
                "aNag";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(CDNDataSet.TraNagDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual CDNDataSet.TraNagDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            CDNDataSet.TraNagDataTable dataTable = new CDNDataSet.TraNagDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(CDNDataSet.TraNagDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(CDNDataSet dataSet) {
            return this.Adapter.Update(dataSet, "TraNag");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(
                    int Original_TrN_TrNID, 
                    global::System.Nullable<global::System.DateTime> Original_TrN_TerminZwrotuKaucji, 
                    global::System.Nullable<byte> Original_TrN_OFFPrawoDoFAPA, 
                    global::System.Nullable<byte> Original_TrN_OFFPrawoDoAnulowania, 
                    global::System.Nullable<int> Original_TrN_RelTrNId, 
                    global::System.Nullable<byte> Original_TrN_FVMarza, 
                    global::System.Nullable<int> Original_TrN_DDfId, 
                    int Original_TrN_TypDokumentu, 
                    global::System.Nullable<int> Original_TrN_ZwrId, 
                    global::System.Nullable<int> Original_TrN_FaId, 
                    int Original_TrN_NumerNr, 
                    string Original_TrN_NumerString, 
                    string Original_TrN_NumerPelny, 
                    short Original_TrN_Bufor, 
                    int Original_TrN_Anulowany, 
                    global::System.Nullable<int> Original_TrN_VaNId, 
                    System.DateTime Original_TrN_DataDok, 
                    System.DateTime Original_TrN_DataWys, 
                    System.DateTime Original_TrN_DataOpe, 
                    string Original_TrN_NumerObcy, 
                    string Original_TrN_NumerPelnyPrw, 
                    byte Original_TrN_TaxFreePotwierdzony, 
                    byte Original_TrN_Korekta, 
                    byte Original_TrN_Fiskalna, 
                    global::System.Nullable<int> Original_TrN_FiskalnaErr, 
                    global::System.Nullable<decimal> Original_TrN_RabatPromocyjny, 
                    global::System.Nullable<decimal> Original_TrN_RabatKorekta, 
                    byte Original_TrN_Detal, 
                    int Original_TrN_Rodzaj, 
                    global::System.Nullable<short> Original_TrN_PodmiotTyp, 
                    global::System.Nullable<int> Original_TrN_PodID, 
                    string Original_TrN_PodNazwa1, 
                    string Original_TrN_PodNazwa2, 
                    string Original_TrN_PodNazwa3, 
                    string Original_TrN_PodKraj, 
                    string Original_TrN_PodWojewodztwo, 
                    string Original_TrN_PodPowiat, 
                    string Original_TrN_PodGmina, 
                    string Original_TrN_PodUlica, 
                    string Original_TrN_PodNrDomu, 
                    string Original_TrN_PodNrLokalu, 
                    string Original_TrN_PodMiasto, 
                    string Original_TrN_PodKodPocztowy, 
                    string Original_TrN_PodPoczta, 
                    string Original_TrN_PodAdres2, 
                    string Original_TrN_PodNipKraj, 
                    string Original_TrN_PodNipE, 
                    string Original_TrN_PodmiotGLN, 
                    byte Original_TrN_Finalny, 
                    byte Original_TrN_Export, 
                    global::System.Nullable<short> Original_TrN_OdbiorcaTyp, 
                    global::System.Nullable<int> Original_TrN_OdbID, 
                    string Original_TrN_OdbNazwa1, 
                    string Original_TrN_OdbNazwa2, 
                    string Original_TrN_OdbNazwa3, 
                    string Original_TrN_OdbKraj, 
                    string Original_TrN_OdbWojewodztwo, 
                    string Original_TrN_OdbPowiat, 
                    string Original_TrN_OdbGmina, 
                    string Original_TrN_OdbUlica, 
                    string Original_TrN_OdbNrDomu, 
                    string Original_TrN_OdbNrLokalu, 
                    string Original_TrN_OdbMiasto, 
                    string Original_TrN_OdbKodPocztowy, 
                    string Original_TrN_OdbPoczta, 
                    string Original_TrN_OdbAdres2, 
                    string Original_TrN_OdbNipKraj, 
                    string Original_TrN_OdbNipE, 
                    string Original_TrN_OdbiorcaGLN, 
                    global::System.Nullable<short> Original_TrN_OdbiorcaDocTyp, 
                    global::System.Nullable<int> Original_TrN_OdbDocID, 
                    global::System.Nullable<int> Original_TrN_KatID, 
                    string Original_TrN_Kategoria, 
                    global::System.Nullable<int> Original_TrN_FPlId, 
                    System.DateTime Original_TrN_Termin, 
                    decimal Original_TrN_RazemNetto, 
                    decimal Original_TrN_RazemVAT, 
                    decimal Original_TrN_RazemBrutto, 
                    decimal Original_TrN_RazemNettoWal, 
                    decimal Original_TrN_RazemVATWal, 
                    decimal Original_TrN_RazemBruttoWal, 
                    string Original_TrN_Waluta, 
                    int Original_TrN_KursNumer, 
                    decimal Original_TrN_KursL, 
                    decimal Original_TrN_KursM, 
                    byte Original_TrN_PlatElemWalSys, 
                    byte Original_TrN_PlatKaucje, 
                    global::System.Nullable<short> Original_TrN_PodmiotZalTyp, 
                    global::System.Nullable<int> Original_TrN_PodZalId, 
                    short Original_TrN_BlokadaPlatnosci, 
                    global::System.Nullable<int> Original_TrN_MagZrdId, 
                    global::System.Nullable<int> Original_TrN_MagDocId, 
                    byte Original_TrN_TypNB, 
                    decimal Original_TrN_Rabat, 
                    string Original_TrN_Odebral, 
                    string Original_TrN_Opis, 
                    global::System.Nullable<byte> Original_TrN_ZwroconoCalaIlosc, 
                    string Original_TrN_NotaKorPrzed, 
                    string Original_TrN_NotaKorPo, 
                    byte Original_TrN_TrSTyp, 
                    global::System.Nullable<int> Original_TrN_DekId, 
                    global::System.Nullable<global::System.DateTime> Original_TrN_TS_Export, 
                    string Original_TrN_ImportAppId, 
                    string Original_TrN_ImportRowId, 
                    global::System.Nullable<int> Original_TrN_OpeZalID, 
                    global::System.Nullable<int> Original_TrN_StaZalId, 
                    System.DateTime Original_TrN_TS_Zal, 
                    global::System.Nullable<int> Original_TrN_OpeModID, 
                    global::System.Nullable<int> Original_TrN_StaModId, 
                    System.DateTime Original_TrN_TS_Mod, 
                    global::System.Nullable<short> Original_TrN_GIDTyp, 
                    global::System.Nullable<int> Original_TrN_GIDFirma, 
                    global::System.Nullable<int> Original_TrN_GIDNumer, 
                    global::System.Nullable<short> Original_TrN_GIDLp, 
                    byte Original_TrN_Centrala, 
                    string Original_TrN_KodTransakcji, 
                    global::System.Nullable<int> Original_TrN_IsNId, 
                    global::System.Nullable<global::System.DateTime> Original_TrN_DataTransportu, 
                    string Original_TrN_KodKraju, 
                    byte Original_TrN_VatDlaDokWal, 
                    global::System.Nullable<byte> Original_TrN_OFFExportMag, 
                    System.DateTime Original_TrN_DataKur, 
                    string Original_TrN_StatusString, 
                    string Original_TrN_OdbEmail, 
                    string Original_TrN_OdbTelefon, 
                    global::System.Nullable<decimal> Original_TrN_WartoscZakupu) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_TrN_TrNID));
            if ((Original_TrN_TerminZwrotuKaucji.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_TrN_TerminZwrotuKaucji.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_OFFPrawoDoFAPA.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[4].Value = ((byte)(Original_TrN_OFFPrawoDoFAPA.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_OFFPrawoDoAnulowania.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[6].Value = ((byte)(Original_TrN_OFFPrawoDoAnulowania.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_RelTrNId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_TrN_RelTrNId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_FVMarza.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[10].Value = ((byte)(Original_TrN_FVMarza.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_DDfId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[12].Value = ((int)(Original_TrN_DDfId.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 = ((int)(Original_TrN_TypDokumentu));
            if ((Original_TrN_ZwrId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[15].Value = ((int)(Original_TrN_ZwrId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_FaId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[17].Value = ((int)(Original_TrN_FaId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value;
            }
            this.Adapter.DeleteCommand.Parameters[18].Value = ((int)(Original_TrN_NumerNr));
            if ((Original_TrN_NumerString == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_NumerString");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[19].Value = ((string)(Original_TrN_NumerString));
            }
            if ((Original_TrN_NumerPelny == null)) {
                this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[21].Value = ((string)(Original_TrN_NumerPelny));
            }
            this.Adapter.DeleteCommand.Parameters[22].Value = ((short)(Original_TrN_Bufor));
            this.Adapter.DeleteCommand.Parameters[23].Value = ((int)(Original_TrN_Anulowany));
            if ((Original_TrN_VaNId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[25].Value = ((int)(Original_TrN_VaNId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value;
            }
            this.Adapter.DeleteCommand.Parameters[26].Value = ((System.DateTime)(Original_TrN_DataDok));
            this.Adapter.DeleteCommand.Parameters[27].Value = ((System.DateTime)(Original_TrN_DataWys));
            this.Adapter.DeleteCommand.Parameters[28].Value = ((System.DateTime)(Original_TrN_DataOpe));
            if ((Original_TrN_NumerObcy == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_NumerObcy");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[29].Value = ((string)(Original_TrN_NumerObcy));
            }
            if ((Original_TrN_NumerPelnyPrw == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_NumerPelnyPrw");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_TrN_NumerPelnyPrw));
            }
            this.Adapter.DeleteCommand.Parameters[31].Value = ((byte)(Original_TrN_TaxFreePotwierdzony));
            this.Adapter.DeleteCommand.Parameters[32].Value = ((byte)(Original_TrN_Korekta));
            this.Adapter.DeleteCommand.Parameters[33].Value = ((byte)(Original_TrN_Fiskalna));
            if ((Original_TrN_FiskalnaErr.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[35].Value = ((int)(Original_TrN_FiskalnaErr.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[35].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_RabatPromocyjny.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[37].Value = ((decimal)(Original_TrN_RabatPromocyjny.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[37].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_RabatKorekta.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[39].Value = ((decimal)(Original_TrN_RabatKorekta.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[39].Value = global::System.DBNull.Value;
            }
            this.Adapter.DeleteCommand.Parameters[40].Value = ((byte)(Original_TrN_Detal));
            this.Adapter.DeleteCommand.Parameters[41].Value = ((int)(Original_TrN_Rodzaj));
            if ((Original_TrN_PodmiotTyp.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[43].Value = ((short)(Original_TrN_PodmiotTyp.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[43].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_PodID.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[45].Value = ((int)(Original_TrN_PodID.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[45].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_PodNazwa1 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodNazwa1");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[46].Value = ((string)(Original_TrN_PodNazwa1));
            }
            if ((Original_TrN_PodNazwa2 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodNazwa2");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[47].Value = ((string)(Original_TrN_PodNazwa2));
            }
            if ((Original_TrN_PodNazwa3 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodNazwa3");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[48].Value = ((string)(Original_TrN_PodNazwa3));
            }
            if ((Original_TrN_PodKraj == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodKraj");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[49].Value = ((string)(Original_TrN_PodKraj));
            }
            if ((Original_TrN_PodWojewodztwo == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodWojewodztwo");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[50].Value = ((string)(Original_TrN_PodWojewodztwo));
            }
            if ((Original_TrN_PodPowiat == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodPowiat");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[51].Value = ((string)(Original_TrN_PodPowiat));
            }
            if ((Original_TrN_PodGmina == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodGmina");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[52].Value = ((string)(Original_TrN_PodGmina));
            }
            if ((Original_TrN_PodUlica == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodUlica");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[53].Value = ((string)(Original_TrN_PodUlica));
            }
            if ((Original_TrN_PodNrDomu == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodNrDomu");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[54].Value = ((string)(Original_TrN_PodNrDomu));
            }
            if ((Original_TrN_PodNrLokalu == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodNrLokalu");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[55].Value = ((string)(Original_TrN_PodNrLokalu));
            }
            if ((Original_TrN_PodMiasto == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodMiasto");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[56].Value = ((string)(Original_TrN_PodMiasto));
            }
            if ((Original_TrN_PodKodPocztowy == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodKodPocztowy");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[57].Value = ((string)(Original_TrN_PodKodPocztowy));
            }
            if ((Original_TrN_PodPoczta == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodPoczta");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[58].Value = ((string)(Original_TrN_PodPoczta));
            }
            if ((Original_TrN_PodAdres2 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodAdres2");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[59].Value = ((string)(Original_TrN_PodAdres2));
            }
            if ((Original_TrN_PodNipKraj == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodNipKraj");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[60].Value = ((string)(Original_TrN_PodNipKraj));
            }
            if ((Original_TrN_PodNipE == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodNipE");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[61].Value = ((string)(Original_TrN_PodNipE));
            }
            if ((Original_TrN_PodmiotGLN == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodmiotGLN");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[62].Value = ((string)(Original_TrN_PodmiotGLN));
            }
            this.Adapter.DeleteCommand.Parameters[63].Value = ((byte)(Original_TrN_Finalny));
            this.Adapter.DeleteCommand.Parameters[64].Value = ((byte)(Original_TrN_Export));
            if ((Original_TrN_OdbiorcaTyp.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[65].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[66].Value = ((short)(Original_TrN_OdbiorcaTyp.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[65].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[66].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_OdbID.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[67].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[68].Value = ((int)(Original_TrN_OdbID.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[67].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[68].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_OdbNazwa1 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbNazwa1");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[69].Value = ((string)(Original_TrN_OdbNazwa1));
            }
            if ((Original_TrN_OdbNazwa2 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbNazwa2");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[70].Value = ((string)(Original_TrN_OdbNazwa2));
            }
            if ((Original_TrN_OdbNazwa3 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbNazwa3");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[71].Value = ((string)(Original_TrN_OdbNazwa3));
            }
            if ((Original_TrN_OdbKraj == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbKraj");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[72].Value = ((string)(Original_TrN_OdbKraj));
            }
            if ((Original_TrN_OdbWojewodztwo == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbWojewodztwo");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[73].Value = ((string)(Original_TrN_OdbWojewodztwo));
            }
            if ((Original_TrN_OdbPowiat == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbPowiat");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[74].Value = ((string)(Original_TrN_OdbPowiat));
            }
            if ((Original_TrN_OdbGmina == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbGmina");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[75].Value = ((string)(Original_TrN_OdbGmina));
            }
            if ((Original_TrN_OdbUlica == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbUlica");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[76].Value = ((string)(Original_TrN_OdbUlica));
            }
            if ((Original_TrN_OdbNrDomu == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbNrDomu");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[77].Value = ((string)(Original_TrN_OdbNrDomu));
            }
            if ((Original_TrN_OdbNrLokalu == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbNrLokalu");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[78].Value = ((string)(Original_TrN_OdbNrLokalu));
            }
            if ((Original_TrN_OdbMiasto == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbMiasto");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[79].Value = ((string)(Original_TrN_OdbMiasto));
            }
            if ((Original_TrN_OdbKodPocztowy == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbKodPocztowy");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[80].Value = ((string)(Original_TrN_OdbKodPocztowy));
            }
            if ((Original_TrN_OdbPoczta == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbPoczta");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[81].Value = ((string)(Original_TrN_OdbPoczta));
            }
            if ((Original_TrN_OdbAdres2 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbAdres2");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[82].Value = ((string)(Original_TrN_OdbAdres2));
            }
            if ((Original_TrN_OdbNipKraj == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbNipKraj");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[83].Value = ((string)(Original_TrN_OdbNipKraj));
            }
            if ((Original_TrN_OdbNipE == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbNipE");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[84].Value = ((string)(Original_TrN_OdbNipE));
            }
            if ((Original_TrN_OdbiorcaGLN == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbiorcaGLN");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[85].Value = ((string)(Original_TrN_OdbiorcaGLN));
            }
            if ((Original_TrN_OdbiorcaDocTyp.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[86].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[87].Value = ((short)(Original_TrN_OdbiorcaDocTyp.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[86].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[87].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_OdbDocID.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[88].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[89].Value = ((int)(Original_TrN_OdbDocID.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[88].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[89].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_KatID.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[90].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[91].Value = ((int)(Original_TrN_KatID.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[90].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[91].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_Kategoria == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_Kategoria");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[92].Value = ((string)(Original_TrN_Kategoria));
            }
            if ((Original_TrN_FPlId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[93].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[94].Value = ((int)(Original_TrN_FPlId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[93].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[94].Value = global::System.DBNull.Value;
            }
            this.Adapter.DeleteCommand.Parameters[95].Value = ((System.DateTime)(Original_TrN_Termin));
            this.Adapter.DeleteCommand.Parameters[96].Value = ((decimal)(Original_TrN_RazemNetto));
            this.Adapter.DeleteCommand.Parameters[97].Value = ((decimal)(Original_TrN_RazemVAT));
            this.Adapter.DeleteCommand.Parameters[98].Value = ((decimal)(Original_TrN_RazemBrutto));
            this.Adapter.DeleteCommand.Parameters[99].Value = ((decimal)(Original_TrN_RazemNettoWal));
            this.Adapter.DeleteCommand.Parameters[100].Value = ((decimal)(Original_TrN_RazemVATWal));
            this.Adapter.DeleteCommand.Parameters[101].Value = ((decimal)(Original_TrN_RazemBruttoWal));
            if ((Original_TrN_Waluta == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_Waluta");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[102].Value = ((string)(Original_TrN_Waluta));
            }
            this.Adapter.DeleteCommand.Parameters[103].Value = ((int)(Original_TrN_KursNumer));
            this.Adapter.DeleteCommand.Parameters[104].Value = ((decimal)(Original_TrN_KursL));
            this.Adapter.DeleteCommand.Parameters[105].Value = ((decimal)(Original_TrN_KursM));
            this.Adapter.DeleteCommand.Parameters[106].Value = ((byte)(Original_TrN_PlatElemWalSys));
            this.Adapter.DeleteCommand.Parameters[107].Value = ((byte)(Original_TrN_PlatKaucje));
            if ((Original_TrN_PodmiotZalTyp.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[108].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[109].Value = ((short)(Original_TrN_PodmiotZalTyp.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[108].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[109].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_PodZalId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[110].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[111].Value = ((int)(Original_TrN_PodZalId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[110].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[111].Value = global::System.DBNull.Value;
            }
            this.Adapter.DeleteCommand.Parameters[112].Value = ((short)(Original_TrN_BlokadaPlatnosci));
            if ((Original_TrN_MagZrdId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[113].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[114].Value = ((int)(Original_TrN_MagZrdId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[113].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[114].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_MagDocId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[115].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[116].Value = ((int)(Original_TrN_MagDocId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[115].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[116].Value = global::System.DBNull.Value;
            }
            this.Adapter.DeleteCommand.Parameters[117].Value = ((byte)(Original_TrN_TypNB));
            this.Adapter.DeleteCommand.Parameters[118].Value = ((decimal)(Original_TrN_Rabat));
            if ((Original_TrN_Odebral == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_Odebral");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[119].Value = ((string)(Original_TrN_Odebral));
            }
            if ((Original_TrN_Opis == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_Opis");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[120].Value = ((string)(Original_TrN_Opis));
            }
            if ((Original_TrN_ZwroconoCalaIlosc.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[121].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[122].Value = ((byte)(Original_TrN_ZwroconoCalaIlosc.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[121].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[122].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_NotaKorPrzed == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_NotaKorPrzed");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[123].Value = ((string)(Original_TrN_NotaKorPrzed));
            }
            if ((Original_TrN_NotaKorPo == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_NotaKorPo");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[124].Value = ((string)(Original_TrN_NotaKorPo));
            }
            this.Adapter.DeleteCommand.Parameters[125].Value = ((byte)(Original_TrN_TrSTyp));
            if ((Original_TrN_DekId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[126].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[127].Value = ((int)(Original_TrN_DekId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[126].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[127].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_TS_Export.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[128].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[129].Value = ((System.DateTime)(Original_TrN_TS_Export.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[128].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[129].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_ImportAppId == null)) {
                this.Adapter.DeleteCommand.Parameters[130].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[131].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[130].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[131].Value = ((string)(Original_TrN_ImportAppId));
            }
            if ((Original_TrN_ImportRowId == null)) {
                this.Adapter.DeleteCommand.Parameters[132].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[133].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[132].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[133].Value = ((string)(Original_TrN_ImportRowId));
            }
            if ((Original_TrN_OpeZalID.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[134].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[135].Value = ((int)(Original_TrN_OpeZalID.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[134].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[135].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_StaZalId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[136].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[137].Value = ((int)(Original_TrN_StaZalId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[136].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[137].Value = global::System.DBNull.Value;
            }
            this.Adapter.DeleteCommand.Parameters[138].Value = ((System.DateTime)(Original_TrN_TS_Zal));
            if ((Original_TrN_OpeModID.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[139].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[140].Value = ((int)(Original_TrN_OpeModID.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[139].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[140].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_StaModId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[141].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[142].Value = ((int)(Original_TrN_StaModId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[141].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[142].Value = global::System.DBNull.Value;
            }
            this.Adapter.DeleteCommand.Parameters[143].Value = ((System.DateTime)(Original_TrN_TS_Mod));
            if ((Original_TrN_GIDTyp.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[144].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[145].Value = ((short)(Original_TrN_GIDTyp.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[144].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[145].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_GIDFirma.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[146].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[147].Value = ((int)(Original_TrN_GIDFirma.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[146].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[147].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_GIDNumer.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[148].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[149].Value = ((int)(Original_TrN_GIDNumer.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[148].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[149].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_GIDLp.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[150].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[151].Value = ((short)(Original_TrN_GIDLp.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[150].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[151].Value = global::System.DBNull.Value;
            }
            this.Adapter.DeleteCommand.Parameters[152].Value = ((byte)(Original_TrN_Centrala));
            if ((Original_TrN_KodTransakcji == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_KodTransakcji");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[153].Value = ((string)(Original_TrN_KodTransakcji));
            }
            if ((Original_TrN_IsNId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[154].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[155].Value = ((int)(Original_TrN_IsNId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[154].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[155].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_DataTransportu.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[156].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[157].Value = ((System.DateTime)(Original_TrN_DataTransportu.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[156].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[157].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_KodKraju == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_KodKraju");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[158].Value = ((string)(Original_TrN_KodKraju));
            }
            this.Adapter.DeleteCommand.Parameters[159].Value = ((byte)(Original_TrN_VatDlaDokWal));
            if ((Original_TrN_OFFExportMag.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[160].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[161].Value = ((byte)(Original_TrN_OFFExportMag.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[160].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[161].Value = global::System.DBNull.Value;
            }
            this.Adapter.DeleteCommand.Parameters[162].Value = ((System.DateTime)(Original_TrN_DataKur));
            if ((Original_TrN_StatusString == null)) {
                this.Adapter.DeleteCommand.Parameters[163].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[164].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[163].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[164].Value = ((string)(Original_TrN_StatusString));
            }
            if ((Original_TrN_OdbEmail == null)) {
                this.Adapter.DeleteCommand.Parameters[165].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[166].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[165].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[166].Value = ((string)(Original_TrN_OdbEmail));
            }
            if ((Original_TrN_OdbTelefon == null)) {
                this.Adapter.DeleteCommand.Parameters[167].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[168].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[167].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[168].Value = ((string)(Original_TrN_OdbTelefon));
            }
            if ((Original_TrN_WartoscZakupu.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[169].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[170].Value = ((decimal)(Original_TrN_WartoscZakupu.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[169].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[170].Value = global::System.DBNull.Value;
            }
            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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(
                    global::System.Nullable<global::System.DateTime> TrN_TerminZwrotuKaucji, 
                    global::System.Nullable<byte> TrN_OFFPrawoDoFAPA, 
                    global::System.Nullable<byte> TrN_OFFPrawoDoAnulowania, 
                    global::System.Nullable<int> TrN_RelTrNId, 
                    global::System.Nullable<byte> TrN_FVMarza, 
                    global::System.Nullable<int> TrN_DDfId, 
                    int TrN_TypDokumentu, 
                    global::System.Nullable<int> TrN_ZwrId, 
                    global::System.Nullable<int> TrN_FaId, 
                    int TrN_NumerNr, 
                    string TrN_NumerString, 
                    short TrN_Bufor, 
                    int TrN_Anulowany, 
                    global::System.Nullable<int> TrN_VaNId, 
                    System.DateTime TrN_DataDok, 
                    System.DateTime TrN_DataWys, 
                    System.DateTime TrN_DataOpe, 
                    string TrN_NumerObcy, 
                    string TrN_NumerPelnyPrw, 
                    byte TrN_TaxFreePotwierdzony, 
                    byte TrN_Korekta, 
                    byte TrN_Fiskalna, 
                    global::System.Nullable<int> TrN_FiskalnaErr, 
                    global::System.Nullable<decimal> TrN_RabatPromocyjny, 
                    global::System.Nullable<decimal> TrN_RabatKorekta, 
                    byte TrN_Detal, 
                    int TrN_Rodzaj, 
                    global::System.Nullable<short> TrN_PodmiotTyp, 
                    global::System.Nullable<int> TrN_PodID, 
                    string TrN_PodNazwa1, 
                    string TrN_PodNazwa2, 
                    string TrN_PodNazwa3, 
                    string TrN_PodKraj, 
                    string TrN_PodWojewodztwo, 
                    string TrN_PodPowiat, 
                    string TrN_PodGmina, 
                    string TrN_PodUlica, 
                    string TrN_PodNrDomu, 
                    string TrN_PodNrLokalu, 
                    string TrN_PodMiasto, 
                    string TrN_PodKodPocztowy, 
                    string TrN_PodPoczta, 
                    string TrN_PodAdres2, 
                    string TrN_PodNipKraj, 
                    string TrN_PodNipE, 
                    string TrN_PodmiotGLN, 
                    byte TrN_Finalny, 
                    byte TrN_Export, 
                    global::System.Nullable<short> TrN_OdbiorcaTyp, 
                    global::System.Nullable<int> TrN_OdbID, 
                    string TrN_OdbNazwa1, 
                    string TrN_OdbNazwa2, 
                    string TrN_OdbNazwa3, 
                    string TrN_OdbKraj, 
                    string TrN_OdbWojewodztwo, 
                    string TrN_OdbPowiat, 
                    string TrN_OdbGmina, 
                    string TrN_OdbUlica, 
                    string TrN_OdbNrDomu, 
                    string TrN_OdbNrLokalu, 
                    string TrN_OdbMiasto, 
                    string TrN_OdbKodPocztowy, 
                    string TrN_OdbPoczta, 
                    string TrN_OdbAdres2, 
                    string TrN_OdbNipKraj, 
                    string TrN_OdbNipE, 
                    string TrN_OdbiorcaGLN, 
                    global::System.Nullable<short> TrN_OdbiorcaDocTyp, 
                    global::System.Nullable<int> TrN_OdbDocID, 
                    global::System.Nullable<int> TrN_KatID, 
                    string TrN_Kategoria, 
                    global::System.Nullable<int> TrN_FPlId, 
                    System.DateTime TrN_Termin, 
                    decimal TrN_RazemNetto, 
                    decimal TrN_RazemVAT, 
                    decimal TrN_RazemBrutto, 
                    decimal TrN_RazemNettoWal, 
                    decimal TrN_RazemVATWal, 
                    decimal TrN_RazemBruttoWal, 
                    string TrN_Waluta, 
                    int TrN_KursNumer, 
                    decimal TrN_KursL, 
                    decimal TrN_KursM, 
                    byte TrN_PlatElemWalSys, 
                    byte TrN_PlatKaucje, 
                    global::System.Nullable<short> TrN_PodmiotZalTyp, 
                    global::System.Nullable<int> TrN_PodZalId, 
                    short TrN_BlokadaPlatnosci, 
                    global::System.Nullable<int> TrN_MagZrdId, 
                    global::System.Nullable<int> TrN_MagDocId, 
                    byte TrN_TypNB, 
                    decimal TrN_Rabat, 
                    string TrN_Odebral, 
                    string TrN_Opis, 
                    global::System.Nullable<byte> TrN_ZwroconoCalaIlosc, 
                    string TrN_NotaKorPrzed, 
                    string TrN_NotaKorPo, 
                    byte TrN_TrSTyp, 
                    global::System.Nullable<int> TrN_DekId, 
                    global::System.Nullable<global::System.DateTime> TrN_TS_Export, 
                    string TrN_ImportAppId, 
                    string TrN_ImportRowId, 
                    global::System.Nullable<int> TrN_OpeZalID, 
                    global::System.Nullable<int> TrN_StaZalId, 
                    System.DateTime TrN_TS_Zal, 
                    global::System.Nullable<int> TrN_OpeModID, 
                    global::System.Nullable<int> TrN_StaModId, 
                    System.DateTime TrN_TS_Mod, 
                    global::System.Nullable<short> TrN_GIDTyp, 
                    global::System.Nullable<int> TrN_GIDFirma, 
                    global::System.Nullable<int> TrN_GIDNumer, 
                    global::System.Nullable<short> TrN_GIDLp, 
                    byte TrN_Centrala, 
                    string TrN_KodTransakcji, 
                    global::System.Nullable<int> TrN_IsNId, 
                    global::System.Nullable<global::System.DateTime> TrN_DataTransportu, 
                    string TrN_KodKraju, 
                    byte TrN_VatDlaDokWal, 
                    global::System.Nullable<byte> TrN_OFFExportMag, 
                    System.DateTime TrN_DataKur, 
                    string TrN_OdbEmail, 
                    string TrN_OdbTelefon) {
            if ((TrN_TerminZwrotuKaucji.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(TrN_TerminZwrotuKaucji.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((TrN_OFFPrawoDoFAPA.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[1].Value = ((byte)(TrN_OFFPrawoDoFAPA.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((TrN_OFFPrawoDoAnulowania.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[2].Value = ((byte)(TrN_OFFPrawoDoAnulowania.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((TrN_RelTrNId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[3].Value = ((int)(TrN_RelTrNId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((TrN_FVMarza.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[4].Value = ((byte)(TrN_FVMarza.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            if ((TrN_DDfId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[5].Value = ((int)(TrN_DDfId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[6].Value = ((int)(TrN_TypDokumentu));
            if ((TrN_ZwrId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[7].Value = ((int)(TrN_ZwrId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            if ((TrN_FaId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[8].Value = ((int)(TrN_FaId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[9].Value = ((int)(TrN_NumerNr));
            if ((TrN_NumerString == null)) {
                throw new global::System.ArgumentNullException("TrN_NumerString");
            }
            else {
                this.Adapter.InsertCommand.Parameters[10].Value = ((string)(TrN_NumerString));
            }
            this.Adapter.InsertCommand.Parameters[11].Value = ((short)(TrN_Bufor));
            this.Adapter.InsertCommand.Parameters[12].Value = ((int)(TrN_Anulowany));
            if ((TrN_VaNId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[13].Value = ((int)(TrN_VaNId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[14].Value = ((System.DateTime)(TrN_DataDok));
            this.Adapter.InsertCommand.Parameters[15].Value = ((System.DateTime)(TrN_DataWys));
            this.Adapter.InsertCommand.Parameters[16].Value = ((System.DateTime)(TrN_DataOpe));
            if ((TrN_NumerObcy == null)) {
                throw new global::System.ArgumentNullException("TrN_NumerObcy");
            }
            else {
                this.Adapter.InsertCommand.Parameters[17].Value = ((string)(TrN_NumerObcy));
            }
            if ((TrN_NumerPelnyPrw == null)) {
                throw new global::System.ArgumentNullException("TrN_NumerPelnyPrw");
            }
            else {
                this.Adapter.InsertCommand.Parameters[18].Value = ((string)(TrN_NumerPelnyPrw));
            }
            this.Adapter.InsertCommand.Parameters[19].Value = ((byte)(TrN_TaxFreePotwierdzony));
            this.Adapter.InsertCommand.Parameters[20].Value = ((byte)(TrN_Korekta));
            this.Adapter.InsertCommand.Parameters[21].Value = ((byte)(TrN_Fiskalna));
            if ((TrN_FiskalnaErr.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[22].Value = ((int)(TrN_FiskalnaErr.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value;
            }
            if ((TrN_RabatPromocyjny.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[23].Value = ((decimal)(TrN_RabatPromocyjny.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value;
            }
            if ((TrN_RabatKorekta.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[24].Value = ((decimal)(TrN_RabatKorekta.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[25].Value = ((byte)(TrN_Detal));
            this.Adapter.InsertCommand.Parameters[26].Value = ((int)(TrN_Rodzaj));
            if ((TrN_PodmiotTyp.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[27].Value = ((short)(TrN_PodmiotTyp.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value;
            }
            if ((TrN_PodID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[28].Value = ((int)(TrN_PodID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value;
            }
            if ((TrN_PodNazwa1 == null)) {
                throw new global::System.ArgumentNullException("TrN_PodNazwa1");
            }
            else {
                this.Adapter.InsertCommand.Parameters[29].Value = ((string)(TrN_PodNazwa1));
            }
            if ((TrN_PodNazwa2 == null)) {
                throw new global::System.ArgumentNullException("TrN_PodNazwa2");
            }
            else {
                this.Adapter.InsertCommand.Parameters[30].Value = ((string)(TrN_PodNazwa2));
            }
            if ((TrN_PodNazwa3 == null)) {
                throw new global::System.ArgumentNullException("TrN_PodNazwa3");
            }
            else {
                this.Adapter.InsertCommand.Parameters[31].Value = ((string)(TrN_PodNazwa3));
            }
            if ((TrN_PodKraj == null)) {
                throw new global::System.ArgumentNullException("TrN_PodKraj");
            }
            else {
                this.Adapter.InsertCommand.Parameters[32].Value = ((string)(TrN_PodKraj));
            }
            if ((TrN_PodWojewodztwo == null)) {
                throw new global::System.ArgumentNullException("TrN_PodWojewodztwo");
            }
            else {
                this.Adapter.InsertCommand.Parameters[33].Value = ((string)(TrN_PodWojewodztwo));
            }
            if ((TrN_PodPowiat == null)) {
                throw new global::System.ArgumentNullException("TrN_PodPowiat");
            }
            else {
                this.Adapter.InsertCommand.Parameters[34].Value = ((string)(TrN_PodPowiat));
            }
            if ((TrN_PodGmina == null)) {
                throw new global::System.ArgumentNullException("TrN_PodGmina");
            }
            else {
                this.Adapter.InsertCommand.Parameters[35].Value = ((string)(TrN_PodGmina));
            }
            if ((TrN_PodUlica == null)) {
                throw new global::System.ArgumentNullException("TrN_PodUlica");
            }
            else {
                this.Adapter.InsertCommand.Parameters[36].Value = ((string)(TrN_PodUlica));
            }
            if ((TrN_PodNrDomu == null)) {
                throw new global::System.ArgumentNullException("TrN_PodNrDomu");
            }
            else {
                this.Adapter.InsertCommand.Parameters[37].Value = ((string)(TrN_PodNrDomu));
            }
            if ((TrN_PodNrLokalu == null)) {
                throw new global::System.ArgumentNullException("TrN_PodNrLokalu");
            }
            else {
                this.Adapter.InsertCommand.Parameters[38].Value = ((string)(TrN_PodNrLokalu));
            }
            if ((TrN_PodMiasto == null)) {
                throw new global::System.ArgumentNullException("TrN_PodMiasto");
            }
            else {
                this.Adapter.InsertCommand.Parameters[39].Value = ((string)(TrN_PodMiasto));
            }
            if ((TrN_PodKodPocztowy == null)) {
                throw new global::System.ArgumentNullException("TrN_PodKodPocztowy");
            }
            else {
                this.Adapter.InsertCommand.Parameters[40].Value = ((string)(TrN_PodKodPocztowy));
            }
            if ((TrN_PodPoczta == null)) {
                throw new global::System.ArgumentNullException("TrN_PodPoczta");
            }
            else {
                this.Adapter.InsertCommand.Parameters[41].Value = ((string)(TrN_PodPoczta));
            }
            if ((TrN_PodAdres2 == null)) {
                throw new global::System.ArgumentNullException("TrN_PodAdres2");
            }
            else {
                this.Adapter.InsertCommand.Parameters[42].Value = ((string)(TrN_PodAdres2));
            }
            if ((TrN_PodNipKraj == null)) {
                throw new global::System.ArgumentNullException("TrN_PodNipKraj");
            }
            else {
                this.Adapter.InsertCommand.Parameters[43].Value = ((string)(TrN_PodNipKraj));
            }
            if ((TrN_PodNipE == null)) {
                throw new global::System.ArgumentNullException("TrN_PodNipE");
            }
            else {
                this.Adapter.InsertCommand.Parameters[44].Value = ((string)(TrN_PodNipE));
            }
            if ((TrN_PodmiotGLN == null)) {
                throw new global::System.ArgumentNullException("TrN_PodmiotGLN");
            }
            else {
                this.Adapter.InsertCommand.Parameters[45].Value = ((string)(TrN_PodmiotGLN));
            }
            this.Adapter.InsertCommand.Parameters[46].Value = ((byte)(TrN_Finalny));
            this.Adapter.InsertCommand.Parameters[47].Value = ((byte)(TrN_Export));
            if ((TrN_OdbiorcaTyp.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[48].Value = ((short)(TrN_OdbiorcaTyp.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[48].Value = global::System.DBNull.Value;
            }
            if ((TrN_OdbID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[49].Value = ((int)(TrN_OdbID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[49].Value = global::System.DBNull.Value;
            }
            if ((TrN_OdbNazwa1 == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbNazwa1");
            }
            else {
                this.Adapter.InsertCommand.Parameters[50].Value = ((string)(TrN_OdbNazwa1));
            }
            if ((TrN_OdbNazwa2 == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbNazwa2");
            }
            else {
                this.Adapter.InsertCommand.Parameters[51].Value = ((string)(TrN_OdbNazwa2));
            }
            if ((TrN_OdbNazwa3 == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbNazwa3");
            }
            else {
                this.Adapter.InsertCommand.Parameters[52].Value = ((string)(TrN_OdbNazwa3));
            }
            if ((TrN_OdbKraj == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbKraj");
            }
            else {
                this.Adapter.InsertCommand.Parameters[53].Value = ((string)(TrN_OdbKraj));
            }
            if ((TrN_OdbWojewodztwo == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbWojewodztwo");
            }
            else {
                this.Adapter.InsertCommand.Parameters[54].Value = ((string)(TrN_OdbWojewodztwo));
            }
            if ((TrN_OdbPowiat == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbPowiat");
            }
            else {
                this.Adapter.InsertCommand.Parameters[55].Value = ((string)(TrN_OdbPowiat));
            }
            if ((TrN_OdbGmina == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbGmina");
            }
            else {
                this.Adapter.InsertCommand.Parameters[56].Value = ((string)(TrN_OdbGmina));
            }
            if ((TrN_OdbUlica == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbUlica");
            }
            else {
                this.Adapter.InsertCommand.Parameters[57].Value = ((string)(TrN_OdbUlica));
            }
            if ((TrN_OdbNrDomu == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbNrDomu");
            }
            else {
                this.Adapter.InsertCommand.Parameters[58].Value = ((string)(TrN_OdbNrDomu));
            }
            if ((TrN_OdbNrLokalu == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbNrLokalu");
            }
            else {
                this.Adapter.InsertCommand.Parameters[59].Value = ((string)(TrN_OdbNrLokalu));
            }
            if ((TrN_OdbMiasto == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbMiasto");
            }
            else {
                this.Adapter.InsertCommand.Parameters[60].Value = ((string)(TrN_OdbMiasto));
            }
            if ((TrN_OdbKodPocztowy == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbKodPocztowy");
            }
            else {
                this.Adapter.InsertCommand.Parameters[61].Value = ((string)(TrN_OdbKodPocztowy));
            }
            if ((TrN_OdbPoczta == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbPoczta");
            }
            else {
                this.Adapter.InsertCommand.Parameters[62].Value = ((string)(TrN_OdbPoczta));
            }
            if ((TrN_OdbAdres2 == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbAdres2");
            }
            else {
                this.Adapter.InsertCommand.Parameters[63].Value = ((string)(TrN_OdbAdres2));
            }
            if ((TrN_OdbNipKraj == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbNipKraj");
            }
            else {
                this.Adapter.InsertCommand.Parameters[64].Value = ((string)(TrN_OdbNipKraj));
            }
            if ((TrN_OdbNipE == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbNipE");
            }
            else {
                this.Adapter.InsertCommand.Parameters[65].Value = ((string)(TrN_OdbNipE));
            }
            if ((TrN_OdbiorcaGLN == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbiorcaGLN");
            }
            else {
                this.Adapter.InsertCommand.Parameters[66].Value = ((string)(TrN_OdbiorcaGLN));
            }
            if ((TrN_OdbiorcaDocTyp.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[67].Value = ((short)(TrN_OdbiorcaDocTyp.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[67].Value = global::System.DBNull.Value;
            }
            if ((TrN_OdbDocID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[68].Value = ((int)(TrN_OdbDocID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[68].Value = global::System.DBNull.Value;
            }
            if ((TrN_KatID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[69].Value = ((int)(TrN_KatID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[69].Value = global::System.DBNull.Value;
            }
            if ((TrN_Kategoria == null)) {
                throw new global::System.ArgumentNullException("TrN_Kategoria");
            }
            else {
                this.Adapter.InsertCommand.Parameters[70].Value = ((string)(TrN_Kategoria));
            }
            if ((TrN_FPlId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[71].Value = ((int)(TrN_FPlId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[71].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[72].Value = ((System.DateTime)(TrN_Termin));
            this.Adapter.InsertCommand.Parameters[73].Value = ((decimal)(TrN_RazemNetto));
            this.Adapter.InsertCommand.Parameters[74].Value = ((decimal)(TrN_RazemVAT));
            this.Adapter.InsertCommand.Parameters[75].Value = ((decimal)(TrN_RazemBrutto));
            this.Adapter.InsertCommand.Parameters[76].Value = ((decimal)(TrN_RazemNettoWal));
            this.Adapter.InsertCommand.Parameters[77].Value = ((decimal)(TrN_RazemVATWal));
            this.Adapter.InsertCommand.Parameters[78].Value = ((decimal)(TrN_RazemBruttoWal));
            if ((TrN_Waluta == null)) {
                throw new global::System.ArgumentNullException("TrN_Waluta");
            }
            else {
                this.Adapter.InsertCommand.Parameters[79].Value = ((string)(TrN_Waluta));
            }
            this.Adapter.InsertCommand.Parameters[80].Value = ((int)(TrN_KursNumer));
            this.Adapter.InsertCommand.Parameters[81].Value = ((decimal)(TrN_KursL));
            this.Adapter.InsertCommand.Parameters[82].Value = ((decimal)(TrN_KursM));
            this.Adapter.InsertCommand.Parameters[83].Value = ((byte)(TrN_PlatElemWalSys));
            this.Adapter.InsertCommand.Parameters[84].Value = ((byte)(TrN_PlatKaucje));
            if ((TrN_PodmiotZalTyp.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[85].Value = ((short)(TrN_PodmiotZalTyp.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[85].Value = global::System.DBNull.Value;
            }
            if ((TrN_PodZalId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[86].Value = ((int)(TrN_PodZalId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[86].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[87].Value = ((short)(TrN_BlokadaPlatnosci));
            if ((TrN_MagZrdId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[88].Value = ((int)(TrN_MagZrdId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[88].Value = global::System.DBNull.Value;
            }
            if ((TrN_MagDocId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[89].Value = ((int)(TrN_MagDocId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[89].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[90].Value = ((byte)(TrN_TypNB));
            this.Adapter.InsertCommand.Parameters[91].Value = ((decimal)(TrN_Rabat));
            if ((TrN_Odebral == null)) {
                throw new global::System.ArgumentNullException("TrN_Odebral");
            }
            else {
                this.Adapter.InsertCommand.Parameters[92].Value = ((string)(TrN_Odebral));
            }
            if ((TrN_Opis == null)) {
                throw new global::System.ArgumentNullException("TrN_Opis");
            }
            else {
                this.Adapter.InsertCommand.Parameters[93].Value = ((string)(TrN_Opis));
            }
            if ((TrN_ZwroconoCalaIlosc.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[94].Value = ((byte)(TrN_ZwroconoCalaIlosc.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[94].Value = global::System.DBNull.Value;
            }
            if ((TrN_NotaKorPrzed == null)) {
                throw new global::System.ArgumentNullException("TrN_NotaKorPrzed");
            }
            else {
                this.Adapter.InsertCommand.Parameters[95].Value = ((string)(TrN_NotaKorPrzed));
            }
            if ((TrN_NotaKorPo == null)) {
                throw new global::System.ArgumentNullException("TrN_NotaKorPo");
            }
            else {
                this.Adapter.InsertCommand.Parameters[96].Value = ((string)(TrN_NotaKorPo));
            }
            this.Adapter.InsertCommand.Parameters[97].Value = ((byte)(TrN_TrSTyp));
            if ((TrN_DekId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[98].Value = ((int)(TrN_DekId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[98].Value = global::System.DBNull.Value;
            }
            if ((TrN_TS_Export.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[99].Value = ((System.DateTime)(TrN_TS_Export.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[99].Value = global::System.DBNull.Value;
            }
            if ((TrN_ImportAppId == null)) {
                this.Adapter.InsertCommand.Parameters[100].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[100].Value = ((string)(TrN_ImportAppId));
            }
            if ((TrN_ImportRowId == null)) {
                this.Adapter.InsertCommand.Parameters[101].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[101].Value = ((string)(TrN_ImportRowId));
            }
            if ((TrN_OpeZalID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[102].Value = ((int)(TrN_OpeZalID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[102].Value = global::System.DBNull.Value;
            }
            if ((TrN_StaZalId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[103].Value = ((int)(TrN_StaZalId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[103].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[104].Value = ((System.DateTime)(TrN_TS_Zal));
            if ((TrN_OpeModID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[105].Value = ((int)(TrN_OpeModID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[105].Value = global::System.DBNull.Value;
            }
            if ((TrN_StaModId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[106].Value = ((int)(TrN_StaModId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[106].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[107].Value = ((System.DateTime)(TrN_TS_Mod));
            if ((TrN_GIDTyp.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[108].Value = ((short)(TrN_GIDTyp.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[108].Value = global::System.DBNull.Value;
            }
            if ((TrN_GIDFirma.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[109].Value = ((int)(TrN_GIDFirma.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[109].Value = global::System.DBNull.Value;
            }
            if ((TrN_GIDNumer.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[110].Value = ((int)(TrN_GIDNumer.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[110].Value = global::System.DBNull.Value;
            }
            if ((TrN_GIDLp.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[111].Value = ((short)(TrN_GIDLp.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[111].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[112].Value = ((byte)(TrN_Centrala));
            if ((TrN_KodTransakcji == null)) {
                throw new global::System.ArgumentNullException("TrN_KodTransakcji");
            }
            else {
                this.Adapter.InsertCommand.Parameters[113].Value = ((string)(TrN_KodTransakcji));
            }
            if ((TrN_IsNId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[114].Value = ((int)(TrN_IsNId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[114].Value = global::System.DBNull.Value;
            }
            if ((TrN_DataTransportu.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[115].Value = ((System.DateTime)(TrN_DataTransportu.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[115].Value = global::System.DBNull.Value;
            }
            if ((TrN_KodKraju == null)) {
                throw new global::System.ArgumentNullException("TrN_KodKraju");
            }
            else {
                this.Adapter.InsertCommand.Parameters[116].Value = ((string)(TrN_KodKraju));
            }
            this.Adapter.InsertCommand.Parameters[117].Value = ((byte)(TrN_VatDlaDokWal));
            if ((TrN_OFFExportMag.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[118].Value = ((byte)(TrN_OFFExportMag.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[118].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[119].Value = ((System.DateTime)(TrN_DataKur));
            if ((TrN_OdbEmail == null)) {
                this.Adapter.InsertCommand.Parameters[120].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[120].Value = ((string)(TrN_OdbEmail));
            }
            if ((TrN_OdbTelefon == null)) {
                this.Adapter.InsertCommand.Parameters[121].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[121].Value = ((string)(TrN_OdbTelefon));
            }
            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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    global::System.Nullable<global::System.DateTime> TrN_TerminZwrotuKaucji, 
                    global::System.Nullable<byte> TrN_OFFPrawoDoFAPA, 
                    global::System.Nullable<byte> TrN_OFFPrawoDoAnulowania, 
                    global::System.Nullable<int> TrN_RelTrNId, 
                    global::System.Nullable<byte> TrN_FVMarza, 
                    global::System.Nullable<int> TrN_DDfId, 
                    int TrN_TypDokumentu, 
                    global::System.Nullable<int> TrN_ZwrId, 
                    global::System.Nullable<int> TrN_FaId, 
                    int TrN_NumerNr, 
                    string TrN_NumerString, 
                    short TrN_Bufor, 
                    int TrN_Anulowany, 
                    global::System.Nullable<int> TrN_VaNId, 
                    System.DateTime TrN_DataDok, 
                    System.DateTime TrN_DataWys, 
                    System.DateTime TrN_DataOpe, 
                    string TrN_NumerObcy, 
                    string TrN_NumerPelnyPrw, 
                    byte TrN_TaxFreePotwierdzony, 
                    byte TrN_Korekta, 
                    byte TrN_Fiskalna, 
                    global::System.Nullable<int> TrN_FiskalnaErr, 
                    global::System.Nullable<decimal> TrN_RabatPromocyjny, 
                    global::System.Nullable<decimal> TrN_RabatKorekta, 
                    byte TrN_Detal, 
                    int TrN_Rodzaj, 
                    global::System.Nullable<short> TrN_PodmiotTyp, 
                    global::System.Nullable<int> TrN_PodID, 
                    string TrN_PodNazwa1, 
                    string TrN_PodNazwa2, 
                    string TrN_PodNazwa3, 
                    string TrN_PodKraj, 
                    string TrN_PodWojewodztwo, 
                    string TrN_PodPowiat, 
                    string TrN_PodGmina, 
                    string TrN_PodUlica, 
                    string TrN_PodNrDomu, 
                    string TrN_PodNrLokalu, 
                    string TrN_PodMiasto, 
                    string TrN_PodKodPocztowy, 
                    string TrN_PodPoczta, 
                    string TrN_PodAdres2, 
                    string TrN_PodNipKraj, 
                    string TrN_PodNipE, 
                    string TrN_PodmiotGLN, 
                    byte TrN_Finalny, 
                    byte TrN_Export, 
                    global::System.Nullable<short> TrN_OdbiorcaTyp, 
                    global::System.Nullable<int> TrN_OdbID, 
                    string TrN_OdbNazwa1, 
                    string TrN_OdbNazwa2, 
                    string TrN_OdbNazwa3, 
                    string TrN_OdbKraj, 
                    string TrN_OdbWojewodztwo, 
                    string TrN_OdbPowiat, 
                    string TrN_OdbGmina, 
                    string TrN_OdbUlica, 
                    string TrN_OdbNrDomu, 
                    string TrN_OdbNrLokalu, 
                    string TrN_OdbMiasto, 
                    string TrN_OdbKodPocztowy, 
                    string TrN_OdbPoczta, 
                    string TrN_OdbAdres2, 
                    string TrN_OdbNipKraj, 
                    string TrN_OdbNipE, 
                    string TrN_OdbiorcaGLN, 
                    global::System.Nullable<short> TrN_OdbiorcaDocTyp, 
                    global::System.Nullable<int> TrN_OdbDocID, 
                    global::System.Nullable<int> TrN_KatID, 
                    string TrN_Kategoria, 
                    global::System.Nullable<int> TrN_FPlId, 
                    System.DateTime TrN_Termin, 
                    decimal TrN_RazemNetto, 
                    decimal TrN_RazemVAT, 
                    decimal TrN_RazemBrutto, 
                    decimal TrN_RazemNettoWal, 
                    decimal TrN_RazemVATWal, 
                    decimal TrN_RazemBruttoWal, 
                    string TrN_Waluta, 
                    int TrN_KursNumer, 
                    decimal TrN_KursL, 
                    decimal TrN_KursM, 
                    byte TrN_PlatElemWalSys, 
                    byte TrN_PlatKaucje, 
                    global::System.Nullable<short> TrN_PodmiotZalTyp, 
                    global::System.Nullable<int> TrN_PodZalId, 
                    short TrN_BlokadaPlatnosci, 
                    global::System.Nullable<int> TrN_MagZrdId, 
                    global::System.Nullable<int> TrN_MagDocId, 
                    byte TrN_TypNB, 
                    decimal TrN_Rabat, 
                    string TrN_Odebral, 
                    string TrN_Opis, 
                    global::System.Nullable<byte> TrN_ZwroconoCalaIlosc, 
                    string TrN_NotaKorPrzed, 
                    string TrN_NotaKorPo, 
                    byte TrN_TrSTyp, 
                    global::System.Nullable<int> TrN_DekId, 
                    global::System.Nullable<global::System.DateTime> TrN_TS_Export, 
                    string TrN_ImportAppId, 
                    string TrN_ImportRowId, 
                    global::System.Nullable<int> TrN_OpeZalID, 
                    global::System.Nullable<int> TrN_StaZalId, 
                    System.DateTime TrN_TS_Zal, 
                    global::System.Nullable<int> TrN_OpeModID, 
                    global::System.Nullable<int> TrN_StaModId, 
                    System.DateTime TrN_TS_Mod, 
                    global::System.Nullable<short> TrN_GIDTyp, 
                    global::System.Nullable<int> TrN_GIDFirma, 
                    global::System.Nullable<int> TrN_GIDNumer, 
                    global::System.Nullable<short> TrN_GIDLp, 
                    byte TrN_Centrala, 
                    string TrN_KodTransakcji, 
                    global::System.Nullable<int> TrN_IsNId, 
                    global::System.Nullable<global::System.DateTime> TrN_DataTransportu, 
                    string TrN_KodKraju, 
                    byte TrN_VatDlaDokWal, 
                    global::System.Nullable<byte> TrN_OFFExportMag, 
                    System.DateTime TrN_DataKur, 
                    string TrN_OdbEmail, 
                    string TrN_OdbTelefon, 
                    int Original_TrN_TrNID, 
                    string IsNull_TrN_TerminZwrotuKaucji, 
                    global::System.Nullable<global::System.DateTime> Original_TrN_TerminZwrotuKaucji, 
                    string IsNull_TrN_OFFPrawoDoFAPA, 
                    global::System.Nullable<byte> Original_TrN_OFFPrawoDoFAPA, 
                    string IsNull_TrN_OFFPrawoDoAnulowania, 
                    global::System.Nullable<byte> Original_TrN_OFFPrawoDoAnulowania, 
                    string IsNull_TrN_RelTrNId, 
                    global::System.Nullable<int> Original_TrN_RelTrNId, 
                    string IsNull_TrN_FVMarza, 
                    global::System.Nullable<byte> Original_TrN_FVMarza, 
                    string IsNull_TrN_DDfId, 
                    global::System.Nullable<int> Original_TrN_DDfId, 
                    int Original_TrN_TypDokumentu, 
                    string IsNull_TrN_ZwrId, 
                    global::System.Nullable<int> Original_TrN_ZwrId, 
                    string IsNull_TrN_FaId, 
                    global::System.Nullable<int> Original_TrN_FaId, 
                    int Original_TrN_NumerNr, 
                    string Original_TrN_NumerString, 
                    string IsNull_TrN_NumerPelny, 
                    string Original_TrN_NumerPelny, 
                    short Original_TrN_Bufor, 
                    int Original_TrN_Anulowany, 
                    string IsNull_TrN_VaNId, 
                    global::System.Nullable<int> Original_TrN_VaNId, 
                    System.DateTime Original_TrN_DataDok, 
                    System.DateTime Original_TrN_DataWys, 
                    System.DateTime Original_TrN_DataOpe, 
                    string Original_TrN_NumerObcy, 
                    string Original_TrN_NumerPelnyPrw, 
                    byte Original_TrN_TaxFreePotwierdzony, 
                    byte Original_TrN_Korekta, 
                    byte Original_TrN_Fiskalna, 
                    string IsNull_TrN_FiskalnaErr, 
                    global::System.Nullable<int> Original_TrN_FiskalnaErr, 
                    string IsNull_TrN_RabatPromocyjny, 
                    global::System.Nullable<decimal> Original_TrN_RabatPromocyjny, 
                    string IsNull_TrN_RabatKorekta, 
                    global::System.Nullable<decimal> Original_TrN_RabatKorekta, 
                    byte Original_TrN_Detal, 
                    int Original_TrN_Rodzaj, 
                    string IsNull_TrN_PodmiotTyp, 
                    global::System.Nullable<short> Original_TrN_PodmiotTyp, 
                    string IsNull_TrN_PodID, 
                    global::System.Nullable<int> Original_TrN_PodID, 
                    string Original_TrN_PodNazwa1, 
                    string Original_TrN_PodNazwa2, 
                    string Original_TrN_PodNazwa3, 
                    string Original_TrN_PodKraj, 
                    string Original_TrN_PodWojewodztwo, 
                    string Original_TrN_PodPowiat, 
                    string Original_TrN_PodGmina, 
                    string Original_TrN_PodUlica, 
                    string Original_TrN_PodNrDomu, 
                    string Original_TrN_PodNrLokalu, 
                    string Original_TrN_PodMiasto, 
                    string Original_TrN_PodKodPocztowy, 
                    string Original_TrN_PodPoczta, 
                    string Original_TrN_PodAdres2, 
                    string Original_TrN_PodNipKraj, 
                    string Original_TrN_PodNipE, 
                    string Original_TrN_PodmiotGLN, 
                    byte Original_TrN_Finalny, 
                    byte Original_TrN_Export, 
                    string IsNull_TrN_OdbiorcaTyp, 
                    global::System.Nullable<short> Original_TrN_OdbiorcaTyp, 
                    string IsNull_TrN_OdbID, 
                    global::System.Nullable<int> Original_TrN_OdbID, 
                    string Original_TrN_OdbNazwa1, 
                    string Original_TrN_OdbNazwa2, 
                    string Original_TrN_OdbNazwa3, 
                    string Original_TrN_OdbKraj, 
                    string Original_TrN_OdbWojewodztwo, 
                    string Original_TrN_OdbPowiat, 
                    string Original_TrN_OdbGmina, 
                    string Original_TrN_OdbUlica, 
                    string Original_TrN_OdbNrDomu, 
                    string Original_TrN_OdbNrLokalu, 
                    string Original_TrN_OdbMiasto, 
                    string Original_TrN_OdbKodPocztowy, 
                    string Original_TrN_OdbPoczta, 
                    string Original_TrN_OdbAdres2, 
                    string Original_TrN_OdbNipKraj, 
                    string Original_TrN_OdbNipE, 
                    string Original_TrN_OdbiorcaGLN, 
                    string IsNull_TrN_OdbiorcaDocTyp, 
                    global::System.Nullable<short> Original_TrN_OdbiorcaDocTyp, 
                    string IsNull_TrN_OdbDocID, 
                    global::System.Nullable<int> Original_TrN_OdbDocID, 
                    string IsNull_TrN_KatID, 
                    global::System.Nullable<int> Original_TrN_KatID, 
                    string Original_TrN_Kategoria, 
                    string IsNull_TrN_FPlId, 
                    global::System.Nullable<int> Original_TrN_FPlId, 
                    System.DateTime Original_TrN_Termin, 
                    decimal Original_TrN_RazemNetto, 
                    decimal Original_TrN_RazemVAT, 
                    decimal Original_TrN_RazemBrutto, 
                    decimal Original_TrN_RazemNettoWal, 
                    decimal Original_TrN_RazemVATWal, 
                    decimal Original_TrN_RazemBruttoWal, 
                    string Original_TrN_Waluta, 
                    int Original_TrN_KursNumer, 
                    decimal Original_TrN_KursL, 
                    decimal Original_TrN_KursM, 
                    byte Original_TrN_PlatElemWalSys, 
                    byte Original_TrN_PlatKaucje, 
                    string IsNull_TrN_PodmiotZalTyp, 
                    global::System.Nullable<short> Original_TrN_PodmiotZalTyp, 
                    string IsNull_TrN_PodZalId, 
                    global::System.Nullable<int> Original_TrN_PodZalId, 
                    short Original_TrN_BlokadaPlatnosci, 
                    string IsNull_TrN_MagZrdId, 
                    global::System.Nullable<int> Original_TrN_MagZrdId, 
                    string IsNull_TrN_MagDocId, 
                    global::System.Nullable<int> Original_TrN_MagDocId, 
                    byte Original_TrN_TypNB, 
                    decimal Original_TrN_Rabat, 
                    string Original_TrN_Odebral, 
                    string Original_TrN_Opis, 
                    string IsNull_TrN_ZwroconoCalaIlosc, 
                    global::System.Nullable<byte> Original_TrN_ZwroconoCalaIlosc, 
                    string Original_TrN_NotaKorPrzed, 
                    string Original_TrN_NotaKorPo, 
                    byte Original_TrN_TrSTyp, 
                    string IsNull_TrN_DekId, 
                    global::System.Nullable<int> Original_TrN_DekId, 
                    string IsNull_TrN_TS_Export, 
                    global::System.Nullable<global::System.DateTime> Original_TrN_TS_Export, 
                    string IsNull_TrN_ImportAppId, 
                    string Original_TrN_ImportAppId, 
                    string IsNull_TrN_ImportRowId, 
                    string Original_TrN_ImportRowId, 
                    string IsNull_TrN_OpeZalID, 
                    global::System.Nullable<int> Original_TrN_OpeZalID, 
                    string IsNull_TrN_StaZalId, 
                    global::System.Nullable<int> Original_TrN_StaZalId, 
                    System.DateTime Original_TrN_TS_Zal, 
                    string IsNull_TrN_OpeModID, 
                    global::System.Nullable<int> Original_TrN_OpeModID, 
                    string IsNull_TrN_StaModId, 
                    global::System.Nullable<int> Original_TrN_StaModId, 
                    System.DateTime Original_TrN_TS_Mod, 
                    string IsNull_TrN_GIDTyp, 
                    global::System.Nullable<short> Original_TrN_GIDTyp, 
                    string IsNull_TrN_GIDFirma, 
                    global::System.Nullable<int> Original_TrN_GIDFirma, 
                    string IsNull_TrN_GIDNumer, 
                    global::System.Nullable<int> Original_TrN_GIDNumer, 
                    string IsNull_TrN_GIDLp, 
                    global::System.Nullable<short> Original_TrN_GIDLp, 
                    byte Original_TrN_Centrala, 
                    string Original_TrN_KodTransakcji, 
                    string IsNull_TrN_IsNId, 
                    global::System.Nullable<int> Original_TrN_IsNId, 
                    string IsNull_TrN_DataTransportu, 
                    global::System.Nullable<global::System.DateTime> Original_TrN_DataTransportu, 
                    string Original_TrN_KodKraju, 
                    byte Original_TrN_VatDlaDokWal, 
                    string IsNull_TrN_OFFExportMag, 
                    global::System.Nullable<byte> Original_TrN_OFFExportMag, 
                    System.DateTime Original_TrN_DataKur, 
                    string IsNull_TrN_StatusString, 
                    string Original_TrN_StatusString, 
                    string IsNull_TrN_OdbEmail, 
                    string Original_TrN_OdbEmail, 
                    string IsNull_TrN_OdbTelefon, 
                    string Original_TrN_OdbTelefon, 
                    string IsNull_TrN_WartoscZakupu, 
                    global::System.Nullable<decimal> Original_TrN_WartoscZakupu, 
                    int TrN_TrNID) {
            if ((TrN_TerminZwrotuKaucji.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(TrN_TerminZwrotuKaucji.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((TrN_OFFPrawoDoFAPA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((byte)(TrN_OFFPrawoDoFAPA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((TrN_OFFPrawoDoAnulowania.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((byte)(TrN_OFFPrawoDoAnulowania.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((TrN_RelTrNId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(TrN_RelTrNId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((TrN_FVMarza.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((byte)(TrN_FVMarza.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            if ((TrN_DDfId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(TrN_DDfId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(TrN_TypDokumentu));
            if ((TrN_ZwrId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(TrN_ZwrId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            if ((TrN_FaId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(TrN_FaId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(TrN_NumerNr));
            if ((TrN_NumerString == null)) {
                throw new global::System.ArgumentNullException("TrN_NumerString");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(TrN_NumerString));
            }
            this.Adapter.UpdateCommand.Parameters[11].Value = ((short)(TrN_Bufor));
            this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(TrN_Anulowany));
            if ((TrN_VaNId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(TrN_VaNId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[14].Value = ((System.DateTime)(TrN_DataDok));
            this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(TrN_DataWys));
            this.Adapter.UpdateCommand.Parameters[16].Value = ((System.DateTime)(TrN_DataOpe));
            if ((TrN_NumerObcy == null)) {
                throw new global::System.ArgumentNullException("TrN_NumerObcy");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(TrN_NumerObcy));
            }
            if ((TrN_NumerPelnyPrw == null)) {
                throw new global::System.ArgumentNullException("TrN_NumerPelnyPrw");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(TrN_NumerPelnyPrw));
            }
            this.Adapter.UpdateCommand.Parameters[19].Value = ((byte)(TrN_TaxFreePotwierdzony));
            this.Adapter.UpdateCommand.Parameters[20].Value = ((byte)(TrN_Korekta));
            this.Adapter.UpdateCommand.Parameters[21].Value = ((byte)(TrN_Fiskalna));
            if ((TrN_FiskalnaErr.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(TrN_FiskalnaErr.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
            }
            if ((TrN_RabatPromocyjny.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[23].Value = ((decimal)(TrN_RabatPromocyjny.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
            }
            if ((TrN_RabatKorekta.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[24].Value = ((decimal)(TrN_RabatKorekta.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[25].Value = ((byte)(TrN_Detal));
            this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(TrN_Rodzaj));
            if ((TrN_PodmiotTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[27].Value = ((short)(TrN_PodmiotTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
            }
            if ((TrN_PodID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[28].Value = ((int)(TrN_PodID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
            }
            if ((TrN_PodNazwa1 == null)) {
                throw new global::System.ArgumentNullException("TrN_PodNazwa1");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(TrN_PodNazwa1));
            }
            if ((TrN_PodNazwa2 == null)) {
                throw new global::System.ArgumentNullException("TrN_PodNazwa2");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(TrN_PodNazwa2));
            }
            if ((TrN_PodNazwa3 == null)) {
                throw new global::System.ArgumentNullException("TrN_PodNazwa3");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(TrN_PodNazwa3));
            }
            if ((TrN_PodKraj == null)) {
                throw new global::System.ArgumentNullException("TrN_PodKraj");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(TrN_PodKraj));
            }
            if ((TrN_PodWojewodztwo == null)) {
                throw new global::System.ArgumentNullException("TrN_PodWojewodztwo");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(TrN_PodWojewodztwo));
            }
            if ((TrN_PodPowiat == null)) {
                throw new global::System.ArgumentNullException("TrN_PodPowiat");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(TrN_PodPowiat));
            }
            if ((TrN_PodGmina == null)) {
                throw new global::System.ArgumentNullException("TrN_PodGmina");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(TrN_PodGmina));
            }
            if ((TrN_PodUlica == null)) {
                throw new global::System.ArgumentNullException("TrN_PodUlica");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(TrN_PodUlica));
            }
            if ((TrN_PodNrDomu == null)) {
                throw new global::System.ArgumentNullException("TrN_PodNrDomu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(TrN_PodNrDomu));
            }
            if ((TrN_PodNrLokalu == null)) {
                throw new global::System.ArgumentNullException("TrN_PodNrLokalu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(TrN_PodNrLokalu));
            }
            if ((TrN_PodMiasto == null)) {
                throw new global::System.ArgumentNullException("TrN_PodMiasto");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(TrN_PodMiasto));
            }
            if ((TrN_PodKodPocztowy == null)) {
                throw new global::System.ArgumentNullException("TrN_PodKodPocztowy");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(TrN_PodKodPocztowy));
            }
            if ((TrN_PodPoczta == null)) {
                throw new global::System.ArgumentNullException("TrN_PodPoczta");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(TrN_PodPoczta));
            }
            if ((TrN_PodAdres2 == null)) {
                throw new global::System.ArgumentNullException("TrN_PodAdres2");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(TrN_PodAdres2));
            }
            if ((TrN_PodNipKraj == null)) {
                throw new global::System.ArgumentNullException("TrN_PodNipKraj");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(TrN_PodNipKraj));
            }
            if ((TrN_PodNipE == null)) {
                throw new global::System.ArgumentNullException("TrN_PodNipE");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(TrN_PodNipE));
            }
            if ((TrN_PodmiotGLN == null)) {
                throw new global::System.ArgumentNullException("TrN_PodmiotGLN");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(TrN_PodmiotGLN));
            }
            this.Adapter.UpdateCommand.Parameters[46].Value = ((byte)(TrN_Finalny));
            this.Adapter.UpdateCommand.Parameters[47].Value = ((byte)(TrN_Export));
            if ((TrN_OdbiorcaTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[48].Value = ((short)(TrN_OdbiorcaTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
            }
            if ((TrN_OdbID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[49].Value = ((int)(TrN_OdbID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value;
            }
            if ((TrN_OdbNazwa1 == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbNazwa1");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(TrN_OdbNazwa1));
            }
            if ((TrN_OdbNazwa2 == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbNazwa2");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(TrN_OdbNazwa2));
            }
            if ((TrN_OdbNazwa3 == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbNazwa3");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(TrN_OdbNazwa3));
            }
            if ((TrN_OdbKraj == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbKraj");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[53].Value = ((string)(TrN_OdbKraj));
            }
            if ((TrN_OdbWojewodztwo == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbWojewodztwo");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(TrN_OdbWojewodztwo));
            }
            if ((TrN_OdbPowiat == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbPowiat");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[55].Value = ((string)(TrN_OdbPowiat));
            }
            if ((TrN_OdbGmina == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbGmina");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(TrN_OdbGmina));
            }
            if ((TrN_OdbUlica == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbUlica");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(TrN_OdbUlica));
            }
            if ((TrN_OdbNrDomu == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbNrDomu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(TrN_OdbNrDomu));
            }
            if ((TrN_OdbNrLokalu == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbNrLokalu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(TrN_OdbNrLokalu));
            }
            if ((TrN_OdbMiasto == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbMiasto");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[60].Value = ((string)(TrN_OdbMiasto));
            }
            if ((TrN_OdbKodPocztowy == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbKodPocztowy");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[61].Value = ((string)(TrN_OdbKodPocztowy));
            }
            if ((TrN_OdbPoczta == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbPoczta");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[62].Value = ((string)(TrN_OdbPoczta));
            }
            if ((TrN_OdbAdres2 == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbAdres2");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(TrN_OdbAdres2));
            }
            if ((TrN_OdbNipKraj == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbNipKraj");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[64].Value = ((string)(TrN_OdbNipKraj));
            }
            if ((TrN_OdbNipE == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbNipE");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[65].Value = ((string)(TrN_OdbNipE));
            }
            if ((TrN_OdbiorcaGLN == null)) {
                throw new global::System.ArgumentNullException("TrN_OdbiorcaGLN");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[66].Value = ((string)(TrN_OdbiorcaGLN));
            }
            if ((TrN_OdbiorcaDocTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[67].Value = ((short)(TrN_OdbiorcaDocTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value;
            }
            if ((TrN_OdbDocID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[68].Value = ((int)(TrN_OdbDocID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value;
            }
            if ((TrN_KatID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[69].Value = ((int)(TrN_KatID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value;
            }
            if ((TrN_Kategoria == null)) {
                throw new global::System.ArgumentNullException("TrN_Kategoria");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[70].Value = ((string)(TrN_Kategoria));
            }
            if ((TrN_FPlId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[71].Value = ((int)(TrN_FPlId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[72].Value = ((System.DateTime)(TrN_Termin));
            this.Adapter.UpdateCommand.Parameters[73].Value = ((decimal)(TrN_RazemNetto));
            this.Adapter.UpdateCommand.Parameters[74].Value = ((decimal)(TrN_RazemVAT));
            this.Adapter.UpdateCommand.Parameters[75].Value = ((decimal)(TrN_RazemBrutto));
            this.Adapter.UpdateCommand.Parameters[76].Value = ((decimal)(TrN_RazemNettoWal));
            this.Adapter.UpdateCommand.Parameters[77].Value = ((decimal)(TrN_RazemVATWal));
            this.Adapter.UpdateCommand.Parameters[78].Value = ((decimal)(TrN_RazemBruttoWal));
            if ((TrN_Waluta == null)) {
                throw new global::System.ArgumentNullException("TrN_Waluta");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[79].Value = ((string)(TrN_Waluta));
            }
            this.Adapter.UpdateCommand.Parameters[80].Value = ((int)(TrN_KursNumer));
            this.Adapter.UpdateCommand.Parameters[81].Value = ((decimal)(TrN_KursL));
            this.Adapter.UpdateCommand.Parameters[82].Value = ((decimal)(TrN_KursM));
            this.Adapter.UpdateCommand.Parameters[83].Value = ((byte)(TrN_PlatElemWalSys));
            this.Adapter.UpdateCommand.Parameters[84].Value = ((byte)(TrN_PlatKaucje));
            if ((TrN_PodmiotZalTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[85].Value = ((short)(TrN_PodmiotZalTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[85].Value = global::System.DBNull.Value;
            }
            if ((TrN_PodZalId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[86].Value = ((int)(TrN_PodZalId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[86].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[87].Value = ((short)(TrN_BlokadaPlatnosci));
            if ((TrN_MagZrdId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[88].Value = ((int)(TrN_MagZrdId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[88].Value = global::System.DBNull.Value;
            }
            if ((TrN_MagDocId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[89].Value = ((int)(TrN_MagDocId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[89].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[90].Value = ((byte)(TrN_TypNB));
            this.Adapter.UpdateCommand.Parameters[91].Value = ((decimal)(TrN_Rabat));
            if ((TrN_Odebral == null)) {
                throw new global::System.ArgumentNullException("TrN_Odebral");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[92].Value = ((string)(TrN_Odebral));
            }
            if ((TrN_Opis == null)) {
                throw new global::System.ArgumentNullException("TrN_Opis");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[93].Value = ((string)(TrN_Opis));
            }
            if ((TrN_ZwroconoCalaIlosc.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[94].Value = ((byte)(TrN_ZwroconoCalaIlosc.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[94].Value = global::System.DBNull.Value;
            }
            if ((TrN_NotaKorPrzed == null)) {
                throw new global::System.ArgumentNullException("TrN_NotaKorPrzed");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[95].Value = ((string)(TrN_NotaKorPrzed));
            }
            if ((TrN_NotaKorPo == null)) {
                throw new global::System.ArgumentNullException("TrN_NotaKorPo");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[96].Value = ((string)(TrN_NotaKorPo));
            }
            this.Adapter.UpdateCommand.Parameters[97].Value = ((byte)(TrN_TrSTyp));
            if ((TrN_DekId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[98].Value = ((int)(TrN_DekId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[98].Value = global::System.DBNull.Value;
            }
            if ((TrN_TS_Export.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[99].Value = ((System.DateTime)(TrN_TS_Export.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[99].Value = global::System.DBNull.Value;
            }
            if ((TrN_ImportAppId == null)) {
                this.Adapter.UpdateCommand.Parameters[100].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[100].Value = ((string)(TrN_ImportAppId));
            }
            if ((TrN_ImportRowId == null)) {
                this.Adapter.UpdateCommand.Parameters[101].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[101].Value = ((string)(TrN_ImportRowId));
            }
            if ((TrN_OpeZalID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[102].Value = ((int)(TrN_OpeZalID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[102].Value = global::System.DBNull.Value;
            }
            if ((TrN_StaZalId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[103].Value = ((int)(TrN_StaZalId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[103].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[104].Value = ((System.DateTime)(TrN_TS_Zal));
            if ((TrN_OpeModID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[105].Value = ((int)(TrN_OpeModID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[105].Value = global::System.DBNull.Value;
            }
            if ((TrN_StaModId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[106].Value = ((int)(TrN_StaModId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[106].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[107].Value = ((System.DateTime)(TrN_TS_Mod));
            if ((TrN_GIDTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[108].Value = ((short)(TrN_GIDTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[108].Value = global::System.DBNull.Value;
            }
            if ((TrN_GIDFirma.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[109].Value = ((int)(TrN_GIDFirma.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[109].Value = global::System.DBNull.Value;
            }
            if ((TrN_GIDNumer.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[110].Value = ((int)(TrN_GIDNumer.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[110].Value = global::System.DBNull.Value;
            }
            if ((TrN_GIDLp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[111].Value = ((short)(TrN_GIDLp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[111].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[112].Value = ((byte)(TrN_Centrala));
            if ((TrN_KodTransakcji == null)) {
                throw new global::System.ArgumentNullException("TrN_KodTransakcji");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[113].Value = ((string)(TrN_KodTransakcji));
            }
            if ((TrN_IsNId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[114].Value = ((int)(TrN_IsNId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[114].Value = global::System.DBNull.Value;
            }
            if ((TrN_DataTransportu.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[115].Value = ((System.DateTime)(TrN_DataTransportu.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[115].Value = global::System.DBNull.Value;
            }
            if ((TrN_KodKraju == null)) {
                throw new global::System.ArgumentNullException("TrN_KodKraju");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[116].Value = ((string)(TrN_KodKraju));
            }
            this.Adapter.UpdateCommand.Parameters[117].Value = ((byte)(TrN_VatDlaDokWal));
            if ((TrN_OFFExportMag.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[118].Value = ((byte)(TrN_OFFExportMag.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[118].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[119].Value = ((System.DateTime)(TrN_DataKur));
            if ((TrN_OdbEmail == null)) {
                this.Adapter.UpdateCommand.Parameters[120].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[120].Value = ((string)(TrN_OdbEmail));
            }
            if ((TrN_OdbTelefon == null)) {
                this.Adapter.UpdateCommand.Parameters[121].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[121].Value = ((string)(TrN_OdbTelefon));
            }
            this.Adapter.UpdateCommand.Parameters[122].Value = ((int)(Original_TrN_TrNID));
            if ((IsNull_TrN_TerminZwrotuKaucji == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_TerminZwrotuKaucji");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[123].Value = ((string)(IsNull_TrN_TerminZwrotuKaucji));
            }
            if ((Original_TrN_TerminZwrotuKaucji.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[124].Value = ((System.DateTime)(Original_TrN_TerminZwrotuKaucji.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[124].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_OFFPrawoDoFAPA == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_OFFPrawoDoFAPA");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[125].Value = ((string)(IsNull_TrN_OFFPrawoDoFAPA));
            }
            if ((Original_TrN_OFFPrawoDoFAPA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[126].Value = ((byte)(Original_TrN_OFFPrawoDoFAPA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[126].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_OFFPrawoDoAnulowania == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_OFFPrawoDoAnulowania");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[127].Value = ((string)(IsNull_TrN_OFFPrawoDoAnulowania));
            }
            if ((Original_TrN_OFFPrawoDoAnulowania.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[128].Value = ((byte)(Original_TrN_OFFPrawoDoAnulowania.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[128].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_RelTrNId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_RelTrNId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[129].Value = ((string)(IsNull_TrN_RelTrNId));
            }
            if ((Original_TrN_RelTrNId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[130].Value = ((int)(Original_TrN_RelTrNId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[130].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_FVMarza == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_FVMarza");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[131].Value = ((string)(IsNull_TrN_FVMarza));
            }
            if ((Original_TrN_FVMarza.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[132].Value = ((byte)(Original_TrN_FVMarza.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[132].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_DDfId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_DDfId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[133].Value = ((string)(IsNull_TrN_DDfId));
            }
            if ((Original_TrN_DDfId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[134].Value = ((int)(Original_TrN_DDfId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[134].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[135].Value = ((int)(Original_TrN_TypDokumentu));
            if ((IsNull_TrN_ZwrId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_ZwrId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[136].Value = ((string)(IsNull_TrN_ZwrId));
            }
            if ((Original_TrN_ZwrId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[137].Value = ((int)(Original_TrN_ZwrId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[137].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_FaId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_FaId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[138].Value = ((string)(IsNull_TrN_FaId));
            }
            if ((Original_TrN_FaId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[139].Value = ((int)(Original_TrN_FaId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[139].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[140].Value = ((int)(Original_TrN_NumerNr));
            if ((Original_TrN_NumerString == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_NumerString");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[141].Value = ((string)(Original_TrN_NumerString));
            }
            if ((IsNull_TrN_NumerPelny == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_NumerPelny");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[142].Value = ((string)(IsNull_TrN_NumerPelny));
            }
            if ((Original_TrN_NumerPelny == null)) {
                this.Adapter.UpdateCommand.Parameters[143].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[143].Value = ((string)(Original_TrN_NumerPelny));
            }
            this.Adapter.UpdateCommand.Parameters[144].Value = ((short)(Original_TrN_Bufor));
            this.Adapter.UpdateCommand.Parameters[145].Value = ((int)(Original_TrN_Anulowany));
            if ((IsNull_TrN_VaNId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_VaNId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[146].Value = ((string)(IsNull_TrN_VaNId));
            }
            if ((Original_TrN_VaNId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[147].Value = ((int)(Original_TrN_VaNId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[147].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[148].Value = ((System.DateTime)(Original_TrN_DataDok));
            this.Adapter.UpdateCommand.Parameters[149].Value = ((System.DateTime)(Original_TrN_DataWys));
            this.Adapter.UpdateCommand.Parameters[150].Value = ((System.DateTime)(Original_TrN_DataOpe));
            if ((Original_TrN_NumerObcy == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_NumerObcy");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[151].Value = ((string)(Original_TrN_NumerObcy));
            }
            if ((Original_TrN_NumerPelnyPrw == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_NumerPelnyPrw");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[152].Value = ((string)(Original_TrN_NumerPelnyPrw));
            }
            this.Adapter.UpdateCommand.Parameters[153].Value = ((byte)(Original_TrN_TaxFreePotwierdzony));
            this.Adapter.UpdateCommand.Parameters[154].Value = ((byte)(Original_TrN_Korekta));
            this.Adapter.UpdateCommand.Parameters[155].Value = ((byte)(Original_TrN_Fiskalna));
            if ((IsNull_TrN_FiskalnaErr == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_FiskalnaErr");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[156].Value = ((string)(IsNull_TrN_FiskalnaErr));
            }
            if ((Original_TrN_FiskalnaErr.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[157].Value = ((int)(Original_TrN_FiskalnaErr.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[157].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_RabatPromocyjny == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_RabatPromocyjny");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[158].Value = ((string)(IsNull_TrN_RabatPromocyjny));
            }
            if ((Original_TrN_RabatPromocyjny.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[159].Value = ((decimal)(Original_TrN_RabatPromocyjny.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[159].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_RabatKorekta == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_RabatKorekta");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[160].Value = ((string)(IsNull_TrN_RabatKorekta));
            }
            if ((Original_TrN_RabatKorekta.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[161].Value = ((decimal)(Original_TrN_RabatKorekta.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[161].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[162].Value = ((byte)(Original_TrN_Detal));
            this.Adapter.UpdateCommand.Parameters[163].Value = ((int)(Original_TrN_Rodzaj));
            if ((IsNull_TrN_PodmiotTyp == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_PodmiotTyp");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[164].Value = ((string)(IsNull_TrN_PodmiotTyp));
            }
            if ((Original_TrN_PodmiotTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[165].Value = ((short)(Original_TrN_PodmiotTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[165].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_PodID == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_PodID");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[166].Value = ((string)(IsNull_TrN_PodID));
            }
            if ((Original_TrN_PodID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[167].Value = ((int)(Original_TrN_PodID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[167].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_PodNazwa1 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodNazwa1");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[168].Value = ((string)(Original_TrN_PodNazwa1));
            }
            if ((Original_TrN_PodNazwa2 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodNazwa2");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[169].Value = ((string)(Original_TrN_PodNazwa2));
            }
            if ((Original_TrN_PodNazwa3 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodNazwa3");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[170].Value = ((string)(Original_TrN_PodNazwa3));
            }
            if ((Original_TrN_PodKraj == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodKraj");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[171].Value = ((string)(Original_TrN_PodKraj));
            }
            if ((Original_TrN_PodWojewodztwo == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodWojewodztwo");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[172].Value = ((string)(Original_TrN_PodWojewodztwo));
            }
            if ((Original_TrN_PodPowiat == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodPowiat");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[173].Value = ((string)(Original_TrN_PodPowiat));
            }
            if ((Original_TrN_PodGmina == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodGmina");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[174].Value = ((string)(Original_TrN_PodGmina));
            }
            if ((Original_TrN_PodUlica == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodUlica");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[175].Value = ((string)(Original_TrN_PodUlica));
            }
            if ((Original_TrN_PodNrDomu == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodNrDomu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[176].Value = ((string)(Original_TrN_PodNrDomu));
            }
            if ((Original_TrN_PodNrLokalu == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodNrLokalu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[177].Value = ((string)(Original_TrN_PodNrLokalu));
            }
            if ((Original_TrN_PodMiasto == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodMiasto");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[178].Value = ((string)(Original_TrN_PodMiasto));
            }
            if ((Original_TrN_PodKodPocztowy == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodKodPocztowy");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[179].Value = ((string)(Original_TrN_PodKodPocztowy));
            }
            if ((Original_TrN_PodPoczta == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodPoczta");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[180].Value = ((string)(Original_TrN_PodPoczta));
            }
            if ((Original_TrN_PodAdres2 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodAdres2");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[181].Value = ((string)(Original_TrN_PodAdres2));
            }
            if ((Original_TrN_PodNipKraj == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodNipKraj");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[182].Value = ((string)(Original_TrN_PodNipKraj));
            }
            if ((Original_TrN_PodNipE == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodNipE");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[183].Value = ((string)(Original_TrN_PodNipE));
            }
            if ((Original_TrN_PodmiotGLN == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_PodmiotGLN");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[184].Value = ((string)(Original_TrN_PodmiotGLN));
            }
            this.Adapter.UpdateCommand.Parameters[185].Value = ((byte)(Original_TrN_Finalny));
            this.Adapter.UpdateCommand.Parameters[186].Value = ((byte)(Original_TrN_Export));
            if ((IsNull_TrN_OdbiorcaTyp == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_OdbiorcaTyp");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[187].Value = ((string)(IsNull_TrN_OdbiorcaTyp));
            }
            if ((Original_TrN_OdbiorcaTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[188].Value = ((short)(Original_TrN_OdbiorcaTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[188].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_OdbID == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_OdbID");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[189].Value = ((string)(IsNull_TrN_OdbID));
            }
            if ((Original_TrN_OdbID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[190].Value = ((int)(Original_TrN_OdbID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[190].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_OdbNazwa1 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbNazwa1");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[191].Value = ((string)(Original_TrN_OdbNazwa1));
            }
            if ((Original_TrN_OdbNazwa2 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbNazwa2");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[192].Value = ((string)(Original_TrN_OdbNazwa2));
            }
            if ((Original_TrN_OdbNazwa3 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbNazwa3");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[193].Value = ((string)(Original_TrN_OdbNazwa3));
            }
            if ((Original_TrN_OdbKraj == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbKraj");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[194].Value = ((string)(Original_TrN_OdbKraj));
            }
            if ((Original_TrN_OdbWojewodztwo == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbWojewodztwo");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[195].Value = ((string)(Original_TrN_OdbWojewodztwo));
            }
            if ((Original_TrN_OdbPowiat == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbPowiat");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[196].Value = ((string)(Original_TrN_OdbPowiat));
            }
            if ((Original_TrN_OdbGmina == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbGmina");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[197].Value = ((string)(Original_TrN_OdbGmina));
            }
            if ((Original_TrN_OdbUlica == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbUlica");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[198].Value = ((string)(Original_TrN_OdbUlica));
            }
            if ((Original_TrN_OdbNrDomu == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbNrDomu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[199].Value = ((string)(Original_TrN_OdbNrDomu));
            }
            if ((Original_TrN_OdbNrLokalu == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbNrLokalu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[200].Value = ((string)(Original_TrN_OdbNrLokalu));
            }
            if ((Original_TrN_OdbMiasto == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbMiasto");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[201].Value = ((string)(Original_TrN_OdbMiasto));
            }
            if ((Original_TrN_OdbKodPocztowy == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbKodPocztowy");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[202].Value = ((string)(Original_TrN_OdbKodPocztowy));
            }
            if ((Original_TrN_OdbPoczta == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbPoczta");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[203].Value = ((string)(Original_TrN_OdbPoczta));
            }
            if ((Original_TrN_OdbAdres2 == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbAdres2");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[204].Value = ((string)(Original_TrN_OdbAdres2));
            }
            if ((Original_TrN_OdbNipKraj == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbNipKraj");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[205].Value = ((string)(Original_TrN_OdbNipKraj));
            }
            if ((Original_TrN_OdbNipE == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbNipE");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[206].Value = ((string)(Original_TrN_OdbNipE));
            }
            if ((Original_TrN_OdbiorcaGLN == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_OdbiorcaGLN");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[207].Value = ((string)(Original_TrN_OdbiorcaGLN));
            }
            if ((IsNull_TrN_OdbiorcaDocTyp == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_OdbiorcaDocTyp");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[208].Value = ((string)(IsNull_TrN_OdbiorcaDocTyp));
            }
            if ((Original_TrN_OdbiorcaDocTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[209].Value = ((short)(Original_TrN_OdbiorcaDocTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[209].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_OdbDocID == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_OdbDocID");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[210].Value = ((string)(IsNull_TrN_OdbDocID));
            }
            if ((Original_TrN_OdbDocID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[211].Value = ((int)(Original_TrN_OdbDocID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[211].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_KatID == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_KatID");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[212].Value = ((string)(IsNull_TrN_KatID));
            }
            if ((Original_TrN_KatID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[213].Value = ((int)(Original_TrN_KatID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[213].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_Kategoria == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_Kategoria");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[214].Value = ((string)(Original_TrN_Kategoria));
            }
            if ((IsNull_TrN_FPlId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_FPlId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[215].Value = ((string)(IsNull_TrN_FPlId));
            }
            if ((Original_TrN_FPlId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[216].Value = ((int)(Original_TrN_FPlId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[216].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[217].Value = ((System.DateTime)(Original_TrN_Termin));
            this.Adapter.UpdateCommand.Parameters[218].Value = ((decimal)(Original_TrN_RazemNetto));
            this.Adapter.UpdateCommand.Parameters[219].Value = ((decimal)(Original_TrN_RazemVAT));
            this.Adapter.UpdateCommand.Parameters[220].Value = ((decimal)(Original_TrN_RazemBrutto));
            this.Adapter.UpdateCommand.Parameters[221].Value = ((decimal)(Original_TrN_RazemNettoWal));
            this.Adapter.UpdateCommand.Parameters[222].Value = ((decimal)(Original_TrN_RazemVATWal));
            this.Adapter.UpdateCommand.Parameters[223].Value = ((decimal)(Original_TrN_RazemBruttoWal));
            if ((Original_TrN_Waluta == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_Waluta");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[224].Value = ((string)(Original_TrN_Waluta));
            }
            this.Adapter.UpdateCommand.Parameters[225].Value = ((int)(Original_TrN_KursNumer));
            this.Adapter.UpdateCommand.Parameters[226].Value = ((decimal)(Original_TrN_KursL));
            this.Adapter.UpdateCommand.Parameters[227].Value = ((decimal)(Original_TrN_KursM));
            this.Adapter.UpdateCommand.Parameters[228].Value = ((byte)(Original_TrN_PlatElemWalSys));
            this.Adapter.UpdateCommand.Parameters[229].Value = ((byte)(Original_TrN_PlatKaucje));
            if ((IsNull_TrN_PodmiotZalTyp == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_PodmiotZalTyp");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[230].Value = ((string)(IsNull_TrN_PodmiotZalTyp));
            }
            if ((Original_TrN_PodmiotZalTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[231].Value = ((short)(Original_TrN_PodmiotZalTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[231].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_PodZalId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_PodZalId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[232].Value = ((string)(IsNull_TrN_PodZalId));
            }
            if ((Original_TrN_PodZalId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[233].Value = ((int)(Original_TrN_PodZalId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[233].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[234].Value = ((short)(Original_TrN_BlokadaPlatnosci));
            if ((IsNull_TrN_MagZrdId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_MagZrdId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[235].Value = ((string)(IsNull_TrN_MagZrdId));
            }
            if ((Original_TrN_MagZrdId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[236].Value = ((int)(Original_TrN_MagZrdId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[236].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_MagDocId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_MagDocId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[237].Value = ((string)(IsNull_TrN_MagDocId));
            }
            if ((Original_TrN_MagDocId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[238].Value = ((int)(Original_TrN_MagDocId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[238].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[239].Value = ((byte)(Original_TrN_TypNB));
            this.Adapter.UpdateCommand.Parameters[240].Value = ((decimal)(Original_TrN_Rabat));
            if ((Original_TrN_Odebral == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_Odebral");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[241].Value = ((string)(Original_TrN_Odebral));
            }
            if ((Original_TrN_Opis == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_Opis");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[242].Value = ((string)(Original_TrN_Opis));
            }
            if ((IsNull_TrN_ZwroconoCalaIlosc == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_ZwroconoCalaIlosc");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[243].Value = ((string)(IsNull_TrN_ZwroconoCalaIlosc));
            }
            if ((Original_TrN_ZwroconoCalaIlosc.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[244].Value = ((byte)(Original_TrN_ZwroconoCalaIlosc.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[244].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_NotaKorPrzed == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_NotaKorPrzed");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[245].Value = ((string)(Original_TrN_NotaKorPrzed));
            }
            if ((Original_TrN_NotaKorPo == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_NotaKorPo");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[246].Value = ((string)(Original_TrN_NotaKorPo));
            }
            this.Adapter.UpdateCommand.Parameters[247].Value = ((byte)(Original_TrN_TrSTyp));
            if ((IsNull_TrN_DekId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_DekId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[248].Value = ((string)(IsNull_TrN_DekId));
            }
            if ((Original_TrN_DekId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[249].Value = ((int)(Original_TrN_DekId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[249].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_TS_Export == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_TS_Export");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[250].Value = ((string)(IsNull_TrN_TS_Export));
            }
            if ((Original_TrN_TS_Export.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[251].Value = ((System.DateTime)(Original_TrN_TS_Export.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[251].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_ImportAppId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_ImportAppId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[252].Value = ((string)(IsNull_TrN_ImportAppId));
            }
            if ((Original_TrN_ImportAppId == null)) {
                this.Adapter.UpdateCommand.Parameters[253].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[253].Value = ((string)(Original_TrN_ImportAppId));
            }
            if ((IsNull_TrN_ImportRowId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_ImportRowId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[254].Value = ((string)(IsNull_TrN_ImportRowId));
            }
            if ((Original_TrN_ImportRowId == null)) {
                this.Adapter.UpdateCommand.Parameters[255].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[255].Value = ((string)(Original_TrN_ImportRowId));
            }
            if ((IsNull_TrN_OpeZalID == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_OpeZalID");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[256].Value = ((string)(IsNull_TrN_OpeZalID));
            }
            if ((Original_TrN_OpeZalID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[257].Value = ((int)(Original_TrN_OpeZalID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[257].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_StaZalId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_StaZalId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[258].Value = ((string)(IsNull_TrN_StaZalId));
            }
            if ((Original_TrN_StaZalId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[259].Value = ((int)(Original_TrN_StaZalId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[259].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[260].Value = ((System.DateTime)(Original_TrN_TS_Zal));
            if ((IsNull_TrN_OpeModID == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_OpeModID");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[261].Value = ((string)(IsNull_TrN_OpeModID));
            }
            if ((Original_TrN_OpeModID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[262].Value = ((int)(Original_TrN_OpeModID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[262].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_StaModId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_StaModId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[263].Value = ((string)(IsNull_TrN_StaModId));
            }
            if ((Original_TrN_StaModId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[264].Value = ((int)(Original_TrN_StaModId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[264].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[265].Value = ((System.DateTime)(Original_TrN_TS_Mod));
            if ((IsNull_TrN_GIDTyp == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_GIDTyp");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[266].Value = ((string)(IsNull_TrN_GIDTyp));
            }
            if ((Original_TrN_GIDTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[267].Value = ((short)(Original_TrN_GIDTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[267].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_GIDFirma == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_GIDFirma");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[268].Value = ((string)(IsNull_TrN_GIDFirma));
            }
            if ((Original_TrN_GIDFirma.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[269].Value = ((int)(Original_TrN_GIDFirma.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[269].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_GIDNumer == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_GIDNumer");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[270].Value = ((string)(IsNull_TrN_GIDNumer));
            }
            if ((Original_TrN_GIDNumer.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[271].Value = ((int)(Original_TrN_GIDNumer.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[271].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_GIDLp == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_GIDLp");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[272].Value = ((string)(IsNull_TrN_GIDLp));
            }
            if ((Original_TrN_GIDLp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[273].Value = ((short)(Original_TrN_GIDLp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[273].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[274].Value = ((byte)(Original_TrN_Centrala));
            if ((Original_TrN_KodTransakcji == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_KodTransakcji");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[275].Value = ((string)(Original_TrN_KodTransakcji));
            }
            if ((IsNull_TrN_IsNId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_IsNId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[276].Value = ((string)(IsNull_TrN_IsNId));
            }
            if ((Original_TrN_IsNId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[277].Value = ((int)(Original_TrN_IsNId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[277].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrN_DataTransportu == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_DataTransportu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[278].Value = ((string)(IsNull_TrN_DataTransportu));
            }
            if ((Original_TrN_DataTransportu.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[279].Value = ((System.DateTime)(Original_TrN_DataTransportu.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[279].Value = global::System.DBNull.Value;
            }
            if ((Original_TrN_KodKraju == null)) {
                throw new global::System.ArgumentNullException("Original_TrN_KodKraju");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[280].Value = ((string)(Original_TrN_KodKraju));
            }
            this.Adapter.UpdateCommand.Parameters[281].Value = ((byte)(Original_TrN_VatDlaDokWal));
            if ((IsNull_TrN_OFFExportMag == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_OFFExportMag");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[282].Value = ((string)(IsNull_TrN_OFFExportMag));
            }
            if ((Original_TrN_OFFExportMag.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[283].Value = ((byte)(Original_TrN_OFFExportMag.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[283].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[284].Value = ((System.DateTime)(Original_TrN_DataKur));
            if ((IsNull_TrN_StatusString == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_StatusString");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[285].Value = ((string)(IsNull_TrN_StatusString));
            }
            if ((Original_TrN_StatusString == null)) {
                this.Adapter.UpdateCommand.Parameters[286].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[286].Value = ((string)(Original_TrN_StatusString));
            }
            if ((IsNull_TrN_OdbEmail == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_OdbEmail");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[287].Value = ((string)(IsNull_TrN_OdbEmail));
            }
            if ((Original_TrN_OdbEmail == null)) {
                this.Adapter.UpdateCommand.Parameters[288].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[288].Value = ((string)(Original_TrN_OdbEmail));
            }
            if ((IsNull_TrN_OdbTelefon == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_OdbTelefon");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[289].Value = ((string)(IsNull_TrN_OdbTelefon));
            }
            if ((Original_TrN_OdbTelefon == null)) {
                this.Adapter.UpdateCommand.Parameters[290].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[290].Value = ((string)(Original_TrN_OdbTelefon));
            }
            if ((IsNull_TrN_WartoscZakupu == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrN_WartoscZakupu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[291].Value = ((string)(IsNull_TrN_WartoscZakupu));
            }
            if ((Original_TrN_WartoscZakupu.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[292].Value = ((decimal)(Original_TrN_WartoscZakupu.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[292].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[293].Value = ((int)(TrN_TrNID));
            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();
                }
            }
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class TraElemTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public TraElemTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "TraElem";
            tableMapping.ColumnMappings.Add("TrE_TrEID", "TrE_TrEID");
            tableMapping.ColumnMappings.Add("TrE_TrNId", "TrE_TrNId");
            tableMapping.ColumnMappings.Add("TrE_ZwrId", "TrE_ZwrId");
            tableMapping.ColumnMappings.Add("TrE_TrEIdProd", "TrE_TrEIdProd");
            tableMapping.ColumnMappings.Add("TrE_PdRId", "TrE_PdRId");
            tableMapping.ColumnMappings.Add("TrE_Lp", "TrE_Lp");
            tableMapping.ColumnMappings.Add("TrE_LpPow", "TrE_LpPow");
            tableMapping.ColumnMappings.Add("TrE_TypDokumentu", "TrE_TypDokumentu");
            tableMapping.ColumnMappings.Add("TrE_Aktywny", "TrE_Aktywny");
            tableMapping.ColumnMappings.Add("TrE_DataDok", "TrE_DataDok");
            tableMapping.ColumnMappings.Add("TrE_RabatPromocyjny", "TrE_RabatPromocyjny");
            tableMapping.ColumnMappings.Add("TrE_RabatKorekta", "TrE_RabatKorekta");
            tableMapping.ColumnMappings.Add("TrE_Promocje", "TrE_Promocje");
            tableMapping.ColumnMappings.Add("TrE_DataOpe", "TrE_DataOpe");
            tableMapping.ColumnMappings.Add("TrE_PodmiotTyp", "TrE_PodmiotTyp");
            tableMapping.ColumnMappings.Add("TrE_PodID", "TrE_PodID");
            tableMapping.ColumnMappings.Add("TrE_KatID", "TrE_KatID");
            tableMapping.ColumnMappings.Add("TrE_TwrId", "TrE_TwrId");
            tableMapping.ColumnMappings.Add("TrE_MagId", "TrE_MagId");
            tableMapping.ColumnMappings.Add("TrE_TwrNazwa", "TrE_TwrNazwa");
            tableMapping.ColumnMappings.Add("TrE_TwrEAN", "TrE_TwrEAN");
            tableMapping.ColumnMappings.Add("TrE_TwrNumerKat", "TrE_TwrNumerKat");
            tableMapping.ColumnMappings.Add("TrE_TwrKod", "TrE_TwrKod");
            tableMapping.ColumnMappings.Add("TrE_TwrOpis", "TrE_TwrOpis");
            tableMapping.ColumnMappings.Add("TrE_TwrSWW", "TrE_TwrSWW");
            tableMapping.ColumnMappings.Add("TrE_Stawka", "TrE_Stawka");
            tableMapping.ColumnMappings.Add("TrE_Flaga", "TrE_Flaga");
            tableMapping.ColumnMappings.Add("TrE_Zrodlowa", "TrE_Zrodlowa");
            tableMapping.ColumnMappings.Add("TrE_TwCNumer", "TrE_TwCNumer");
            tableMapping.ColumnMappings.Add("TrE_TypNB", "TrE_TypNB");
            tableMapping.ColumnMappings.Add("TrE_Cena0", "TrE_Cena0");
            tableMapping.ColumnMappings.Add("TrE_Rabat", "TrE_Rabat");
            tableMapping.ColumnMappings.Add("TrE_CenaW", "TrE_CenaW");
            tableMapping.ColumnMappings.Add("TrE_Waluta", "TrE_Waluta");
            tableMapping.ColumnMappings.Add("TrE_Kaucja", "TrE_Kaucja");
            tableMapping.ColumnMappings.Add("TrE_KursNumer", "TrE_KursNumer");
            tableMapping.ColumnMappings.Add("TrE_KursL", "TrE_KursL");
            tableMapping.ColumnMappings.Add("TrE_KursM", "TrE_KursM");
            tableMapping.ColumnMappings.Add("TrE_CenaT", "TrE_CenaT");
            tableMapping.ColumnMappings.Add("TrE_Ilosc", "TrE_Ilosc");
            tableMapping.ColumnMappings.Add("TrE_IloscKW", "TrE_IloscKW");
            tableMapping.ColumnMappings.Add("TrE_Jm", "TrE_Jm");
            tableMapping.ColumnMappings.Add("TrE_JmZ", "TrE_JmZ");
            tableMapping.ColumnMappings.Add("TrE_JmCalkowite", "TrE_JmCalkowite");
            tableMapping.ColumnMappings.Add("TrE_JMPrzelicznikL", "TrE_JMPrzelicznikL");
            tableMapping.ColumnMappings.Add("TrE_JMPrzelicznikM", "TrE_JMPrzelicznikM");
            tableMapping.ColumnMappings.Add("TrE_IloscJM", "TrE_IloscJM");
            tableMapping.ColumnMappings.Add("TrE_IloscJMKW", "TrE_IloscJMKW");
            tableMapping.ColumnMappings.Add("TrE_WartoscNetto", "TrE_WartoscNetto");
            tableMapping.ColumnMappings.Add("TrE_WartoscBrutto", "TrE_WartoscBrutto");
            tableMapping.ColumnMappings.Add("TrE_KosztUslugi", "TrE_KosztUslugi");
            tableMapping.ColumnMappings.Add("TrE_Cena0WD", "TrE_Cena0WD");
            tableMapping.ColumnMappings.Add("TrE_CenaWWD", "TrE_CenaWWD");
            tableMapping.ColumnMappings.Add("TrE_WartoscNettoWal", "TrE_WartoscNettoWal");
            tableMapping.ColumnMappings.Add("TrE_WartoscBruttoWal", "TrE_WartoscBruttoWal");
            tableMapping.ColumnMappings.Add("TrE_Atr1_DeAId", "TrE_Atr1_DeAId");
            tableMapping.ColumnMappings.Add("TrE_Atr1_Kod", "TrE_Atr1_Kod");
            tableMapping.ColumnMappings.Add("TrE_Atr1_Wartosc", "TrE_Atr1_Wartosc");
            tableMapping.ColumnMappings.Add("TrE_Atr2_DeAId", "TrE_Atr2_DeAId");
            tableMapping.ColumnMappings.Add("TrE_Atr2_Kod", "TrE_Atr2_Kod");
            tableMapping.ColumnMappings.Add("TrE_Atr2_Wartosc", "TrE_Atr2_Wartosc");
            tableMapping.ColumnMappings.Add("TrE_Atr3_DeAId", "TrE_Atr3_DeAId");
            tableMapping.ColumnMappings.Add("TrE_Atr3_Kod", "TrE_Atr3_Kod");
            tableMapping.ColumnMappings.Add("TrE_Atr3_Wartosc", "TrE_Atr3_Wartosc");
            tableMapping.ColumnMappings.Add("TrE_Atr4_DeAId", "TrE_Atr4_DeAId");
            tableMapping.ColumnMappings.Add("TrE_Atr4_Kod", "TrE_Atr4_Kod");
            tableMapping.ColumnMappings.Add("TrE_Atr4_Wartosc", "TrE_Atr4_Wartosc");
            tableMapping.ColumnMappings.Add("TrE_Atr5_DeAId", "TrE_Atr5_DeAId");
            tableMapping.ColumnMappings.Add("TrE_Atr5_Kod", "TrE_Atr5_Kod");
            tableMapping.ColumnMappings.Add("TrE_Atr5_Wartosc", "TrE_Atr5_Wartosc");
            tableMapping.ColumnMappings.Add("TrE_Prog", "TrE_Prog");
            tableMapping.ColumnMappings.Add("TrE_UpustTyp", "TrE_UpustTyp");
            tableMapping.ColumnMappings.Add("TrE_Upust", "TrE_Upust");
            tableMapping.ColumnMappings.Add("TrE_UpustKnt", "TrE_UpustKnt");
            tableMapping.ColumnMappings.Add("TrE_UpustKntTyp", "TrE_UpustKntTyp");
            tableMapping.ColumnMappings.Add("TrE_WartoscZakupuWylicz", "TrE_WartoscZakupuWylicz");
            tableMapping.ColumnMappings.Add("TrE_LpPowRel", "TrE_LpPowRel");
            tableMapping.ColumnMappings.Add("TrE_WartoscZakupu", "TrE_WartoscZakupu");
            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 [CDN].[TraElem] WHERE (([TrE_TrEID] = @Original_TrE_TrEID) AND ([TrE_" +
                "TrNId] = @Original_TrE_TrNId) AND ((@IsNull_TrE_ZwrId = 1 AND [TrE_ZwrId] IS NUL" +
                "L) OR ([TrE_ZwrId] = @Original_TrE_ZwrId)) AND ((@IsNull_TrE_TrEIdProd = 1 AND [" +
                "TrE_TrEIdProd] IS NULL) OR ([TrE_TrEIdProd] = @Original_TrE_TrEIdProd)) AND ((@I" +
                "sNull_TrE_PdRId = 1 AND [TrE_PdRId] IS NULL) OR ([TrE_PdRId] = @Original_TrE_PdR" +
                "Id)) AND ([TrE_Lp] = @Original_TrE_Lp) AND ([TrE_LpPow] = @Original_TrE_LpPow) A" +
                "ND ([TrE_TypDokumentu] = @Original_TrE_TypDokumentu) AND ([TrE_Aktywny] = @Origi" +
                "nal_TrE_Aktywny) AND ([TrE_DataDok] = @Original_TrE_DataDok) AND ((@IsNull_TrE_R" +
                "abatPromocyjny = 1 AND [TrE_RabatPromocyjny] IS NULL) OR ([TrE_RabatPromocyjny] " +
                "= @Original_TrE_RabatPromocyjny)) AND ((@IsNull_TrE_RabatKorekta = 1 AND [TrE_Ra" +
                "batKorekta] IS NULL) OR ([TrE_RabatKorekta] = @Original_TrE_RabatKorekta)) AND (" +
                "(@IsNull_TrE_Promocje = 1 AND [TrE_Promocje] IS NULL) OR ([TrE_Promocje] = @Orig" +
                "inal_TrE_Promocje)) AND ([TrE_DataOpe] = @Original_TrE_DataOpe) AND ((@IsNull_Tr" +
                "E_PodmiotTyp = 1 AND [TrE_PodmiotTyp] IS NULL) OR ([TrE_PodmiotTyp] = @Original_" +
                "TrE_PodmiotTyp)) AND ((@IsNull_TrE_PodID = 1 AND [TrE_PodID] IS NULL) OR ([TrE_P" +
                "odID] = @Original_TrE_PodID)) AND ((@IsNull_TrE_KatID = 1 AND [TrE_KatID] IS NUL" +
                "L) OR ([TrE_KatID] = @Original_TrE_KatID)) AND ((@IsNull_TrE_TwrId = 1 AND [TrE_" +
                "TwrId] IS NULL) OR ([TrE_TwrId] = @Original_TrE_TwrId)) AND ((@IsNull_TrE_MagId " +
                "= 1 AND [TrE_MagId] IS NULL) OR ([TrE_MagId] = @Original_TrE_MagId)) AND ([TrE_T" +
                "wrNazwa] = @Original_TrE_TwrNazwa) AND ([TrE_TwrEAN] = @Original_TrE_TwrEAN) AND" +
                " ([TrE_TwrNumerKat] = @Original_TrE_TwrNumerKat) AND ([TrE_TwrKod] = @Original_T" +
                "rE_TwrKod) AND ([TrE_TwrOpis] = @Original_TrE_TwrOpis) AND ([TrE_TwrSWW] = @Orig" +
                "inal_TrE_TwrSWW) AND ([TrE_Stawka] = @Original_TrE_Stawka) AND ([TrE_Flaga] = @O" +
                "riginal_TrE_Flaga) AND ([TrE_Zrodlowa] = @Original_TrE_Zrodlowa) AND ([TrE_TwCNu" +
                "mer] = @Original_TrE_TwCNumer) AND ([TrE_TypNB] = @Original_TrE_TypNB) AND ([TrE" +
                "_Cena0] = @Original_TrE_Cena0) AND ([TrE_Rabat] = @Original_TrE_Rabat) AND ([TrE" +
                "_CenaW] = @Original_TrE_CenaW) AND ([TrE_Waluta] = @Original_TrE_Waluta) AND ([T" +
                "rE_Kaucja] = @Original_TrE_Kaucja) AND ([TrE_KursNumer] = @Original_TrE_KursNume" +
                "r) AND ([TrE_KursL] = @Original_TrE_KursL) AND ([TrE_KursM] = @Original_TrE_Kurs" +
                "M) AND ([TrE_CenaT] = @Original_TrE_CenaT) AND ([TrE_Ilosc] = @Original_TrE_Ilos" +
                "c) AND ([TrE_IloscKW] = @Original_TrE_IloscKW) AND ([TrE_Jm] = @Original_TrE_Jm)" +
                " AND ([TrE_JmZ] = @Original_TrE_JmZ) AND ([TrE_JmCalkowite] = @Original_TrE_JmCa" +
                "lkowite) AND ([TrE_JMPrzelicznikL] = @Original_TrE_JMPrzelicznikL) AND ([TrE_JMP" +
                "rzelicznikM] = @Original_TrE_JMPrzelicznikM) AND ([TrE_IloscJM] = @Original_TrE_" +
                "IloscJM) AND ([TrE_IloscJMKW] = @Original_TrE_IloscJMKW) AND ([TrE_WartoscNetto]" +
                " = @Original_TrE_WartoscNetto) AND ([TrE_WartoscBrutto] = @Original_TrE_WartoscB" +
                "rutto) AND ([TrE_KosztUslugi] = @Original_TrE_KosztUslugi) AND ([TrE_Cena0WD] = " +
                "@Original_TrE_Cena0WD) AND ([TrE_CenaWWD] = @Original_TrE_CenaWWD) AND ([TrE_War" +
                "toscNettoWal] = @Original_TrE_WartoscNettoWal) AND ([TrE_WartoscBruttoWal] = @Or" +
                "iginal_TrE_WartoscBruttoWal) AND ((@IsNull_TrE_Atr1_DeAId = 1 AND [TrE_Atr1_DeAI" +
                "d] IS NULL) OR ([TrE_Atr1_DeAId] = @Original_TrE_Atr1_DeAId)) AND ([TrE_Atr1_Kod" +
                "] = @Original_TrE_Atr1_Kod) AND ([TrE_Atr1_Wartosc] = @Original_TrE_Atr1_Wartosc" +
                ") AND ((@IsNull_TrE_Atr2_DeAId = 1 AND [TrE_Atr2_DeAId] IS NULL) OR ([TrE_Atr2_D" +
                "eAId] = @Original_TrE_Atr2_DeAId)) AND ([TrE_Atr2_Kod] = @Original_TrE_Atr2_Kod)" +
                " AND ([TrE_Atr2_Wartosc] = @Original_TrE_Atr2_Wartosc) AND ((@IsNull_TrE_Atr3_De" +
                "AId = 1 AND [TrE_Atr3_DeAId] IS NULL) OR ([TrE_Atr3_DeAId] = @Original_TrE_Atr3_" +
                "DeAId)) AND ([TrE_Atr3_Kod] = @Original_TrE_Atr3_Kod) AND ([TrE_Atr3_Wartosc] = " +
                "@Original_TrE_Atr3_Wartosc) AND ((@IsNull_TrE_Atr4_DeAId = 1 AND [TrE_Atr4_DeAId" +
                "] IS NULL) OR ([TrE_Atr4_DeAId] = @Original_TrE_Atr4_DeAId)) AND ([TrE_Atr4_Kod]" +
                " = @Original_TrE_Atr4_Kod) AND ([TrE_Atr4_Wartosc] = @Original_TrE_Atr4_Wartosc)" +
                " AND ((@IsNull_TrE_Atr5_DeAId = 1 AND [TrE_Atr5_DeAId] IS NULL) OR ([TrE_Atr5_De" +
                "AId] = @Original_TrE_Atr5_DeAId)) AND ([TrE_Atr5_Kod] = @Original_TrE_Atr5_Kod) " +
                "AND ([TrE_Atr5_Wartosc] = @Original_TrE_Atr5_Wartosc) AND ([TrE_Prog] = @Origina" +
                "l_TrE_Prog) AND ([TrE_UpustTyp] = @Original_TrE_UpustTyp) AND ([TrE_Upust] = @Or" +
                "iginal_TrE_Upust) AND ([TrE_UpustKnt] = @Original_TrE_UpustKnt) AND ([TrE_UpustK" +
                "ntTyp] = @Original_TrE_UpustKntTyp) AND ([TrE_WartoscZakupuWylicz] = @Original_T" +
                "rE_WartoscZakupuWylicz) AND ((@IsNull_TrE_LpPowRel = 1 AND [TrE_LpPowRel] IS NUL" +
                "L) OR ([TrE_LpPowRel] = @Original_TrE_LpPowRel)) AND ((@IsNull_TrE_WartoscZakupu" +
                " = 1 AND [TrE_WartoscZakupu] IS NULL) OR ([TrE_WartoscZakupu] = @Original_TrE_Wa" +
                "rtoscZakupu)))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TrEID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TrEID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TrNId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TrNId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_ZwrId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_ZwrId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_ZwrId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_ZwrId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_TrEIdProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TrEIdProd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TrEIdProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TrEIdProd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_PdRId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PdRId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_PdRId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PdRId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Lp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Lp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_LpPow", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_LpPow", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TypDokumentu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TypDokumentu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Aktywny", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Aktywny", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_DataDok", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_DataDok", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_RabatPromocyjny", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_RabatPromocyjny", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_RabatPromocyjny", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_RabatPromocyjny", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_RabatKorekta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_RabatKorekta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_RabatKorekta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_RabatKorekta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_Promocje", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Promocje", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Promocje", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Promocje", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_DataOpe", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_DataOpe", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_PodmiotTyp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PodmiotTyp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_PodmiotTyp", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PodmiotTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_PodID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PodID", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_PodID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PodID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_KatID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_KatID", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_KatID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_KatID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_TwrId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwrId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_MagId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_MagId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_MagId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_MagId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwrNazwa", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrNazwa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwrEAN", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrEAN", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwrNumerKat", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrNumerKat", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwrKod", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrKod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwrOpis", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrOpis", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwrSWW", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrSWW", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Stawka", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 2, "TrE_Stawka", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Flaga", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Flaga", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Zrodlowa", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 2, "TrE_Zrodlowa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwCNumer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwCNumer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TypNB", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TypNB", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Cena0", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Cena0", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Rabat", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 2, "TrE_Rabat", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_CenaW", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_CenaW", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Waluta", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Waluta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Kaucja", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Kaucja", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_KursNumer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_KursNumer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_KursL", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_KursL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_KursM", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 0, "TrE_KursM", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_CenaT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_CenaT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Ilosc", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_Ilosc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_IloscKW", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_IloscKW", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Jm", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Jm", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_JmZ", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_JmZ", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_JmCalkowite", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_JmCalkowite", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_JMPrzelicznikL", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_JMPrzelicznikL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_JMPrzelicznikM", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 0, "TrE_JMPrzelicznikM", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_IloscJM", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_IloscJM", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_IloscJMKW", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_IloscJMKW", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_WartoscNetto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscNetto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_WartoscBrutto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscBrutto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_KosztUslugi", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_KosztUslugi", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Cena0WD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Cena0WD", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_CenaWWD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_CenaWWD", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_WartoscNettoWal", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscNettoWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_WartoscBruttoWal", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscBruttoWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_Atr1_DeAId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr1_DeAId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr1_DeAId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr1_DeAId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr1_Kod", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr1_Kod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr1_Wartosc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr1_Wartosc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_Atr2_DeAId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr2_DeAId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr2_DeAId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr2_DeAId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr2_Kod", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr2_Kod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr2_Wartosc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr2_Wartosc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_Atr3_DeAId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr3_DeAId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr3_DeAId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr3_DeAId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr3_Kod", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr3_Kod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr3_Wartosc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr3_Wartosc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_Atr4_DeAId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr4_DeAId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr4_DeAId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr4_DeAId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr4_Kod", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr4_Kod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr4_Wartosc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr4_Wartosc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_Atr5_DeAId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr5_DeAId", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr5_DeAId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr5_DeAId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr5_Kod", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr5_Kod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr5_Wartosc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr5_Wartosc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Prog", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Prog", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_UpustTyp", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_UpustTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Upust", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Upust", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_UpustKnt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_UpustKnt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_UpustKntTyp", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_UpustKntTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_WartoscZakupuWylicz", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscZakupuWylicz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_LpPowRel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_LpPowRel", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_LpPowRel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_LpPowRel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_WartoscZakupu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_WartoscZakupu", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_WartoscZakupu", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 16, 2, "TrE_WartoscZakupu", 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 CDN.TraElem\r\n                         (TrE_TrNId, TrE_ZwrId, TrE_TrEI" +
                "dProd, TrE_PdRId, TrE_Lp, TrE_LpPow, TrE_TypDokumentu, TrE_Aktywny, TrE_DataDok," +
                " TrE_RabatPromocyjny, \r\n                         TrE_RabatKorekta, TrE_Promocje," +
                " TrE_DataOpe, TrE_PodmiotTyp, TrE_PodID, TrE_KatID, TrE_TwrId, TrE_MagId, TrE_Tw" +
                "rNazwa, TrE_TwrEAN, \r\n                         TrE_TwrNumerKat, TrE_TwrKod, TrE_" +
                "TwrOpis, TrE_TwrSWW, TrE_Stawka, TrE_Flaga, TrE_Zrodlowa, TrE_TwCNumer, TrE_TypN" +
                "B, TrE_Cena0, TrE_Rabat, \r\n                         TrE_CenaW, TrE_Waluta, TrE_K" +
                "aucja, TrE_KursNumer, TrE_KursL, TrE_KursM, TrE_CenaT, TrE_Ilosc, TrE_IloscKW, T" +
                "rE_Jm, TrE_JmZ, TrE_JmCalkowite, \r\n                         TrE_JMPrzelicznikL, " +
                "TrE_JMPrzelicznikM, TrE_IloscJM, TrE_IloscJMKW, TrE_WartoscNetto, TrE_WartoscBru" +
                "tto, TrE_KosztUslugi, TrE_Cena0WD, \r\n                         TrE_CenaWWD, TrE_W" +
                "artoscNettoWal, TrE_WartoscBruttoWal, TrE_Atr1_DeAId, TrE_Atr1_Kod, TrE_Atr1_War" +
                "tosc, TrE_Atr2_DeAId, TrE_Atr2_Kod, \r\n                         TrE_Atr2_Wartosc," +
                " TrE_Atr3_DeAId, TrE_Atr3_Kod, TrE_Atr3_Wartosc, TrE_Atr4_DeAId, TrE_Atr4_Kod, T" +
                "rE_Atr4_Wartosc, TrE_Atr5_DeAId, TrE_Atr5_Kod, \r\n                         TrE_At" +
                "r5_Wartosc, TrE_Prog, TrE_UpustTyp, TrE_Upust, TrE_UpustKnt, TrE_UpustKntTyp, Tr" +
                "E_WartoscZakupuWylicz, TrE_LpPowRel)\r\nVALUES        (@TrE_TrNId,@TrE_ZwrId,@TrE_" +
                "TrEIdProd,@TrE_PdRId,@TrE_Lp,@TrE_LpPow,@TrE_TypDokumentu,@TrE_Aktywny,@TrE_Data" +
                "Dok,@TrE_RabatPromocyjny,@TrE_RabatKorekta,@TrE_Promocje,@TrE_DataOpe,@TrE_Podmi" +
                "otTyp,@TrE_PodID,@TrE_KatID,@TrE_TwrId,@TrE_MagId,@TrE_TwrNazwa,@TrE_TwrEAN,@TrE" +
                "_TwrNumerKat,@TrE_TwrKod,@TrE_TwrOpis,@TrE_TwrSWW,@TrE_Stawka,@TrE_Flaga,@TrE_Zr" +
                "odlowa,@TrE_TwCNumer,@TrE_TypNB,@TrE_Cena0,@TrE_Rabat,@TrE_CenaW,@TrE_Waluta,@Tr" +
                "E_Kaucja,@TrE_KursNumer,@TrE_KursL,@TrE_KursM,@TrE_CenaT,@TrE_Ilosc,@TrE_IloscKW" +
                ",@TrE_Jm,@TrE_JmZ,@TrE_JmCalkowite,@TrE_JMPrzelicznikL,@TrE_JMPrzelicznikM,@TrE_" +
                "IloscJM,@TrE_IloscJMKW,@TrE_WartoscNetto,@TrE_WartoscBrutto,@TrE_KosztUslugi,@Tr" +
                "E_Cena0WD,@TrE_CenaWWD,@TrE_WartoscNettoWal,@TrE_WartoscBruttoWal,@TrE_Atr1_DeAI" +
                "d,@TrE_Atr1_Kod,@TrE_Atr1_Wartosc,@TrE_Atr2_DeAId,@TrE_Atr2_Kod,@TrE_Atr2_Wartos" +
                "c,@TrE_Atr3_DeAId,@TrE_Atr3_Kod,@TrE_Atr3_Wartosc,@TrE_Atr4_DeAId,@TrE_Atr4_Kod," +
                "@TrE_Atr4_Wartosc,@TrE_Atr5_DeAId,@TrE_Atr5_Kod,@TrE_Atr5_Wartosc,@TrE_Prog,@TrE" +
                "_UpustTyp,@TrE_Upust,@TrE_UpustKnt,@TrE_UpustKntTyp,@TrE_WartoscZakupuWylicz,@Tr" +
                "E_LpPowRel); \r\nSELECT TrE_TrEID, TrE_TrNId, TrE_ZwrId, TrE_TrEIdProd, TrE_PdRId," +
                " TrE_Lp, TrE_LpPow, TrE_TypDokumentu, TrE_Aktywny, TrE_DataDok, TrE_RabatPromocy" +
                "jny, TrE_RabatKorekta, TrE_Promocje, TrE_DataOpe, TrE_PodmiotTyp, TrE_PodID, TrE" +
                "_KatID, TrE_TwrId, TrE_MagId, TrE_TwrNazwa, TrE_TwrEAN, TrE_TwrNumerKat, TrE_Twr" +
                "Kod, TrE_TwrOpis, TrE_TwrSWW, TrE_Stawka, TrE_Flaga, TrE_Zrodlowa, TrE_TwCNumer," +
                " TrE_TypNB, TrE_Cena0, TrE_Rabat, TrE_CenaW, TrE_Waluta, TrE_Kaucja, TrE_KursNum" +
                "er, TrE_KursL, TrE_KursM, TrE_CenaT, TrE_Ilosc, TrE_IloscKW, TrE_Jm, TrE_JmZ, Tr" +
                "E_JmCalkowite, TrE_JMPrzelicznikL, TrE_JMPrzelicznikM, TrE_IloscJM, TrE_IloscJMK" +
                "W, TrE_WartoscNetto, TrE_WartoscBrutto, TrE_KosztUslugi, TrE_Cena0WD, TrE_CenaWW" +
                "D, TrE_WartoscNettoWal, TrE_WartoscBruttoWal, TrE_Atr1_DeAId, TrE_Atr1_Kod, TrE_" +
                "Atr1_Wartosc, TrE_Atr2_DeAId, TrE_Atr2_Kod, TrE_Atr2_Wartosc, TrE_Atr3_DeAId, Tr" +
                "E_Atr3_Kod, TrE_Atr3_Wartosc, TrE_Atr4_DeAId, TrE_Atr4_Kod, TrE_Atr4_Wartosc, Tr" +
                "E_Atr5_DeAId, TrE_Atr5_Kod, TrE_Atr5_Wartosc, TrE_Prog, TrE_UpustTyp, TrE_Upust," +
                " TrE_UpustKnt, TrE_UpustKntTyp, TrE_WartoscZakupuWylicz, TrE_LpPowRel, TrE_Warto" +
                "scZakupu FROM CDN.TraElem WHERE (TrE_TrEID = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TrNId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TrNId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_ZwrId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_ZwrId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TrEIdProd", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TrEIdProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_PdRId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PdRId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Lp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Lp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_LpPow", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_LpPow", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TypDokumentu", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TypDokumentu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Aktywny", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Aktywny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_DataDok", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_DataDok", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_RabatPromocyjny", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_RabatPromocyjny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_RabatKorekta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_RabatKorekta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Promocje", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Promocje", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_DataOpe", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_DataOpe", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_PodmiotTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PodmiotTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_PodID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PodID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_KatID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_KatID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwrId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_MagId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_MagId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwrNazwa", global::System.Data.SqlDbType.VarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrNazwa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwrEAN", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrEAN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwrNumerKat", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrNumerKat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwrKod", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrKod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwrOpis", global::System.Data.SqlDbType.VarChar, 254, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrOpis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwrSWW", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrSWW", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Stawka", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 2, "TrE_Stawka", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Flaga", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Flaga", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Zrodlowa", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 2, "TrE_Zrodlowa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwCNumer", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwCNumer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TypNB", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TypNB", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Cena0", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Cena0", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Rabat", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 2, "TrE_Rabat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_CenaW", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_CenaW", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Waluta", global::System.Data.SqlDbType.VarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Waluta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Kaucja", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Kaucja", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_KursNumer", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_KursNumer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_KursL", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_KursL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_KursM", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 0, "TrE_KursM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_CenaT", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_CenaT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Ilosc", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_Ilosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_IloscKW", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_IloscKW", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Jm", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Jm", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_JmZ", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_JmZ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_JmCalkowite", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_JmCalkowite", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_JMPrzelicznikL", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_JMPrzelicznikL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_JMPrzelicznikM", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 7, 0, "TrE_JMPrzelicznikM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_IloscJM", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_IloscJM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_IloscJMKW", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_IloscJMKW", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_WartoscNetto", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscNetto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_WartoscBrutto", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscBrutto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_KosztUslugi", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_KosztUslugi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Cena0WD", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Cena0WD", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_CenaWWD", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_CenaWWD", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_WartoscNettoWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscNettoWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_WartoscBruttoWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscBruttoWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr1_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr1_DeAId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr1_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr1_Kod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr1_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr1_Wartosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr2_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr2_DeAId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr2_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr2_Kod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr2_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr2_Wartosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr3_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr3_DeAId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr3_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr3_Kod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr3_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr3_Wartosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr4_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr4_DeAId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr4_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr4_Kod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr4_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr4_Wartosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr5_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr5_DeAId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr5_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr5_Kod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr5_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr5_Wartosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Prog", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Prog", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_UpustTyp", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_UpustTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Upust", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Upust", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_UpustKnt", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_UpustKnt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_UpustKntTyp", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_UpustKntTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_WartoscZakupuWylicz", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscZakupuWylicz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_LpPowRel", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_LpPowRel", 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       CDN.TraElem\r\nSET                TrE_TrNId = @TrE_TrNId, TrE_ZwrId = " +
                "@TrE_ZwrId, TrE_TrEIdProd = @TrE_TrEIdProd, TrE_PdRId = @TrE_PdRId, TrE_Lp = @Tr" +
                "E_Lp, \r\n                         TrE_LpPow = @TrE_LpPow, TrE_TypDokumentu = @TrE" +
                "_TypDokumentu, TrE_Aktywny = @TrE_Aktywny, TrE_DataDok = @TrE_DataDok, \r\n       " +
                "                  TrE_RabatPromocyjny = @TrE_RabatPromocyjny, TrE_RabatKorekta =" +
                " @TrE_RabatKorekta, TrE_Promocje = @TrE_Promocje, \r\n                         TrE" +
                "_DataOpe = @TrE_DataOpe, TrE_PodmiotTyp = @TrE_PodmiotTyp, TrE_PodID = @TrE_PodI" +
                "D, TrE_KatID = @TrE_KatID, TrE_TwrId = @TrE_TwrId, \r\n                         Tr" +
                "E_MagId = @TrE_MagId, TrE_TwrNazwa = @TrE_TwrNazwa, TrE_TwrEAN = @TrE_TwrEAN, Tr" +
                "E_TwrNumerKat = @TrE_TwrNumerKat, \r\n                         TrE_TwrKod = @TrE_T" +
                "wrKod, TrE_TwrOpis = @TrE_TwrOpis, TrE_TwrSWW = @TrE_TwrSWW, TrE_Stawka = @TrE_S" +
                "tawka, TrE_Flaga = @TrE_Flaga, \r\n                         TrE_Zrodlowa = @TrE_Zr" +
                "odlowa, TrE_TwCNumer = @TrE_TwCNumer, TrE_TypNB = @TrE_TypNB, TrE_Cena0 = @TrE_C" +
                "ena0, TrE_Rabat = @TrE_Rabat, \r\n                         TrE_CenaW = @TrE_CenaW," +
                " TrE_Waluta = @TrE_Waluta, TrE_Kaucja = @TrE_Kaucja, TrE_KursNumer = @TrE_KursNu" +
                "mer, TrE_KursL = @TrE_KursL, \r\n                         TrE_KursM = @TrE_KursM, " +
                "TrE_CenaT = @TrE_CenaT, TrE_Ilosc = @TrE_Ilosc, TrE_IloscKW = @TrE_IloscKW, TrE_" +
                "Jm = @TrE_Jm, TrE_JmZ = @TrE_JmZ, \r\n                         TrE_JmCalkowite = @" +
                "TrE_JmCalkowite, TrE_JMPrzelicznikL = @TrE_JMPrzelicznikL, TrE_JMPrzelicznikM = " +
                "@TrE_JMPrzelicznikM, \r\n                         TrE_IloscJM = @TrE_IloscJM, TrE_" +
                "IloscJMKW = @TrE_IloscJMKW, TrE_WartoscNetto = @TrE_WartoscNetto, TrE_WartoscBru" +
                "tto = @TrE_WartoscBrutto, \r\n                         TrE_KosztUslugi = @TrE_Kosz" +
                "tUslugi, TrE_Cena0WD = @TrE_Cena0WD, TrE_CenaWWD = @TrE_CenaWWD, \r\n             " +
                "            TrE_WartoscNettoWal = @TrE_WartoscNettoWal, TrE_WartoscBruttoWal = @" +
                "TrE_WartoscBruttoWal, TrE_Atr1_DeAId = @TrE_Atr1_DeAId, \r\n                      " +
                "   TrE_Atr1_Kod = @TrE_Atr1_Kod, TrE_Atr1_Wartosc = @TrE_Atr1_Wartosc, TrE_Atr2_" +
                "DeAId = @TrE_Atr2_DeAId, TrE_Atr2_Kod = @TrE_Atr2_Kod, \r\n                       " +
                "  TrE_Atr2_Wartosc = @TrE_Atr2_Wartosc, TrE_Atr3_DeAId = @TrE_Atr3_DeAId, TrE_At" +
                "r3_Kod = @TrE_Atr3_Kod, TrE_Atr3_Wartosc = @TrE_Atr3_Wartosc, \r\n                " +
                "         TrE_Atr4_DeAId = @TrE_Atr4_DeAId, TrE_Atr4_Kod = @TrE_Atr4_Kod, TrE_Atr" +
                "4_Wartosc = @TrE_Atr4_Wartosc, TrE_Atr5_DeAId = @TrE_Atr5_DeAId, \r\n             " +
                "            TrE_Atr5_Kod = @TrE_Atr5_Kod, TrE_Atr5_Wartosc = @TrE_Atr5_Wartosc, " +
                "TrE_Prog = @TrE_Prog, TrE_UpustTyp = @TrE_UpustTyp, \r\n                         T" +
                "rE_Upust = @TrE_Upust, TrE_UpustKnt = @TrE_UpustKnt, TrE_UpustKntTyp = @TrE_Upus" +
                "tKntTyp, \r\n                         TrE_WartoscZakupuWylicz = @TrE_WartoscZakupu" +
                "Wylicz, TrE_LpPowRel = @TrE_LpPowRel\r\nWHERE        (TrE_TrEID = @Original_TrE_Tr" +
                "EID) AND (TrE_TrNId = @Original_TrE_TrNId) AND (@IsNull_TrE_ZwrId = 1 AND TrE_Zw" +
                "rId IS NULL OR\r\n                         TrE_ZwrId = @Original_TrE_ZwrId) AND (@" +
                "IsNull_TrE_TrEIdProd = 1 AND TrE_TrEIdProd IS NULL OR\r\n                         " +
                "TrE_TrEIdProd = @Original_TrE_TrEIdProd) AND (@IsNull_TrE_PdRId = 1 AND TrE_PdRI" +
                "d IS NULL OR\r\n                         TrE_PdRId = @Original_TrE_PdRId) AND (TrE" +
                "_Lp = @Original_TrE_Lp) AND (TrE_LpPow = @Original_TrE_LpPow) AND \r\n            " +
                "             (TrE_TypDokumentu = @Original_TrE_TypDokumentu) AND (TrE_Aktywny = " +
                "@Original_TrE_Aktywny) AND (TrE_DataDok = @Original_TrE_DataDok) AND \r\n         " +
                "                (@IsNull_TrE_RabatPromocyjny = 1 AND TrE_RabatPromocyjny IS NULL" +
                " OR\r\n                         TrE_RabatPromocyjny = @Original_TrE_RabatPromocyjn" +
                "y) AND (@IsNull_TrE_RabatKorekta = 1 AND TrE_RabatKorekta IS NULL OR\r\n          " +
                "               TrE_RabatKorekta = @Original_TrE_RabatKorekta) AND (@IsNull_TrE_P" +
                "romocje = 1 AND TrE_Promocje IS NULL OR\r\n                         TrE_Promocje =" +
                " @Original_TrE_Promocje) AND (TrE_DataOpe = @Original_TrE_DataOpe) AND (@IsNull_" +
                "TrE_PodmiotTyp = 1 AND \r\n                         TrE_PodmiotTyp IS NULL OR\r\n   " +
                "                      TrE_PodmiotTyp = @Original_TrE_PodmiotTyp) AND (@IsNull_Tr" +
                "E_PodID = 1 AND TrE_PodID IS NULL OR\r\n                         TrE_PodID = @Orig" +
                "inal_TrE_PodID) AND (@IsNull_TrE_KatID = 1 AND TrE_KatID IS NULL OR\r\n           " +
                "              TrE_KatID = @Original_TrE_KatID) AND (@IsNull_TrE_TwrId = 1 AND Tr" +
                "E_TwrId IS NULL OR\r\n                         TrE_TwrId = @Original_TrE_TwrId) AN" +
                "D (@IsNull_TrE_MagId = 1 AND TrE_MagId IS NULL OR\r\n                         TrE_" +
                "MagId = @Original_TrE_MagId) AND (TrE_TwrNazwa = @Original_TrE_TwrNazwa) AND (Tr" +
                "E_TwrEAN = @Original_TrE_TwrEAN) AND \r\n                         (TrE_TwrNumerKat" +
                " = @Original_TrE_TwrNumerKat) AND (TrE_TwrKod = @Original_TrE_TwrKod) AND (TrE_T" +
                "wrOpis = @Original_TrE_TwrOpis) AND \r\n                         (TrE_TwrSWW = @Or" +
                "iginal_TrE_TwrSWW) AND (TrE_Stawka = @Original_TrE_Stawka) AND (TrE_Flaga = @Ori" +
                "ginal_TrE_Flaga) AND \r\n                         (TrE_Zrodlowa = @Original_TrE_Zr" +
                "odlowa) AND (TrE_TwCNumer = @Original_TrE_TwCNumer) AND (TrE_TypNB = @Original_T" +
                "rE_TypNB) AND \r\n                         (TrE_Cena0 = @Original_TrE_Cena0) AND (" +
                "TrE_Rabat = @Original_TrE_Rabat) AND (TrE_CenaW = @Original_TrE_CenaW) AND \r\n   " +
                "                      (TrE_Waluta = @Original_TrE_Waluta) AND (TrE_Kaucja = @Ori" +
                "ginal_TrE_Kaucja) AND (TrE_KursNumer = @Original_TrE_KursNumer) AND \r\n          " +
                "               (TrE_KursL = @Original_TrE_KursL) AND (TrE_KursM = @Original_TrE_" +
                "KursM) AND (TrE_CenaT = @Original_TrE_CenaT) AND \r\n                         (TrE" +
                "_Ilosc = @Original_TrE_Ilosc) AND (TrE_IloscKW = @Original_TrE_IloscKW) AND (TrE" +
                "_Jm = @Original_TrE_Jm) AND (TrE_JmZ = @Original_TrE_JmZ) \r\n                    " +
                "     AND (TrE_JmCalkowite = @Original_TrE_JmCalkowite) AND (TrE_JMPrzelicznikL =" +
                " @Original_TrE_JMPrzelicznikL) AND \r\n                         (TrE_JMPrzelicznik" +
                "M = @Original_TrE_JMPrzelicznikM) AND (TrE_IloscJM = @Original_TrE_IloscJM) AND " +
                "(TrE_IloscJMKW = @Original_TrE_IloscJMKW) \r\n                         AND (TrE_Wa" +
                "rtoscNetto = @Original_TrE_WartoscNetto) AND (TrE_WartoscBrutto = @Original_TrE_" +
                "WartoscBrutto) AND \r\n                         (TrE_KosztUslugi = @Original_TrE_K" +
                "osztUslugi) AND (TrE_Cena0WD = @Original_TrE_Cena0WD) AND (TrE_CenaWWD = @Origin" +
                "al_TrE_CenaWWD) AND \r\n                         (TrE_WartoscNettoWal = @Original_" +
                "TrE_WartoscNettoWal) AND (TrE_WartoscBruttoWal = @Original_TrE_WartoscBruttoWal)" +
                " AND \r\n                         (@IsNull_TrE_Atr1_DeAId = 1 AND TrE_Atr1_DeAId I" +
                "S NULL OR\r\n                         TrE_Atr1_DeAId = @Original_TrE_Atr1_DeAId) A" +
                "ND (TrE_Atr1_Kod = @Original_TrE_Atr1_Kod) AND (TrE_Atr1_Wartosc = @Original_TrE" +
                "_Atr1_Wartosc) AND \r\n                         (@IsNull_TrE_Atr2_DeAId = 1 AND Tr" +
                "E_Atr2_DeAId IS NULL OR\r\n                         TrE_Atr2_DeAId = @Original_TrE" +
                "_Atr2_DeAId) AND (TrE_Atr2_Kod = @Original_TrE_Atr2_Kod) AND (TrE_Atr2_Wartosc =" +
                " @Original_TrE_Atr2_Wartosc) AND \r\n                         (@IsNull_TrE_Atr3_De" +
                "AId = 1 AND TrE_Atr3_DeAId IS NULL OR\r\n                         TrE_Atr3_DeAId =" +
                " @Original_TrE_Atr3_DeAId) AND (TrE_Atr3_Kod = @Original_TrE_Atr3_Kod) AND (TrE_" +
                "Atr3_Wartosc = @Original_TrE_Atr3_Wartosc) AND \r\n                         (@IsNu" +
                "ll_TrE_Atr4_DeAId = 1 AND TrE_Atr4_DeAId IS NULL OR\r\n                         Tr" +
                "E_Atr4_DeAId = @Original_TrE_Atr4_DeAId) AND (TrE_Atr4_Kod = @Original_TrE_Atr4_" +
                "Kod) AND (TrE_Atr4_Wartosc = @Original_TrE_Atr4_Wartosc) AND \r\n                 " +
                "        (@IsNull_TrE_Atr5_DeAId = 1 AND TrE_Atr5_DeAId IS NULL OR\r\n             " +
                "            TrE_Atr5_DeAId = @Original_TrE_Atr5_DeAId) AND (TrE_Atr5_Kod = @Orig" +
                "inal_TrE_Atr5_Kod) AND (TrE_Atr5_Wartosc = @Original_TrE_Atr5_Wartosc) AND \r\n   " +
                "                      (TrE_Prog = @Original_TrE_Prog) AND (TrE_UpustTyp = @Origi" +
                "nal_TrE_UpustTyp) AND (TrE_Upust = @Original_TrE_Upust) AND \r\n                  " +
                "       (TrE_UpustKnt = @Original_TrE_UpustKnt) AND (TrE_UpustKntTyp = @Original_" +
                "TrE_UpustKntTyp) AND \r\n                         (TrE_WartoscZakupuWylicz = @Orig" +
                "inal_TrE_WartoscZakupuWylicz) AND (@IsNull_TrE_LpPowRel = 1 AND TrE_LpPowRel IS " +
                "NULL OR\r\n                         TrE_LpPowRel = @Original_TrE_LpPowRel) AND (@I" +
                "sNull_TrE_WartoscZakupu = 1 AND TrE_WartoscZakupu IS NULL OR\r\n                  " +
                "       TrE_WartoscZakupu = @Original_TrE_WartoscZakupu); \r\nSELECT TrE_TrEID, TrE" +
                "_TrNId, TrE_ZwrId, TrE_TrEIdProd, TrE_PdRId, TrE_Lp, TrE_LpPow, TrE_TypDokumentu" +
                ", TrE_Aktywny, TrE_DataDok, TrE_RabatPromocyjny, TrE_RabatKorekta, TrE_Promocje," +
                " TrE_DataOpe, TrE_PodmiotTyp, TrE_PodID, TrE_KatID, TrE_TwrId, TrE_MagId, TrE_Tw" +
                "rNazwa, TrE_TwrEAN, TrE_TwrNumerKat, TrE_TwrKod, TrE_TwrOpis, TrE_TwrSWW, TrE_St" +
                "awka, TrE_Flaga, TrE_Zrodlowa, TrE_TwCNumer, TrE_TypNB, TrE_Cena0, TrE_Rabat, Tr" +
                "E_CenaW, TrE_Waluta, TrE_Kaucja, TrE_KursNumer, TrE_KursL, TrE_KursM, TrE_CenaT," +
                " TrE_Ilosc, TrE_IloscKW, TrE_Jm, TrE_JmZ, TrE_JmCalkowite, TrE_JMPrzelicznikL, T" +
                "rE_JMPrzelicznikM, TrE_IloscJM, TrE_IloscJMKW, TrE_WartoscNetto, TrE_WartoscBrut" +
                "to, TrE_KosztUslugi, TrE_Cena0WD, TrE_CenaWWD, TrE_WartoscNettoWal, TrE_WartoscB" +
                "ruttoWal, TrE_Atr1_DeAId, TrE_Atr1_Kod, TrE_Atr1_Wartosc, TrE_Atr2_DeAId, TrE_At" +
                "r2_Kod, TrE_Atr2_Wartosc, TrE_Atr3_DeAId, TrE_Atr3_Kod, TrE_Atr3_Wartosc, TrE_At" +
                "r4_DeAId, TrE_Atr4_Kod, TrE_Atr4_Wartosc, TrE_Atr5_DeAId, TrE_Atr5_Kod, TrE_Atr5" +
                "_Wartosc, TrE_Prog, TrE_UpustTyp, TrE_Upust, TrE_UpustKnt, TrE_UpustKntTyp, TrE_" +
                "WartoscZakupuWylicz, TrE_LpPowRel, TrE_WartoscZakupu FROM CDN.TraElem WHERE (TrE" +
                "_TrEID = @TrE_TrEID)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TrNId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TrNId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_ZwrId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_ZwrId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TrEIdProd", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TrEIdProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_PdRId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PdRId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Lp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Lp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_LpPow", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_LpPow", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TypDokumentu", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TypDokumentu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Aktywny", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Aktywny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_DataDok", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_DataDok", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_RabatPromocyjny", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_RabatPromocyjny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_RabatKorekta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_RabatKorekta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Promocje", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Promocje", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_DataOpe", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_DataOpe", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_PodmiotTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PodmiotTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_PodID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PodID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_KatID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_KatID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwrId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_MagId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_MagId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwrNazwa", global::System.Data.SqlDbType.VarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrNazwa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwrEAN", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrEAN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwrNumerKat", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrNumerKat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwrKod", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrKod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwrOpis", global::System.Data.SqlDbType.VarChar, 254, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrOpis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwrSWW", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrSWW", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Stawka", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 2, "TrE_Stawka", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Flaga", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Flaga", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Zrodlowa", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 2, "TrE_Zrodlowa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TwCNumer", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwCNumer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TypNB", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TypNB", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Cena0", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Cena0", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Rabat", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 2, "TrE_Rabat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_CenaW", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_CenaW", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Waluta", global::System.Data.SqlDbType.VarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Waluta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Kaucja", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Kaucja", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_KursNumer", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_KursNumer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_KursL", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_KursL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_KursM", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 0, "TrE_KursM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_CenaT", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_CenaT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Ilosc", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_Ilosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_IloscKW", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_IloscKW", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Jm", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Jm", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_JmZ", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_JmZ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_JmCalkowite", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_JmCalkowite", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_JMPrzelicznikL", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_JMPrzelicznikL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_JMPrzelicznikM", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 7, 0, "TrE_JMPrzelicznikM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_IloscJM", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_IloscJM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_IloscJMKW", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_IloscJMKW", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_WartoscNetto", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscNetto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_WartoscBrutto", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscBrutto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_KosztUslugi", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_KosztUslugi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Cena0WD", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Cena0WD", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_CenaWWD", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_CenaWWD", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_WartoscNettoWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscNettoWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_WartoscBruttoWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscBruttoWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr1_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr1_DeAId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr1_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr1_Kod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr1_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr1_Wartosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr2_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr2_DeAId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr2_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr2_Kod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr2_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr2_Wartosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr3_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr3_DeAId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr3_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr3_Kod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr3_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr3_Wartosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr4_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr4_DeAId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr4_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr4_Kod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr4_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr4_Wartosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr5_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr5_DeAId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr5_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr5_Kod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Atr5_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr5_Wartosc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Prog", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Prog", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_UpustTyp", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_UpustTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_Upust", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Upust", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_UpustKnt", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_UpustKnt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_UpustKntTyp", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_UpustKntTyp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_WartoscZakupuWylicz", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscZakupuWylicz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_LpPowRel", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_LpPowRel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TrEID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TrEID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TrNId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TrNId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_ZwrId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_ZwrId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_ZwrId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_TrEIdProd", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TrEIdProd", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TrEIdProd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_PdRId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_PdRId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PdRId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Lp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Lp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_LpPow", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_LpPow", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TypDokumentu", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TypDokumentu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Aktywny", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Aktywny", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_DataDok", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_DataDok", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_RabatPromocyjny", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_RabatPromocyjny", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_RabatPromocyjny", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_RabatKorekta", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_RabatKorekta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_RabatKorekta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_Promocje", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Promocje", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Promocje", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_DataOpe", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_DataOpe", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_PodmiotTyp", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_PodmiotTyp", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PodmiotTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_PodID", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_PodID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_PodID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_KatID", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_KatID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_KatID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_TwrId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwrId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_MagId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_MagId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_MagId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwrNazwa", global::System.Data.SqlDbType.VarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrNazwa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwrEAN", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrEAN", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwrNumerKat", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrNumerKat", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwrKod", global::System.Data.SqlDbType.VarChar, 40, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrKod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwrOpis", global::System.Data.SqlDbType.VarChar, 254, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrOpis", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwrSWW", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwrSWW", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Stawka", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 2, "TrE_Stawka", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Flaga", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Flaga", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Zrodlowa", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 2, "TrE_Zrodlowa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TwCNumer", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TwCNumer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_TypNB", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TypNB", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Cena0", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Cena0", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Rabat", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 2, "TrE_Rabat", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_CenaW", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_CenaW", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Waluta", global::System.Data.SqlDbType.VarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Waluta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Kaucja", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Kaucja", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_KursNumer", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_KursNumer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_KursL", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_KursL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_KursM", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 5, 0, "TrE_KursM", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_CenaT", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_CenaT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Ilosc", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_Ilosc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_IloscKW", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_IloscKW", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Jm", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Jm", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_JmZ", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_JmZ", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_JmCalkowite", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_JmCalkowite", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_JMPrzelicznikL", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_JMPrzelicznikL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_JMPrzelicznikM", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 7, 0, "TrE_JMPrzelicznikM", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_IloscJM", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_IloscJM", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_IloscJMKW", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 4, "TrE_IloscJMKW", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_WartoscNetto", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscNetto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_WartoscBrutto", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscBrutto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_KosztUslugi", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_KosztUslugi", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Cena0WD", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Cena0WD", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_CenaWWD", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_CenaWWD", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_WartoscNettoWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscNettoWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_WartoscBruttoWal", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscBruttoWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_Atr1_DeAId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr1_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr1_DeAId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr1_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr1_Kod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr1_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr1_Wartosc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_Atr2_DeAId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr2_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr2_DeAId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr2_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr2_Kod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr2_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr2_Wartosc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_Atr3_DeAId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr3_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr3_DeAId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr3_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr3_Kod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr3_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr3_Wartosc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_Atr4_DeAId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr4_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr4_DeAId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr4_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr4_Kod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr4_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr4_Wartosc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_Atr5_DeAId", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr5_DeAId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr5_DeAId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr5_Kod", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr5_Kod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Atr5_Wartosc", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_Atr5_Wartosc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Prog", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Prog", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_UpustTyp", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_UpustTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_Upust", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_Upust", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_UpustKnt", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_UpustKnt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_UpustKntTyp", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_UpustKntTyp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_WartoscZakupuWylicz", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 15, 2, "TrE_WartoscZakupuWylicz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_LpPowRel", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_LpPowRel", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_LpPowRel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrE_WartoscZakupu", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrE_WartoscZakupu", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 16, 2, "TrE_WartoscZakupu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrE_TrEID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrE_TrEID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::ExportFaktur.Properties.Settings.Default.CDN_DemoConnectionString;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT TrE_TrEID, TrE_TrNId, TrE_ZwrId, TrE_TrEIdProd, TrE_PdRId, TrE_Lp, TrE_LpPow, TrE_TypDokumentu, TrE_Aktywny, TrE_DataDok, TrE_RabatPromocyjny, TrE_RabatKorekta, TrE_Promocje, TrE_DataOpe, TrE_PodmiotTyp, TrE_PodID, TrE_KatID, TrE_TwrId, TrE_MagId, TrE_TwrNazwa, TrE_TwrEAN, TrE_TwrNumerKat, TrE_TwrKod, TrE_TwrOpis, TrE_TwrSWW, TrE_Stawka, TrE_Flaga, TrE_Zrodlowa, TrE_TwCNumer, TrE_TypNB, TrE_Cena0, TrE_Rabat, TrE_CenaW, TrE_Waluta, TrE_Kaucja, TrE_KursNumer, TrE_KursL, TrE_KursM, TrE_CenaT, TrE_Ilosc, TrE_IloscKW, TrE_Jm, TrE_JmZ, TrE_JmCalkowite, TrE_JMPrzelicznikL, TrE_JMPrzelicznikM, TrE_IloscJM, TrE_IloscJMKW, TrE_WartoscNetto, TrE_WartoscBrutto, TrE_KosztUslugi, TrE_Cena0WD, TrE_CenaWWD, TrE_WartoscNettoWal, TrE_WartoscBruttoWal, TrE_Atr1_DeAId, TrE_Atr1_Kod, TrE_Atr1_Wartosc, TrE_Atr2_DeAId, TrE_Atr2_Kod, TrE_Atr2_Wartosc, TrE_Atr3_DeAId, TrE_Atr3_Kod, TrE_Atr3_Wartosc, TrE_Atr4_DeAId, TrE_Atr4_Kod, TrE_Atr4_Wartosc, TrE_Atr5_DeAId, TrE_Atr5_Kod, TrE_Atr5_Wartosc, TrE_Prog, TrE_UpustTyp, TrE_Upust, TrE_UpustKnt, TrE_UpustKntTyp, TrE_WartoscZakupuWylicz, TrE_LpPowRel, TrE_WartoscZakupu FROM CDN.TraElem";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(CDNDataSet.TraElemDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual CDNDataSet.TraElemDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            CDNDataSet.TraElemDataTable dataTable = new CDNDataSet.TraElemDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(CDNDataSet.TraElemDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(CDNDataSet dataSet) {
            return this.Adapter.Update(dataSet, "TraElem");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(
                    int Original_TrE_TrEID, 
                    int Original_TrE_TrNId, 
                    global::System.Nullable<int> Original_TrE_ZwrId, 
                    global::System.Nullable<int> Original_TrE_TrEIdProd, 
                    global::System.Nullable<int> Original_TrE_PdRId, 
                    int Original_TrE_Lp, 
                    int Original_TrE_LpPow, 
                    int Original_TrE_TypDokumentu, 
                    byte Original_TrE_Aktywny, 
                    System.DateTime Original_TrE_DataDok, 
                    global::System.Nullable<decimal> Original_TrE_RabatPromocyjny, 
                    global::System.Nullable<decimal> Original_TrE_RabatKorekta, 
                    global::System.Nullable<int> Original_TrE_Promocje, 
                    System.DateTime Original_TrE_DataOpe, 
                    global::System.Nullable<short> Original_TrE_PodmiotTyp, 
                    global::System.Nullable<int> Original_TrE_PodID, 
                    global::System.Nullable<int> Original_TrE_KatID, 
                    global::System.Nullable<int> Original_TrE_TwrId, 
                    global::System.Nullable<int> Original_TrE_MagId, 
                    string Original_TrE_TwrNazwa, 
                    string Original_TrE_TwrEAN, 
                    string Original_TrE_TwrNumerKat, 
                    string Original_TrE_TwrKod, 
                    string Original_TrE_TwrOpis, 
                    string Original_TrE_TwrSWW, 
                    decimal Original_TrE_Stawka, 
                    short Original_TrE_Flaga, 
                    decimal Original_TrE_Zrodlowa, 
                    int Original_TrE_TwCNumer, 
                    byte Original_TrE_TypNB, 
                    decimal Original_TrE_Cena0, 
                    decimal Original_TrE_Rabat, 
                    decimal Original_TrE_CenaW, 
                    string Original_TrE_Waluta, 
                    byte Original_TrE_Kaucja, 
                    int Original_TrE_KursNumer, 
                    decimal Original_TrE_KursL, 
                    decimal Original_TrE_KursM, 
                    decimal Original_TrE_CenaT, 
                    decimal Original_TrE_Ilosc, 
                    decimal Original_TrE_IloscKW, 
                    string Original_TrE_Jm, 
                    string Original_TrE_JmZ, 
                    byte Original_TrE_JmCalkowite, 
                    decimal Original_TrE_JMPrzelicznikL, 
                    decimal Original_TrE_JMPrzelicznikM, 
                    decimal Original_TrE_IloscJM, 
                    decimal Original_TrE_IloscJMKW, 
                    decimal Original_TrE_WartoscNetto, 
                    decimal Original_TrE_WartoscBrutto, 
                    decimal Original_TrE_KosztUslugi, 
                    decimal Original_TrE_Cena0WD, 
                    decimal Original_TrE_CenaWWD, 
                    decimal Original_TrE_WartoscNettoWal, 
                    decimal Original_TrE_WartoscBruttoWal, 
                    global::System.Nullable<int> Original_TrE_Atr1_DeAId, 
                    string Original_TrE_Atr1_Kod, 
                    string Original_TrE_Atr1_Wartosc, 
                    global::System.Nullable<int> Original_TrE_Atr2_DeAId, 
                    string Original_TrE_Atr2_Kod, 
                    string Original_TrE_Atr2_Wartosc, 
                    global::System.Nullable<int> Original_TrE_Atr3_DeAId, 
                    string Original_TrE_Atr3_Kod, 
                    string Original_TrE_Atr3_Wartosc, 
                    global::System.Nullable<int> Original_TrE_Atr4_DeAId, 
                    string Original_TrE_Atr4_Kod, 
                    string Original_TrE_Atr4_Wartosc, 
                    global::System.Nullable<int> Original_TrE_Atr5_DeAId, 
                    string Original_TrE_Atr5_Kod, 
                    string Original_TrE_Atr5_Wartosc, 
                    decimal Original_TrE_Prog, 
                    byte Original_TrE_UpustTyp, 
                    decimal Original_TrE_Upust, 
                    decimal Original_TrE_UpustKnt, 
                    byte Original_TrE_UpustKntTyp, 
                    decimal Original_TrE_WartoscZakupuWylicz, 
                    global::System.Nullable<int> Original_TrE_LpPowRel, 
                    global::System.Nullable<decimal> Original_TrE_WartoscZakupu) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_TrE_TrEID));
            this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_TrE_TrNId));
            if ((Original_TrE_ZwrId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_TrE_ZwrId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_TrEIdProd.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_TrE_TrEIdProd.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_PdRId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[7].Value = ((int)(Original_TrE_PdRId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_TrE_Lp));
            this.Adapter.DeleteCommand.Parameters[9].Value = ((int)(Original_TrE_LpPow));
            this.Adapter.DeleteCommand.Parameters[10].Value = ((int)(Original_TrE_TypDokumentu));
            this.Adapter.DeleteCommand.Parameters[11].Value = ((byte)(Original_TrE_Aktywny));
            this.Adapter.DeleteCommand.Parameters[12].Value = ((System.DateTime)(Original_TrE_DataDok));
            if ((Original_TrE_RabatPromocyjny.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[14].Value = ((decimal)(Original_TrE_RabatPromocyjny.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_RabatKorekta.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[16].Value = ((decimal)(Original_TrE_RabatKorekta.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_Promocje.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[18].Value = ((int)(Original_TrE_Promocje.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            this.Adapter.DeleteCommand.Parameters[19].Value = ((System.DateTime)(Original_TrE_DataOpe));
            if ((Original_TrE_PodmiotTyp.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[21].Value = ((short)(Original_TrE_PodmiotTyp.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_PodID.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[23].Value = ((int)(Original_TrE_PodID.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[23].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_KatID.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[25].Value = ((int)(Original_TrE_KatID.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_TwrId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[27].Value = ((int)(Original_TrE_TwrId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[27].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_MagId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[29].Value = ((int)(Original_TrE_MagId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[29].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_TwrNazwa == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_TwrNazwa");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_TrE_TwrNazwa));
            }
            if ((Original_TrE_TwrEAN == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_TwrEAN");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[31].Value = ((string)(Original_TrE_TwrEAN));
            }
            if ((Original_TrE_TwrNumerKat == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_TwrNumerKat");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[32].Value = ((string)(Original_TrE_TwrNumerKat));
            }
            if ((Original_TrE_TwrKod == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_TwrKod");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[33].Value = ((string)(Original_TrE_TwrKod));
            }
            if ((Original_TrE_TwrOpis == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_TwrOpis");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_TrE_TwrOpis));
            }
            if ((Original_TrE_TwrSWW == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_TwrSWW");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[35].Value = ((string)(Original_TrE_TwrSWW));
            }
            this.Adapter.DeleteCommand.Parameters[36].Value = ((decimal)(Original_TrE_Stawka));
            this.Adapter.DeleteCommand.Parameters[37].Value = ((short)(Original_TrE_Flaga));
            this.Adapter.DeleteCommand.Parameters[38].Value = ((decimal)(Original_TrE_Zrodlowa));
            this.Adapter.DeleteCommand.Parameters[39].Value = ((int)(Original_TrE_TwCNumer));
            this.Adapter.DeleteCommand.Parameters[40].Value = ((byte)(Original_TrE_TypNB));
            this.Adapter.DeleteCommand.Parameters[41].Value = ((decimal)(Original_TrE_Cena0));
            this.Adapter.DeleteCommand.Parameters[42].Value = ((decimal)(Original_TrE_Rabat));
            this.Adapter.DeleteCommand.Parameters[43].Value = ((decimal)(Original_TrE_CenaW));
            if ((Original_TrE_Waluta == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Waluta");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[44].Value = ((string)(Original_TrE_Waluta));
            }
            this.Adapter.DeleteCommand.Parameters[45].Value = ((byte)(Original_TrE_Kaucja));
            this.Adapter.DeleteCommand.Parameters[46].Value = ((int)(Original_TrE_KursNumer));
            this.Adapter.DeleteCommand.Parameters[47].Value = ((decimal)(Original_TrE_KursL));
            this.Adapter.DeleteCommand.Parameters[48].Value = ((decimal)(Original_TrE_KursM));
            this.Adapter.DeleteCommand.Parameters[49].Value = ((decimal)(Original_TrE_CenaT));
            this.Adapter.DeleteCommand.Parameters[50].Value = ((decimal)(Original_TrE_Ilosc));
            this.Adapter.DeleteCommand.Parameters[51].Value = ((decimal)(Original_TrE_IloscKW));
            if ((Original_TrE_Jm == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Jm");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[52].Value = ((string)(Original_TrE_Jm));
            }
            if ((Original_TrE_JmZ == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_JmZ");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[53].Value = ((string)(Original_TrE_JmZ));
            }
            this.Adapter.DeleteCommand.Parameters[54].Value = ((byte)(Original_TrE_JmCalkowite));
            this.Adapter.DeleteCommand.Parameters[55].Value = ((decimal)(Original_TrE_JMPrzelicznikL));
            this.Adapter.DeleteCommand.Parameters[56].Value = ((decimal)(Original_TrE_JMPrzelicznikM));
            this.Adapter.DeleteCommand.Parameters[57].Value = ((decimal)(Original_TrE_IloscJM));
            this.Adapter.DeleteCommand.Parameters[58].Value = ((decimal)(Original_TrE_IloscJMKW));
            this.Adapter.DeleteCommand.Parameters[59].Value = ((decimal)(Original_TrE_WartoscNetto));
            this.Adapter.DeleteCommand.Parameters[60].Value = ((decimal)(Original_TrE_WartoscBrutto));
            this.Adapter.DeleteCommand.Parameters[61].Value = ((decimal)(Original_TrE_KosztUslugi));
            this.Adapter.DeleteCommand.Parameters[62].Value = ((decimal)(Original_TrE_Cena0WD));
            this.Adapter.DeleteCommand.Parameters[63].Value = ((decimal)(Original_TrE_CenaWWD));
            this.Adapter.DeleteCommand.Parameters[64].Value = ((decimal)(Original_TrE_WartoscNettoWal));
            this.Adapter.DeleteCommand.Parameters[65].Value = ((decimal)(Original_TrE_WartoscBruttoWal));
            if ((Original_TrE_Atr1_DeAId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[66].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[67].Value = ((int)(Original_TrE_Atr1_DeAId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[66].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[67].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_Atr1_Kod == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr1_Kod");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[68].Value = ((string)(Original_TrE_Atr1_Kod));
            }
            if ((Original_TrE_Atr1_Wartosc == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr1_Wartosc");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[69].Value = ((string)(Original_TrE_Atr1_Wartosc));
            }
            if ((Original_TrE_Atr2_DeAId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[70].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[71].Value = ((int)(Original_TrE_Atr2_DeAId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[70].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[71].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_Atr2_Kod == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr2_Kod");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[72].Value = ((string)(Original_TrE_Atr2_Kod));
            }
            if ((Original_TrE_Atr2_Wartosc == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr2_Wartosc");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[73].Value = ((string)(Original_TrE_Atr2_Wartosc));
            }
            if ((Original_TrE_Atr3_DeAId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[74].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[75].Value = ((int)(Original_TrE_Atr3_DeAId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[74].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[75].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_Atr3_Kod == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr3_Kod");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[76].Value = ((string)(Original_TrE_Atr3_Kod));
            }
            if ((Original_TrE_Atr3_Wartosc == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr3_Wartosc");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[77].Value = ((string)(Original_TrE_Atr3_Wartosc));
            }
            if ((Original_TrE_Atr4_DeAId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[78].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[79].Value = ((int)(Original_TrE_Atr4_DeAId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[78].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[79].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_Atr4_Kod == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr4_Kod");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[80].Value = ((string)(Original_TrE_Atr4_Kod));
            }
            if ((Original_TrE_Atr4_Wartosc == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr4_Wartosc");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[81].Value = ((string)(Original_TrE_Atr4_Wartosc));
            }
            if ((Original_TrE_Atr5_DeAId.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[82].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[83].Value = ((int)(Original_TrE_Atr5_DeAId.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[82].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[83].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_Atr5_Kod == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr5_Kod");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[84].Value = ((string)(Original_TrE_Atr5_Kod));
            }
            if ((Original_TrE_Atr5_Wartosc == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr5_Wartosc");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[85].Value = ((string)(Original_TrE_Atr5_Wartosc));
            }
            this.Adapter.DeleteCommand.Parameters[86].Value = ((decimal)(Original_TrE_Prog));
            this.Adapter.DeleteCommand.Parameters[87].Value = ((byte)(Original_TrE_UpustTyp));
            this.Adapter.DeleteCommand.Parameters[88].Value = ((decimal)(Original_TrE_Upust));
            this.Adapter.DeleteCommand.Parameters[89].Value = ((decimal)(Original_TrE_UpustKnt));
            this.Adapter.DeleteCommand.Parameters[90].Value = ((byte)(Original_TrE_UpustKntTyp));
            this.Adapter.DeleteCommand.Parameters[91].Value = ((decimal)(Original_TrE_WartoscZakupuWylicz));
            if ((Original_TrE_LpPowRel.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[92].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[93].Value = ((int)(Original_TrE_LpPowRel.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[92].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[93].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_WartoscZakupu.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[94].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[95].Value = ((decimal)(Original_TrE_WartoscZakupu.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[94].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[95].Value = global::System.DBNull.Value;
            }
            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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(
                    int TrE_TrNId, 
                    global::System.Nullable<int> TrE_ZwrId, 
                    global::System.Nullable<int> TrE_TrEIdProd, 
                    global::System.Nullable<int> TrE_PdRId, 
                    int TrE_Lp, 
                    int TrE_LpPow, 
                    int TrE_TypDokumentu, 
                    byte TrE_Aktywny, 
                    System.DateTime TrE_DataDok, 
                    global::System.Nullable<decimal> TrE_RabatPromocyjny, 
                    global::System.Nullable<decimal> TrE_RabatKorekta, 
                    global::System.Nullable<int> TrE_Promocje, 
                    System.DateTime TrE_DataOpe, 
                    global::System.Nullable<short> TrE_PodmiotTyp, 
                    global::System.Nullable<int> TrE_PodID, 
                    global::System.Nullable<int> TrE_KatID, 
                    global::System.Nullable<int> TrE_TwrId, 
                    global::System.Nullable<int> TrE_MagId, 
                    string TrE_TwrNazwa, 
                    string TrE_TwrEAN, 
                    string TrE_TwrNumerKat, 
                    string TrE_TwrKod, 
                    string TrE_TwrOpis, 
                    string TrE_TwrSWW, 
                    decimal TrE_Stawka, 
                    short TrE_Flaga, 
                    decimal TrE_Zrodlowa, 
                    int TrE_TwCNumer, 
                    byte TrE_TypNB, 
                    decimal TrE_Cena0, 
                    decimal TrE_Rabat, 
                    decimal TrE_CenaW, 
                    string TrE_Waluta, 
                    byte TrE_Kaucja, 
                    int TrE_KursNumer, 
                    decimal TrE_KursL, 
                    decimal TrE_KursM, 
                    decimal TrE_CenaT, 
                    decimal TrE_Ilosc, 
                    decimal TrE_IloscKW, 
                    string TrE_Jm, 
                    string TrE_JmZ, 
                    byte TrE_JmCalkowite, 
                    decimal TrE_JMPrzelicznikL, 
                    decimal TrE_JMPrzelicznikM, 
                    decimal TrE_IloscJM, 
                    decimal TrE_IloscJMKW, 
                    decimal TrE_WartoscNetto, 
                    decimal TrE_WartoscBrutto, 
                    decimal TrE_KosztUslugi, 
                    decimal TrE_Cena0WD, 
                    decimal TrE_CenaWWD, 
                    decimal TrE_WartoscNettoWal, 
                    decimal TrE_WartoscBruttoWal, 
                    global::System.Nullable<int> TrE_Atr1_DeAId, 
                    string TrE_Atr1_Kod, 
                    string TrE_Atr1_Wartosc, 
                    global::System.Nullable<int> TrE_Atr2_DeAId, 
                    string TrE_Atr2_Kod, 
                    string TrE_Atr2_Wartosc, 
                    global::System.Nullable<int> TrE_Atr3_DeAId, 
                    string TrE_Atr3_Kod, 
                    string TrE_Atr3_Wartosc, 
                    global::System.Nullable<int> TrE_Atr4_DeAId, 
                    string TrE_Atr4_Kod, 
                    string TrE_Atr4_Wartosc, 
                    global::System.Nullable<int> TrE_Atr5_DeAId, 
                    string TrE_Atr5_Kod, 
                    string TrE_Atr5_Wartosc, 
                    decimal TrE_Prog, 
                    byte TrE_UpustTyp, 
                    decimal TrE_Upust, 
                    decimal TrE_UpustKnt, 
                    byte TrE_UpustKntTyp, 
                    decimal TrE_WartoscZakupuWylicz, 
                    global::System.Nullable<int> TrE_LpPowRel) {
            this.Adapter.InsertCommand.Parameters[0].Value = ((int)(TrE_TrNId));
            if ((TrE_ZwrId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[1].Value = ((int)(TrE_ZwrId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((TrE_TrEIdProd.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[2].Value = ((int)(TrE_TrEIdProd.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((TrE_PdRId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[3].Value = ((int)(TrE_PdRId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[4].Value = ((int)(TrE_Lp));
            this.Adapter.InsertCommand.Parameters[5].Value = ((int)(TrE_LpPow));
            this.Adapter.InsertCommand.Parameters[6].Value = ((int)(TrE_TypDokumentu));
            this.Adapter.InsertCommand.Parameters[7].Value = ((byte)(TrE_Aktywny));
            this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(TrE_DataDok));
            if ((TrE_RabatPromocyjny.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[9].Value = ((decimal)(TrE_RabatPromocyjny.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            if ((TrE_RabatKorekta.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[10].Value = ((decimal)(TrE_RabatKorekta.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            if ((TrE_Promocje.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[11].Value = ((int)(TrE_Promocje.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(TrE_DataOpe));
            if ((TrE_PodmiotTyp.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[13].Value = ((short)(TrE_PodmiotTyp.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((TrE_PodID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[14].Value = ((int)(TrE_PodID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            if ((TrE_KatID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[15].Value = ((int)(TrE_KatID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            if ((TrE_TwrId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[16].Value = ((int)(TrE_TwrId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            if ((TrE_MagId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[17].Value = ((int)(TrE_MagId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
            }
            if ((TrE_TwrNazwa == null)) {
                throw new global::System.ArgumentNullException("TrE_TwrNazwa");
            }
            else {
                this.Adapter.InsertCommand.Parameters[18].Value = ((string)(TrE_TwrNazwa));
            }
            if ((TrE_TwrEAN == null)) {
                throw new global::System.ArgumentNullException("TrE_TwrEAN");
            }
            else {
                this.Adapter.InsertCommand.Parameters[19].Value = ((string)(TrE_TwrEAN));
            }
            if ((TrE_TwrNumerKat == null)) {
                throw new global::System.ArgumentNullException("TrE_TwrNumerKat");
            }
            else {
                this.Adapter.InsertCommand.Parameters[20].Value = ((string)(TrE_TwrNumerKat));
            }
            if ((TrE_TwrKod == null)) {
                throw new global::System.ArgumentNullException("TrE_TwrKod");
            }
            else {
                this.Adapter.InsertCommand.Parameters[21].Value = ((string)(TrE_TwrKod));
            }
            if ((TrE_TwrOpis == null)) {
                throw new global::System.ArgumentNullException("TrE_TwrOpis");
            }
            else {
                this.Adapter.InsertCommand.Parameters[22].Value = ((string)(TrE_TwrOpis));
            }
            if ((TrE_TwrSWW == null)) {
                throw new global::System.ArgumentNullException("TrE_TwrSWW");
            }
            else {
                this.Adapter.InsertCommand.Parameters[23].Value = ((string)(TrE_TwrSWW));
            }
            this.Adapter.InsertCommand.Parameters[24].Value = ((decimal)(TrE_Stawka));
            this.Adapter.InsertCommand.Parameters[25].Value = ((short)(TrE_Flaga));
            this.Adapter.InsertCommand.Parameters[26].Value = ((decimal)(TrE_Zrodlowa));
            this.Adapter.InsertCommand.Parameters[27].Value = ((int)(TrE_TwCNumer));
            this.Adapter.InsertCommand.Parameters[28].Value = ((byte)(TrE_TypNB));
            this.Adapter.InsertCommand.Parameters[29].Value = ((decimal)(TrE_Cena0));
            this.Adapter.InsertCommand.Parameters[30].Value = ((decimal)(TrE_Rabat));
            this.Adapter.InsertCommand.Parameters[31].Value = ((decimal)(TrE_CenaW));
            if ((TrE_Waluta == null)) {
                throw new global::System.ArgumentNullException("TrE_Waluta");
            }
            else {
                this.Adapter.InsertCommand.Parameters[32].Value = ((string)(TrE_Waluta));
            }
            this.Adapter.InsertCommand.Parameters[33].Value = ((byte)(TrE_Kaucja));
            this.Adapter.InsertCommand.Parameters[34].Value = ((int)(TrE_KursNumer));
            this.Adapter.InsertCommand.Parameters[35].Value = ((decimal)(TrE_KursL));
            this.Adapter.InsertCommand.Parameters[36].Value = ((decimal)(TrE_KursM));
            this.Adapter.InsertCommand.Parameters[37].Value = ((decimal)(TrE_CenaT));
            this.Adapter.InsertCommand.Parameters[38].Value = ((decimal)(TrE_Ilosc));
            this.Adapter.InsertCommand.Parameters[39].Value = ((decimal)(TrE_IloscKW));
            if ((TrE_Jm == null)) {
                throw new global::System.ArgumentNullException("TrE_Jm");
            }
            else {
                this.Adapter.InsertCommand.Parameters[40].Value = ((string)(TrE_Jm));
            }
            if ((TrE_JmZ == null)) {
                throw new global::System.ArgumentNullException("TrE_JmZ");
            }
            else {
                this.Adapter.InsertCommand.Parameters[41].Value = ((string)(TrE_JmZ));
            }
            this.Adapter.InsertCommand.Parameters[42].Value = ((byte)(TrE_JmCalkowite));
            this.Adapter.InsertCommand.Parameters[43].Value = ((decimal)(TrE_JMPrzelicznikL));
            this.Adapter.InsertCommand.Parameters[44].Value = ((decimal)(TrE_JMPrzelicznikM));
            this.Adapter.InsertCommand.Parameters[45].Value = ((decimal)(TrE_IloscJM));
            this.Adapter.InsertCommand.Parameters[46].Value = ((decimal)(TrE_IloscJMKW));
            this.Adapter.InsertCommand.Parameters[47].Value = ((decimal)(TrE_WartoscNetto));
            this.Adapter.InsertCommand.Parameters[48].Value = ((decimal)(TrE_WartoscBrutto));
            this.Adapter.InsertCommand.Parameters[49].Value = ((decimal)(TrE_KosztUslugi));
            this.Adapter.InsertCommand.Parameters[50].Value = ((decimal)(TrE_Cena0WD));
            this.Adapter.InsertCommand.Parameters[51].Value = ((decimal)(TrE_CenaWWD));
            this.Adapter.InsertCommand.Parameters[52].Value = ((decimal)(TrE_WartoscNettoWal));
            this.Adapter.InsertCommand.Parameters[53].Value = ((decimal)(TrE_WartoscBruttoWal));
            if ((TrE_Atr1_DeAId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[54].Value = ((int)(TrE_Atr1_DeAId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[54].Value = global::System.DBNull.Value;
            }
            if ((TrE_Atr1_Kod == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr1_Kod");
            }
            else {
                this.Adapter.InsertCommand.Parameters[55].Value = ((string)(TrE_Atr1_Kod));
            }
            if ((TrE_Atr1_Wartosc == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr1_Wartosc");
            }
            else {
                this.Adapter.InsertCommand.Parameters[56].Value = ((string)(TrE_Atr1_Wartosc));
            }
            if ((TrE_Atr2_DeAId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[57].Value = ((int)(TrE_Atr2_DeAId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[57].Value = global::System.DBNull.Value;
            }
            if ((TrE_Atr2_Kod == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr2_Kod");
            }
            else {
                this.Adapter.InsertCommand.Parameters[58].Value = ((string)(TrE_Atr2_Kod));
            }
            if ((TrE_Atr2_Wartosc == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr2_Wartosc");
            }
            else {
                this.Adapter.InsertCommand.Parameters[59].Value = ((string)(TrE_Atr2_Wartosc));
            }
            if ((TrE_Atr3_DeAId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[60].Value = ((int)(TrE_Atr3_DeAId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[60].Value = global::System.DBNull.Value;
            }
            if ((TrE_Atr3_Kod == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr3_Kod");
            }
            else {
                this.Adapter.InsertCommand.Parameters[61].Value = ((string)(TrE_Atr3_Kod));
            }
            if ((TrE_Atr3_Wartosc == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr3_Wartosc");
            }
            else {
                this.Adapter.InsertCommand.Parameters[62].Value = ((string)(TrE_Atr3_Wartosc));
            }
            if ((TrE_Atr4_DeAId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[63].Value = ((int)(TrE_Atr4_DeAId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[63].Value = global::System.DBNull.Value;
            }
            if ((TrE_Atr4_Kod == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr4_Kod");
            }
            else {
                this.Adapter.InsertCommand.Parameters[64].Value = ((string)(TrE_Atr4_Kod));
            }
            if ((TrE_Atr4_Wartosc == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr4_Wartosc");
            }
            else {
                this.Adapter.InsertCommand.Parameters[65].Value = ((string)(TrE_Atr4_Wartosc));
            }
            if ((TrE_Atr5_DeAId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[66].Value = ((int)(TrE_Atr5_DeAId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[66].Value = global::System.DBNull.Value;
            }
            if ((TrE_Atr5_Kod == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr5_Kod");
            }
            else {
                this.Adapter.InsertCommand.Parameters[67].Value = ((string)(TrE_Atr5_Kod));
            }
            if ((TrE_Atr5_Wartosc == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr5_Wartosc");
            }
            else {
                this.Adapter.InsertCommand.Parameters[68].Value = ((string)(TrE_Atr5_Wartosc));
            }
            this.Adapter.InsertCommand.Parameters[69].Value = ((decimal)(TrE_Prog));
            this.Adapter.InsertCommand.Parameters[70].Value = ((byte)(TrE_UpustTyp));
            this.Adapter.InsertCommand.Parameters[71].Value = ((decimal)(TrE_Upust));
            this.Adapter.InsertCommand.Parameters[72].Value = ((decimal)(TrE_UpustKnt));
            this.Adapter.InsertCommand.Parameters[73].Value = ((byte)(TrE_UpustKntTyp));
            this.Adapter.InsertCommand.Parameters[74].Value = ((decimal)(TrE_WartoscZakupuWylicz));
            if ((TrE_LpPowRel.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[75].Value = ((int)(TrE_LpPowRel.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[75].Value = global::System.DBNull.Value;
            }
            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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    int TrE_TrNId, 
                    global::System.Nullable<int> TrE_ZwrId, 
                    global::System.Nullable<int> TrE_TrEIdProd, 
                    global::System.Nullable<int> TrE_PdRId, 
                    int TrE_Lp, 
                    int TrE_LpPow, 
                    int TrE_TypDokumentu, 
                    byte TrE_Aktywny, 
                    System.DateTime TrE_DataDok, 
                    global::System.Nullable<decimal> TrE_RabatPromocyjny, 
                    global::System.Nullable<decimal> TrE_RabatKorekta, 
                    global::System.Nullable<int> TrE_Promocje, 
                    System.DateTime TrE_DataOpe, 
                    global::System.Nullable<short> TrE_PodmiotTyp, 
                    global::System.Nullable<int> TrE_PodID, 
                    global::System.Nullable<int> TrE_KatID, 
                    global::System.Nullable<int> TrE_TwrId, 
                    global::System.Nullable<int> TrE_MagId, 
                    string TrE_TwrNazwa, 
                    string TrE_TwrEAN, 
                    string TrE_TwrNumerKat, 
                    string TrE_TwrKod, 
                    string TrE_TwrOpis, 
                    string TrE_TwrSWW, 
                    decimal TrE_Stawka, 
                    short TrE_Flaga, 
                    decimal TrE_Zrodlowa, 
                    int TrE_TwCNumer, 
                    byte TrE_TypNB, 
                    decimal TrE_Cena0, 
                    decimal TrE_Rabat, 
                    decimal TrE_CenaW, 
                    string TrE_Waluta, 
                    byte TrE_Kaucja, 
                    int TrE_KursNumer, 
                    decimal TrE_KursL, 
                    decimal TrE_KursM, 
                    decimal TrE_CenaT, 
                    decimal TrE_Ilosc, 
                    decimal TrE_IloscKW, 
                    string TrE_Jm, 
                    string TrE_JmZ, 
                    byte TrE_JmCalkowite, 
                    decimal TrE_JMPrzelicznikL, 
                    decimal TrE_JMPrzelicznikM, 
                    decimal TrE_IloscJM, 
                    decimal TrE_IloscJMKW, 
                    decimal TrE_WartoscNetto, 
                    decimal TrE_WartoscBrutto, 
                    decimal TrE_KosztUslugi, 
                    decimal TrE_Cena0WD, 
                    decimal TrE_CenaWWD, 
                    decimal TrE_WartoscNettoWal, 
                    decimal TrE_WartoscBruttoWal, 
                    global::System.Nullable<int> TrE_Atr1_DeAId, 
                    string TrE_Atr1_Kod, 
                    string TrE_Atr1_Wartosc, 
                    global::System.Nullable<int> TrE_Atr2_DeAId, 
                    string TrE_Atr2_Kod, 
                    string TrE_Atr2_Wartosc, 
                    global::System.Nullable<int> TrE_Atr3_DeAId, 
                    string TrE_Atr3_Kod, 
                    string TrE_Atr3_Wartosc, 
                    global::System.Nullable<int> TrE_Atr4_DeAId, 
                    string TrE_Atr4_Kod, 
                    string TrE_Atr4_Wartosc, 
                    global::System.Nullable<int> TrE_Atr5_DeAId, 
                    string TrE_Atr5_Kod, 
                    string TrE_Atr5_Wartosc, 
                    decimal TrE_Prog, 
                    byte TrE_UpustTyp, 
                    decimal TrE_Upust, 
                    decimal TrE_UpustKnt, 
                    byte TrE_UpustKntTyp, 
                    decimal TrE_WartoscZakupuWylicz, 
                    global::System.Nullable<int> TrE_LpPowRel, 
                    int Original_TrE_TrEID, 
                    int Original_TrE_TrNId, 
                    string IsNull_TrE_ZwrId, 
                    global::System.Nullable<int> Original_TrE_ZwrId, 
                    string IsNull_TrE_TrEIdProd, 
                    global::System.Nullable<int> Original_TrE_TrEIdProd, 
                    string IsNull_TrE_PdRId, 
                    global::System.Nullable<int> Original_TrE_PdRId, 
                    int Original_TrE_Lp, 
                    int Original_TrE_LpPow, 
                    int Original_TrE_TypDokumentu, 
                    byte Original_TrE_Aktywny, 
                    System.DateTime Original_TrE_DataDok, 
                    string IsNull_TrE_RabatPromocyjny, 
                    global::System.Nullable<decimal> Original_TrE_RabatPromocyjny, 
                    string IsNull_TrE_RabatKorekta, 
                    global::System.Nullable<decimal> Original_TrE_RabatKorekta, 
                    string IsNull_TrE_Promocje, 
                    global::System.Nullable<int> Original_TrE_Promocje, 
                    System.DateTime Original_TrE_DataOpe, 
                    string IsNull_TrE_PodmiotTyp, 
                    global::System.Nullable<short> Original_TrE_PodmiotTyp, 
                    string IsNull_TrE_PodID, 
                    global::System.Nullable<int> Original_TrE_PodID, 
                    string IsNull_TrE_KatID, 
                    global::System.Nullable<int> Original_TrE_KatID, 
                    string IsNull_TrE_TwrId, 
                    global::System.Nullable<int> Original_TrE_TwrId, 
                    string IsNull_TrE_MagId, 
                    global::System.Nullable<int> Original_TrE_MagId, 
                    string Original_TrE_TwrNazwa, 
                    string Original_TrE_TwrEAN, 
                    string Original_TrE_TwrNumerKat, 
                    string Original_TrE_TwrKod, 
                    string Original_TrE_TwrOpis, 
                    string Original_TrE_TwrSWW, 
                    decimal Original_TrE_Stawka, 
                    short Original_TrE_Flaga, 
                    decimal Original_TrE_Zrodlowa, 
                    int Original_TrE_TwCNumer, 
                    byte Original_TrE_TypNB, 
                    decimal Original_TrE_Cena0, 
                    decimal Original_TrE_Rabat, 
                    decimal Original_TrE_CenaW, 
                    string Original_TrE_Waluta, 
                    byte Original_TrE_Kaucja, 
                    int Original_TrE_KursNumer, 
                    decimal Original_TrE_KursL, 
                    decimal Original_TrE_KursM, 
                    decimal Original_TrE_CenaT, 
                    decimal Original_TrE_Ilosc, 
                    decimal Original_TrE_IloscKW, 
                    string Original_TrE_Jm, 
                    string Original_TrE_JmZ, 
                    byte Original_TrE_JmCalkowite, 
                    decimal Original_TrE_JMPrzelicznikL, 
                    decimal Original_TrE_JMPrzelicznikM, 
                    decimal Original_TrE_IloscJM, 
                    decimal Original_TrE_IloscJMKW, 
                    decimal Original_TrE_WartoscNetto, 
                    decimal Original_TrE_WartoscBrutto, 
                    decimal Original_TrE_KosztUslugi, 
                    decimal Original_TrE_Cena0WD, 
                    decimal Original_TrE_CenaWWD, 
                    decimal Original_TrE_WartoscNettoWal, 
                    decimal Original_TrE_WartoscBruttoWal, 
                    string IsNull_TrE_Atr1_DeAId, 
                    global::System.Nullable<int> Original_TrE_Atr1_DeAId, 
                    string Original_TrE_Atr1_Kod, 
                    string Original_TrE_Atr1_Wartosc, 
                    string IsNull_TrE_Atr2_DeAId, 
                    global::System.Nullable<int> Original_TrE_Atr2_DeAId, 
                    string Original_TrE_Atr2_Kod, 
                    string Original_TrE_Atr2_Wartosc, 
                    string IsNull_TrE_Atr3_DeAId, 
                    global::System.Nullable<int> Original_TrE_Atr3_DeAId, 
                    string Original_TrE_Atr3_Kod, 
                    string Original_TrE_Atr3_Wartosc, 
                    string IsNull_TrE_Atr4_DeAId, 
                    global::System.Nullable<int> Original_TrE_Atr4_DeAId, 
                    string Original_TrE_Atr4_Kod, 
                    string Original_TrE_Atr4_Wartosc, 
                    string IsNull_TrE_Atr5_DeAId, 
                    global::System.Nullable<int> Original_TrE_Atr5_DeAId, 
                    string Original_TrE_Atr5_Kod, 
                    string Original_TrE_Atr5_Wartosc, 
                    decimal Original_TrE_Prog, 
                    byte Original_TrE_UpustTyp, 
                    decimal Original_TrE_Upust, 
                    decimal Original_TrE_UpustKnt, 
                    byte Original_TrE_UpustKntTyp, 
                    decimal Original_TrE_WartoscZakupuWylicz, 
                    string IsNull_TrE_LpPowRel, 
                    global::System.Nullable<int> Original_TrE_LpPowRel, 
                    string IsNull_TrE_WartoscZakupu, 
                    global::System.Nullable<decimal> Original_TrE_WartoscZakupu, 
                    int TrE_TrEID) {
            this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(TrE_TrNId));
            if ((TrE_ZwrId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(TrE_ZwrId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((TrE_TrEIdProd.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(TrE_TrEIdProd.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((TrE_PdRId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(TrE_PdRId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(TrE_Lp));
            this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(TrE_LpPow));
            this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(TrE_TypDokumentu));
            this.Adapter.UpdateCommand.Parameters[7].Value = ((byte)(TrE_Aktywny));
            this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(TrE_DataDok));
            if ((TrE_RabatPromocyjny.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[9].Value = ((decimal)(TrE_RabatPromocyjny.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            if ((TrE_RabatKorekta.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[10].Value = ((decimal)(TrE_RabatKorekta.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            if ((TrE_Promocje.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(TrE_Promocje.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(TrE_DataOpe));
            if ((TrE_PodmiotTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[13].Value = ((short)(TrE_PodmiotTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((TrE_PodID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(TrE_PodID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            if ((TrE_KatID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(TrE_KatID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            if ((TrE_TwrId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(TrE_TwrId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            if ((TrE_MagId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(TrE_MagId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
            }
            if ((TrE_TwrNazwa == null)) {
                throw new global::System.ArgumentNullException("TrE_TwrNazwa");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(TrE_TwrNazwa));
            }
            if ((TrE_TwrEAN == null)) {
                throw new global::System.ArgumentNullException("TrE_TwrEAN");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(TrE_TwrEAN));
            }
            if ((TrE_TwrNumerKat == null)) {
                throw new global::System.ArgumentNullException("TrE_TwrNumerKat");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(TrE_TwrNumerKat));
            }
            if ((TrE_TwrKod == null)) {
                throw new global::System.ArgumentNullException("TrE_TwrKod");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(TrE_TwrKod));
            }
            if ((TrE_TwrOpis == null)) {
                throw new global::System.ArgumentNullException("TrE_TwrOpis");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(TrE_TwrOpis));
            }
            if ((TrE_TwrSWW == null)) {
                throw new global::System.ArgumentNullException("TrE_TwrSWW");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(TrE_TwrSWW));
            }
            this.Adapter.UpdateCommand.Parameters[24].Value = ((decimal)(TrE_Stawka));
            this.Adapter.UpdateCommand.Parameters[25].Value = ((short)(TrE_Flaga));
            this.Adapter.UpdateCommand.Parameters[26].Value = ((decimal)(TrE_Zrodlowa));
            this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(TrE_TwCNumer));
            this.Adapter.UpdateCommand.Parameters[28].Value = ((byte)(TrE_TypNB));
            this.Adapter.UpdateCommand.Parameters[29].Value = ((decimal)(TrE_Cena0));
            this.Adapter.UpdateCommand.Parameters[30].Value = ((decimal)(TrE_Rabat));
            this.Adapter.UpdateCommand.Parameters[31].Value = ((decimal)(TrE_CenaW));
            if ((TrE_Waluta == null)) {
                throw new global::System.ArgumentNullException("TrE_Waluta");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(TrE_Waluta));
            }
            this.Adapter.UpdateCommand.Parameters[33].Value = ((byte)(TrE_Kaucja));
            this.Adapter.UpdateCommand.Parameters[34].Value = ((int)(TrE_KursNumer));
            this.Adapter.UpdateCommand.Parameters[35].Value = ((decimal)(TrE_KursL));
            this.Adapter.UpdateCommand.Parameters[36].Value = ((decimal)(TrE_KursM));
            this.Adapter.UpdateCommand.Parameters[37].Value = ((decimal)(TrE_CenaT));
            this.Adapter.UpdateCommand.Parameters[38].Value = ((decimal)(TrE_Ilosc));
            this.Adapter.UpdateCommand.Parameters[39].Value = ((decimal)(TrE_IloscKW));
            if ((TrE_Jm == null)) {
                throw new global::System.ArgumentNullException("TrE_Jm");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(TrE_Jm));
            }
            if ((TrE_JmZ == null)) {
                throw new global::System.ArgumentNullException("TrE_JmZ");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(TrE_JmZ));
            }
            this.Adapter.UpdateCommand.Parameters[42].Value = ((byte)(TrE_JmCalkowite));
            this.Adapter.UpdateCommand.Parameters[43].Value = ((decimal)(TrE_JMPrzelicznikL));
            this.Adapter.UpdateCommand.Parameters[44].Value = ((decimal)(TrE_JMPrzelicznikM));
            this.Adapter.UpdateCommand.Parameters[45].Value = ((decimal)(TrE_IloscJM));
            this.Adapter.UpdateCommand.Parameters[46].Value = ((decimal)(TrE_IloscJMKW));
            this.Adapter.UpdateCommand.Parameters[47].Value = ((decimal)(TrE_WartoscNetto));
            this.Adapter.UpdateCommand.Parameters[48].Value = ((decimal)(TrE_WartoscBrutto));
            this.Adapter.UpdateCommand.Parameters[49].Value = ((decimal)(TrE_KosztUslugi));
            this.Adapter.UpdateCommand.Parameters[50].Value = ((decimal)(TrE_Cena0WD));
            this.Adapter.UpdateCommand.Parameters[51].Value = ((decimal)(TrE_CenaWWD));
            this.Adapter.UpdateCommand.Parameters[52].Value = ((decimal)(TrE_WartoscNettoWal));
            this.Adapter.UpdateCommand.Parameters[53].Value = ((decimal)(TrE_WartoscBruttoWal));
            if ((TrE_Atr1_DeAId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[54].Value = ((int)(TrE_Atr1_DeAId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
            }
            if ((TrE_Atr1_Kod == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr1_Kod");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[55].Value = ((string)(TrE_Atr1_Kod));
            }
            if ((TrE_Atr1_Wartosc == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr1_Wartosc");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(TrE_Atr1_Wartosc));
            }
            if ((TrE_Atr2_DeAId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[57].Value = ((int)(TrE_Atr2_DeAId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
            }
            if ((TrE_Atr2_Kod == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr2_Kod");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(TrE_Atr2_Kod));
            }
            if ((TrE_Atr2_Wartosc == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr2_Wartosc");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(TrE_Atr2_Wartosc));
            }
            if ((TrE_Atr3_DeAId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[60].Value = ((int)(TrE_Atr3_DeAId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
            }
            if ((TrE_Atr3_Kod == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr3_Kod");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[61].Value = ((string)(TrE_Atr3_Kod));
            }
            if ((TrE_Atr3_Wartosc == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr3_Wartosc");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[62].Value = ((string)(TrE_Atr3_Wartosc));
            }
            if ((TrE_Atr4_DeAId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[63].Value = ((int)(TrE_Atr4_DeAId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value;
            }
            if ((TrE_Atr4_Kod == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr4_Kod");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[64].Value = ((string)(TrE_Atr4_Kod));
            }
            if ((TrE_Atr4_Wartosc == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr4_Wartosc");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[65].Value = ((string)(TrE_Atr4_Wartosc));
            }
            if ((TrE_Atr5_DeAId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[66].Value = ((int)(TrE_Atr5_DeAId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value;
            }
            if ((TrE_Atr5_Kod == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr5_Kod");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[67].Value = ((string)(TrE_Atr5_Kod));
            }
            if ((TrE_Atr5_Wartosc == null)) {
                throw new global::System.ArgumentNullException("TrE_Atr5_Wartosc");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[68].Value = ((string)(TrE_Atr5_Wartosc));
            }
            this.Adapter.UpdateCommand.Parameters[69].Value = ((decimal)(TrE_Prog));
            this.Adapter.UpdateCommand.Parameters[70].Value = ((byte)(TrE_UpustTyp));
            this.Adapter.UpdateCommand.Parameters[71].Value = ((decimal)(TrE_Upust));
            this.Adapter.UpdateCommand.Parameters[72].Value = ((decimal)(TrE_UpustKnt));
            this.Adapter.UpdateCommand.Parameters[73].Value = ((byte)(TrE_UpustKntTyp));
            this.Adapter.UpdateCommand.Parameters[74].Value = ((decimal)(TrE_WartoscZakupuWylicz));
            if ((TrE_LpPowRel.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[75].Value = ((int)(TrE_LpPowRel.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[76].Value = ((int)(Original_TrE_TrEID));
            this.Adapter.UpdateCommand.Parameters[77].Value = ((int)(Original_TrE_TrNId));
            if ((IsNull_TrE_ZwrId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_ZwrId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[78].Value = ((string)(IsNull_TrE_ZwrId));
            }
            if ((Original_TrE_ZwrId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[79].Value = ((int)(Original_TrE_ZwrId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[79].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrE_TrEIdProd == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_TrEIdProd");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[80].Value = ((string)(IsNull_TrE_TrEIdProd));
            }
            if ((Original_TrE_TrEIdProd.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[81].Value = ((int)(Original_TrE_TrEIdProd.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[81].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrE_PdRId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_PdRId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[82].Value = ((string)(IsNull_TrE_PdRId));
            }
            if ((Original_TrE_PdRId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[83].Value = ((int)(Original_TrE_PdRId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[83].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[84].Value = ((int)(Original_TrE_Lp));
            this.Adapter.UpdateCommand.Parameters[85].Value = ((int)(Original_TrE_LpPow));
            this.Adapter.UpdateCommand.Parameters[86].Value = ((int)(Original_TrE_TypDokumentu));
            this.Adapter.UpdateCommand.Parameters[87].Value = ((byte)(Original_TrE_Aktywny));
            this.Adapter.UpdateCommand.Parameters[88].Value = ((System.DateTime)(Original_TrE_DataDok));
            if ((IsNull_TrE_RabatPromocyjny == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_RabatPromocyjny");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[89].Value = ((string)(IsNull_TrE_RabatPromocyjny));
            }
            if ((Original_TrE_RabatPromocyjny.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[90].Value = ((decimal)(Original_TrE_RabatPromocyjny.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[90].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrE_RabatKorekta == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_RabatKorekta");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[91].Value = ((string)(IsNull_TrE_RabatKorekta));
            }
            if ((Original_TrE_RabatKorekta.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[92].Value = ((decimal)(Original_TrE_RabatKorekta.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[92].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrE_Promocje == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_Promocje");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[93].Value = ((string)(IsNull_TrE_Promocje));
            }
            if ((Original_TrE_Promocje.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[94].Value = ((int)(Original_TrE_Promocje.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[94].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[95].Value = ((System.DateTime)(Original_TrE_DataOpe));
            if ((IsNull_TrE_PodmiotTyp == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_PodmiotTyp");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[96].Value = ((string)(IsNull_TrE_PodmiotTyp));
            }
            if ((Original_TrE_PodmiotTyp.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[97].Value = ((short)(Original_TrE_PodmiotTyp.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[97].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrE_PodID == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_PodID");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[98].Value = ((string)(IsNull_TrE_PodID));
            }
            if ((Original_TrE_PodID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[99].Value = ((int)(Original_TrE_PodID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[99].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrE_KatID == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_KatID");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[100].Value = ((string)(IsNull_TrE_KatID));
            }
            if ((Original_TrE_KatID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[101].Value = ((int)(Original_TrE_KatID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[101].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrE_TwrId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_TwrId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[102].Value = ((string)(IsNull_TrE_TwrId));
            }
            if ((Original_TrE_TwrId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[103].Value = ((int)(Original_TrE_TwrId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[103].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrE_MagId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_MagId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[104].Value = ((string)(IsNull_TrE_MagId));
            }
            if ((Original_TrE_MagId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[105].Value = ((int)(Original_TrE_MagId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[105].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_TwrNazwa == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_TwrNazwa");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[106].Value = ((string)(Original_TrE_TwrNazwa));
            }
            if ((Original_TrE_TwrEAN == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_TwrEAN");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[107].Value = ((string)(Original_TrE_TwrEAN));
            }
            if ((Original_TrE_TwrNumerKat == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_TwrNumerKat");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[108].Value = ((string)(Original_TrE_TwrNumerKat));
            }
            if ((Original_TrE_TwrKod == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_TwrKod");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[109].Value = ((string)(Original_TrE_TwrKod));
            }
            if ((Original_TrE_TwrOpis == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_TwrOpis");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[110].Value = ((string)(Original_TrE_TwrOpis));
            }
            if ((Original_TrE_TwrSWW == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_TwrSWW");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[111].Value = ((string)(Original_TrE_TwrSWW));
            }
            this.Adapter.UpdateCommand.Parameters[112].Value = ((decimal)(Original_TrE_Stawka));
            this.Adapter.UpdateCommand.Parameters[113].Value = ((short)(Original_TrE_Flaga));
            this.Adapter.UpdateCommand.Parameters[114].Value = ((decimal)(Original_TrE_Zrodlowa));
            this.Adapter.UpdateCommand.Parameters[115].Value = ((int)(Original_TrE_TwCNumer));
            this.Adapter.UpdateCommand.Parameters[116].Value = ((byte)(Original_TrE_TypNB));
            this.Adapter.UpdateCommand.Parameters[117].Value = ((decimal)(Original_TrE_Cena0));
            this.Adapter.UpdateCommand.Parameters[118].Value = ((decimal)(Original_TrE_Rabat));
            this.Adapter.UpdateCommand.Parameters[119].Value = ((decimal)(Original_TrE_CenaW));
            if ((Original_TrE_Waluta == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Waluta");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[120].Value = ((string)(Original_TrE_Waluta));
            }
            this.Adapter.UpdateCommand.Parameters[121].Value = ((byte)(Original_TrE_Kaucja));
            this.Adapter.UpdateCommand.Parameters[122].Value = ((int)(Original_TrE_KursNumer));
            this.Adapter.UpdateCommand.Parameters[123].Value = ((decimal)(Original_TrE_KursL));
            this.Adapter.UpdateCommand.Parameters[124].Value = ((decimal)(Original_TrE_KursM));
            this.Adapter.UpdateCommand.Parameters[125].Value = ((decimal)(Original_TrE_CenaT));
            this.Adapter.UpdateCommand.Parameters[126].Value = ((decimal)(Original_TrE_Ilosc));
            this.Adapter.UpdateCommand.Parameters[127].Value = ((decimal)(Original_TrE_IloscKW));
            if ((Original_TrE_Jm == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Jm");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[128].Value = ((string)(Original_TrE_Jm));
            }
            if ((Original_TrE_JmZ == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_JmZ");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[129].Value = ((string)(Original_TrE_JmZ));
            }
            this.Adapter.UpdateCommand.Parameters[130].Value = ((byte)(Original_TrE_JmCalkowite));
            this.Adapter.UpdateCommand.Parameters[131].Value = ((decimal)(Original_TrE_JMPrzelicznikL));
            this.Adapter.UpdateCommand.Parameters[132].Value = ((decimal)(Original_TrE_JMPrzelicznikM));
            this.Adapter.UpdateCommand.Parameters[133].Value = ((decimal)(Original_TrE_IloscJM));
            this.Adapter.UpdateCommand.Parameters[134].Value = ((decimal)(Original_TrE_IloscJMKW));
            this.Adapter.UpdateCommand.Parameters[135].Value = ((decimal)(Original_TrE_WartoscNetto));
            this.Adapter.UpdateCommand.Parameters[136].Value = ((decimal)(Original_TrE_WartoscBrutto));
            this.Adapter.UpdateCommand.Parameters[137].Value = ((decimal)(Original_TrE_KosztUslugi));
            this.Adapter.UpdateCommand.Parameters[138].Value = ((decimal)(Original_TrE_Cena0WD));
            this.Adapter.UpdateCommand.Parameters[139].Value = ((decimal)(Original_TrE_CenaWWD));
            this.Adapter.UpdateCommand.Parameters[140].Value = ((decimal)(Original_TrE_WartoscNettoWal));
            this.Adapter.UpdateCommand.Parameters[141].Value = ((decimal)(Original_TrE_WartoscBruttoWal));
            if ((IsNull_TrE_Atr1_DeAId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_Atr1_DeAId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[142].Value = ((string)(IsNull_TrE_Atr1_DeAId));
            }
            if ((Original_TrE_Atr1_DeAId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[143].Value = ((int)(Original_TrE_Atr1_DeAId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[143].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_Atr1_Kod == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr1_Kod");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[144].Value = ((string)(Original_TrE_Atr1_Kod));
            }
            if ((Original_TrE_Atr1_Wartosc == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr1_Wartosc");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[145].Value = ((string)(Original_TrE_Atr1_Wartosc));
            }
            if ((IsNull_TrE_Atr2_DeAId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_Atr2_DeAId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[146].Value = ((string)(IsNull_TrE_Atr2_DeAId));
            }
            if ((Original_TrE_Atr2_DeAId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[147].Value = ((int)(Original_TrE_Atr2_DeAId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[147].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_Atr2_Kod == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr2_Kod");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[148].Value = ((string)(Original_TrE_Atr2_Kod));
            }
            if ((Original_TrE_Atr2_Wartosc == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr2_Wartosc");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[149].Value = ((string)(Original_TrE_Atr2_Wartosc));
            }
            if ((IsNull_TrE_Atr3_DeAId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_Atr3_DeAId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[150].Value = ((string)(IsNull_TrE_Atr3_DeAId));
            }
            if ((Original_TrE_Atr3_DeAId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[151].Value = ((int)(Original_TrE_Atr3_DeAId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[151].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_Atr3_Kod == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr3_Kod");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[152].Value = ((string)(Original_TrE_Atr3_Kod));
            }
            if ((Original_TrE_Atr3_Wartosc == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr3_Wartosc");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[153].Value = ((string)(Original_TrE_Atr3_Wartosc));
            }
            if ((IsNull_TrE_Atr4_DeAId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_Atr4_DeAId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[154].Value = ((string)(IsNull_TrE_Atr4_DeAId));
            }
            if ((Original_TrE_Atr4_DeAId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[155].Value = ((int)(Original_TrE_Atr4_DeAId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[155].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_Atr4_Kod == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr4_Kod");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[156].Value = ((string)(Original_TrE_Atr4_Kod));
            }
            if ((Original_TrE_Atr4_Wartosc == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr4_Wartosc");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[157].Value = ((string)(Original_TrE_Atr4_Wartosc));
            }
            if ((IsNull_TrE_Atr5_DeAId == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_Atr5_DeAId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[158].Value = ((string)(IsNull_TrE_Atr5_DeAId));
            }
            if ((Original_TrE_Atr5_DeAId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[159].Value = ((int)(Original_TrE_Atr5_DeAId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[159].Value = global::System.DBNull.Value;
            }
            if ((Original_TrE_Atr5_Kod == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr5_Kod");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[160].Value = ((string)(Original_TrE_Atr5_Kod));
            }
            if ((Original_TrE_Atr5_Wartosc == null)) {
                throw new global::System.ArgumentNullException("Original_TrE_Atr5_Wartosc");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[161].Value = ((string)(Original_TrE_Atr5_Wartosc));
            }
            this.Adapter.UpdateCommand.Parameters[162].Value = ((decimal)(Original_TrE_Prog));
            this.Adapter.UpdateCommand.Parameters[163].Value = ((byte)(Original_TrE_UpustTyp));
            this.Adapter.UpdateCommand.Parameters[164].Value = ((decimal)(Original_TrE_Upust));
            this.Adapter.UpdateCommand.Parameters[165].Value = ((decimal)(Original_TrE_UpustKnt));
            this.Adapter.UpdateCommand.Parameters[166].Value = ((byte)(Original_TrE_UpustKntTyp));
            this.Adapter.UpdateCommand.Parameters[167].Value = ((decimal)(Original_TrE_WartoscZakupuWylicz));
            if ((IsNull_TrE_LpPowRel == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_LpPowRel");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[168].Value = ((string)(IsNull_TrE_LpPowRel));
            }
            if ((Original_TrE_LpPowRel.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[169].Value = ((int)(Original_TrE_LpPowRel.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[169].Value = global::System.DBNull.Value;
            }
            if ((IsNull_TrE_WartoscZakupu == null)) {
                throw new global::System.ArgumentNullException("IsNull_TrE_WartoscZakupu");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[170].Value = ((string)(IsNull_TrE_WartoscZakupu));
            }
            if ((Original_TrE_WartoscZakupu.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[171].Value = ((decimal)(Original_TrE_WartoscZakupu.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[171].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[172].Value = ((int)(TrE_TrEID));
            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();
                }
            }
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class TraVatTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public TraVatTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "TraVat";
            tableMapping.ColumnMappings.Add("TrV_TrVID", "TrV_TrVID");
            tableMapping.ColumnMappings.Add("TrV_TrNID", "TrV_TrNID");
            tableMapping.ColumnMappings.Add("TrV_TrNidFinalna", "TrV_TrNidFinalna");
            tableMapping.ColumnMappings.Add("TrV_Stawka", "TrV_Stawka");
            tableMapping.ColumnMappings.Add("TrV_Flaga", "TrV_Flaga");
            tableMapping.ColumnMappings.Add("TrV_Zrodlowa", "TrV_Zrodlowa");
            tableMapping.ColumnMappings.Add("TrV_Netto", "TrV_Netto");
            tableMapping.ColumnMappings.Add("TrV_VAT", "TrV_VAT");
            tableMapping.ColumnMappings.Add("TrV_NettoWal", "TrV_NettoWal");
            tableMapping.ColumnMappings.Add("TrV_VATWal", "TrV_VATWal");
            tableMapping.ColumnMappings.Add("TrV_Typ", "TrV_Typ");
            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 [CDN].[TraVat] WHERE (([TrV_TrVID] = @Original_TrV_TrVID) AND ([TrV_TrNID] = @Original_TrV_TrNID) AND ((@IsNull_TrV_TrNidFinalna = 1 AND [TrV_TrNidFinalna] IS NULL) OR ([TrV_TrNidFinalna] = @Original_TrV_TrNidFinalna)) AND ([TrV_Stawka] = @Original_TrV_Stawka) AND ([TrV_Flaga] = @Original_TrV_Flaga) AND ([TrV_Zrodlowa] = @Original_TrV_Zrodlowa) AND ([TrV_Netto] = @Original_TrV_Netto) AND ([TrV_VAT] = @Original_TrV_VAT) AND ([TrV_NettoWal] = @Original_TrV_NettoWal) AND ([TrV_VATWal] = @Original_TrV_VATWal) AND ([TrV_Typ] = @Original_TrV_Typ))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_TrVID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_TrVID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_TrNID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_TrNID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrV_TrNidFinalna", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_TrNidFinalna", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_TrNidFinalna", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_TrNidFinalna", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_Stawka", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 2, "TrV_Stawka", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_Flaga", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_Flaga", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_Zrodlowa", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 2, "TrV_Zrodlowa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_Netto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_Netto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_VAT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_VAT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_NettoWal", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_NettoWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_VATWal", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_VATWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_Typ", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_Typ", 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 [CDN].[TraVat] ([TrV_TrNID], [TrV_TrNidFinalna], [TrV_Stawka], [TrV_Flaga], [TrV_Zrodlowa], [TrV_Netto], [TrV_VAT], [TrV_NettoWal], [TrV_VATWal], [TrV_Typ]) VALUES (@TrV_TrNID, @TrV_TrNidFinalna, @TrV_Stawka, @TrV_Flaga, @TrV_Zrodlowa, @TrV_Netto, @TrV_VAT, @TrV_NettoWal, @TrV_VATWal, @TrV_Typ);
SELECT TrV_TrVID, TrV_TrNID, TrV_TrNidFinalna, TrV_Stawka, TrV_Flaga, TrV_Zrodlowa, TrV_Netto, TrV_VAT, TrV_NettoWal, TrV_VATWal, TrV_Typ FROM CDN.TraVat WHERE (TrV_TrVID = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_TrNID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_TrNID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_TrNidFinalna", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_TrNidFinalna", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_Stawka", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 2, "TrV_Stawka", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_Flaga", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_Flaga", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_Zrodlowa", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 2, "TrV_Zrodlowa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_Netto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_Netto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_VAT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_VAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_NettoWal", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_NettoWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_VATWal", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_VATWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_Typ", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_Typ", 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 [CDN].[TraVat] SET [TrV_TrNID] = @TrV_TrNID, [TrV_TrNidFinalna] = @TrV_TrNidFinalna, [TrV_Stawka] = @TrV_Stawka, [TrV_Flaga] = @TrV_Flaga, [TrV_Zrodlowa] = @TrV_Zrodlowa, [TrV_Netto] = @TrV_Netto, [TrV_VAT] = @TrV_VAT, [TrV_NettoWal] = @TrV_NettoWal, [TrV_VATWal] = @TrV_VATWal, [TrV_Typ] = @TrV_Typ WHERE (([TrV_TrVID] = @Original_TrV_TrVID) AND ([TrV_TrNID] = @Original_TrV_TrNID) AND ((@IsNull_TrV_TrNidFinalna = 1 AND [TrV_TrNidFinalna] IS NULL) OR ([TrV_TrNidFinalna] = @Original_TrV_TrNidFinalna)) AND ([TrV_Stawka] = @Original_TrV_Stawka) AND ([TrV_Flaga] = @Original_TrV_Flaga) AND ([TrV_Zrodlowa] = @Original_TrV_Zrodlowa) AND ([TrV_Netto] = @Original_TrV_Netto) AND ([TrV_VAT] = @Original_TrV_VAT) AND ([TrV_NettoWal] = @Original_TrV_NettoWal) AND ([TrV_VATWal] = @Original_TrV_VATWal) AND ([TrV_Typ] = @Original_TrV_Typ));
SELECT TrV_TrVID, TrV_TrNID, TrV_TrNidFinalna, TrV_Stawka, TrV_Flaga, TrV_Zrodlowa, TrV_Netto, TrV_VAT, TrV_NettoWal, TrV_VATWal, TrV_Typ FROM CDN.TraVat WHERE (TrV_TrVID = @TrV_TrVID)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_TrNID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_TrNID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_TrNidFinalna", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_TrNidFinalna", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_Stawka", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 2, "TrV_Stawka", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_Flaga", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_Flaga", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_Zrodlowa", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 2, "TrV_Zrodlowa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_Netto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_Netto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_VAT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_VAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_NettoWal", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_NettoWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_VATWal", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_VATWal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_Typ", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_Typ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_TrVID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_TrVID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_TrNID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_TrNID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TrV_TrNidFinalna", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_TrNidFinalna", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_TrNidFinalna", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_TrNidFinalna", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_Stawka", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 2, "TrV_Stawka", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_Flaga", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_Flaga", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_Zrodlowa", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 2, "TrV_Zrodlowa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_Netto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_Netto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_VAT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_VAT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_NettoWal", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_NettoWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_VATWal", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 15, 2, "TrV_VATWal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TrV_Typ", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_Typ", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TrV_TrVID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "TrV_TrVID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::ExportFaktur.Properties.Settings.Default.CDN_DemoConnectionString;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT TrV_TrVID, TrV_TrNID, TrV_TrNidFinalna, TrV_Stawka, TrV_Flaga, TrV_Zrodlow" +
                "a, TrV_Netto, TrV_VAT, TrV_NettoWal, TrV_VATWal, TrV_Typ FROM CDN.TraVat";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(CDNDataSet.TraVatDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual CDNDataSet.TraVatDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            CDNDataSet.TraVatDataTable dataTable = new CDNDataSet.TraVatDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(CDNDataSet.TraVatDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(CDNDataSet dataSet) {
            return this.Adapter.Update(dataSet, "TraVat");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_TrV_TrVID, int Original_TrV_TrNID, global::System.Nullable<int> Original_TrV_TrNidFinalna, decimal Original_TrV_Stawka, short Original_TrV_Flaga, decimal Original_TrV_Zrodlowa, decimal Original_TrV_Netto, decimal Original_TrV_VAT, decimal Original_TrV_NettoWal, decimal Original_TrV_VATWal, byte Original_TrV_Typ) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_TrV_TrVID));
            this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_TrV_TrNID));
            if ((Original_TrV_TrNidFinalna.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_TrV_TrNidFinalna.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            this.Adapter.DeleteCommand.Parameters[4].Value = ((decimal)(Original_TrV_Stawka));
            this.Adapter.DeleteCommand.Parameters[5].Value = ((short)(Original_TrV_Flaga));
            this.Adapter.DeleteCommand.Parameters[6].Value = ((decimal)(Original_TrV_Zrodlowa));
            this.Adapter.DeleteCommand.Parameters[7].Value = ((decimal)(Original_TrV_Netto));
            this.Adapter.DeleteCommand.Parameters[8].Value = ((decimal)(Original_TrV_VAT));
            this.Adapter.DeleteCommand.Parameters[9].Value = ((decimal)(Original_TrV_NettoWal));
            this.Adapter.DeleteCommand.Parameters[10].Value = ((decimal)(Original_TrV_VATWal));
            this.Adapter.DeleteCommand.Parameters[11].Value = ((byte)(Original_TrV_Typ));
            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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(int TrV_TrNID, global::System.Nullable<int> TrV_TrNidFinalna, decimal TrV_Stawka, short TrV_Flaga, decimal TrV_Zrodlowa, decimal TrV_Netto, decimal TrV_VAT, decimal TrV_NettoWal, decimal TrV_VATWal, byte TrV_Typ) {
            this.Adapter.InsertCommand.Parameters[0].Value = ((int)(TrV_TrNID));
            if ((TrV_TrNidFinalna.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[1].Value = ((int)(TrV_TrNidFinalna.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(TrV_Stawka));
            this.Adapter.InsertCommand.Parameters[3].Value = ((short)(TrV_Flaga));
            this.Adapter.InsertCommand.Parameters[4].Value = ((decimal)(TrV_Zrodlowa));
            this.Adapter.InsertCommand.Parameters[5].Value = ((decimal)(TrV_Netto));
            this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(TrV_VAT));
            this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(TrV_NettoWal));
            this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(TrV_VATWal));
            this.Adapter.InsertCommand.Parameters[9].Value = ((byte)(TrV_Typ));
            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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    int TrV_TrNID, 
                    global::System.Nullable<int> TrV_TrNidFinalna, 
                    decimal TrV_Stawka, 
                    short TrV_Flaga, 
                    decimal TrV_Zrodlowa, 
                    decimal TrV_Netto, 
                    decimal TrV_VAT, 
                    decimal TrV_NettoWal, 
                    decimal TrV_VATWal, 
                    byte TrV_Typ, 
                    int Original_TrV_TrVID, 
                    int Original_TrV_TrNID, 
                    global::System.Nullable<int> Original_TrV_TrNidFinalna, 
                    decimal Original_TrV_Stawka, 
                    short Original_TrV_Flaga, 
                    decimal Original_TrV_Zrodlowa, 
                    decimal Original_TrV_Netto, 
                    decimal Original_TrV_VAT, 
                    decimal Original_TrV_NettoWal, 
                    decimal Original_TrV_VATWal, 
                    byte Original_TrV_Typ, 
                    int TrV_TrVID) {
            this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(TrV_TrNID));
            if ((TrV_TrNidFinalna.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(TrV_TrNidFinalna.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(TrV_Stawka));
            this.Adapter.UpdateCommand.Parameters[3].Value = ((short)(TrV_Flaga));
            this.Adapter.UpdateCommand.Parameters[4].Value = ((decimal)(TrV_Zrodlowa));
            this.Adapter.UpdateCommand.Parameters[5].Value = ((decimal)(TrV_Netto));
            this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(TrV_VAT));
            this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(TrV_NettoWal));
            this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(TrV_VATWal));
            this.Adapter.UpdateCommand.Parameters[9].Value = ((byte)(TrV_Typ));
            this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_TrV_TrVID));
            this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_TrV_TrNID));
            if ((Original_TrV_TrNidFinalna.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_TrV_TrNidFinalna.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[14].Value = ((decimal)(Original_TrV_Stawka));
            this.Adapter.UpdateCommand.Parameters[15].Value = ((short)(Original_TrV_Flaga));
            this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(Original_TrV_Zrodlowa));
            this.Adapter.UpdateCommand.Parameters[17].Value = ((decimal)(Original_TrV_Netto));
            this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(Original_TrV_VAT));
            this.Adapter.UpdateCommand.Parameters[19].Value = ((decimal)(Original_TrV_NettoWal));
            this.Adapter.UpdateCommand.Parameters[20].Value = ((decimal)(Original_TrV_VATWal));
            this.Adapter.UpdateCommand.Parameters[21].Value = ((byte)(Original_TrV_Typ));
            this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(TrV_TrVID));
            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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    int TrV_TrNID, 
                    global::System.Nullable<int> TrV_TrNidFinalna, 
                    decimal TrV_Stawka, 
                    short TrV_Flaga, 
                    decimal TrV_Zrodlowa, 
                    decimal TrV_Netto, 
                    decimal TrV_VAT, 
                    decimal TrV_NettoWal, 
                    decimal TrV_VATWal, 
                    byte TrV_Typ, 
                    int Original_TrV_TrVID, 
                    int Original_TrV_TrNID, 
                    global::System.Nullable<int> Original_TrV_TrNidFinalna, 
                    decimal Original_TrV_Stawka, 
                    short Original_TrV_Flaga, 
                    decimal Original_TrV_Zrodlowa, 
                    decimal Original_TrV_Netto, 
                    decimal Original_TrV_VAT, 
                    decimal Original_TrV_NettoWal, 
                    decimal Original_TrV_VATWal, 
                    byte Original_TrV_Typ) {
            return this.Update(TrV_TrNID, TrV_TrNidFinalna, TrV_Stawka, TrV_Flaga, TrV_Zrodlowa, TrV_Netto, TrV_VAT, TrV_NettoWal, TrV_VATWal, TrV_Typ, Original_TrV_TrVID, Original_TrV_TrNID, Original_TrV_TrNidFinalna, Original_TrV_Stawka, Original_TrV_Flaga, Original_TrV_Zrodlowa, Original_TrV_Netto, Original_TrV_VAT, Original_TrV_NettoWal, Original_TrV_VATWal, Original_TrV_Typ, Original_TrV_TrVID);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class DokDefinicjeTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public DokDefinicjeTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "DokDefinicje";
            tableMapping.ColumnMappings.Add("DDf_DDfID", "DDf_DDfID");
            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 [CDN].[DokDefinicje] WHERE (([DDf_DDfID] = @Original_DDf_DDfID))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DDf_DDfID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DDf_DDfID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::ExportFaktur.Properties.Settings.Default.CDN_DemoConnectionString;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        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        DDf_DDfID\r\nFROM            CDN.DokDefinicje";
            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 = "SELECT        DDf_DDfID\r\nFROM            CDN.DokDefinicje\r\nWHERE DDf_Symbol=@para" +
                "m AND Ddf_Klasa=302\r\n\r\n       ";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.VarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, "DDf_Symbol", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(CDNDataSet.DokDefinicjeDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual CDNDataSet.DokDefinicjeDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            CDNDataSet.DokDefinicjeDataTable dataTable = new CDNDataSet.DokDefinicjeDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByNumerRozHandlowca(CDNDataSet.DokDefinicjeDataTable dataTable, string param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((param == null)) {
                throw new global::System.ArgumentNullException("param");
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(param));
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual CDNDataSet.DokDefinicjeDataTable GetDataByNumerRozHandlowca(string param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((param == null)) {
                throw new global::System.ArgumentNullException("param");
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(param));
            }
            CDNDataSet.DokDefinicjeDataTable dataTable = new CDNDataSet.DokDefinicjeDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(CDNDataSet.DokDefinicjeDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(CDNDataSet dataSet) {
            return this.Adapter.Update(dataSet, "DokDefinicje");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [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.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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_DDf_DDfID) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_DDf_DDfID));
            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();
                }
            }
        }
    }
}

#pragma warning restore 1591