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

#pragma warning disable 1591

namespace Morakhassi {
    
    
    /// <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("dtsArzeshGozari")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
    public partial class dtsArzeshGozari : global::System.Data.DataSet {
        
        private tblUsersDataTable tabletblUsers;
        
        private tblLogsDataTable tabletblLogs;
        
        private tblUserTypesDataTable tabletblUserTypes;
        
        private tblMelkDetailsPricesDataTable tabletblMelkDetailsPrices;
        
        private tblMelkDetailsPrices1DataTable tabletblMelkDetailsPrices1;
        
        private tblMelksDataTable tabletblMelks;
        
        private global::System.Data.DataRelation relationFK_tblUsers_tblUserTypes;
        
        private global::System.Data.DataRelation relationFK_tblMelks_tblMelkDetailsPrices;
        
        private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public dtsArzeshGozari() {
            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 dtsArzeshGozari(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["tblUsers"] != null)) {
                    base.Tables.Add(new tblUsersDataTable(ds.Tables["tblUsers"]));
                }
                if ((ds.Tables["tblLogs"] != null)) {
                    base.Tables.Add(new tblLogsDataTable(ds.Tables["tblLogs"]));
                }
                if ((ds.Tables["tblUserTypes"] != null)) {
                    base.Tables.Add(new tblUserTypesDataTable(ds.Tables["tblUserTypes"]));
                }
                if ((ds.Tables["tblMelkDetailsPrices"] != null)) {
                    base.Tables.Add(new tblMelkDetailsPricesDataTable(ds.Tables["tblMelkDetailsPrices"]));
                }
                if ((ds.Tables["tblMelkDetailsPrices1"] != null)) {
                    base.Tables.Add(new tblMelkDetailsPrices1DataTable(ds.Tables["tblMelkDetailsPrices1"]));
                }
                if ((ds.Tables["tblMelks"] != null)) {
                    base.Tables.Add(new tblMelksDataTable(ds.Tables["tblMelks"]));
                }
                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 tblUsersDataTable tblUsers {
            get {
                return this.tabletblUsers;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public tblLogsDataTable tblLogs {
            get {
                return this.tabletblLogs;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public tblUserTypesDataTable tblUserTypes {
            get {
                return this.tabletblUserTypes;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public tblMelkDetailsPricesDataTable tblMelkDetailsPrices {
            get {
                return this.tabletblMelkDetailsPrices;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public tblMelkDetailsPrices1DataTable tblMelkDetailsPrices1 {
            get {
                return this.tabletblMelkDetailsPrices1;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public tblMelksDataTable tblMelks {
            get {
                return this.tabletblMelks;
            }
        }
        
        [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() {
            dtsArzeshGozari cln = ((dtsArzeshGozari)(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["tblUsers"] != null)) {
                    base.Tables.Add(new tblUsersDataTable(ds.Tables["tblUsers"]));
                }
                if ((ds.Tables["tblLogs"] != null)) {
                    base.Tables.Add(new tblLogsDataTable(ds.Tables["tblLogs"]));
                }
                if ((ds.Tables["tblUserTypes"] != null)) {
                    base.Tables.Add(new tblUserTypesDataTable(ds.Tables["tblUserTypes"]));
                }
                if ((ds.Tables["tblMelkDetailsPrices"] != null)) {
                    base.Tables.Add(new tblMelkDetailsPricesDataTable(ds.Tables["tblMelkDetailsPrices"]));
                }
                if ((ds.Tables["tblMelkDetailsPrices1"] != null)) {
                    base.Tables.Add(new tblMelkDetailsPrices1DataTable(ds.Tables["tblMelkDetailsPrices1"]));
                }
                if ((ds.Tables["tblMelks"] != null)) {
                    base.Tables.Add(new tblMelksDataTable(ds.Tables["tblMelks"]));
                }
                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.tabletblUsers = ((tblUsersDataTable)(base.Tables["tblUsers"]));
            if ((initTable == true)) {
                if ((this.tabletblUsers != null)) {
                    this.tabletblUsers.InitVars();
                }
            }
            this.tabletblLogs = ((tblLogsDataTable)(base.Tables["tblLogs"]));
            if ((initTable == true)) {
                if ((this.tabletblLogs != null)) {
                    this.tabletblLogs.InitVars();
                }
            }
            this.tabletblUserTypes = ((tblUserTypesDataTable)(base.Tables["tblUserTypes"]));
            if ((initTable == true)) {
                if ((this.tabletblUserTypes != null)) {
                    this.tabletblUserTypes.InitVars();
                }
            }
            this.tabletblMelkDetailsPrices = ((tblMelkDetailsPricesDataTable)(base.Tables["tblMelkDetailsPrices"]));
            if ((initTable == true)) {
                if ((this.tabletblMelkDetailsPrices != null)) {
                    this.tabletblMelkDetailsPrices.InitVars();
                }
            }
            this.tabletblMelkDetailsPrices1 = ((tblMelkDetailsPrices1DataTable)(base.Tables["tblMelkDetailsPrices1"]));
            if ((initTable == true)) {
                if ((this.tabletblMelkDetailsPrices1 != null)) {
                    this.tabletblMelkDetailsPrices1.InitVars();
                }
            }
            this.tabletblMelks = ((tblMelksDataTable)(base.Tables["tblMelks"]));
            if ((initTable == true)) {
                if ((this.tabletblMelks != null)) {
                    this.tabletblMelks.InitVars();
                }
            }
            this.relationFK_tblUsers_tblUserTypes = this.Relations["FK_tblUsers_tblUserTypes"];
            this.relationFK_tblMelks_tblMelkDetailsPrices = this.Relations["FK_tblMelks_tblMelkDetailsPrices"];
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitClass() {
            this.DataSetName = "dtsArzeshGozari";
            this.Prefix = "";
            this.Namespace = "http://tempuri.org/dtsArzeshGozari.xsd";
            this.EnforceConstraints = true;
            this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
            this.tabletblUsers = new tblUsersDataTable();
            base.Tables.Add(this.tabletblUsers);
            this.tabletblLogs = new tblLogsDataTable();
            base.Tables.Add(this.tabletblLogs);
            this.tabletblUserTypes = new tblUserTypesDataTable();
            base.Tables.Add(this.tabletblUserTypes);
            this.tabletblMelkDetailsPrices = new tblMelkDetailsPricesDataTable();
            base.Tables.Add(this.tabletblMelkDetailsPrices);
            this.tabletblMelkDetailsPrices1 = new tblMelkDetailsPrices1DataTable();
            base.Tables.Add(this.tabletblMelkDetailsPrices1);
            this.tabletblMelks = new tblMelksDataTable();
            base.Tables.Add(this.tabletblMelks);
            this.relationFK_tblUsers_tblUserTypes = new global::System.Data.DataRelation("FK_tblUsers_tblUserTypes", new global::System.Data.DataColumn[] {
                        this.tabletblUserTypes.UserTypesIDColumn}, new global::System.Data.DataColumn[] {
                        this.tabletblUsers.UserTypeIDColumn}, false);
            this.Relations.Add(this.relationFK_tblUsers_tblUserTypes);
            this.relationFK_tblMelks_tblMelkDetailsPrices = new global::System.Data.DataRelation("FK_tblMelks_tblMelkDetailsPrices", new global::System.Data.DataColumn[] {
                        this.tabletblMelkDetailsPrices.tblMelkDetailsPricesIDColumn}, new global::System.Data.DataColumn[] {
                        this.tabletblMelks.MelkDetailsPricesIDColumn}, false);
            this.Relations.Add(this.relationFK_tblMelks_tblMelkDetailsPrices);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializetblUsers() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializetblLogs() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializetblUserTypes() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializetblMelkDetailsPrices() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializetblMelkDetailsPrices1() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializetblMelks() {
            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) {
            dtsArzeshGozari ds = new dtsArzeshGozari();
            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 tblUsersRowChangeEventHandler(object sender, tblUsersRowChangeEvent e);
        
        public delegate void tblLogsRowChangeEventHandler(object sender, tblLogsRowChangeEvent e);
        
        public delegate void tblUserTypesRowChangeEventHandler(object sender, tblUserTypesRowChangeEvent e);
        
        public delegate void tblMelkDetailsPricesRowChangeEventHandler(object sender, tblMelkDetailsPricesRowChangeEvent e);
        
        public delegate void tblMelkDetailsPrices1RowChangeEventHandler(object sender, tblMelkDetailsPrices1RowChangeEvent e);
        
        public delegate void tblMelksRowChangeEventHandler(object sender, tblMelksRowChangeEvent 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 tblUsersDataTable : global::System.Data.TypedTableBase<tblUsersRow> {
            
            private global::System.Data.DataColumn columnUserID;
            
            private global::System.Data.DataColumn columnUserName;
            
            private global::System.Data.DataColumn columnUserPassword;
            
            private global::System.Data.DataColumn columnUserTypeID;
            
            private global::System.Data.DataColumn columnNameOfUser;
            
            private global::System.Data.DataColumn columnUserSname;
            
            private global::System.Data.DataColumn columnPersonnelliCode;
            
            private global::System.Data.DataColumn columnMelliCode;
            
            private global::System.Data.DataColumn columnDateOfRegister;
            
            private global::System.Data.DataColumn columnDateOfStaffing;
            
            private global::System.Data.DataColumn columnUserBanBit;
            
            private global::System.Data.DataColumn columnUserPic;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUsersDataTable() {
                this.TableName = "tblUsers";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal tblUsersDataTable(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 tblUsersDataTable(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 UserIDColumn {
                get {
                    return this.columnUserID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn UserNameColumn {
                get {
                    return this.columnUserName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn UserPasswordColumn {
                get {
                    return this.columnUserPassword;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn UserTypeIDColumn {
                get {
                    return this.columnUserTypeID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NameOfUserColumn {
                get {
                    return this.columnNameOfUser;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn UserSnameColumn {
                get {
                    return this.columnUserSname;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PersonnelliCodeColumn {
                get {
                    return this.columnPersonnelliCode;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MelliCodeColumn {
                get {
                    return this.columnMelliCode;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DateOfRegisterColumn {
                get {
                    return this.columnDateOfRegister;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DateOfStaffingColumn {
                get {
                    return this.columnDateOfStaffing;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn UserBanBitColumn {
                get {
                    return this.columnUserBanBit;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn UserPicColumn {
                get {
                    return this.columnUserPic;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUsersRow this[int index] {
                get {
                    return ((tblUsersRow)(this.Rows[index]));
                }
            }
            
            public event tblUsersRowChangeEventHandler tblUsersRowChanging;
            
            public event tblUsersRowChangeEventHandler tblUsersRowChanged;
            
            public event tblUsersRowChangeEventHandler tblUsersRowDeleting;
            
            public event tblUsersRowChangeEventHandler tblUsersRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddtblUsersRow(tblUsersRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUsersRow AddtblUsersRow(string UserName, string UserPassword, tblUserTypesRow parenttblUserTypesRowByFK_tblUsers_tblUserTypes, string NameOfUser, string UserSname, string PersonnelliCode, string MelliCode, System.DateTime DateOfRegister, System.DateTime DateOfStaffing, bool UserBanBit, byte[] UserPic) {
                tblUsersRow rowtblUsersRow = ((tblUsersRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        UserName,
                        UserPassword,
                        null,
                        NameOfUser,
                        UserSname,
                        PersonnelliCode,
                        MelliCode,
                        DateOfRegister,
                        DateOfStaffing,
                        UserBanBit,
                        UserPic};
                if ((parenttblUserTypesRowByFK_tblUsers_tblUserTypes != null)) {
                    columnValuesArray[3] = parenttblUserTypesRowByFK_tblUsers_tblUserTypes[0];
                }
                rowtblUsersRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowtblUsersRow);
                return rowtblUsersRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUsersRow FindByUserID(int UserID) {
                return ((tblUsersRow)(this.Rows.Find(new object[] {
                            UserID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                tblUsersDataTable cln = ((tblUsersDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new tblUsersDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnUserID = base.Columns["UserID"];
                this.columnUserName = base.Columns["UserName"];
                this.columnUserPassword = base.Columns["UserPassword"];
                this.columnUserTypeID = base.Columns["UserTypeID"];
                this.columnNameOfUser = base.Columns["NameOfUser"];
                this.columnUserSname = base.Columns["UserSname"];
                this.columnPersonnelliCode = base.Columns["PersonnelliCode"];
                this.columnMelliCode = base.Columns["MelliCode"];
                this.columnDateOfRegister = base.Columns["DateOfRegister"];
                this.columnDateOfStaffing = base.Columns["DateOfStaffing"];
                this.columnUserBanBit = base.Columns["UserBanBit"];
                this.columnUserPic = base.Columns["UserPic"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnUserID = new global::System.Data.DataColumn("UserID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUserID);
                this.columnUserName = new global::System.Data.DataColumn("UserName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUserName);
                this.columnUserPassword = new global::System.Data.DataColumn("UserPassword", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUserPassword);
                this.columnUserTypeID = new global::System.Data.DataColumn("UserTypeID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUserTypeID);
                this.columnNameOfUser = new global::System.Data.DataColumn("NameOfUser", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNameOfUser);
                this.columnUserSname = new global::System.Data.DataColumn("UserSname", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUserSname);
                this.columnPersonnelliCode = new global::System.Data.DataColumn("PersonnelliCode", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPersonnelliCode);
                this.columnMelliCode = new global::System.Data.DataColumn("MelliCode", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMelliCode);
                this.columnDateOfRegister = new global::System.Data.DataColumn("DateOfRegister", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDateOfRegister);
                this.columnDateOfStaffing = new global::System.Data.DataColumn("DateOfStaffing", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDateOfStaffing);
                this.columnUserBanBit = new global::System.Data.DataColumn("UserBanBit", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUserBanBit);
                this.columnUserPic = new global::System.Data.DataColumn("UserPic", typeof(byte[]), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUserPic);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnUserID}, true));
                this.columnUserID.AutoIncrement = true;
                this.columnUserID.AutoIncrementSeed = -1;
                this.columnUserID.AutoIncrementStep = -1;
                this.columnUserID.AllowDBNull = false;
                this.columnUserID.ReadOnly = true;
                this.columnUserID.Unique = true;
                this.columnUserName.AllowDBNull = false;
                this.columnUserName.MaxLength = 100;
                this.columnUserPassword.AllowDBNull = false;
                this.columnUserPassword.MaxLength = 100;
                this.columnUserTypeID.AllowDBNull = false;
                this.columnNameOfUser.AllowDBNull = false;
                this.columnNameOfUser.MaxLength = 100;
                this.columnUserSname.AllowDBNull = false;
                this.columnUserSname.MaxLength = 100;
                this.columnPersonnelliCode.AllowDBNull = false;
                this.columnPersonnelliCode.MaxLength = 100;
                this.columnMelliCode.AllowDBNull = false;
                this.columnMelliCode.MaxLength = 10;
                this.columnDateOfRegister.AllowDBNull = false;
                this.columnDateOfStaffing.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUsersRow NewtblUsersRow() {
                return ((tblUsersRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new tblUsersRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(tblUsersRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.tblUsersRowChanged != null)) {
                    this.tblUsersRowChanged(this, new tblUsersRowChangeEvent(((tblUsersRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.tblUsersRowChanging != null)) {
                    this.tblUsersRowChanging(this, new tblUsersRowChangeEvent(((tblUsersRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.tblUsersRowDeleted != null)) {
                    this.tblUsersRowDeleted(this, new tblUsersRowChangeEvent(((tblUsersRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.tblUsersRowDeleting != null)) {
                    this.tblUsersRowDeleting(this, new tblUsersRowChangeEvent(((tblUsersRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovetblUsersRow(tblUsersRow 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();
                dtsArzeshGozari ds = new dtsArzeshGozari();
                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 = "tblUsersDataTable";
                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 tblLogsDataTable : global::System.Data.TypedTableBase<tblLogsRow> {
            
            private global::System.Data.DataColumn columnLogNumberID;
            
            private global::System.Data.DataColumn columnPersonnelliCode;
            
            private global::System.Data.DataColumn columnLogDateTime;
            
            private global::System.Data.DataColumn columnLogDescription;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblLogsDataTable() {
                this.TableName = "tblLogs";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal tblLogsDataTable(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 tblLogsDataTable(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 LogNumberIDColumn {
                get {
                    return this.columnLogNumberID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PersonnelliCodeColumn {
                get {
                    return this.columnPersonnelliCode;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn LogDateTimeColumn {
                get {
                    return this.columnLogDateTime;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn LogDescriptionColumn {
                get {
                    return this.columnLogDescription;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblLogsRow this[int index] {
                get {
                    return ((tblLogsRow)(this.Rows[index]));
                }
            }
            
            public event tblLogsRowChangeEventHandler tblLogsRowChanging;
            
            public event tblLogsRowChangeEventHandler tblLogsRowChanged;
            
            public event tblLogsRowChangeEventHandler tblLogsRowDeleting;
            
            public event tblLogsRowChangeEventHandler tblLogsRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddtblLogsRow(tblLogsRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblLogsRow AddtblLogsRow(string PersonnelliCode, System.DateTime LogDateTime, string LogDescription) {
                tblLogsRow rowtblLogsRow = ((tblLogsRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        PersonnelliCode,
                        LogDateTime,
                        LogDescription};
                rowtblLogsRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowtblLogsRow);
                return rowtblLogsRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblLogsRow FindByLogNumberID(decimal LogNumberID) {
                return ((tblLogsRow)(this.Rows.Find(new object[] {
                            LogNumberID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                tblLogsDataTable cln = ((tblLogsDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new tblLogsDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnLogNumberID = base.Columns["LogNumberID"];
                this.columnPersonnelliCode = base.Columns["PersonnelliCode"];
                this.columnLogDateTime = base.Columns["LogDateTime"];
                this.columnLogDescription = base.Columns["LogDescription"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnLogNumberID = new global::System.Data.DataColumn("LogNumberID", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnLogNumberID);
                this.columnPersonnelliCode = new global::System.Data.DataColumn("PersonnelliCode", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPersonnelliCode);
                this.columnLogDateTime = new global::System.Data.DataColumn("LogDateTime", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnLogDateTime);
                this.columnLogDescription = new global::System.Data.DataColumn("LogDescription", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnLogDescription);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnLogNumberID}, true));
                this.columnLogNumberID.AutoIncrement = true;
                this.columnLogNumberID.AutoIncrementSeed = -1;
                this.columnLogNumberID.AutoIncrementStep = -1;
                this.columnLogNumberID.AllowDBNull = false;
                this.columnLogNumberID.ReadOnly = true;
                this.columnLogNumberID.Unique = true;
                this.columnPersonnelliCode.AllowDBNull = false;
                this.columnPersonnelliCode.MaxLength = 100;
                this.columnLogDateTime.AllowDBNull = false;
                this.columnLogDescription.AllowDBNull = false;
                this.columnLogDescription.MaxLength = 500;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblLogsRow NewtblLogsRow() {
                return ((tblLogsRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new tblLogsRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(tblLogsRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.tblLogsRowChanged != null)) {
                    this.tblLogsRowChanged(this, new tblLogsRowChangeEvent(((tblLogsRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.tblLogsRowChanging != null)) {
                    this.tblLogsRowChanging(this, new tblLogsRowChangeEvent(((tblLogsRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.tblLogsRowDeleted != null)) {
                    this.tblLogsRowDeleted(this, new tblLogsRowChangeEvent(((tblLogsRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.tblLogsRowDeleting != null)) {
                    this.tblLogsRowDeleting(this, new tblLogsRowChangeEvent(((tblLogsRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovetblLogsRow(tblLogsRow 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();
                dtsArzeshGozari ds = new dtsArzeshGozari();
                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 = "tblLogsDataTable";
                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 tblUserTypesDataTable : global::System.Data.TypedTableBase<tblUserTypesRow> {
            
            private global::System.Data.DataColumn columnUserTypesID;
            
            private global::System.Data.DataColumn columnUserTypeDescription;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUserTypesDataTable() {
                this.TableName = "tblUserTypes";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal tblUserTypesDataTable(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 tblUserTypesDataTable(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 UserTypesIDColumn {
                get {
                    return this.columnUserTypesID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn UserTypeDescriptionColumn {
                get {
                    return this.columnUserTypeDescription;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUserTypesRow this[int index] {
                get {
                    return ((tblUserTypesRow)(this.Rows[index]));
                }
            }
            
            public event tblUserTypesRowChangeEventHandler tblUserTypesRowChanging;
            
            public event tblUserTypesRowChangeEventHandler tblUserTypesRowChanged;
            
            public event tblUserTypesRowChangeEventHandler tblUserTypesRowDeleting;
            
            public event tblUserTypesRowChangeEventHandler tblUserTypesRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddtblUserTypesRow(tblUserTypesRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUserTypesRow AddtblUserTypesRow(string UserTypeDescription) {
                tblUserTypesRow rowtblUserTypesRow = ((tblUserTypesRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        UserTypeDescription};
                rowtblUserTypesRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowtblUserTypesRow);
                return rowtblUserTypesRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUserTypesRow FindByUserTypesID(int UserTypesID) {
                return ((tblUserTypesRow)(this.Rows.Find(new object[] {
                            UserTypesID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                tblUserTypesDataTable cln = ((tblUserTypesDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new tblUserTypesDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnUserTypesID = base.Columns["UserTypesID"];
                this.columnUserTypeDescription = base.Columns["UserTypeDescription"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnUserTypesID = new global::System.Data.DataColumn("UserTypesID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUserTypesID);
                this.columnUserTypeDescription = new global::System.Data.DataColumn("UserTypeDescription", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUserTypeDescription);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnUserTypesID}, true));
                this.columnUserTypesID.AutoIncrement = true;
                this.columnUserTypesID.AutoIncrementSeed = -1;
                this.columnUserTypesID.AutoIncrementStep = -1;
                this.columnUserTypesID.AllowDBNull = false;
                this.columnUserTypesID.ReadOnly = true;
                this.columnUserTypesID.Unique = true;
                this.columnUserTypeDescription.AllowDBNull = false;
                this.columnUserTypeDescription.MaxLength = 100;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUserTypesRow NewtblUserTypesRow() {
                return ((tblUserTypesRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new tblUserTypesRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(tblUserTypesRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.tblUserTypesRowChanged != null)) {
                    this.tblUserTypesRowChanged(this, new tblUserTypesRowChangeEvent(((tblUserTypesRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.tblUserTypesRowChanging != null)) {
                    this.tblUserTypesRowChanging(this, new tblUserTypesRowChangeEvent(((tblUserTypesRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.tblUserTypesRowDeleted != null)) {
                    this.tblUserTypesRowDeleted(this, new tblUserTypesRowChangeEvent(((tblUserTypesRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.tblUserTypesRowDeleting != null)) {
                    this.tblUserTypesRowDeleting(this, new tblUserTypesRowChangeEvent(((tblUserTypesRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovetblUserTypesRow(tblUserTypesRow 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();
                dtsArzeshGozari ds = new dtsArzeshGozari();
                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 = "tblUserTypesDataTable";
                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 tblMelkDetailsPricesDataTable : global::System.Data.TypedTableBase<tblMelkDetailsPricesRow> {
            
            private global::System.Data.DataColumn columntblMelkDetailsPricesID;
            
            private global::System.Data.DataColumn columnMelkTypeDescription;
            
            private global::System.Data.DataColumn columnJAvazeSHahrdari;
            
            private global::System.Data.DataColumn columnNaghsheEjraiiMohandesineNAzer;
            
            private global::System.Data.DataColumn columnGodBardariVaKhakbardari;
            
            private global::System.Data.DataColumn columnEjraieKamelFondasion;
            
            private global::System.Data.DataColumn columnEskeleteSakhtemanFB;
            
            private global::System.Data.DataColumn columnEjraieSaghf;
            
            private global::System.Data.DataColumn columnDivarChiniVaCharchoob;
            
            private global::System.Data.DataColumn columnSimanKariRooieVaPoshteBam;
            
            private global::System.Data.DataColumn columnAieghKariVaIsogam;
            
            private global::System.Data.DataColumn columnEjraieNemaieMojtama;
            
            private global::System.Data.DataColumn columnLoolehKeshieAbVaFazelab;
            
            private global::System.Data.DataColumn columnLoleKeshiBargh;
            
            private global::System.Data.DataColumn columnGachVaSefidKari;
            
            private global::System.Data.DataColumn columnSarmaieshVaGarmaiesh;
            
            private global::System.Data.DataColumn columnKafSazieVahedha;
            
            private global::System.Data.DataColumn columnKashiAshpazKhaneh;
            
            private global::System.Data.DataColumn columnPanjarehDoJedareh;
            
            private global::System.Data.DataColumn columnSakhtVaNasbeKomod;
            
            private global::System.Data.DataColumn columnSakhteDarHaieDakheli;
            
            private global::System.Data.DataColumn columnSakhteDareVorodieVahed;
            
            private global::System.Data.DataColumn columnSakhtVaNAsbeNArdeHa;
            
            private global::System.Data.DataColumn columnNasbeKelidPerizVaAnten;
            
            private global::System.Data.DataColumn columnSangePellehVaRahpelleh;
            
            private global::System.Data.DataColumn columnShoomineh;
            
            private global::System.Data.DataColumn columnAsansoor;
            
            private global::System.Data.DataColumn columnTahviehMatboo;
            
            private global::System.Data.DataColumn columnNasbeTasisateMotorKhaneh;
            
            private global::System.Data.DataColumn columnNasbeTasisateEstakhr;
            
            private global::System.Data.DataColumn columnKashiKarieEstakhr;
            
            private global::System.Data.DataColumn columnKabinetAshpazkhaneh;
            
            private global::System.Data.DataColumn columnKharidVaNasbeDastgire;
            
            private global::System.Data.DataColumn columnKharidLavazemeBehdashti;
            
            private global::System.Data.DataColumn columnMohavvateSazi;
            
            private global::System.Data.DataColumn columnHazinehieBalaSari;
            
            private global::System.Data.DataColumn columnEnsheabeAbFazelab;
            
            private global::System.Data.DataColumn columnEnsheabeBargh;
            
            private global::System.Data.DataColumn columnEnsheabeGaz;
            
            private global::System.Data.DataColumn columnPaianKarvaAvarez;
            
            private global::System.Data.DataColumn columnHazineieEdareSabt;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPricesDataTable() {
                this.TableName = "tblMelkDetailsPrices";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal tblMelkDetailsPricesDataTable(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 tblMelkDetailsPricesDataTable(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 tblMelkDetailsPricesIDColumn {
                get {
                    return this.columntblMelkDetailsPricesID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MelkTypeDescriptionColumn {
                get {
                    return this.columnMelkTypeDescription;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn JAvazeSHahrdariColumn {
                get {
                    return this.columnJAvazeSHahrdari;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NaghsheEjraiiMohandesineNAzerColumn {
                get {
                    return this.columnNaghsheEjraiiMohandesineNAzer;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn GodBardariVaKhakbardariColumn {
                get {
                    return this.columnGodBardariVaKhakbardari;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EjraieKamelFondasionColumn {
                get {
                    return this.columnEjraieKamelFondasion;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EskeleteSakhtemanFBColumn {
                get {
                    return this.columnEskeleteSakhtemanFB;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EjraieSaghfColumn {
                get {
                    return this.columnEjraieSaghf;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DivarChiniVaCharchoobColumn {
                get {
                    return this.columnDivarChiniVaCharchoob;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SimanKariRooieVaPoshteBamColumn {
                get {
                    return this.columnSimanKariRooieVaPoshteBam;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn AieghKariVaIsogamColumn {
                get {
                    return this.columnAieghKariVaIsogam;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EjraieNemaieMojtamaColumn {
                get {
                    return this.columnEjraieNemaieMojtama;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn LoolehKeshieAbVaFazelabColumn {
                get {
                    return this.columnLoolehKeshieAbVaFazelab;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn LoleKeshiBarghColumn {
                get {
                    return this.columnLoleKeshiBargh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn GachVaSefidKariColumn {
                get {
                    return this.columnGachVaSefidKari;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SarmaieshVaGarmaieshColumn {
                get {
                    return this.columnSarmaieshVaGarmaiesh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KafSazieVahedhaColumn {
                get {
                    return this.columnKafSazieVahedha;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KashiAshpazKhanehColumn {
                get {
                    return this.columnKashiAshpazKhaneh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PanjarehDoJedarehColumn {
                get {
                    return this.columnPanjarehDoJedareh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SakhtVaNasbeKomodColumn {
                get {
                    return this.columnSakhtVaNasbeKomod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SakhteDarHaieDakheliColumn {
                get {
                    return this.columnSakhteDarHaieDakheli;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SakhteDareVorodieVahedColumn {
                get {
                    return this.columnSakhteDareVorodieVahed;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SakhtVaNAsbeNArdeHaColumn {
                get {
                    return this.columnSakhtVaNAsbeNArdeHa;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NasbeKelidPerizVaAntenColumn {
                get {
                    return this.columnNasbeKelidPerizVaAnten;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SangePellehVaRahpellehColumn {
                get {
                    return this.columnSangePellehVaRahpelleh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ShoominehColumn {
                get {
                    return this.columnShoomineh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn AsansoorColumn {
                get {
                    return this.columnAsansoor;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TahviehMatbooColumn {
                get {
                    return this.columnTahviehMatboo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NasbeTasisateMotorKhanehColumn {
                get {
                    return this.columnNasbeTasisateMotorKhaneh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NasbeTasisateEstakhrColumn {
                get {
                    return this.columnNasbeTasisateEstakhr;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KashiKarieEstakhrColumn {
                get {
                    return this.columnKashiKarieEstakhr;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KabinetAshpazkhanehColumn {
                get {
                    return this.columnKabinetAshpazkhaneh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KharidVaNasbeDastgireColumn {
                get {
                    return this.columnKharidVaNasbeDastgire;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KharidLavazemeBehdashtiColumn {
                get {
                    return this.columnKharidLavazemeBehdashti;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MohavvateSaziColumn {
                get {
                    return this.columnMohavvateSazi;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn HazinehieBalaSariColumn {
                get {
                    return this.columnHazinehieBalaSari;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EnsheabeAbFazelabColumn {
                get {
                    return this.columnEnsheabeAbFazelab;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EnsheabeBarghColumn {
                get {
                    return this.columnEnsheabeBargh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EnsheabeGazColumn {
                get {
                    return this.columnEnsheabeGaz;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PaianKarvaAvarezColumn {
                get {
                    return this.columnPaianKarvaAvarez;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn HazineieEdareSabtColumn {
                get {
                    return this.columnHazineieEdareSabt;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPricesRow this[int index] {
                get {
                    return ((tblMelkDetailsPricesRow)(this.Rows[index]));
                }
            }
            
            public event tblMelkDetailsPricesRowChangeEventHandler tblMelkDetailsPricesRowChanging;
            
            public event tblMelkDetailsPricesRowChangeEventHandler tblMelkDetailsPricesRowChanged;
            
            public event tblMelkDetailsPricesRowChangeEventHandler tblMelkDetailsPricesRowDeleting;
            
            public event tblMelkDetailsPricesRowChangeEventHandler tblMelkDetailsPricesRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddtblMelkDetailsPricesRow(tblMelkDetailsPricesRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPricesRow AddtblMelkDetailsPricesRow(
                        string MelkTypeDescription, 
                        double JAvazeSHahrdari, 
                        double NaghsheEjraiiMohandesineNAzer, 
                        double GodBardariVaKhakbardari, 
                        double EjraieKamelFondasion, 
                        double EskeleteSakhtemanFB, 
                        double EjraieSaghf, 
                        double DivarChiniVaCharchoob, 
                        double SimanKariRooieVaPoshteBam, 
                        double AieghKariVaIsogam, 
                        double EjraieNemaieMojtama, 
                        double LoolehKeshieAbVaFazelab, 
                        double LoleKeshiBargh, 
                        double GachVaSefidKari, 
                        double SarmaieshVaGarmaiesh, 
                        double KafSazieVahedha, 
                        double KashiAshpazKhaneh, 
                        double PanjarehDoJedareh, 
                        double SakhtVaNasbeKomod, 
                        double SakhteDarHaieDakheli, 
                        double SakhteDareVorodieVahed, 
                        double SakhtVaNAsbeNArdeHa, 
                        double NasbeKelidPerizVaAnten, 
                        double SangePellehVaRahpelleh, 
                        double Shoomineh, 
                        double Asansoor, 
                        double TahviehMatboo, 
                        double NasbeTasisateMotorKhaneh, 
                        double NasbeTasisateEstakhr, 
                        double KashiKarieEstakhr, 
                        double KabinetAshpazkhaneh, 
                        double KharidVaNasbeDastgire, 
                        double KharidLavazemeBehdashti, 
                        double MohavvateSazi, 
                        double HazinehieBalaSari, 
                        double EnsheabeAbFazelab, 
                        double EnsheabeBargh, 
                        double EnsheabeGaz, 
                        double PaianKarvaAvarez, 
                        double HazineieEdareSabt) {
                tblMelkDetailsPricesRow rowtblMelkDetailsPricesRow = ((tblMelkDetailsPricesRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        MelkTypeDescription,
                        JAvazeSHahrdari,
                        NaghsheEjraiiMohandesineNAzer,
                        GodBardariVaKhakbardari,
                        EjraieKamelFondasion,
                        EskeleteSakhtemanFB,
                        EjraieSaghf,
                        DivarChiniVaCharchoob,
                        SimanKariRooieVaPoshteBam,
                        AieghKariVaIsogam,
                        EjraieNemaieMojtama,
                        LoolehKeshieAbVaFazelab,
                        LoleKeshiBargh,
                        GachVaSefidKari,
                        SarmaieshVaGarmaiesh,
                        KafSazieVahedha,
                        KashiAshpazKhaneh,
                        PanjarehDoJedareh,
                        SakhtVaNasbeKomod,
                        SakhteDarHaieDakheli,
                        SakhteDareVorodieVahed,
                        SakhtVaNAsbeNArdeHa,
                        NasbeKelidPerizVaAnten,
                        SangePellehVaRahpelleh,
                        Shoomineh,
                        Asansoor,
                        TahviehMatboo,
                        NasbeTasisateMotorKhaneh,
                        NasbeTasisateEstakhr,
                        KashiKarieEstakhr,
                        KabinetAshpazkhaneh,
                        KharidVaNasbeDastgire,
                        KharidLavazemeBehdashti,
                        MohavvateSazi,
                        HazinehieBalaSari,
                        EnsheabeAbFazelab,
                        EnsheabeBargh,
                        EnsheabeGaz,
                        PaianKarvaAvarez,
                        HazineieEdareSabt};
                rowtblMelkDetailsPricesRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowtblMelkDetailsPricesRow);
                return rowtblMelkDetailsPricesRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPricesRow FindBytblMelkDetailsPricesID(long tblMelkDetailsPricesID) {
                return ((tblMelkDetailsPricesRow)(this.Rows.Find(new object[] {
                            tblMelkDetailsPricesID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                tblMelkDetailsPricesDataTable cln = ((tblMelkDetailsPricesDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new tblMelkDetailsPricesDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columntblMelkDetailsPricesID = base.Columns["tblMelkDetailsPricesID"];
                this.columnMelkTypeDescription = base.Columns["MelkTypeDescription"];
                this.columnJAvazeSHahrdari = base.Columns["JAvazeSHahrdari"];
                this.columnNaghsheEjraiiMohandesineNAzer = base.Columns["NaghsheEjraiiMohandesineNAzer"];
                this.columnGodBardariVaKhakbardari = base.Columns["GodBardariVaKhakbardari"];
                this.columnEjraieKamelFondasion = base.Columns["EjraieKamelFondasion"];
                this.columnEskeleteSakhtemanFB = base.Columns["EskeleteSakhtemanFB"];
                this.columnEjraieSaghf = base.Columns["EjraieSaghf"];
                this.columnDivarChiniVaCharchoob = base.Columns["DivarChiniVaCharchoob"];
                this.columnSimanKariRooieVaPoshteBam = base.Columns["SimanKariRooieVaPoshteBam"];
                this.columnAieghKariVaIsogam = base.Columns["AieghKariVaIsogam"];
                this.columnEjraieNemaieMojtama = base.Columns["EjraieNemaieMojtama"];
                this.columnLoolehKeshieAbVaFazelab = base.Columns["LoolehKeshieAbVaFazelab"];
                this.columnLoleKeshiBargh = base.Columns["LoleKeshiBargh"];
                this.columnGachVaSefidKari = base.Columns["GachVaSefidKari"];
                this.columnSarmaieshVaGarmaiesh = base.Columns["SarmaieshVaGarmaiesh"];
                this.columnKafSazieVahedha = base.Columns["KafSazieVahedha"];
                this.columnKashiAshpazKhaneh = base.Columns["KashiAshpazKhaneh"];
                this.columnPanjarehDoJedareh = base.Columns["PanjarehDoJedareh"];
                this.columnSakhtVaNasbeKomod = base.Columns["SakhtVaNasbeKomod"];
                this.columnSakhteDarHaieDakheli = base.Columns["SakhteDarHaieDakheli"];
                this.columnSakhteDareVorodieVahed = base.Columns["SakhteDareVorodieVahed"];
                this.columnSakhtVaNAsbeNArdeHa = base.Columns["SakhtVaNAsbeNArdeHa"];
                this.columnNasbeKelidPerizVaAnten = base.Columns["NasbeKelidPerizVaAnten"];
                this.columnSangePellehVaRahpelleh = base.Columns["SangePellehVaRahpelleh"];
                this.columnShoomineh = base.Columns["Shoomineh"];
                this.columnAsansoor = base.Columns["Asansoor"];
                this.columnTahviehMatboo = base.Columns["TahviehMatboo"];
                this.columnNasbeTasisateMotorKhaneh = base.Columns["NasbeTasisateMotorKhaneh"];
                this.columnNasbeTasisateEstakhr = base.Columns["NasbeTasisateEstakhr"];
                this.columnKashiKarieEstakhr = base.Columns["KashiKarieEstakhr"];
                this.columnKabinetAshpazkhaneh = base.Columns["KabinetAshpazkhaneh"];
                this.columnKharidVaNasbeDastgire = base.Columns["KharidVaNasbeDastgire"];
                this.columnKharidLavazemeBehdashti = base.Columns["KharidLavazemeBehdashti"];
                this.columnMohavvateSazi = base.Columns["MohavvateSazi"];
                this.columnHazinehieBalaSari = base.Columns["HazinehieBalaSari"];
                this.columnEnsheabeAbFazelab = base.Columns["EnsheabeAbFazelab"];
                this.columnEnsheabeBargh = base.Columns["EnsheabeBargh"];
                this.columnEnsheabeGaz = base.Columns["EnsheabeGaz"];
                this.columnPaianKarvaAvarez = base.Columns["PaianKarvaAvarez"];
                this.columnHazineieEdareSabt = base.Columns["HazineieEdareSabt"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columntblMelkDetailsPricesID = new global::System.Data.DataColumn("tblMelkDetailsPricesID", typeof(long), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columntblMelkDetailsPricesID);
                this.columnMelkTypeDescription = new global::System.Data.DataColumn("MelkTypeDescription", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMelkTypeDescription);
                this.columnJAvazeSHahrdari = new global::System.Data.DataColumn("JAvazeSHahrdari", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnJAvazeSHahrdari);
                this.columnNaghsheEjraiiMohandesineNAzer = new global::System.Data.DataColumn("NaghsheEjraiiMohandesineNAzer", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNaghsheEjraiiMohandesineNAzer);
                this.columnGodBardariVaKhakbardari = new global::System.Data.DataColumn("GodBardariVaKhakbardari", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnGodBardariVaKhakbardari);
                this.columnEjraieKamelFondasion = new global::System.Data.DataColumn("EjraieKamelFondasion", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEjraieKamelFondasion);
                this.columnEskeleteSakhtemanFB = new global::System.Data.DataColumn("EskeleteSakhtemanFB", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEskeleteSakhtemanFB);
                this.columnEjraieSaghf = new global::System.Data.DataColumn("EjraieSaghf", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEjraieSaghf);
                this.columnDivarChiniVaCharchoob = new global::System.Data.DataColumn("DivarChiniVaCharchoob", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDivarChiniVaCharchoob);
                this.columnSimanKariRooieVaPoshteBam = new global::System.Data.DataColumn("SimanKariRooieVaPoshteBam", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSimanKariRooieVaPoshteBam);
                this.columnAieghKariVaIsogam = new global::System.Data.DataColumn("AieghKariVaIsogam", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAieghKariVaIsogam);
                this.columnEjraieNemaieMojtama = new global::System.Data.DataColumn("EjraieNemaieMojtama", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEjraieNemaieMojtama);
                this.columnLoolehKeshieAbVaFazelab = new global::System.Data.DataColumn("LoolehKeshieAbVaFazelab", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnLoolehKeshieAbVaFazelab);
                this.columnLoleKeshiBargh = new global::System.Data.DataColumn("LoleKeshiBargh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnLoleKeshiBargh);
                this.columnGachVaSefidKari = new global::System.Data.DataColumn("GachVaSefidKari", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnGachVaSefidKari);
                this.columnSarmaieshVaGarmaiesh = new global::System.Data.DataColumn("SarmaieshVaGarmaiesh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSarmaieshVaGarmaiesh);
                this.columnKafSazieVahedha = new global::System.Data.DataColumn("KafSazieVahedha", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKafSazieVahedha);
                this.columnKashiAshpazKhaneh = new global::System.Data.DataColumn("KashiAshpazKhaneh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKashiAshpazKhaneh);
                this.columnPanjarehDoJedareh = new global::System.Data.DataColumn("PanjarehDoJedareh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPanjarehDoJedareh);
                this.columnSakhtVaNasbeKomod = new global::System.Data.DataColumn("SakhtVaNasbeKomod", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSakhtVaNasbeKomod);
                this.columnSakhteDarHaieDakheli = new global::System.Data.DataColumn("SakhteDarHaieDakheli", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSakhteDarHaieDakheli);
                this.columnSakhteDareVorodieVahed = new global::System.Data.DataColumn("SakhteDareVorodieVahed", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSakhteDareVorodieVahed);
                this.columnSakhtVaNAsbeNArdeHa = new global::System.Data.DataColumn("SakhtVaNAsbeNArdeHa", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSakhtVaNAsbeNArdeHa);
                this.columnNasbeKelidPerizVaAnten = new global::System.Data.DataColumn("NasbeKelidPerizVaAnten", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNasbeKelidPerizVaAnten);
                this.columnSangePellehVaRahpelleh = new global::System.Data.DataColumn("SangePellehVaRahpelleh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSangePellehVaRahpelleh);
                this.columnShoomineh = new global::System.Data.DataColumn("Shoomineh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnShoomineh);
                this.columnAsansoor = new global::System.Data.DataColumn("Asansoor", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAsansoor);
                this.columnTahviehMatboo = new global::System.Data.DataColumn("TahviehMatboo", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTahviehMatboo);
                this.columnNasbeTasisateMotorKhaneh = new global::System.Data.DataColumn("NasbeTasisateMotorKhaneh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNasbeTasisateMotorKhaneh);
                this.columnNasbeTasisateEstakhr = new global::System.Data.DataColumn("NasbeTasisateEstakhr", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNasbeTasisateEstakhr);
                this.columnKashiKarieEstakhr = new global::System.Data.DataColumn("KashiKarieEstakhr", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKashiKarieEstakhr);
                this.columnKabinetAshpazkhaneh = new global::System.Data.DataColumn("KabinetAshpazkhaneh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKabinetAshpazkhaneh);
                this.columnKharidVaNasbeDastgire = new global::System.Data.DataColumn("KharidVaNasbeDastgire", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKharidVaNasbeDastgire);
                this.columnKharidLavazemeBehdashti = new global::System.Data.DataColumn("KharidLavazemeBehdashti", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKharidLavazemeBehdashti);
                this.columnMohavvateSazi = new global::System.Data.DataColumn("MohavvateSazi", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMohavvateSazi);
                this.columnHazinehieBalaSari = new global::System.Data.DataColumn("HazinehieBalaSari", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnHazinehieBalaSari);
                this.columnEnsheabeAbFazelab = new global::System.Data.DataColumn("EnsheabeAbFazelab", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEnsheabeAbFazelab);
                this.columnEnsheabeBargh = new global::System.Data.DataColumn("EnsheabeBargh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEnsheabeBargh);
                this.columnEnsheabeGaz = new global::System.Data.DataColumn("EnsheabeGaz", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEnsheabeGaz);
                this.columnPaianKarvaAvarez = new global::System.Data.DataColumn("PaianKarvaAvarez", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPaianKarvaAvarez);
                this.columnHazineieEdareSabt = new global::System.Data.DataColumn("HazineieEdareSabt", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnHazineieEdareSabt);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columntblMelkDetailsPricesID}, true));
                this.columntblMelkDetailsPricesID.AutoIncrement = true;
                this.columntblMelkDetailsPricesID.AutoIncrementSeed = -1;
                this.columntblMelkDetailsPricesID.AutoIncrementStep = -1;
                this.columntblMelkDetailsPricesID.AllowDBNull = false;
                this.columntblMelkDetailsPricesID.ReadOnly = true;
                this.columntblMelkDetailsPricesID.Unique = true;
                this.columnMelkTypeDescription.AllowDBNull = false;
                this.columnMelkTypeDescription.MaxLength = 150;
                this.columnJAvazeSHahrdari.AllowDBNull = false;
                this.columnNaghsheEjraiiMohandesineNAzer.AllowDBNull = false;
                this.columnGodBardariVaKhakbardari.AllowDBNull = false;
                this.columnEjraieKamelFondasion.AllowDBNull = false;
                this.columnEskeleteSakhtemanFB.AllowDBNull = false;
                this.columnEjraieSaghf.AllowDBNull = false;
                this.columnDivarChiniVaCharchoob.AllowDBNull = false;
                this.columnSimanKariRooieVaPoshteBam.AllowDBNull = false;
                this.columnAieghKariVaIsogam.AllowDBNull = false;
                this.columnEjraieNemaieMojtama.AllowDBNull = false;
                this.columnLoolehKeshieAbVaFazelab.AllowDBNull = false;
                this.columnLoleKeshiBargh.AllowDBNull = false;
                this.columnGachVaSefidKari.AllowDBNull = false;
                this.columnSarmaieshVaGarmaiesh.AllowDBNull = false;
                this.columnKafSazieVahedha.AllowDBNull = false;
                this.columnKashiAshpazKhaneh.AllowDBNull = false;
                this.columnPanjarehDoJedareh.AllowDBNull = false;
                this.columnSakhtVaNasbeKomod.AllowDBNull = false;
                this.columnSakhteDarHaieDakheli.AllowDBNull = false;
                this.columnSakhteDareVorodieVahed.AllowDBNull = false;
                this.columnSakhtVaNAsbeNArdeHa.AllowDBNull = false;
                this.columnNasbeKelidPerizVaAnten.AllowDBNull = false;
                this.columnSangePellehVaRahpelleh.AllowDBNull = false;
                this.columnShoomineh.AllowDBNull = false;
                this.columnAsansoor.AllowDBNull = false;
                this.columnTahviehMatboo.AllowDBNull = false;
                this.columnNasbeTasisateMotorKhaneh.AllowDBNull = false;
                this.columnNasbeTasisateEstakhr.AllowDBNull = false;
                this.columnKashiKarieEstakhr.AllowDBNull = false;
                this.columnKabinetAshpazkhaneh.AllowDBNull = false;
                this.columnKharidVaNasbeDastgire.AllowDBNull = false;
                this.columnKharidLavazemeBehdashti.AllowDBNull = false;
                this.columnMohavvateSazi.AllowDBNull = false;
                this.columnHazinehieBalaSari.AllowDBNull = false;
                this.columnEnsheabeAbFazelab.AllowDBNull = false;
                this.columnEnsheabeBargh.AllowDBNull = false;
                this.columnEnsheabeGaz.AllowDBNull = false;
                this.columnPaianKarvaAvarez.AllowDBNull = false;
                this.columnHazineieEdareSabt.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPricesRow NewtblMelkDetailsPricesRow() {
                return ((tblMelkDetailsPricesRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new tblMelkDetailsPricesRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(tblMelkDetailsPricesRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.tblMelkDetailsPricesRowChanged != null)) {
                    this.tblMelkDetailsPricesRowChanged(this, new tblMelkDetailsPricesRowChangeEvent(((tblMelkDetailsPricesRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.tblMelkDetailsPricesRowChanging != null)) {
                    this.tblMelkDetailsPricesRowChanging(this, new tblMelkDetailsPricesRowChangeEvent(((tblMelkDetailsPricesRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.tblMelkDetailsPricesRowDeleted != null)) {
                    this.tblMelkDetailsPricesRowDeleted(this, new tblMelkDetailsPricesRowChangeEvent(((tblMelkDetailsPricesRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.tblMelkDetailsPricesRowDeleting != null)) {
                    this.tblMelkDetailsPricesRowDeleting(this, new tblMelkDetailsPricesRowChangeEvent(((tblMelkDetailsPricesRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovetblMelkDetailsPricesRow(tblMelkDetailsPricesRow 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();
                dtsArzeshGozari ds = new dtsArzeshGozari();
                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 = "tblMelkDetailsPricesDataTable";
                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 tblMelkDetailsPrices1DataTable : global::System.Data.TypedTableBase<tblMelkDetailsPrices1Row> {
            
            private global::System.Data.DataColumn columntblMelkDetailsPricesID;
            
            private global::System.Data.DataColumn columnMelkTypeDescription;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPrices1DataTable() {
                this.TableName = "tblMelkDetailsPrices1";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal tblMelkDetailsPrices1DataTable(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 tblMelkDetailsPrices1DataTable(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 tblMelkDetailsPricesIDColumn {
                get {
                    return this.columntblMelkDetailsPricesID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MelkTypeDescriptionColumn {
                get {
                    return this.columnMelkTypeDescription;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPrices1Row this[int index] {
                get {
                    return ((tblMelkDetailsPrices1Row)(this.Rows[index]));
                }
            }
            
            public event tblMelkDetailsPrices1RowChangeEventHandler tblMelkDetailsPrices1RowChanging;
            
            public event tblMelkDetailsPrices1RowChangeEventHandler tblMelkDetailsPrices1RowChanged;
            
            public event tblMelkDetailsPrices1RowChangeEventHandler tblMelkDetailsPrices1RowDeleting;
            
            public event tblMelkDetailsPrices1RowChangeEventHandler tblMelkDetailsPrices1RowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddtblMelkDetailsPrices1Row(tblMelkDetailsPrices1Row row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPrices1Row AddtblMelkDetailsPrices1Row(string MelkTypeDescription) {
                tblMelkDetailsPrices1Row rowtblMelkDetailsPrices1Row = ((tblMelkDetailsPrices1Row)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        MelkTypeDescription};
                rowtblMelkDetailsPrices1Row.ItemArray = columnValuesArray;
                this.Rows.Add(rowtblMelkDetailsPrices1Row);
                return rowtblMelkDetailsPrices1Row;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPrices1Row FindBytblMelkDetailsPricesID(long tblMelkDetailsPricesID) {
                return ((tblMelkDetailsPrices1Row)(this.Rows.Find(new object[] {
                            tblMelkDetailsPricesID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                tblMelkDetailsPrices1DataTable cln = ((tblMelkDetailsPrices1DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new tblMelkDetailsPrices1DataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columntblMelkDetailsPricesID = base.Columns["tblMelkDetailsPricesID"];
                this.columnMelkTypeDescription = base.Columns["MelkTypeDescription"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columntblMelkDetailsPricesID = new global::System.Data.DataColumn("tblMelkDetailsPricesID", typeof(long), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columntblMelkDetailsPricesID);
                this.columnMelkTypeDescription = new global::System.Data.DataColumn("MelkTypeDescription", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMelkTypeDescription);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columntblMelkDetailsPricesID}, true));
                this.columntblMelkDetailsPricesID.AutoIncrement = true;
                this.columntblMelkDetailsPricesID.AutoIncrementSeed = -1;
                this.columntblMelkDetailsPricesID.AutoIncrementStep = -1;
                this.columntblMelkDetailsPricesID.AllowDBNull = false;
                this.columntblMelkDetailsPricesID.ReadOnly = true;
                this.columntblMelkDetailsPricesID.Unique = true;
                this.columnMelkTypeDescription.AllowDBNull = false;
                this.columnMelkTypeDescription.MaxLength = 150;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPrices1Row NewtblMelkDetailsPrices1Row() {
                return ((tblMelkDetailsPrices1Row)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new tblMelkDetailsPrices1Row(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(tblMelkDetailsPrices1Row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.tblMelkDetailsPrices1RowChanged != null)) {
                    this.tblMelkDetailsPrices1RowChanged(this, new tblMelkDetailsPrices1RowChangeEvent(((tblMelkDetailsPrices1Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.tblMelkDetailsPrices1RowChanging != null)) {
                    this.tblMelkDetailsPrices1RowChanging(this, new tblMelkDetailsPrices1RowChangeEvent(((tblMelkDetailsPrices1Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.tblMelkDetailsPrices1RowDeleted != null)) {
                    this.tblMelkDetailsPrices1RowDeleted(this, new tblMelkDetailsPrices1RowChangeEvent(((tblMelkDetailsPrices1Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.tblMelkDetailsPrices1RowDeleting != null)) {
                    this.tblMelkDetailsPrices1RowDeleting(this, new tblMelkDetailsPrices1RowChangeEvent(((tblMelkDetailsPrices1Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovetblMelkDetailsPrices1Row(tblMelkDetailsPrices1Row 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();
                dtsArzeshGozari ds = new dtsArzeshGozari();
                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 = "tblMelkDetailsPrices1DataTable";
                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 tblMelksDataTable : global::System.Data.TypedTableBase<tblMelksRow> {
            
            private global::System.Data.DataColumn columnMelkID;
            
            private global::System.Data.DataColumn columnTotalPrice;
            
            private global::System.Data.DataColumn columnMelkDetailsPricesID;
            
            private global::System.Data.DataColumn columnMelkDescription;
            
            private global::System.Data.DataColumn columnJAvazeSHahrdari;
            
            private global::System.Data.DataColumn columnNaghsheEjraiiMohandesineNAzer;
            
            private global::System.Data.DataColumn columnGodBardariVaKhakbardari;
            
            private global::System.Data.DataColumn columnEjraieKamelFondasion;
            
            private global::System.Data.DataColumn columnEskeleteSakhtemanFB;
            
            private global::System.Data.DataColumn columnEjraieSaghf;
            
            private global::System.Data.DataColumn columnDivarChiniVaCharchoob;
            
            private global::System.Data.DataColumn columnSimanKariRooieVaPoshteBam;
            
            private global::System.Data.DataColumn columnAieghKariVaIsogam;
            
            private global::System.Data.DataColumn columnEjraieNemaieMojtama;
            
            private global::System.Data.DataColumn columnLoolehKeshieAbVaFazelab;
            
            private global::System.Data.DataColumn columnLoleKeshiBargh;
            
            private global::System.Data.DataColumn columnGachVaSefidKari;
            
            private global::System.Data.DataColumn columnSarmaieshVaGarmaiesh;
            
            private global::System.Data.DataColumn columnKafSazieVahedha;
            
            private global::System.Data.DataColumn columnKashiAshpazKhaneh;
            
            private global::System.Data.DataColumn columnPanjarehDoJedareh;
            
            private global::System.Data.DataColumn columnSakhtVaNasbeKomod;
            
            private global::System.Data.DataColumn columnSakhteDarHaieDakheli;
            
            private global::System.Data.DataColumn columnSakhteDareVorodieVahed;
            
            private global::System.Data.DataColumn columnSakhtVaNAsbeNArdeHa;
            
            private global::System.Data.DataColumn columnNasbeKelidPerizVaAnten;
            
            private global::System.Data.DataColumn columnSangePellehVaRahpelleh;
            
            private global::System.Data.DataColumn columnShoomineh;
            
            private global::System.Data.DataColumn columnAsansoor;
            
            private global::System.Data.DataColumn columnTahviehMatboo;
            
            private global::System.Data.DataColumn columnNasbeTasisateMotorKhaneh;
            
            private global::System.Data.DataColumn columnNasbeTasisateEstakhr;
            
            private global::System.Data.DataColumn columnKashiKarieEstakhr;
            
            private global::System.Data.DataColumn columnKabinetAshpazkhaneh;
            
            private global::System.Data.DataColumn columnKharidVaNasbeDastgire;
            
            private global::System.Data.DataColumn columnKharidLavazemeBehdashti;
            
            private global::System.Data.DataColumn columnMohavvateSazi;
            
            private global::System.Data.DataColumn columnHazinehieBalaSari;
            
            private global::System.Data.DataColumn columnEnsheabeAbFazelab;
            
            private global::System.Data.DataColumn columnEnsheabeBargh;
            
            private global::System.Data.DataColumn columnEnsheabeGaz;
            
            private global::System.Data.DataColumn columnPaianKarvaAvarez;
            
            private global::System.Data.DataColumn columnHazineieEdareSabt;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelksDataTable() {
                this.TableName = "tblMelks";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal tblMelksDataTable(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 tblMelksDataTable(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 MelkIDColumn {
                get {
                    return this.columnMelkID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TotalPriceColumn {
                get {
                    return this.columnTotalPrice;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MelkDetailsPricesIDColumn {
                get {
                    return this.columnMelkDetailsPricesID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MelkDescriptionColumn {
                get {
                    return this.columnMelkDescription;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn JAvazeSHahrdariColumn {
                get {
                    return this.columnJAvazeSHahrdari;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NaghsheEjraiiMohandesineNAzerColumn {
                get {
                    return this.columnNaghsheEjraiiMohandesineNAzer;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn GodBardariVaKhakbardariColumn {
                get {
                    return this.columnGodBardariVaKhakbardari;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EjraieKamelFondasionColumn {
                get {
                    return this.columnEjraieKamelFondasion;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EskeleteSakhtemanFBColumn {
                get {
                    return this.columnEskeleteSakhtemanFB;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EjraieSaghfColumn {
                get {
                    return this.columnEjraieSaghf;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DivarChiniVaCharchoobColumn {
                get {
                    return this.columnDivarChiniVaCharchoob;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SimanKariRooieVaPoshteBamColumn {
                get {
                    return this.columnSimanKariRooieVaPoshteBam;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn AieghKariVaIsogamColumn {
                get {
                    return this.columnAieghKariVaIsogam;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EjraieNemaieMojtamaColumn {
                get {
                    return this.columnEjraieNemaieMojtama;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn LoolehKeshieAbVaFazelabColumn {
                get {
                    return this.columnLoolehKeshieAbVaFazelab;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn LoleKeshiBarghColumn {
                get {
                    return this.columnLoleKeshiBargh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn GachVaSefidKariColumn {
                get {
                    return this.columnGachVaSefidKari;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SarmaieshVaGarmaieshColumn {
                get {
                    return this.columnSarmaieshVaGarmaiesh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KafSazieVahedhaColumn {
                get {
                    return this.columnKafSazieVahedha;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KashiAshpazKhanehColumn {
                get {
                    return this.columnKashiAshpazKhaneh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PanjarehDoJedarehColumn {
                get {
                    return this.columnPanjarehDoJedareh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SakhtVaNasbeKomodColumn {
                get {
                    return this.columnSakhtVaNasbeKomod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SakhteDarHaieDakheliColumn {
                get {
                    return this.columnSakhteDarHaieDakheli;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SakhteDareVorodieVahedColumn {
                get {
                    return this.columnSakhteDareVorodieVahed;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SakhtVaNAsbeNArdeHaColumn {
                get {
                    return this.columnSakhtVaNAsbeNArdeHa;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NasbeKelidPerizVaAntenColumn {
                get {
                    return this.columnNasbeKelidPerizVaAnten;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SangePellehVaRahpellehColumn {
                get {
                    return this.columnSangePellehVaRahpelleh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ShoominehColumn {
                get {
                    return this.columnShoomineh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn AsansoorColumn {
                get {
                    return this.columnAsansoor;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TahviehMatbooColumn {
                get {
                    return this.columnTahviehMatboo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NasbeTasisateMotorKhanehColumn {
                get {
                    return this.columnNasbeTasisateMotorKhaneh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NasbeTasisateEstakhrColumn {
                get {
                    return this.columnNasbeTasisateEstakhr;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KashiKarieEstakhrColumn {
                get {
                    return this.columnKashiKarieEstakhr;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KabinetAshpazkhanehColumn {
                get {
                    return this.columnKabinetAshpazkhaneh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KharidVaNasbeDastgireColumn {
                get {
                    return this.columnKharidVaNasbeDastgire;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KharidLavazemeBehdashtiColumn {
                get {
                    return this.columnKharidLavazemeBehdashti;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MohavvateSaziColumn {
                get {
                    return this.columnMohavvateSazi;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn HazinehieBalaSariColumn {
                get {
                    return this.columnHazinehieBalaSari;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EnsheabeAbFazelabColumn {
                get {
                    return this.columnEnsheabeAbFazelab;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EnsheabeBarghColumn {
                get {
                    return this.columnEnsheabeBargh;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EnsheabeGazColumn {
                get {
                    return this.columnEnsheabeGaz;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PaianKarvaAvarezColumn {
                get {
                    return this.columnPaianKarvaAvarez;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn HazineieEdareSabtColumn {
                get {
                    return this.columnHazineieEdareSabt;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelksRow this[int index] {
                get {
                    return ((tblMelksRow)(this.Rows[index]));
                }
            }
            
            public event tblMelksRowChangeEventHandler tblMelksRowChanging;
            
            public event tblMelksRowChangeEventHandler tblMelksRowChanged;
            
            public event tblMelksRowChangeEventHandler tblMelksRowDeleting;
            
            public event tblMelksRowChangeEventHandler tblMelksRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddtblMelksRow(tblMelksRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelksRow AddtblMelksRow(
                        double TotalPrice, 
                        tblMelkDetailsPricesRow parenttblMelkDetailsPricesRowByFK_tblMelks_tblMelkDetailsPrices, 
                        string MelkDescription, 
                        double JAvazeSHahrdari, 
                        double NaghsheEjraiiMohandesineNAzer, 
                        double GodBardariVaKhakbardari, 
                        double EjraieKamelFondasion, 
                        double EskeleteSakhtemanFB, 
                        double EjraieSaghf, 
                        double DivarChiniVaCharchoob, 
                        double SimanKariRooieVaPoshteBam, 
                        double AieghKariVaIsogam, 
                        double EjraieNemaieMojtama, 
                        double LoolehKeshieAbVaFazelab, 
                        double LoleKeshiBargh, 
                        double GachVaSefidKari, 
                        double SarmaieshVaGarmaiesh, 
                        double KafSazieVahedha, 
                        double KashiAshpazKhaneh, 
                        double PanjarehDoJedareh, 
                        double SakhtVaNasbeKomod, 
                        double SakhteDarHaieDakheli, 
                        double SakhteDareVorodieVahed, 
                        double SakhtVaNAsbeNArdeHa, 
                        double NasbeKelidPerizVaAnten, 
                        double SangePellehVaRahpelleh, 
                        double Shoomineh, 
                        double Asansoor, 
                        double TahviehMatboo, 
                        double NasbeTasisateMotorKhaneh, 
                        double NasbeTasisateEstakhr, 
                        double KashiKarieEstakhr, 
                        double KabinetAshpazkhaneh, 
                        double KharidVaNasbeDastgire, 
                        double KharidLavazemeBehdashti, 
                        double MohavvateSazi, 
                        double HazinehieBalaSari, 
                        double EnsheabeAbFazelab, 
                        double EnsheabeBargh, 
                        double EnsheabeGaz, 
                        double PaianKarvaAvarez, 
                        double HazineieEdareSabt) {
                tblMelksRow rowtblMelksRow = ((tblMelksRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        TotalPrice,
                        null,
                        MelkDescription,
                        JAvazeSHahrdari,
                        NaghsheEjraiiMohandesineNAzer,
                        GodBardariVaKhakbardari,
                        EjraieKamelFondasion,
                        EskeleteSakhtemanFB,
                        EjraieSaghf,
                        DivarChiniVaCharchoob,
                        SimanKariRooieVaPoshteBam,
                        AieghKariVaIsogam,
                        EjraieNemaieMojtama,
                        LoolehKeshieAbVaFazelab,
                        LoleKeshiBargh,
                        GachVaSefidKari,
                        SarmaieshVaGarmaiesh,
                        KafSazieVahedha,
                        KashiAshpazKhaneh,
                        PanjarehDoJedareh,
                        SakhtVaNasbeKomod,
                        SakhteDarHaieDakheli,
                        SakhteDareVorodieVahed,
                        SakhtVaNAsbeNArdeHa,
                        NasbeKelidPerizVaAnten,
                        SangePellehVaRahpelleh,
                        Shoomineh,
                        Asansoor,
                        TahviehMatboo,
                        NasbeTasisateMotorKhaneh,
                        NasbeTasisateEstakhr,
                        KashiKarieEstakhr,
                        KabinetAshpazkhaneh,
                        KharidVaNasbeDastgire,
                        KharidLavazemeBehdashti,
                        MohavvateSazi,
                        HazinehieBalaSari,
                        EnsheabeAbFazelab,
                        EnsheabeBargh,
                        EnsheabeGaz,
                        PaianKarvaAvarez,
                        HazineieEdareSabt};
                if ((parenttblMelkDetailsPricesRowByFK_tblMelks_tblMelkDetailsPrices != null)) {
                    columnValuesArray[2] = parenttblMelkDetailsPricesRowByFK_tblMelks_tblMelkDetailsPrices[0];
                }
                rowtblMelksRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowtblMelksRow);
                return rowtblMelksRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelksRow FindByMelkID(long MelkID) {
                return ((tblMelksRow)(this.Rows.Find(new object[] {
                            MelkID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                tblMelksDataTable cln = ((tblMelksDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new tblMelksDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnMelkID = base.Columns["MelkID"];
                this.columnTotalPrice = base.Columns["TotalPrice"];
                this.columnMelkDetailsPricesID = base.Columns["MelkDetailsPricesID"];
                this.columnMelkDescription = base.Columns["MelkDescription"];
                this.columnJAvazeSHahrdari = base.Columns["JAvazeSHahrdari"];
                this.columnNaghsheEjraiiMohandesineNAzer = base.Columns["NaghsheEjraiiMohandesineNAzer"];
                this.columnGodBardariVaKhakbardari = base.Columns["GodBardariVaKhakbardari"];
                this.columnEjraieKamelFondasion = base.Columns["EjraieKamelFondasion"];
                this.columnEskeleteSakhtemanFB = base.Columns["EskeleteSakhtemanFB"];
                this.columnEjraieSaghf = base.Columns["EjraieSaghf"];
                this.columnDivarChiniVaCharchoob = base.Columns["DivarChiniVaCharchoob"];
                this.columnSimanKariRooieVaPoshteBam = base.Columns["SimanKariRooieVaPoshteBam"];
                this.columnAieghKariVaIsogam = base.Columns["AieghKariVaIsogam"];
                this.columnEjraieNemaieMojtama = base.Columns["EjraieNemaieMojtama"];
                this.columnLoolehKeshieAbVaFazelab = base.Columns["LoolehKeshieAbVaFazelab"];
                this.columnLoleKeshiBargh = base.Columns["LoleKeshiBargh"];
                this.columnGachVaSefidKari = base.Columns["GachVaSefidKari"];
                this.columnSarmaieshVaGarmaiesh = base.Columns["SarmaieshVaGarmaiesh"];
                this.columnKafSazieVahedha = base.Columns["KafSazieVahedha"];
                this.columnKashiAshpazKhaneh = base.Columns["KashiAshpazKhaneh"];
                this.columnPanjarehDoJedareh = base.Columns["PanjarehDoJedareh"];
                this.columnSakhtVaNasbeKomod = base.Columns["SakhtVaNasbeKomod"];
                this.columnSakhteDarHaieDakheli = base.Columns["SakhteDarHaieDakheli"];
                this.columnSakhteDareVorodieVahed = base.Columns["SakhteDareVorodieVahed"];
                this.columnSakhtVaNAsbeNArdeHa = base.Columns["SakhtVaNAsbeNArdeHa"];
                this.columnNasbeKelidPerizVaAnten = base.Columns["NasbeKelidPerizVaAnten"];
                this.columnSangePellehVaRahpelleh = base.Columns["SangePellehVaRahpelleh"];
                this.columnShoomineh = base.Columns["Shoomineh"];
                this.columnAsansoor = base.Columns["Asansoor"];
                this.columnTahviehMatboo = base.Columns["TahviehMatboo"];
                this.columnNasbeTasisateMotorKhaneh = base.Columns["NasbeTasisateMotorKhaneh"];
                this.columnNasbeTasisateEstakhr = base.Columns["NasbeTasisateEstakhr"];
                this.columnKashiKarieEstakhr = base.Columns["KashiKarieEstakhr"];
                this.columnKabinetAshpazkhaneh = base.Columns["KabinetAshpazkhaneh"];
                this.columnKharidVaNasbeDastgire = base.Columns["KharidVaNasbeDastgire"];
                this.columnKharidLavazemeBehdashti = base.Columns["KharidLavazemeBehdashti"];
                this.columnMohavvateSazi = base.Columns["MohavvateSazi"];
                this.columnHazinehieBalaSari = base.Columns["HazinehieBalaSari"];
                this.columnEnsheabeAbFazelab = base.Columns["EnsheabeAbFazelab"];
                this.columnEnsheabeBargh = base.Columns["EnsheabeBargh"];
                this.columnEnsheabeGaz = base.Columns["EnsheabeGaz"];
                this.columnPaianKarvaAvarez = base.Columns["PaianKarvaAvarez"];
                this.columnHazineieEdareSabt = base.Columns["HazineieEdareSabt"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnMelkID = new global::System.Data.DataColumn("MelkID", typeof(long), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMelkID);
                this.columnTotalPrice = new global::System.Data.DataColumn("TotalPrice", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTotalPrice);
                this.columnMelkDetailsPricesID = new global::System.Data.DataColumn("MelkDetailsPricesID", typeof(long), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMelkDetailsPricesID);
                this.columnMelkDescription = new global::System.Data.DataColumn("MelkDescription", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMelkDescription);
                this.columnJAvazeSHahrdari = new global::System.Data.DataColumn("JAvazeSHahrdari", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnJAvazeSHahrdari);
                this.columnNaghsheEjraiiMohandesineNAzer = new global::System.Data.DataColumn("NaghsheEjraiiMohandesineNAzer", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNaghsheEjraiiMohandesineNAzer);
                this.columnGodBardariVaKhakbardari = new global::System.Data.DataColumn("GodBardariVaKhakbardari", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnGodBardariVaKhakbardari);
                this.columnEjraieKamelFondasion = new global::System.Data.DataColumn("EjraieKamelFondasion", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEjraieKamelFondasion);
                this.columnEskeleteSakhtemanFB = new global::System.Data.DataColumn("EskeleteSakhtemanFB", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEskeleteSakhtemanFB);
                this.columnEjraieSaghf = new global::System.Data.DataColumn("EjraieSaghf", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEjraieSaghf);
                this.columnDivarChiniVaCharchoob = new global::System.Data.DataColumn("DivarChiniVaCharchoob", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDivarChiniVaCharchoob);
                this.columnSimanKariRooieVaPoshteBam = new global::System.Data.DataColumn("SimanKariRooieVaPoshteBam", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSimanKariRooieVaPoshteBam);
                this.columnAieghKariVaIsogam = new global::System.Data.DataColumn("AieghKariVaIsogam", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAieghKariVaIsogam);
                this.columnEjraieNemaieMojtama = new global::System.Data.DataColumn("EjraieNemaieMojtama", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEjraieNemaieMojtama);
                this.columnLoolehKeshieAbVaFazelab = new global::System.Data.DataColumn("LoolehKeshieAbVaFazelab", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnLoolehKeshieAbVaFazelab);
                this.columnLoleKeshiBargh = new global::System.Data.DataColumn("LoleKeshiBargh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnLoleKeshiBargh);
                this.columnGachVaSefidKari = new global::System.Data.DataColumn("GachVaSefidKari", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnGachVaSefidKari);
                this.columnSarmaieshVaGarmaiesh = new global::System.Data.DataColumn("SarmaieshVaGarmaiesh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSarmaieshVaGarmaiesh);
                this.columnKafSazieVahedha = new global::System.Data.DataColumn("KafSazieVahedha", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKafSazieVahedha);
                this.columnKashiAshpazKhaneh = new global::System.Data.DataColumn("KashiAshpazKhaneh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKashiAshpazKhaneh);
                this.columnPanjarehDoJedareh = new global::System.Data.DataColumn("PanjarehDoJedareh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPanjarehDoJedareh);
                this.columnSakhtVaNasbeKomod = new global::System.Data.DataColumn("SakhtVaNasbeKomod", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSakhtVaNasbeKomod);
                this.columnSakhteDarHaieDakheli = new global::System.Data.DataColumn("SakhteDarHaieDakheli", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSakhteDarHaieDakheli);
                this.columnSakhteDareVorodieVahed = new global::System.Data.DataColumn("SakhteDareVorodieVahed", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSakhteDareVorodieVahed);
                this.columnSakhtVaNAsbeNArdeHa = new global::System.Data.DataColumn("SakhtVaNAsbeNArdeHa", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSakhtVaNAsbeNArdeHa);
                this.columnNasbeKelidPerizVaAnten = new global::System.Data.DataColumn("NasbeKelidPerizVaAnten", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNasbeKelidPerizVaAnten);
                this.columnSangePellehVaRahpelleh = new global::System.Data.DataColumn("SangePellehVaRahpelleh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSangePellehVaRahpelleh);
                this.columnShoomineh = new global::System.Data.DataColumn("Shoomineh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnShoomineh);
                this.columnAsansoor = new global::System.Data.DataColumn("Asansoor", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAsansoor);
                this.columnTahviehMatboo = new global::System.Data.DataColumn("TahviehMatboo", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTahviehMatboo);
                this.columnNasbeTasisateMotorKhaneh = new global::System.Data.DataColumn("NasbeTasisateMotorKhaneh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNasbeTasisateMotorKhaneh);
                this.columnNasbeTasisateEstakhr = new global::System.Data.DataColumn("NasbeTasisateEstakhr", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNasbeTasisateEstakhr);
                this.columnKashiKarieEstakhr = new global::System.Data.DataColumn("KashiKarieEstakhr", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKashiKarieEstakhr);
                this.columnKabinetAshpazkhaneh = new global::System.Data.DataColumn("KabinetAshpazkhaneh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKabinetAshpazkhaneh);
                this.columnKharidVaNasbeDastgire = new global::System.Data.DataColumn("KharidVaNasbeDastgire", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKharidVaNasbeDastgire);
                this.columnKharidLavazemeBehdashti = new global::System.Data.DataColumn("KharidLavazemeBehdashti", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKharidLavazemeBehdashti);
                this.columnMohavvateSazi = new global::System.Data.DataColumn("MohavvateSazi", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMohavvateSazi);
                this.columnHazinehieBalaSari = new global::System.Data.DataColumn("HazinehieBalaSari", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnHazinehieBalaSari);
                this.columnEnsheabeAbFazelab = new global::System.Data.DataColumn("EnsheabeAbFazelab", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEnsheabeAbFazelab);
                this.columnEnsheabeBargh = new global::System.Data.DataColumn("EnsheabeBargh", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEnsheabeBargh);
                this.columnEnsheabeGaz = new global::System.Data.DataColumn("EnsheabeGaz", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEnsheabeGaz);
                this.columnPaianKarvaAvarez = new global::System.Data.DataColumn("PaianKarvaAvarez", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPaianKarvaAvarez);
                this.columnHazineieEdareSabt = new global::System.Data.DataColumn("HazineieEdareSabt", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnHazineieEdareSabt);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnMelkID}, true));
                this.columnMelkID.AutoIncrement = true;
                this.columnMelkID.AutoIncrementSeed = -1;
                this.columnMelkID.AutoIncrementStep = -1;
                this.columnMelkID.AllowDBNull = false;
                this.columnMelkID.ReadOnly = true;
                this.columnMelkID.Unique = true;
                this.columnTotalPrice.AllowDBNull = false;
                this.columnMelkDetailsPricesID.AllowDBNull = false;
                this.columnMelkDescription.AllowDBNull = false;
                this.columnMelkDescription.MaxLength = 250;
                this.columnJAvazeSHahrdari.AllowDBNull = false;
                this.columnNaghsheEjraiiMohandesineNAzer.AllowDBNull = false;
                this.columnGodBardariVaKhakbardari.AllowDBNull = false;
                this.columnEjraieKamelFondasion.AllowDBNull = false;
                this.columnEskeleteSakhtemanFB.AllowDBNull = false;
                this.columnEjraieSaghf.AllowDBNull = false;
                this.columnDivarChiniVaCharchoob.AllowDBNull = false;
                this.columnSimanKariRooieVaPoshteBam.AllowDBNull = false;
                this.columnAieghKariVaIsogam.AllowDBNull = false;
                this.columnEjraieNemaieMojtama.AllowDBNull = false;
                this.columnLoolehKeshieAbVaFazelab.AllowDBNull = false;
                this.columnLoleKeshiBargh.AllowDBNull = false;
                this.columnGachVaSefidKari.AllowDBNull = false;
                this.columnSarmaieshVaGarmaiesh.AllowDBNull = false;
                this.columnKafSazieVahedha.AllowDBNull = false;
                this.columnKashiAshpazKhaneh.AllowDBNull = false;
                this.columnPanjarehDoJedareh.AllowDBNull = false;
                this.columnSakhtVaNasbeKomod.AllowDBNull = false;
                this.columnSakhteDarHaieDakheli.AllowDBNull = false;
                this.columnSakhteDareVorodieVahed.AllowDBNull = false;
                this.columnSakhtVaNAsbeNArdeHa.AllowDBNull = false;
                this.columnNasbeKelidPerizVaAnten.AllowDBNull = false;
                this.columnSangePellehVaRahpelleh.AllowDBNull = false;
                this.columnShoomineh.AllowDBNull = false;
                this.columnAsansoor.AllowDBNull = false;
                this.columnTahviehMatboo.AllowDBNull = false;
                this.columnNasbeTasisateMotorKhaneh.AllowDBNull = false;
                this.columnNasbeTasisateEstakhr.AllowDBNull = false;
                this.columnKashiKarieEstakhr.AllowDBNull = false;
                this.columnKabinetAshpazkhaneh.AllowDBNull = false;
                this.columnKharidVaNasbeDastgire.AllowDBNull = false;
                this.columnKharidLavazemeBehdashti.AllowDBNull = false;
                this.columnMohavvateSazi.AllowDBNull = false;
                this.columnHazinehieBalaSari.AllowDBNull = false;
                this.columnEnsheabeAbFazelab.AllowDBNull = false;
                this.columnEnsheabeBargh.AllowDBNull = false;
                this.columnEnsheabeGaz.AllowDBNull = false;
                this.columnPaianKarvaAvarez.AllowDBNull = false;
                this.columnHazineieEdareSabt.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelksRow NewtblMelksRow() {
                return ((tblMelksRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new tblMelksRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(tblMelksRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.tblMelksRowChanged != null)) {
                    this.tblMelksRowChanged(this, new tblMelksRowChangeEvent(((tblMelksRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.tblMelksRowChanging != null)) {
                    this.tblMelksRowChanging(this, new tblMelksRowChangeEvent(((tblMelksRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.tblMelksRowDeleted != null)) {
                    this.tblMelksRowDeleted(this, new tblMelksRowChangeEvent(((tblMelksRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.tblMelksRowDeleting != null)) {
                    this.tblMelksRowDeleting(this, new tblMelksRowChangeEvent(((tblMelksRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovetblMelksRow(tblMelksRow 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();
                dtsArzeshGozari ds = new dtsArzeshGozari();
                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 = "tblMelksDataTable";
                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 tblUsersRow : global::System.Data.DataRow {
            
            private tblUsersDataTable tabletblUsers;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal tblUsersRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tabletblUsers = ((tblUsersDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int UserID {
                get {
                    return ((int)(this[this.tabletblUsers.UserIDColumn]));
                }
                set {
                    this[this.tabletblUsers.UserIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string UserName {
                get {
                    return ((string)(this[this.tabletblUsers.UserNameColumn]));
                }
                set {
                    this[this.tabletblUsers.UserNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string UserPassword {
                get {
                    return ((string)(this[this.tabletblUsers.UserPasswordColumn]));
                }
                set {
                    this[this.tabletblUsers.UserPasswordColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int UserTypeID {
                get {
                    return ((int)(this[this.tabletblUsers.UserTypeIDColumn]));
                }
                set {
                    this[this.tabletblUsers.UserTypeIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NameOfUser {
                get {
                    return ((string)(this[this.tabletblUsers.NameOfUserColumn]));
                }
                set {
                    this[this.tabletblUsers.NameOfUserColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string UserSname {
                get {
                    return ((string)(this[this.tabletblUsers.UserSnameColumn]));
                }
                set {
                    this[this.tabletblUsers.UserSnameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string PersonnelliCode {
                get {
                    return ((string)(this[this.tabletblUsers.PersonnelliCodeColumn]));
                }
                set {
                    this[this.tabletblUsers.PersonnelliCodeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string MelliCode {
                get {
                    return ((string)(this[this.tabletblUsers.MelliCodeColumn]));
                }
                set {
                    this[this.tabletblUsers.MelliCodeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DateOfRegister {
                get {
                    return ((global::System.DateTime)(this[this.tabletblUsers.DateOfRegisterColumn]));
                }
                set {
                    this[this.tabletblUsers.DateOfRegisterColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DateOfStaffing {
                get {
                    return ((global::System.DateTime)(this[this.tabletblUsers.DateOfStaffingColumn]));
                }
                set {
                    this[this.tabletblUsers.DateOfStaffingColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool UserBanBit {
                get {
                    try {
                        return ((bool)(this[this.tabletblUsers.UserBanBitColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'UserBanBit\' in table \'tblUsers\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tabletblUsers.UserBanBitColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte[] UserPic {
                get {
                    try {
                        return ((byte[])(this[this.tabletblUsers.UserPicColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'UserPic\' in table \'tblUsers\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tabletblUsers.UserPicColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUserTypesRow tblUserTypesRow {
                get {
                    return ((tblUserTypesRow)(this.GetParentRow(this.Table.ParentRelations["FK_tblUsers_tblUserTypes"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["FK_tblUsers_tblUserTypes"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsUserBanBitNull() {
                return this.IsNull(this.tabletblUsers.UserBanBitColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetUserBanBitNull() {
                this[this.tabletblUsers.UserBanBitColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsUserPicNull() {
                return this.IsNull(this.tabletblUsers.UserPicColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetUserPicNull() {
                this[this.tabletblUsers.UserPicColumn] = 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 tblLogsRow : global::System.Data.DataRow {
            
            private tblLogsDataTable tabletblLogs;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal tblLogsRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tabletblLogs = ((tblLogsDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal LogNumberID {
                get {
                    return ((decimal)(this[this.tabletblLogs.LogNumberIDColumn]));
                }
                set {
                    this[this.tabletblLogs.LogNumberIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string PersonnelliCode {
                get {
                    return ((string)(this[this.tabletblLogs.PersonnelliCodeColumn]));
                }
                set {
                    this[this.tabletblLogs.PersonnelliCodeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime LogDateTime {
                get {
                    return ((global::System.DateTime)(this[this.tabletblLogs.LogDateTimeColumn]));
                }
                set {
                    this[this.tabletblLogs.LogDateTimeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string LogDescription {
                get {
                    return ((string)(this[this.tabletblLogs.LogDescriptionColumn]));
                }
                set {
                    this[this.tabletblLogs.LogDescriptionColumn] = value;
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class tblUserTypesRow : global::System.Data.DataRow {
            
            private tblUserTypesDataTable tabletblUserTypes;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal tblUserTypesRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tabletblUserTypes = ((tblUserTypesDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int UserTypesID {
                get {
                    return ((int)(this[this.tabletblUserTypes.UserTypesIDColumn]));
                }
                set {
                    this[this.tabletblUserTypes.UserTypesIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string UserTypeDescription {
                get {
                    return ((string)(this[this.tabletblUserTypes.UserTypeDescriptionColumn]));
                }
                set {
                    this[this.tabletblUserTypes.UserTypeDescriptionColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUsersRow[] GettblUsersRows() {
                if ((this.Table.ChildRelations["FK_tblUsers_tblUserTypes"] == null)) {
                    return new tblUsersRow[0];
                }
                else {
                    return ((tblUsersRow[])(base.GetChildRows(this.Table.ChildRelations["FK_tblUsers_tblUserTypes"])));
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class tblMelkDetailsPricesRow : global::System.Data.DataRow {
            
            private tblMelkDetailsPricesDataTable tabletblMelkDetailsPrices;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal tblMelkDetailsPricesRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tabletblMelkDetailsPrices = ((tblMelkDetailsPricesDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public long tblMelkDetailsPricesID {
                get {
                    return ((long)(this[this.tabletblMelkDetailsPrices.tblMelkDetailsPricesIDColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.tblMelkDetailsPricesIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string MelkTypeDescription {
                get {
                    return ((string)(this[this.tabletblMelkDetailsPrices.MelkTypeDescriptionColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.MelkTypeDescriptionColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double JAvazeSHahrdari {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.JAvazeSHahrdariColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.JAvazeSHahrdariColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double NaghsheEjraiiMohandesineNAzer {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.NaghsheEjraiiMohandesineNAzerColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.NaghsheEjraiiMohandesineNAzerColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double GodBardariVaKhakbardari {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.GodBardariVaKhakbardariColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.GodBardariVaKhakbardariColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double EjraieKamelFondasion {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.EjraieKamelFondasionColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.EjraieKamelFondasionColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double EskeleteSakhtemanFB {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.EskeleteSakhtemanFBColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.EskeleteSakhtemanFBColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double EjraieSaghf {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.EjraieSaghfColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.EjraieSaghfColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double DivarChiniVaCharchoob {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.DivarChiniVaCharchoobColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.DivarChiniVaCharchoobColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SimanKariRooieVaPoshteBam {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.SimanKariRooieVaPoshteBamColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.SimanKariRooieVaPoshteBamColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double AieghKariVaIsogam {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.AieghKariVaIsogamColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.AieghKariVaIsogamColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double EjraieNemaieMojtama {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.EjraieNemaieMojtamaColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.EjraieNemaieMojtamaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double LoolehKeshieAbVaFazelab {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.LoolehKeshieAbVaFazelabColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.LoolehKeshieAbVaFazelabColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double LoleKeshiBargh {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.LoleKeshiBarghColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.LoleKeshiBarghColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double GachVaSefidKari {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.GachVaSefidKariColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.GachVaSefidKariColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SarmaieshVaGarmaiesh {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.SarmaieshVaGarmaieshColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.SarmaieshVaGarmaieshColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double KafSazieVahedha {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.KafSazieVahedhaColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.KafSazieVahedhaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double KashiAshpazKhaneh {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.KashiAshpazKhanehColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.KashiAshpazKhanehColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double PanjarehDoJedareh {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.PanjarehDoJedarehColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.PanjarehDoJedarehColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SakhtVaNasbeKomod {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.SakhtVaNasbeKomodColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.SakhtVaNasbeKomodColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SakhteDarHaieDakheli {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.SakhteDarHaieDakheliColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.SakhteDarHaieDakheliColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SakhteDareVorodieVahed {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.SakhteDareVorodieVahedColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.SakhteDareVorodieVahedColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SakhtVaNAsbeNArdeHa {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.SakhtVaNAsbeNArdeHaColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.SakhtVaNAsbeNArdeHaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double NasbeKelidPerizVaAnten {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.NasbeKelidPerizVaAntenColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.NasbeKelidPerizVaAntenColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SangePellehVaRahpelleh {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.SangePellehVaRahpellehColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.SangePellehVaRahpellehColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double Shoomineh {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.ShoominehColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.ShoominehColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double Asansoor {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.AsansoorColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.AsansoorColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double TahviehMatboo {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.TahviehMatbooColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.TahviehMatbooColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double NasbeTasisateMotorKhaneh {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.NasbeTasisateMotorKhanehColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.NasbeTasisateMotorKhanehColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double NasbeTasisateEstakhr {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.NasbeTasisateEstakhrColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.NasbeTasisateEstakhrColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double KashiKarieEstakhr {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.KashiKarieEstakhrColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.KashiKarieEstakhrColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double KabinetAshpazkhaneh {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.KabinetAshpazkhanehColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.KabinetAshpazkhanehColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double KharidVaNasbeDastgire {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.KharidVaNasbeDastgireColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.KharidVaNasbeDastgireColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double KharidLavazemeBehdashti {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.KharidLavazemeBehdashtiColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.KharidLavazemeBehdashtiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double MohavvateSazi {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.MohavvateSaziColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.MohavvateSaziColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double HazinehieBalaSari {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.HazinehieBalaSariColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.HazinehieBalaSariColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double EnsheabeAbFazelab {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.EnsheabeAbFazelabColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.EnsheabeAbFazelabColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double EnsheabeBargh {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.EnsheabeBarghColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.EnsheabeBarghColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double EnsheabeGaz {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.EnsheabeGazColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.EnsheabeGazColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double PaianKarvaAvarez {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.PaianKarvaAvarezColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.PaianKarvaAvarezColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double HazineieEdareSabt {
                get {
                    return ((double)(this[this.tabletblMelkDetailsPrices.HazineieEdareSabtColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices.HazineieEdareSabtColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelksRow[] GettblMelksRows() {
                if ((this.Table.ChildRelations["FK_tblMelks_tblMelkDetailsPrices"] == null)) {
                    return new tblMelksRow[0];
                }
                else {
                    return ((tblMelksRow[])(base.GetChildRows(this.Table.ChildRelations["FK_tblMelks_tblMelkDetailsPrices"])));
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class tblMelkDetailsPrices1Row : global::System.Data.DataRow {
            
            private tblMelkDetailsPrices1DataTable tabletblMelkDetailsPrices1;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal tblMelkDetailsPrices1Row(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tabletblMelkDetailsPrices1 = ((tblMelkDetailsPrices1DataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public long tblMelkDetailsPricesID {
                get {
                    return ((long)(this[this.tabletblMelkDetailsPrices1.tblMelkDetailsPricesIDColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices1.tblMelkDetailsPricesIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string MelkTypeDescription {
                get {
                    return ((string)(this[this.tabletblMelkDetailsPrices1.MelkTypeDescriptionColumn]));
                }
                set {
                    this[this.tabletblMelkDetailsPrices1.MelkTypeDescriptionColumn] = value;
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class tblMelksRow : global::System.Data.DataRow {
            
            private tblMelksDataTable tabletblMelks;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal tblMelksRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tabletblMelks = ((tblMelksDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public long MelkID {
                get {
                    return ((long)(this[this.tabletblMelks.MelkIDColumn]));
                }
                set {
                    this[this.tabletblMelks.MelkIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double TotalPrice {
                get {
                    return ((double)(this[this.tabletblMelks.TotalPriceColumn]));
                }
                set {
                    this[this.tabletblMelks.TotalPriceColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public long MelkDetailsPricesID {
                get {
                    return ((long)(this[this.tabletblMelks.MelkDetailsPricesIDColumn]));
                }
                set {
                    this[this.tabletblMelks.MelkDetailsPricesIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string MelkDescription {
                get {
                    return ((string)(this[this.tabletblMelks.MelkDescriptionColumn]));
                }
                set {
                    this[this.tabletblMelks.MelkDescriptionColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double JAvazeSHahrdari {
                get {
                    return ((double)(this[this.tabletblMelks.JAvazeSHahrdariColumn]));
                }
                set {
                    this[this.tabletblMelks.JAvazeSHahrdariColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double NaghsheEjraiiMohandesineNAzer {
                get {
                    return ((double)(this[this.tabletblMelks.NaghsheEjraiiMohandesineNAzerColumn]));
                }
                set {
                    this[this.tabletblMelks.NaghsheEjraiiMohandesineNAzerColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double GodBardariVaKhakbardari {
                get {
                    return ((double)(this[this.tabletblMelks.GodBardariVaKhakbardariColumn]));
                }
                set {
                    this[this.tabletblMelks.GodBardariVaKhakbardariColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double EjraieKamelFondasion {
                get {
                    return ((double)(this[this.tabletblMelks.EjraieKamelFondasionColumn]));
                }
                set {
                    this[this.tabletblMelks.EjraieKamelFondasionColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double EskeleteSakhtemanFB {
                get {
                    return ((double)(this[this.tabletblMelks.EskeleteSakhtemanFBColumn]));
                }
                set {
                    this[this.tabletblMelks.EskeleteSakhtemanFBColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double EjraieSaghf {
                get {
                    return ((double)(this[this.tabletblMelks.EjraieSaghfColumn]));
                }
                set {
                    this[this.tabletblMelks.EjraieSaghfColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double DivarChiniVaCharchoob {
                get {
                    return ((double)(this[this.tabletblMelks.DivarChiniVaCharchoobColumn]));
                }
                set {
                    this[this.tabletblMelks.DivarChiniVaCharchoobColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SimanKariRooieVaPoshteBam {
                get {
                    return ((double)(this[this.tabletblMelks.SimanKariRooieVaPoshteBamColumn]));
                }
                set {
                    this[this.tabletblMelks.SimanKariRooieVaPoshteBamColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double AieghKariVaIsogam {
                get {
                    return ((double)(this[this.tabletblMelks.AieghKariVaIsogamColumn]));
                }
                set {
                    this[this.tabletblMelks.AieghKariVaIsogamColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double EjraieNemaieMojtama {
                get {
                    return ((double)(this[this.tabletblMelks.EjraieNemaieMojtamaColumn]));
                }
                set {
                    this[this.tabletblMelks.EjraieNemaieMojtamaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double LoolehKeshieAbVaFazelab {
                get {
                    return ((double)(this[this.tabletblMelks.LoolehKeshieAbVaFazelabColumn]));
                }
                set {
                    this[this.tabletblMelks.LoolehKeshieAbVaFazelabColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double LoleKeshiBargh {
                get {
                    return ((double)(this[this.tabletblMelks.LoleKeshiBarghColumn]));
                }
                set {
                    this[this.tabletblMelks.LoleKeshiBarghColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double GachVaSefidKari {
                get {
                    return ((double)(this[this.tabletblMelks.GachVaSefidKariColumn]));
                }
                set {
                    this[this.tabletblMelks.GachVaSefidKariColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SarmaieshVaGarmaiesh {
                get {
                    return ((double)(this[this.tabletblMelks.SarmaieshVaGarmaieshColumn]));
                }
                set {
                    this[this.tabletblMelks.SarmaieshVaGarmaieshColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double KafSazieVahedha {
                get {
                    return ((double)(this[this.tabletblMelks.KafSazieVahedhaColumn]));
                }
                set {
                    this[this.tabletblMelks.KafSazieVahedhaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double KashiAshpazKhaneh {
                get {
                    return ((double)(this[this.tabletblMelks.KashiAshpazKhanehColumn]));
                }
                set {
                    this[this.tabletblMelks.KashiAshpazKhanehColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double PanjarehDoJedareh {
                get {
                    return ((double)(this[this.tabletblMelks.PanjarehDoJedarehColumn]));
                }
                set {
                    this[this.tabletblMelks.PanjarehDoJedarehColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SakhtVaNasbeKomod {
                get {
                    return ((double)(this[this.tabletblMelks.SakhtVaNasbeKomodColumn]));
                }
                set {
                    this[this.tabletblMelks.SakhtVaNasbeKomodColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SakhteDarHaieDakheli {
                get {
                    return ((double)(this[this.tabletblMelks.SakhteDarHaieDakheliColumn]));
                }
                set {
                    this[this.tabletblMelks.SakhteDarHaieDakheliColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SakhteDareVorodieVahed {
                get {
                    return ((double)(this[this.tabletblMelks.SakhteDareVorodieVahedColumn]));
                }
                set {
                    this[this.tabletblMelks.SakhteDareVorodieVahedColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SakhtVaNAsbeNArdeHa {
                get {
                    return ((double)(this[this.tabletblMelks.SakhtVaNAsbeNArdeHaColumn]));
                }
                set {
                    this[this.tabletblMelks.SakhtVaNAsbeNArdeHaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double NasbeKelidPerizVaAnten {
                get {
                    return ((double)(this[this.tabletblMelks.NasbeKelidPerizVaAntenColumn]));
                }
                set {
                    this[this.tabletblMelks.NasbeKelidPerizVaAntenColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SangePellehVaRahpelleh {
                get {
                    return ((double)(this[this.tabletblMelks.SangePellehVaRahpellehColumn]));
                }
                set {
                    this[this.tabletblMelks.SangePellehVaRahpellehColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double Shoomineh {
                get {
                    return ((double)(this[this.tabletblMelks.ShoominehColumn]));
                }
                set {
                    this[this.tabletblMelks.ShoominehColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double Asansoor {
                get {
                    return ((double)(this[this.tabletblMelks.AsansoorColumn]));
                }
                set {
                    this[this.tabletblMelks.AsansoorColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double TahviehMatboo {
                get {
                    return ((double)(this[this.tabletblMelks.TahviehMatbooColumn]));
                }
                set {
                    this[this.tabletblMelks.TahviehMatbooColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double NasbeTasisateMotorKhaneh {
                get {
                    return ((double)(this[this.tabletblMelks.NasbeTasisateMotorKhanehColumn]));
                }
                set {
                    this[this.tabletblMelks.NasbeTasisateMotorKhanehColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double NasbeTasisateEstakhr {
                get {
                    return ((double)(this[this.tabletblMelks.NasbeTasisateEstakhrColumn]));
                }
                set {
                    this[this.tabletblMelks.NasbeTasisateEstakhrColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double KashiKarieEstakhr {
                get {
                    return ((double)(this[this.tabletblMelks.KashiKarieEstakhrColumn]));
                }
                set {
                    this[this.tabletblMelks.KashiKarieEstakhrColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double KabinetAshpazkhaneh {
                get {
                    return ((double)(this[this.tabletblMelks.KabinetAshpazkhanehColumn]));
                }
                set {
                    this[this.tabletblMelks.KabinetAshpazkhanehColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double KharidVaNasbeDastgire {
                get {
                    return ((double)(this[this.tabletblMelks.KharidVaNasbeDastgireColumn]));
                }
                set {
                    this[this.tabletblMelks.KharidVaNasbeDastgireColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double KharidLavazemeBehdashti {
                get {
                    return ((double)(this[this.tabletblMelks.KharidLavazemeBehdashtiColumn]));
                }
                set {
                    this[this.tabletblMelks.KharidLavazemeBehdashtiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double MohavvateSazi {
                get {
                    return ((double)(this[this.tabletblMelks.MohavvateSaziColumn]));
                }
                set {
                    this[this.tabletblMelks.MohavvateSaziColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double HazinehieBalaSari {
                get {
                    return ((double)(this[this.tabletblMelks.HazinehieBalaSariColumn]));
                }
                set {
                    this[this.tabletblMelks.HazinehieBalaSariColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double EnsheabeAbFazelab {
                get {
                    return ((double)(this[this.tabletblMelks.EnsheabeAbFazelabColumn]));
                }
                set {
                    this[this.tabletblMelks.EnsheabeAbFazelabColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double EnsheabeBargh {
                get {
                    return ((double)(this[this.tabletblMelks.EnsheabeBarghColumn]));
                }
                set {
                    this[this.tabletblMelks.EnsheabeBarghColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double EnsheabeGaz {
                get {
                    return ((double)(this[this.tabletblMelks.EnsheabeGazColumn]));
                }
                set {
                    this[this.tabletblMelks.EnsheabeGazColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double PaianKarvaAvarez {
                get {
                    return ((double)(this[this.tabletblMelks.PaianKarvaAvarezColumn]));
                }
                set {
                    this[this.tabletblMelks.PaianKarvaAvarezColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double HazineieEdareSabt {
                get {
                    return ((double)(this[this.tabletblMelks.HazineieEdareSabtColumn]));
                }
                set {
                    this[this.tabletblMelks.HazineieEdareSabtColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPricesRow tblMelkDetailsPricesRow {
                get {
                    return ((tblMelkDetailsPricesRow)(this.GetParentRow(this.Table.ParentRelations["FK_tblMelks_tblMelkDetailsPrices"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["FK_tblMelks_tblMelkDetailsPrices"]);
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class tblUsersRowChangeEvent : global::System.EventArgs {
            
            private tblUsersRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUsersRowChangeEvent(tblUsersRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUsersRow 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 tblLogsRowChangeEvent : global::System.EventArgs {
            
            private tblLogsRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblLogsRowChangeEvent(tblLogsRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblLogsRow 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 tblUserTypesRowChangeEvent : global::System.EventArgs {
            
            private tblUserTypesRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUserTypesRowChangeEvent(tblUserTypesRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblUserTypesRow 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 tblMelkDetailsPricesRowChangeEvent : global::System.EventArgs {
            
            private tblMelkDetailsPricesRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPricesRowChangeEvent(tblMelkDetailsPricesRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPricesRow 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 tblMelkDetailsPrices1RowChangeEvent : global::System.EventArgs {
            
            private tblMelkDetailsPrices1Row eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPrices1RowChangeEvent(tblMelkDetailsPrices1Row row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelkDetailsPrices1Row 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 tblMelksRowChangeEvent : global::System.EventArgs {
            
            private tblMelksRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelksRowChangeEvent(tblMelksRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tblMelksRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
    }
}
namespace Morakhassi.dtsArzeshGozariTableAdapters {
    
    
    /// <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 tblUsersTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public tblUsersTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "tblUsers";
            tableMapping.ColumnMappings.Add("UserID", "UserID");
            tableMapping.ColumnMappings.Add("UserName", "UserName");
            tableMapping.ColumnMappings.Add("UserPassword", "UserPassword");
            tableMapping.ColumnMappings.Add("UserTypeID", "UserTypeID");
            tableMapping.ColumnMappings.Add("NameOfUser", "NameOfUser");
            tableMapping.ColumnMappings.Add("UserSname", "UserSname");
            tableMapping.ColumnMappings.Add("PersonnelliCode", "PersonnelliCode");
            tableMapping.ColumnMappings.Add("MelliCode", "MelliCode");
            tableMapping.ColumnMappings.Add("DateOfRegister", "DateOfRegister");
            tableMapping.ColumnMappings.Add("DateOfStaffing", "DateOfStaffing");
            tableMapping.ColumnMappings.Add("UserBanBit", "UserBanBit");
            tableMapping.ColumnMappings.Add("UserPic", "UserPic");
            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 [tblUsers] WHERE (([UserID] = @Original_UserID) AND ([UserName] = @Original_UserName) AND ([UserPassword] = @Original_UserPassword) AND ([UserTypeID] = @Original_UserTypeID) AND ([NameOfUser] = @Original_NameOfUser) AND ([UserSname] = @Original_UserSname) AND ([PersonnelliCode] = @Original_PersonnelliCode) AND ([MelliCode] = @Original_MelliCode) AND ([DateOfRegister] = @Original_DateOfRegister) AND ([DateOfStaffing] = @Original_DateOfStaffing) AND ((@IsNull_UserBanBit = 1 AND [UserBanBit] IS NULL) OR ([UserBanBit] = @Original_UserBanBit)))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserPassword", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserPassword", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserTypeID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserTypeID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NameOfUser", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NameOfUser", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserSname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserSname", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PersonnelliCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PersonnelliCode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MelliCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelliCode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DateOfRegister", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DateOfRegister", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DateOfStaffing", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DateOfStaffing", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserBanBit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserBanBit", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserBanBit", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserBanBit", 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 [tblUsers] ([UserName], [UserPassword], [UserTypeID], [NameOfUser], [UserSname], [PersonnelliCode], [MelliCode], [DateOfRegister], [DateOfStaffing], [UserBanBit], [UserPic]) VALUES (@UserName, @UserPassword, @UserTypeID, @NameOfUser, @UserSname, @PersonnelliCode, @MelliCode, @DateOfRegister, @DateOfStaffing, @UserBanBit, @UserPic);
SELECT UserID, UserName, UserPassword, UserTypeID, NameOfUser, UserSname, PersonnelliCode, MelliCode, DateOfRegister, DateOfStaffing, UserBanBit, UserPic FROM tblUsers WHERE (UserID = SCOPE_IDENTITY()) ORDER BY UserID DESC";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserPassword", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserPassword", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserTypeID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserTypeID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NameOfUser", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NameOfUser", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserSname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserSname", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PersonnelliCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PersonnelliCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelliCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelliCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DateOfRegister", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DateOfRegister", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DateOfStaffing", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DateOfStaffing", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserBanBit", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserBanBit", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserPic", global::System.Data.SqlDbType.Image, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserPic", 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 [tblUsers] SET [UserName] = @UserName, [UserPassword] = @UserPassword, [UserTypeID] = @UserTypeID, [NameOfUser] = @NameOfUser, [UserSname] = @UserSname, [PersonnelliCode] = @PersonnelliCode, [MelliCode] = @MelliCode, [DateOfRegister] = @DateOfRegister, [DateOfStaffing] = @DateOfStaffing, [UserBanBit] = @UserBanBit, [UserPic] = @UserPic WHERE (([UserID] = @Original_UserID) AND ([UserName] = @Original_UserName) AND ([UserPassword] = @Original_UserPassword) AND ([UserTypeID] = @Original_UserTypeID) AND ([NameOfUser] = @Original_NameOfUser) AND ([UserSname] = @Original_UserSname) AND ([PersonnelliCode] = @Original_PersonnelliCode) AND ([MelliCode] = @Original_MelliCode) AND ([DateOfRegister] = @Original_DateOfRegister) AND ([DateOfStaffing] = @Original_DateOfStaffing) AND ((@IsNull_UserBanBit = 1 AND [UserBanBit] IS NULL) OR ([UserBanBit] = @Original_UserBanBit)));
SELECT UserID, UserName, UserPassword, UserTypeID, NameOfUser, UserSname, PersonnelliCode, MelliCode, DateOfRegister, DateOfStaffing, UserBanBit, UserPic FROM tblUsers WHERE (UserID = @UserID) ORDER BY UserID DESC";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserPassword", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserPassword", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserTypeID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserTypeID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NameOfUser", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NameOfUser", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserSname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserSname", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PersonnelliCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PersonnelliCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelliCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelliCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DateOfRegister", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DateOfRegister", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DateOfStaffing", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DateOfStaffing", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserBanBit", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserBanBit", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserPic", global::System.Data.SqlDbType.Image, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserPic", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserPassword", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserPassword", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserTypeID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserTypeID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NameOfUser", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NameOfUser", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserSname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserSname", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PersonnelliCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PersonnelliCode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MelliCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelliCode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DateOfRegister", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DateOfRegister", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DateOfStaffing", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DateOfStaffing", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UserBanBit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserBanBit", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserBanBit", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserBanBit", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "UserID", 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::Morakhassi.Properties.Settings.Default.ArzeshGozariConnectionString;
        }
        
        [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  UserID, UserName, UserPassword, UserTypeID, NameOfUser, UserSname, Person" +
                "nelliCode, MelliCode, DateOfRegister, DateOfStaffing, UserBanBit, UserPic\r\nFROM " +
                "    tblUsers\r\nORDER BY UserID DESC";
            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(dtsArzeshGozari.tblUsersDataTable 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 dtsArzeshGozari.tblUsersDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            dtsArzeshGozari.tblUsersDataTable dataTable = new dtsArzeshGozari.tblUsersDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(dtsArzeshGozari.tblUsersDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(dtsArzeshGozari dataSet) {
            return this.Adapter.Update(dataSet, "tblUsers");
        }
        
        [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_UserID, string Original_UserName, string Original_UserPassword, int Original_UserTypeID, string Original_NameOfUser, string Original_UserSname, string Original_PersonnelliCode, string Original_MelliCode, System.DateTime Original_DateOfRegister, System.DateTime Original_DateOfStaffing, global::System.Nullable<bool> Original_UserBanBit) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_UserID));
            if ((Original_UserName == null)) {
                throw new global::System.ArgumentNullException("Original_UserName");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_UserName));
            }
            if ((Original_UserPassword == null)) {
                throw new global::System.ArgumentNullException("Original_UserPassword");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_UserPassword));
            }
            this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_UserTypeID));
            if ((Original_NameOfUser == null)) {
                throw new global::System.ArgumentNullException("Original_NameOfUser");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_NameOfUser));
            }
            if ((Original_UserSname == null)) {
                throw new global::System.ArgumentNullException("Original_UserSname");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_UserSname));
            }
            if ((Original_PersonnelliCode == null)) {
                throw new global::System.ArgumentNullException("Original_PersonnelliCode");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_PersonnelliCode));
            }
            if ((Original_MelliCode == null)) {
                throw new global::System.ArgumentNullException("Original_MelliCode");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_MelliCode));
            }
            this.Adapter.DeleteCommand.Parameters[8].Value = ((System.DateTime)(Original_DateOfRegister));
            this.Adapter.DeleteCommand.Parameters[9].Value = ((System.DateTime)(Original_DateOfStaffing));
            if ((Original_UserBanBit.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[11].Value = ((bool)(Original_UserBanBit.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[11].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(string UserName, string UserPassword, int UserTypeID, string NameOfUser, string UserSname, string PersonnelliCode, string MelliCode, System.DateTime DateOfRegister, System.DateTime DateOfStaffing, global::System.Nullable<bool> UserBanBit, byte[] UserPic) {
            if ((UserName == null)) {
                throw new global::System.ArgumentNullException("UserName");
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = ((string)(UserName));
            }
            if ((UserPassword == null)) {
                throw new global::System.ArgumentNullException("UserPassword");
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = ((string)(UserPassword));
            }
            this.Adapter.InsertCommand.Parameters[2].Value = ((int)(UserTypeID));
            if ((NameOfUser == null)) {
                throw new global::System.ArgumentNullException("NameOfUser");
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = ((string)(NameOfUser));
            }
            if ((UserSname == null)) {
                throw new global::System.ArgumentNullException("UserSname");
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = ((string)(UserSname));
            }
            if ((PersonnelliCode == null)) {
                throw new global::System.ArgumentNullException("PersonnelliCode");
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = ((string)(PersonnelliCode));
            }
            if ((MelliCode == null)) {
                throw new global::System.ArgumentNullException("MelliCode");
            }
            else {
                this.Adapter.InsertCommand.Parameters[6].Value = ((string)(MelliCode));
            }
            this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(DateOfRegister));
            this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(DateOfStaffing));
            if ((UserBanBit.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[9].Value = ((bool)(UserBanBit.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            if ((UserPic == null)) {
                this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[10].Value = ((byte[])(UserPic));
            }
            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(
                    string UserName, 
                    string UserPassword, 
                    int UserTypeID, 
                    string NameOfUser, 
                    string UserSname, 
                    string PersonnelliCode, 
                    string MelliCode, 
                    System.DateTime DateOfRegister, 
                    System.DateTime DateOfStaffing, 
                    global::System.Nullable<bool> UserBanBit, 
                    byte[] UserPic, 
                    int Original_UserID, 
                    string Original_UserName, 
                    string Original_UserPassword, 
                    int Original_UserTypeID, 
                    string Original_NameOfUser, 
                    string Original_UserSname, 
                    string Original_PersonnelliCode, 
                    string Original_MelliCode, 
                    System.DateTime Original_DateOfRegister, 
                    System.DateTime Original_DateOfStaffing, 
                    global::System.Nullable<bool> Original_UserBanBit, 
                    int UserID) {
            if ((UserName == null)) {
                throw new global::System.ArgumentNullException("UserName");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(UserName));
            }
            if ((UserPassword == null)) {
                throw new global::System.ArgumentNullException("UserPassword");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(UserPassword));
            }
            this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(UserTypeID));
            if ((NameOfUser == null)) {
                throw new global::System.ArgumentNullException("NameOfUser");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(NameOfUser));
            }
            if ((UserSname == null)) {
                throw new global::System.ArgumentNullException("UserSname");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(UserSname));
            }
            if ((PersonnelliCode == null)) {
                throw new global::System.ArgumentNullException("PersonnelliCode");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(PersonnelliCode));
            }
            if ((MelliCode == null)) {
                throw new global::System.ArgumentNullException("MelliCode");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(MelliCode));
            }
            this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(DateOfRegister));
            this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(DateOfStaffing));
            if ((UserBanBit.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(UserBanBit.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            if ((UserPic == null)) {
                this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[10].Value = ((byte[])(UserPic));
            }
            this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_UserID));
            if ((Original_UserName == null)) {
                throw new global::System.ArgumentNullException("Original_UserName");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_UserName));
            }
            if ((Original_UserPassword == null)) {
                throw new global::System.ArgumentNullException("Original_UserPassword");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_UserPassword));
            }
            this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(Original_UserTypeID));
            if ((Original_NameOfUser == null)) {
                throw new global::System.ArgumentNullException("Original_NameOfUser");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_NameOfUser));
            }
            if ((Original_UserSname == null)) {
                throw new global::System.ArgumentNullException("Original_UserSname");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_UserSname));
            }
            if ((Original_PersonnelliCode == null)) {
                throw new global::System.ArgumentNullException("Original_PersonnelliCode");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_PersonnelliCode));
            }
            if ((Original_MelliCode == null)) {
                throw new global::System.ArgumentNullException("Original_MelliCode");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_MelliCode));
            }
            this.Adapter.UpdateCommand.Parameters[19].Value = ((System.DateTime)(Original_DateOfRegister));
            this.Adapter.UpdateCommand.Parameters[20].Value = ((System.DateTime)(Original_DateOfStaffing));
            if ((Original_UserBanBit.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[22].Value = ((bool)(Original_UserBanBit.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(UserID));
            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(
                    string UserName, 
                    string UserPassword, 
                    int UserTypeID, 
                    string NameOfUser, 
                    string UserSname, 
                    string PersonnelliCode, 
                    string MelliCode, 
                    System.DateTime DateOfRegister, 
                    System.DateTime DateOfStaffing, 
                    global::System.Nullable<bool> UserBanBit, 
                    byte[] UserPic, 
                    int Original_UserID, 
                    string Original_UserName, 
                    string Original_UserPassword, 
                    int Original_UserTypeID, 
                    string Original_NameOfUser, 
                    string Original_UserSname, 
                    string Original_PersonnelliCode, 
                    string Original_MelliCode, 
                    System.DateTime Original_DateOfRegister, 
                    System.DateTime Original_DateOfStaffing, 
                    global::System.Nullable<bool> Original_UserBanBit) {
            return this.Update(UserName, UserPassword, UserTypeID, NameOfUser, UserSname, PersonnelliCode, MelliCode, DateOfRegister, DateOfStaffing, UserBanBit, UserPic, Original_UserID, Original_UserName, Original_UserPassword, Original_UserTypeID, Original_NameOfUser, Original_UserSname, Original_PersonnelliCode, Original_MelliCode, Original_DateOfRegister, Original_DateOfStaffing, Original_UserBanBit, Original_UserID);
        }
    }
    
    /// <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 tblLogsTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public tblLogsTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "tblLogs";
            tableMapping.ColumnMappings.Add("LogNumberID", "LogNumberID");
            tableMapping.ColumnMappings.Add("PersonnelliCode", "PersonnelliCode");
            tableMapping.ColumnMappings.Add("LogDateTime", "LogDateTime");
            tableMapping.ColumnMappings.Add("LogDescription", "LogDescription");
            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 [tblLogs] WHERE (([LogNumberID] = @Original_LogNumberID) AND ([Person" +
                "nelliCode] = @Original_PersonnelliCode) AND ([LogDateTime] = @Original_LogDateTi" +
                "me) AND ([LogDescription] = @Original_LogDescription))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LogNumberID", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "LogNumberID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PersonnelliCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PersonnelliCode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LogDateTime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LogDateTime", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LogDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LogDescription", 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 [tblLogs] ([PersonnelliCode], [LogDateTime], [LogDescription]) VALUES (@PersonnelliCode, @LogDateTime, @LogDescription);
SELECT LogNumberID, PersonnelliCode, LogDateTime, LogDescription FROM tblLogs WHERE (LogNumberID = SCOPE_IDENTITY()) ORDER BY LogNumberID DESC";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PersonnelliCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PersonnelliCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LogDateTime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LogDateTime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LogDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LogDescription", 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 [tblLogs] SET [PersonnelliCode] = @PersonnelliCode, [LogDateTime] = @LogDateTime, [LogDescription] = @LogDescription WHERE (([LogNumberID] = @Original_LogNumberID) AND ([PersonnelliCode] = @Original_PersonnelliCode) AND ([LogDateTime] = @Original_LogDateTime) AND ([LogDescription] = @Original_LogDescription));
SELECT LogNumberID, PersonnelliCode, LogDateTime, LogDescription FROM tblLogs WHERE (LogNumberID = @LogNumberID) ORDER BY LogNumberID DESC";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PersonnelliCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PersonnelliCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LogDateTime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LogDateTime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LogDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LogDescription", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LogNumberID", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "LogNumberID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PersonnelliCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PersonnelliCode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LogDateTime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LogDateTime", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LogDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LogDescription", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LogNumberID", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "LogNumberID", 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::Morakhassi.Properties.Settings.Default.ArzeshGozariConnectionString;
        }
        
        [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  LogNumberID, PersonnelliCode, LogDateTime, LogDescription\r\nFROM     tblLo" +
                "gs\r\nORDER BY LogNumberID DESC";
            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(dtsArzeshGozari.tblLogsDataTable 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 dtsArzeshGozari.tblLogsDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            dtsArzeshGozari.tblLogsDataTable dataTable = new dtsArzeshGozari.tblLogsDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(dtsArzeshGozari.tblLogsDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(dtsArzeshGozari dataSet) {
            return this.Adapter.Update(dataSet, "tblLogs");
        }
        
        [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(decimal Original_LogNumberID, string Original_PersonnelliCode, System.DateTime Original_LogDateTime, string Original_LogDescription) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((decimal)(Original_LogNumberID));
            if ((Original_PersonnelliCode == null)) {
                throw new global::System.ArgumentNullException("Original_PersonnelliCode");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_PersonnelliCode));
            }
            this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_LogDateTime));
            if ((Original_LogDescription == null)) {
                throw new global::System.ArgumentNullException("Original_LogDescription");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_LogDescription));
            }
            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(string PersonnelliCode, System.DateTime LogDateTime, string LogDescription) {
            if ((PersonnelliCode == null)) {
                throw new global::System.ArgumentNullException("PersonnelliCode");
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = ((string)(PersonnelliCode));
            }
            this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(LogDateTime));
            if ((LogDescription == null)) {
                throw new global::System.ArgumentNullException("LogDescription");
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = ((string)(LogDescription));
            }
            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(string PersonnelliCode, System.DateTime LogDateTime, string LogDescription, decimal Original_LogNumberID, string Original_PersonnelliCode, System.DateTime Original_LogDateTime, string Original_LogDescription, decimal LogNumberID) {
            if ((PersonnelliCode == null)) {
                throw new global::System.ArgumentNullException("PersonnelliCode");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(PersonnelliCode));
            }
            this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(LogDateTime));
            if ((LogDescription == null)) {
                throw new global::System.ArgumentNullException("LogDescription");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(LogDescription));
            }
            this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(Original_LogNumberID));
            if ((Original_PersonnelliCode == null)) {
                throw new global::System.ArgumentNullException("Original_PersonnelliCode");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_PersonnelliCode));
            }
            this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(Original_LogDateTime));
            if ((Original_LogDescription == null)) {
                throw new global::System.ArgumentNullException("Original_LogDescription");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_LogDescription));
            }
            this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(LogNumberID));
            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(string PersonnelliCode, System.DateTime LogDateTime, string LogDescription, decimal Original_LogNumberID, string Original_PersonnelliCode, System.DateTime Original_LogDateTime, string Original_LogDescription) {
            return this.Update(PersonnelliCode, LogDateTime, LogDescription, Original_LogNumberID, Original_PersonnelliCode, Original_LogDateTime, Original_LogDescription, Original_LogNumberID);
        }
    }
    
    /// <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 tblUserTypesTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public tblUserTypesTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "tblUserTypes";
            tableMapping.ColumnMappings.Add("UserTypesID", "UserTypesID");
            tableMapping.ColumnMappings.Add("UserTypeDescription", "UserTypeDescription");
            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 [tblUserTypes] WHERE (([UserTypesID] = @Original_UserTypesID) AND ([U" +
                "serTypeDescription] = @Original_UserTypeDescription))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserTypesID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserTypesID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserTypeDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserTypeDescription", 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 [tblUserTypes] ([UserTypeDescription]) VALUES (@UserTypeDescription);" +
                "\r\nSELECT UserTypesID, UserTypeDescription FROM tblUserTypes WHERE (UserTypesID =" +
                " SCOPE_IDENTITY()) ORDER BY UserTypesID DESC";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserTypeDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserTypeDescription", 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 [tblUserTypes] SET [UserTypeDescription] = @UserTypeDescription WHERE (([UserTypesID] = @Original_UserTypesID) AND ([UserTypeDescription] = @Original_UserTypeDescription));
SELECT UserTypesID, UserTypeDescription FROM tblUserTypes WHERE (UserTypesID = @UserTypesID) ORDER BY UserTypesID DESC";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserTypeDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserTypeDescription", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserTypesID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserTypesID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserTypeDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserTypeDescription", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserTypesID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "UserTypesID", 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::Morakhassi.Properties.Settings.Default.ArzeshGozariConnectionString;
        }
        
        [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  UserTypesID, UserTypeDescription\r\nFROM     tblUserTypes\r\nORDER BY UserTyp" +
                "esID DESC";
            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(dtsArzeshGozari.tblUserTypesDataTable 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 dtsArzeshGozari.tblUserTypesDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            dtsArzeshGozari.tblUserTypesDataTable dataTable = new dtsArzeshGozari.tblUserTypesDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(dtsArzeshGozari.tblUserTypesDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(dtsArzeshGozari dataSet) {
            return this.Adapter.Update(dataSet, "tblUserTypes");
        }
        
        [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_UserTypesID, string Original_UserTypeDescription) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_UserTypesID));
            if ((Original_UserTypeDescription == null)) {
                throw new global::System.ArgumentNullException("Original_UserTypeDescription");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_UserTypeDescription));
            }
            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(string UserTypeDescription) {
            if ((UserTypeDescription == null)) {
                throw new global::System.ArgumentNullException("UserTypeDescription");
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = ((string)(UserTypeDescription));
            }
            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(string UserTypeDescription, int Original_UserTypesID, string Original_UserTypeDescription, int UserTypesID) {
            if ((UserTypeDescription == null)) {
                throw new global::System.ArgumentNullException("UserTypeDescription");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(UserTypeDescription));
            }
            this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(Original_UserTypesID));
            if ((Original_UserTypeDescription == null)) {
                throw new global::System.ArgumentNullException("Original_UserTypeDescription");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_UserTypeDescription));
            }
            this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(UserTypesID));
            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(string UserTypeDescription, int Original_UserTypesID, string Original_UserTypeDescription) {
            return this.Update(UserTypeDescription, Original_UserTypesID, Original_UserTypeDescription, Original_UserTypesID);
        }
    }
    
    /// <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 tblMelkDetailsPricesTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public tblMelkDetailsPricesTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "tblMelkDetailsPrices";
            tableMapping.ColumnMappings.Add("tblMelkDetailsPricesID", "tblMelkDetailsPricesID");
            tableMapping.ColumnMappings.Add("MelkTypeDescription", "MelkTypeDescription");
            tableMapping.ColumnMappings.Add("JAvazeSHahrdari", "JAvazeSHahrdari");
            tableMapping.ColumnMappings.Add("NaghsheEjraiiMohandesineNAzer", "NaghsheEjraiiMohandesineNAzer");
            tableMapping.ColumnMappings.Add("GodBardariVaKhakbardari", "GodBardariVaKhakbardari");
            tableMapping.ColumnMappings.Add("EjraieKamelFondasion", "EjraieKamelFondasion");
            tableMapping.ColumnMappings.Add("EskeleteSakhtemanFB", "EskeleteSakhtemanFB");
            tableMapping.ColumnMappings.Add("EjraieSaghf", "EjraieSaghf");
            tableMapping.ColumnMappings.Add("DivarChiniVaCharchoob", "DivarChiniVaCharchoob");
            tableMapping.ColumnMappings.Add("SimanKariRooieVaPoshteBam", "SimanKariRooieVaPoshteBam");
            tableMapping.ColumnMappings.Add("AieghKariVaIsogam", "AieghKariVaIsogam");
            tableMapping.ColumnMappings.Add("EjraieNemaieMojtama", "EjraieNemaieMojtama");
            tableMapping.ColumnMappings.Add("LoolehKeshieAbVaFazelab", "LoolehKeshieAbVaFazelab");
            tableMapping.ColumnMappings.Add("LoleKeshiBargh", "LoleKeshiBargh");
            tableMapping.ColumnMappings.Add("GachVaSefidKari", "GachVaSefidKari");
            tableMapping.ColumnMappings.Add("SarmaieshVaGarmaiesh", "SarmaieshVaGarmaiesh");
            tableMapping.ColumnMappings.Add("KafSazieVahedha", "KafSazieVahedha");
            tableMapping.ColumnMappings.Add("KashiAshpazKhaneh", "KashiAshpazKhaneh");
            tableMapping.ColumnMappings.Add("PanjarehDoJedareh", "PanjarehDoJedareh");
            tableMapping.ColumnMappings.Add("SakhtVaNasbeKomod", "SakhtVaNasbeKomod");
            tableMapping.ColumnMappings.Add("SakhteDarHaieDakheli", "SakhteDarHaieDakheli");
            tableMapping.ColumnMappings.Add("SakhteDareVorodieVahed", "SakhteDareVorodieVahed");
            tableMapping.ColumnMappings.Add("SakhtVaNAsbeNArdeHa", "SakhtVaNAsbeNArdeHa");
            tableMapping.ColumnMappings.Add("NasbeKelidPerizVaAnten", "NasbeKelidPerizVaAnten");
            tableMapping.ColumnMappings.Add("SangePellehVaRahpelleh", "SangePellehVaRahpelleh");
            tableMapping.ColumnMappings.Add("Shoomineh", "Shoomineh");
            tableMapping.ColumnMappings.Add("Asansoor", "Asansoor");
            tableMapping.ColumnMappings.Add("TahviehMatboo", "TahviehMatboo");
            tableMapping.ColumnMappings.Add("NasbeTasisateMotorKhaneh", "NasbeTasisateMotorKhaneh");
            tableMapping.ColumnMappings.Add("NasbeTasisateEstakhr", "NasbeTasisateEstakhr");
            tableMapping.ColumnMappings.Add("KashiKarieEstakhr", "KashiKarieEstakhr");
            tableMapping.ColumnMappings.Add("KabinetAshpazkhaneh", "KabinetAshpazkhaneh");
            tableMapping.ColumnMappings.Add("KharidVaNasbeDastgire", "KharidVaNasbeDastgire");
            tableMapping.ColumnMappings.Add("KharidLavazemeBehdashti", "KharidLavazemeBehdashti");
            tableMapping.ColumnMappings.Add("MohavvateSazi", "MohavvateSazi");
            tableMapping.ColumnMappings.Add("HazinehieBalaSari", "HazinehieBalaSari");
            tableMapping.ColumnMappings.Add("EnsheabeAbFazelab", "EnsheabeAbFazelab");
            tableMapping.ColumnMappings.Add("EnsheabeBargh", "EnsheabeBargh");
            tableMapping.ColumnMappings.Add("EnsheabeGaz", "EnsheabeGaz");
            tableMapping.ColumnMappings.Add("PaianKarvaAvarez", "PaianKarvaAvarez");
            tableMapping.ColumnMappings.Add("HazineieEdareSabt", "HazineieEdareSabt");
            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 [tblMelkDetailsPrices] WHERE (([tblMelkDetailsPricesID] = @Original_t" +
                "blMelkDetailsPricesID) AND ([MelkTypeDescription] = @Original_MelkTypeDescriptio" +
                "n) AND ([JAvazeSHahrdari] = @Original_JAvazeSHahrdari) AND ([NaghsheEjraiiMohand" +
                "esineNAzer] = @Original_NaghsheEjraiiMohandesineNAzer) AND ([GodBardariVaKhakbar" +
                "dari] = @Original_GodBardariVaKhakbardari) AND ([EjraieKamelFondasion] = @Origin" +
                "al_EjraieKamelFondasion) AND ([EskeleteSakhtemanFB] = @Original_EskeleteSakhtema" +
                "nFB) AND ([EjraieSaghf] = @Original_EjraieSaghf) AND ([DivarChiniVaCharchoob] = " +
                "@Original_DivarChiniVaCharchoob) AND ([SimanKariRooieVaPoshteBam] = @Original_Si" +
                "manKariRooieVaPoshteBam) AND ([AieghKariVaIsogam] = @Original_AieghKariVaIsogam)" +
                " AND ([EjraieNemaieMojtama] = @Original_EjraieNemaieMojtama) AND ([LoolehKeshieA" +
                "bVaFazelab] = @Original_LoolehKeshieAbVaFazelab) AND ([LoleKeshiBargh] = @Origin" +
                "al_LoleKeshiBargh) AND ([GachVaSefidKari] = @Original_GachVaSefidKari) AND ([Sar" +
                "maieshVaGarmaiesh] = @Original_SarmaieshVaGarmaiesh) AND ([KafSazieVahedha] = @O" +
                "riginal_KafSazieVahedha) AND ([KashiAshpazKhaneh] = @Original_KashiAshpazKhaneh)" +
                " AND ([PanjarehDoJedareh] = @Original_PanjarehDoJedareh) AND ([SakhtVaNasbeKomod" +
                "] = @Original_SakhtVaNasbeKomod) AND ([SakhteDarHaieDakheli] = @Original_SakhteD" +
                "arHaieDakheli) AND ([SakhteDareVorodieVahed] = @Original_SakhteDareVorodieVahed)" +
                " AND ([SakhtVaNAsbeNArdeHa] = @Original_SakhtVaNAsbeNArdeHa) AND ([NasbeKelidPer" +
                "izVaAnten] = @Original_NasbeKelidPerizVaAnten) AND ([SangePellehVaRahpelleh] = @" +
                "Original_SangePellehVaRahpelleh) AND ([Shoomineh] = @Original_Shoomineh) AND ([A" +
                "sansoor] = @Original_Asansoor) AND ([TahviehMatboo] = @Original_TahviehMatboo) A" +
                "ND ([NasbeTasisateMotorKhaneh] = @Original_NasbeTasisateMotorKhaneh) AND ([Nasbe" +
                "TasisateEstakhr] = @Original_NasbeTasisateEstakhr) AND ([KashiKarieEstakhr] = @O" +
                "riginal_KashiKarieEstakhr) AND ([KabinetAshpazkhaneh] = @Original_KabinetAshpazk" +
                "haneh) AND ([KharidVaNasbeDastgire] = @Original_KharidVaNasbeDastgire) AND ([Kha" +
                "ridLavazemeBehdashti] = @Original_KharidLavazemeBehdashti) AND ([MohavvateSazi] " +
                "= @Original_MohavvateSazi) AND ([HazinehieBalaSari] = @Original_HazinehieBalaSar" +
                "i) AND ([EnsheabeAbFazelab] = @Original_EnsheabeAbFazelab) AND ([EnsheabeBargh] " +
                "= @Original_EnsheabeBargh) AND ([EnsheabeGaz] = @Original_EnsheabeGaz) AND ([Pai" +
                "anKarvaAvarez] = @Original_PaianKarvaAvarez) AND ([HazineieEdareSabt] = @Origina" +
                "l_HazineieEdareSabt))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_tblMelkDetailsPricesID", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tblMelkDetailsPricesID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MelkTypeDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkTypeDescription", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_JAvazeSHahrdari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAvazeSHahrdari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NaghsheEjraiiMohandesineNAzer", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NaghsheEjraiiMohandesineNAzer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GodBardariVaKhakbardari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GodBardariVaKhakbardari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EjraieKamelFondasion", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieKamelFondasion", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EskeleteSakhtemanFB", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EskeleteSakhtemanFB", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EjraieSaghf", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieSaghf", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DivarChiniVaCharchoob", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DivarChiniVaCharchoob", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SimanKariRooieVaPoshteBam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SimanKariRooieVaPoshteBam", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_AieghKariVaIsogam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AieghKariVaIsogam", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EjraieNemaieMojtama", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieNemaieMojtama", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LoolehKeshieAbVaFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoolehKeshieAbVaFazelab", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LoleKeshiBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoleKeshiBargh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GachVaSefidKari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GachVaSefidKari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SarmaieshVaGarmaiesh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SarmaieshVaGarmaiesh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KafSazieVahedha", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KafSazieVahedha", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KashiAshpazKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiAshpazKhaneh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PanjarehDoJedareh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PanjarehDoJedareh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhtVaNasbeKomod", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNasbeKomod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhteDarHaieDakheli", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDarHaieDakheli", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhteDareVorodieVahed", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDareVorodieVahed", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhtVaNAsbeNArdeHa", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNAsbeNArdeHa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NasbeKelidPerizVaAnten", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeKelidPerizVaAnten", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SangePellehVaRahpelleh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SangePellehVaRahpelleh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Shoomineh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Shoomineh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Asansoor", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Asansoor", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TahviehMatboo", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TahviehMatboo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NasbeTasisateMotorKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateMotorKhaneh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NasbeTasisateEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateEstakhr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KashiKarieEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiKarieEstakhr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KabinetAshpazkhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KabinetAshpazkhaneh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KharidVaNasbeDastgire", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidVaNasbeDastgire", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KharidLavazemeBehdashti", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidLavazemeBehdashti", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MohavvateSazi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MohavvateSazi", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_HazinehieBalaSari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazinehieBalaSari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnsheabeAbFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeAbFazelab", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnsheabeBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeBargh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnsheabeGaz", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeGaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PaianKarvaAvarez", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PaianKarvaAvarez", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_HazineieEdareSabt", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazineieEdareSabt", 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 [tblMelkDetailsPrices] ([MelkTypeDescription], [JAvazeSHahrdari], [Na" +
                "ghsheEjraiiMohandesineNAzer], [GodBardariVaKhakbardari], [EjraieKamelFondasion]," +
                " [EskeleteSakhtemanFB], [EjraieSaghf], [DivarChiniVaCharchoob], [SimanKariRooieV" +
                "aPoshteBam], [AieghKariVaIsogam], [EjraieNemaieMojtama], [LoolehKeshieAbVaFazela" +
                "b], [LoleKeshiBargh], [GachVaSefidKari], [SarmaieshVaGarmaiesh], [KafSazieVahedh" +
                "a], [KashiAshpazKhaneh], [PanjarehDoJedareh], [SakhtVaNasbeKomod], [SakhteDarHai" +
                "eDakheli], [SakhteDareVorodieVahed], [SakhtVaNAsbeNArdeHa], [NasbeKelidPerizVaAn" +
                "ten], [SangePellehVaRahpelleh], [Shoomineh], [Asansoor], [TahviehMatboo], [Nasbe" +
                "TasisateMotorKhaneh], [NasbeTasisateEstakhr], [KashiKarieEstakhr], [KabinetAshpa" +
                "zkhaneh], [KharidVaNasbeDastgire], [KharidLavazemeBehdashti], [MohavvateSazi], [" +
                "HazinehieBalaSari], [EnsheabeAbFazelab], [EnsheabeBargh], [EnsheabeGaz], [PaianK" +
                "arvaAvarez], [HazineieEdareSabt]) VALUES (@MelkTypeDescription, @JAvazeSHahrdari" +
                ", @NaghsheEjraiiMohandesineNAzer, @GodBardariVaKhakbardari, @EjraieKamelFondasio" +
                "n, @EskeleteSakhtemanFB, @EjraieSaghf, @DivarChiniVaCharchoob, @SimanKariRooieVa" +
                "PoshteBam, @AieghKariVaIsogam, @EjraieNemaieMojtama, @LoolehKeshieAbVaFazelab, @" +
                "LoleKeshiBargh, @GachVaSefidKari, @SarmaieshVaGarmaiesh, @KafSazieVahedha, @Kash" +
                "iAshpazKhaneh, @PanjarehDoJedareh, @SakhtVaNasbeKomod, @SakhteDarHaieDakheli, @S" +
                "akhteDareVorodieVahed, @SakhtVaNAsbeNArdeHa, @NasbeKelidPerizVaAnten, @SangePell" +
                "ehVaRahpelleh, @Shoomineh, @Asansoor, @TahviehMatboo, @NasbeTasisateMotorKhaneh," +
                " @NasbeTasisateEstakhr, @KashiKarieEstakhr, @KabinetAshpazkhaneh, @KharidVaNasbe" +
                "Dastgire, @KharidLavazemeBehdashti, @MohavvateSazi, @HazinehieBalaSari, @Ensheab" +
                "eAbFazelab, @EnsheabeBargh, @EnsheabeGaz, @PaianKarvaAvarez, @HazineieEdareSabt)" +
                ";\r\nSELECT tblMelkDetailsPricesID, MelkTypeDescription, JAvazeSHahrdari, NaghsheE" +
                "jraiiMohandesineNAzer, GodBardariVaKhakbardari, EjraieKamelFondasion, EskeleteSa" +
                "khtemanFB, EjraieSaghf, DivarChiniVaCharchoob, SimanKariRooieVaPoshteBam, AieghK" +
                "ariVaIsogam, EjraieNemaieMojtama, LoolehKeshieAbVaFazelab, LoleKeshiBargh, GachV" +
                "aSefidKari, SarmaieshVaGarmaiesh, KafSazieVahedha, KashiAshpazKhaneh, PanjarehDo" +
                "Jedareh, SakhtVaNasbeKomod, SakhteDarHaieDakheli, SakhteDareVorodieVahed, SakhtV" +
                "aNAsbeNArdeHa, NasbeKelidPerizVaAnten, SangePellehVaRahpelleh, Shoomineh, Asanso" +
                "or, TahviehMatboo, NasbeTasisateMotorKhaneh, NasbeTasisateEstakhr, KashiKarieEst" +
                "akhr, KabinetAshpazkhaneh, KharidVaNasbeDastgire, KharidLavazemeBehdashti, Mohav" +
                "vateSazi, HazinehieBalaSari, EnsheabeAbFazelab, EnsheabeBargh, EnsheabeGaz, Paia" +
                "nKarvaAvarez, HazineieEdareSabt FROM tblMelkDetailsPrices WHERE (tblMelkDetailsP" +
                "ricesID = SCOPE_IDENTITY()) ORDER BY tblMelkDetailsPricesID DESC";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelkTypeDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkTypeDescription", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JAvazeSHahrdari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAvazeSHahrdari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NaghsheEjraiiMohandesineNAzer", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NaghsheEjraiiMohandesineNAzer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GodBardariVaKhakbardari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GodBardariVaKhakbardari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieKamelFondasion", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieKamelFondasion", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EskeleteSakhtemanFB", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EskeleteSakhtemanFB", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieSaghf", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieSaghf", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DivarChiniVaCharchoob", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DivarChiniVaCharchoob", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SimanKariRooieVaPoshteBam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SimanKariRooieVaPoshteBam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AieghKariVaIsogam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AieghKariVaIsogam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieNemaieMojtama", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieNemaieMojtama", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LoolehKeshieAbVaFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoolehKeshieAbVaFazelab", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LoleKeshiBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoleKeshiBargh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GachVaSefidKari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GachVaSefidKari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SarmaieshVaGarmaiesh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SarmaieshVaGarmaiesh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KafSazieVahedha", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KafSazieVahedha", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KashiAshpazKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiAshpazKhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PanjarehDoJedareh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PanjarehDoJedareh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhtVaNasbeKomod", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNasbeKomod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhteDarHaieDakheli", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDarHaieDakheli", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhteDareVorodieVahed", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDareVorodieVahed", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhtVaNAsbeNArdeHa", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNAsbeNArdeHa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeKelidPerizVaAnten", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeKelidPerizVaAnten", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SangePellehVaRahpelleh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SangePellehVaRahpelleh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Shoomineh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Shoomineh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Asansoor", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Asansoor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TahviehMatboo", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TahviehMatboo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeTasisateMotorKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateMotorKhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeTasisateEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateEstakhr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KashiKarieEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiKarieEstakhr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KabinetAshpazkhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KabinetAshpazkhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KharidVaNasbeDastgire", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidVaNasbeDastgire", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KharidLavazemeBehdashti", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidLavazemeBehdashti", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MohavvateSazi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MohavvateSazi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HazinehieBalaSari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazinehieBalaSari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeAbFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeAbFazelab", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeBargh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeGaz", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeGaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PaianKarvaAvarez", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PaianKarvaAvarez", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HazineieEdareSabt", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazineieEdareSabt", 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 [tblMelkDetailsPrices] SET [MelkTypeDescription] = @MelkTypeDescription, [" +
                "JAvazeSHahrdari] = @JAvazeSHahrdari, [NaghsheEjraiiMohandesineNAzer] = @NaghsheE" +
                "jraiiMohandesineNAzer, [GodBardariVaKhakbardari] = @GodBardariVaKhakbardari, [Ej" +
                "raieKamelFondasion] = @EjraieKamelFondasion, [EskeleteSakhtemanFB] = @EskeleteSa" +
                "khtemanFB, [EjraieSaghf] = @EjraieSaghf, [DivarChiniVaCharchoob] = @DivarChiniVa" +
                "Charchoob, [SimanKariRooieVaPoshteBam] = @SimanKariRooieVaPoshteBam, [AieghKariV" +
                "aIsogam] = @AieghKariVaIsogam, [EjraieNemaieMojtama] = @EjraieNemaieMojtama, [Lo" +
                "olehKeshieAbVaFazelab] = @LoolehKeshieAbVaFazelab, [LoleKeshiBargh] = @LoleKeshi" +
                "Bargh, [GachVaSefidKari] = @GachVaSefidKari, [SarmaieshVaGarmaiesh] = @Sarmaiesh" +
                "VaGarmaiesh, [KafSazieVahedha] = @KafSazieVahedha, [KashiAshpazKhaneh] = @KashiA" +
                "shpazKhaneh, [PanjarehDoJedareh] = @PanjarehDoJedareh, [SakhtVaNasbeKomod] = @Sa" +
                "khtVaNasbeKomod, [SakhteDarHaieDakheli] = @SakhteDarHaieDakheli, [SakhteDareVoro" +
                "dieVahed] = @SakhteDareVorodieVahed, [SakhtVaNAsbeNArdeHa] = @SakhtVaNAsbeNArdeH" +
                "a, [NasbeKelidPerizVaAnten] = @NasbeKelidPerizVaAnten, [SangePellehVaRahpelleh] " +
                "= @SangePellehVaRahpelleh, [Shoomineh] = @Shoomineh, [Asansoor] = @Asansoor, [Ta" +
                "hviehMatboo] = @TahviehMatboo, [NasbeTasisateMotorKhaneh] = @NasbeTasisateMotorK" +
                "haneh, [NasbeTasisateEstakhr] = @NasbeTasisateEstakhr, [KashiKarieEstakhr] = @Ka" +
                "shiKarieEstakhr, [KabinetAshpazkhaneh] = @KabinetAshpazkhaneh, [KharidVaNasbeDas" +
                "tgire] = @KharidVaNasbeDastgire, [KharidLavazemeBehdashti] = @KharidLavazemeBehd" +
                "ashti, [MohavvateSazi] = @MohavvateSazi, [HazinehieBalaSari] = @HazinehieBalaSar" +
                "i, [EnsheabeAbFazelab] = @EnsheabeAbFazelab, [EnsheabeBargh] = @EnsheabeBargh, [" +
                "EnsheabeGaz] = @EnsheabeGaz, [PaianKarvaAvarez] = @PaianKarvaAvarez, [HazineieEd" +
                "areSabt] = @HazineieEdareSabt WHERE (([tblMelkDetailsPricesID] = @Original_tblMe" +
                "lkDetailsPricesID) AND ([MelkTypeDescription] = @Original_MelkTypeDescription) A" +
                "ND ([JAvazeSHahrdari] = @Original_JAvazeSHahrdari) AND ([NaghsheEjraiiMohandesin" +
                "eNAzer] = @Original_NaghsheEjraiiMohandesineNAzer) AND ([GodBardariVaKhakbardari" +
                "] = @Original_GodBardariVaKhakbardari) AND ([EjraieKamelFondasion] = @Original_E" +
                "jraieKamelFondasion) AND ([EskeleteSakhtemanFB] = @Original_EskeleteSakhtemanFB)" +
                " AND ([EjraieSaghf] = @Original_EjraieSaghf) AND ([DivarChiniVaCharchoob] = @Ori" +
                "ginal_DivarChiniVaCharchoob) AND ([SimanKariRooieVaPoshteBam] = @Original_SimanK" +
                "ariRooieVaPoshteBam) AND ([AieghKariVaIsogam] = @Original_AieghKariVaIsogam) AND" +
                " ([EjraieNemaieMojtama] = @Original_EjraieNemaieMojtama) AND ([LoolehKeshieAbVaF" +
                "azelab] = @Original_LoolehKeshieAbVaFazelab) AND ([LoleKeshiBargh] = @Original_L" +
                "oleKeshiBargh) AND ([GachVaSefidKari] = @Original_GachVaSefidKari) AND ([Sarmaie" +
                "shVaGarmaiesh] = @Original_SarmaieshVaGarmaiesh) AND ([KafSazieVahedha] = @Origi" +
                "nal_KafSazieVahedha) AND ([KashiAshpazKhaneh] = @Original_KashiAshpazKhaneh) AND" +
                " ([PanjarehDoJedareh] = @Original_PanjarehDoJedareh) AND ([SakhtVaNasbeKomod] = " +
                "@Original_SakhtVaNasbeKomod) AND ([SakhteDarHaieDakheli] = @Original_SakhteDarHa" +
                "ieDakheli) AND ([SakhteDareVorodieVahed] = @Original_SakhteDareVorodieVahed) AND" +
                " ([SakhtVaNAsbeNArdeHa] = @Original_SakhtVaNAsbeNArdeHa) AND ([NasbeKelidPerizVa" +
                "Anten] = @Original_NasbeKelidPerizVaAnten) AND ([SangePellehVaRahpelleh] = @Orig" +
                "inal_SangePellehVaRahpelleh) AND ([Shoomineh] = @Original_Shoomineh) AND ([Asans" +
                "oor] = @Original_Asansoor) AND ([TahviehMatboo] = @Original_TahviehMatboo) AND (" +
                "[NasbeTasisateMotorKhaneh] = @Original_NasbeTasisateMotorKhaneh) AND ([NasbeTasi" +
                "sateEstakhr] = @Original_NasbeTasisateEstakhr) AND ([KashiKarieEstakhr] = @Origi" +
                "nal_KashiKarieEstakhr) AND ([KabinetAshpazkhaneh] = @Original_KabinetAshpazkhane" +
                "h) AND ([KharidVaNasbeDastgire] = @Original_KharidVaNasbeDastgire) AND ([KharidL" +
                "avazemeBehdashti] = @Original_KharidLavazemeBehdashti) AND ([MohavvateSazi] = @O" +
                "riginal_MohavvateSazi) AND ([HazinehieBalaSari] = @Original_HazinehieBalaSari) A" +
                "ND ([EnsheabeAbFazelab] = @Original_EnsheabeAbFazelab) AND ([EnsheabeBargh] = @O" +
                "riginal_EnsheabeBargh) AND ([EnsheabeGaz] = @Original_EnsheabeGaz) AND ([PaianKa" +
                "rvaAvarez] = @Original_PaianKarvaAvarez) AND ([HazineieEdareSabt] = @Original_Ha" +
                "zineieEdareSabt));\r\nSELECT tblMelkDetailsPricesID, MelkTypeDescription, JAvazeSH" +
                "ahrdari, NaghsheEjraiiMohandesineNAzer, GodBardariVaKhakbardari, EjraieKamelFond" +
                "asion, EskeleteSakhtemanFB, EjraieSaghf, DivarChiniVaCharchoob, SimanKariRooieVa" +
                "PoshteBam, AieghKariVaIsogam, EjraieNemaieMojtama, LoolehKeshieAbVaFazelab, Lole" +
                "KeshiBargh, GachVaSefidKari, SarmaieshVaGarmaiesh, KafSazieVahedha, KashiAshpazK" +
                "haneh, PanjarehDoJedareh, SakhtVaNasbeKomod, SakhteDarHaieDakheli, SakhteDareVor" +
                "odieVahed, SakhtVaNAsbeNArdeHa, NasbeKelidPerizVaAnten, SangePellehVaRahpelleh, " +
                "Shoomineh, Asansoor, TahviehMatboo, NasbeTasisateMotorKhaneh, NasbeTasisateEstak" +
                "hr, KashiKarieEstakhr, KabinetAshpazkhaneh, KharidVaNasbeDastgire, KharidLavazem" +
                "eBehdashti, MohavvateSazi, HazinehieBalaSari, EnsheabeAbFazelab, EnsheabeBargh, " +
                "EnsheabeGaz, PaianKarvaAvarez, HazineieEdareSabt FROM tblMelkDetailsPrices WHERE" +
                " (tblMelkDetailsPricesID = @tblMelkDetailsPricesID) ORDER BY tblMelkDetailsPrice" +
                "sID DESC";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelkTypeDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkTypeDescription", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JAvazeSHahrdari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAvazeSHahrdari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NaghsheEjraiiMohandesineNAzer", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NaghsheEjraiiMohandesineNAzer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GodBardariVaKhakbardari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GodBardariVaKhakbardari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieKamelFondasion", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieKamelFondasion", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EskeleteSakhtemanFB", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EskeleteSakhtemanFB", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieSaghf", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieSaghf", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DivarChiniVaCharchoob", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DivarChiniVaCharchoob", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SimanKariRooieVaPoshteBam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SimanKariRooieVaPoshteBam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AieghKariVaIsogam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AieghKariVaIsogam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieNemaieMojtama", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieNemaieMojtama", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LoolehKeshieAbVaFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoolehKeshieAbVaFazelab", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LoleKeshiBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoleKeshiBargh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GachVaSefidKari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GachVaSefidKari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SarmaieshVaGarmaiesh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SarmaieshVaGarmaiesh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KafSazieVahedha", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KafSazieVahedha", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KashiAshpazKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiAshpazKhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PanjarehDoJedareh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PanjarehDoJedareh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhtVaNasbeKomod", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNasbeKomod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhteDarHaieDakheli", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDarHaieDakheli", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhteDareVorodieVahed", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDareVorodieVahed", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhtVaNAsbeNArdeHa", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNAsbeNArdeHa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeKelidPerizVaAnten", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeKelidPerizVaAnten", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SangePellehVaRahpelleh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SangePellehVaRahpelleh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Shoomineh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Shoomineh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Asansoor", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Asansoor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TahviehMatboo", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TahviehMatboo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeTasisateMotorKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateMotorKhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeTasisateEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateEstakhr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KashiKarieEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiKarieEstakhr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KabinetAshpazkhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KabinetAshpazkhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KharidVaNasbeDastgire", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidVaNasbeDastgire", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KharidLavazemeBehdashti", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidLavazemeBehdashti", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MohavvateSazi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MohavvateSazi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HazinehieBalaSari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazinehieBalaSari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeAbFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeAbFazelab", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeBargh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeGaz", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeGaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PaianKarvaAvarez", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PaianKarvaAvarez", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HazineieEdareSabt", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazineieEdareSabt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_tblMelkDetailsPricesID", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tblMelkDetailsPricesID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MelkTypeDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkTypeDescription", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_JAvazeSHahrdari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAvazeSHahrdari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NaghsheEjraiiMohandesineNAzer", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NaghsheEjraiiMohandesineNAzer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GodBardariVaKhakbardari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GodBardariVaKhakbardari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EjraieKamelFondasion", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieKamelFondasion", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EskeleteSakhtemanFB", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EskeleteSakhtemanFB", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EjraieSaghf", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieSaghf", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DivarChiniVaCharchoob", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DivarChiniVaCharchoob", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SimanKariRooieVaPoshteBam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SimanKariRooieVaPoshteBam", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_AieghKariVaIsogam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AieghKariVaIsogam", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EjraieNemaieMojtama", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieNemaieMojtama", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LoolehKeshieAbVaFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoolehKeshieAbVaFazelab", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LoleKeshiBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoleKeshiBargh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GachVaSefidKari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GachVaSefidKari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SarmaieshVaGarmaiesh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SarmaieshVaGarmaiesh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KafSazieVahedha", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KafSazieVahedha", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KashiAshpazKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiAshpazKhaneh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PanjarehDoJedareh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PanjarehDoJedareh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhtVaNasbeKomod", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNasbeKomod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhteDarHaieDakheli", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDarHaieDakheli", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhteDareVorodieVahed", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDareVorodieVahed", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhtVaNAsbeNArdeHa", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNAsbeNArdeHa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NasbeKelidPerizVaAnten", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeKelidPerizVaAnten", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SangePellehVaRahpelleh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SangePellehVaRahpelleh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Shoomineh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Shoomineh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Asansoor", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Asansoor", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TahviehMatboo", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TahviehMatboo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NasbeTasisateMotorKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateMotorKhaneh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NasbeTasisateEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateEstakhr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KashiKarieEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiKarieEstakhr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KabinetAshpazkhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KabinetAshpazkhaneh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KharidVaNasbeDastgire", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidVaNasbeDastgire", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KharidLavazemeBehdashti", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidLavazemeBehdashti", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MohavvateSazi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MohavvateSazi", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_HazinehieBalaSari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazinehieBalaSari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnsheabeAbFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeAbFazelab", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnsheabeBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeBargh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnsheabeGaz", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeGaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PaianKarvaAvarez", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PaianKarvaAvarez", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_HazineieEdareSabt", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazineieEdareSabt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tblMelkDetailsPricesID", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "tblMelkDetailsPricesID", 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::Morakhassi.Properties.Settings.Default.ArzeshGozariConnectionString;
        }
        
        [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  tblMelkDetailsPricesID, MelkTypeDescription, JAvazeSHahrdari, NaghsheEjraiiMohandesineNAzer, GodBardariVaKhakbardari, EjraieKamelFondasion, EskeleteSakhtemanFB, EjraieSaghf, 
               DivarChiniVaCharchoob, SimanKariRooieVaPoshteBam, AieghKariVaIsogam, EjraieNemaieMojtama, LoolehKeshieAbVaFazelab, LoleKeshiBargh, GachVaSefidKari, SarmaieshVaGarmaiesh, 
               KafSazieVahedha, KashiAshpazKhaneh, PanjarehDoJedareh, SakhtVaNasbeKomod, SakhteDarHaieDakheli, SakhteDareVorodieVahed, SakhtVaNAsbeNArdeHa, NasbeKelidPerizVaAnten, 
               SangePellehVaRahpelleh, Shoomineh, Asansoor, TahviehMatboo, NasbeTasisateMotorKhaneh, NasbeTasisateEstakhr, KashiKarieEstakhr, KabinetAshpazkhaneh, KharidVaNasbeDastgire, 
               KharidLavazemeBehdashti, MohavvateSazi, HazinehieBalaSari, EnsheabeAbFazelab, EnsheabeBargh, EnsheabeGaz, PaianKarvaAvarez, HazineieEdareSabt
FROM     tblMelkDetailsPrices
ORDER BY tblMelkDetailsPricesID DESC";
            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 = "DELETE FROM tblMelkDetailsPrices\r\nWHERE  (tblMelkDetailsPricesID = @tblMelkDetail" +
                "sPricesID)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tblMelkDetailsPricesID", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "tblMelkDetailsPricesID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = @"SELECT  tblMelkDetailsPricesID, MelkTypeDescription, JAvazeSHahrdari, NaghsheEjraiiMohandesineNAzer, GodBardariVaKhakbardari, EjraieKamelFondasion, EskeleteSakhtemanFB, EjraieSaghf, 
               DivarChiniVaCharchoob, SimanKariRooieVaPoshteBam, AieghKariVaIsogam, EjraieNemaieMojtama, LoolehKeshieAbVaFazelab, LoleKeshiBargh, GachVaSefidKari, SarmaieshVaGarmaiesh, 
               KafSazieVahedha, KashiAshpazKhaneh, PanjarehDoJedareh, SakhtVaNasbeKomod, SakhteDarHaieDakheli, SakhteDareVorodieVahed, SakhtVaNAsbeNArdeHa, NasbeKelidPerizVaAnten, 
               SangePellehVaRahpelleh, Shoomineh, Asansoor, TahviehMatboo, NasbeTasisateMotorKhaneh, NasbeTasisateEstakhr, KashiKarieEstakhr, KabinetAshpazkhaneh, KharidVaNasbeDastgire, 
               KharidLavazemeBehdashti, MohavvateSazi, HazinehieBalaSari, EnsheabeAbFazelab, EnsheabeBargh, EnsheabeGaz, PaianKarvaAvarez, HazineieEdareSabt
FROM     tblMelkDetailsPrices
WHERE  (tblMelkDetailsPricesID = @tblMelkDetailsPricesID)
ORDER BY tblMelkDetailsPricesID DESC";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tblMelkDetailsPricesID", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "tblMelkDetailsPricesID", 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(dtsArzeshGozari.tblMelkDetailsPricesDataTable 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 dtsArzeshGozari.tblMelkDetailsPricesDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            dtsArzeshGozari.tblMelkDetailsPricesDataTable dataTable = new dtsArzeshGozari.tblMelkDetailsPricesDataTable();
            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 FillBytblMelkDetailsPricesID(dtsArzeshGozari.tblMelkDetailsPricesDataTable dataTable, long tblMelkDetailsPricesID) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((long)(tblMelkDetailsPricesID));
            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 dtsArzeshGozari.tblMelkDetailsPricesDataTable GetDataBytblMelkDetailsPricesID(long tblMelkDetailsPricesID) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((long)(tblMelkDetailsPricesID));
            dtsArzeshGozari.tblMelkDetailsPricesDataTable dataTable = new dtsArzeshGozari.tblMelkDetailsPricesDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(dtsArzeshGozari.tblMelkDetailsPricesDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(dtsArzeshGozari dataSet) {
            return this.Adapter.Update(dataSet, "tblMelkDetailsPrices");
        }
        
        [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(
                    long Original_tblMelkDetailsPricesID, 
                    string Original_MelkTypeDescription, 
                    double Original_JAvazeSHahrdari, 
                    double Original_NaghsheEjraiiMohandesineNAzer, 
                    double Original_GodBardariVaKhakbardari, 
                    double Original_EjraieKamelFondasion, 
                    double Original_EskeleteSakhtemanFB, 
                    double Original_EjraieSaghf, 
                    double Original_DivarChiniVaCharchoob, 
                    double Original_SimanKariRooieVaPoshteBam, 
                    double Original_AieghKariVaIsogam, 
                    double Original_EjraieNemaieMojtama, 
                    double Original_LoolehKeshieAbVaFazelab, 
                    double Original_LoleKeshiBargh, 
                    double Original_GachVaSefidKari, 
                    double Original_SarmaieshVaGarmaiesh, 
                    double Original_KafSazieVahedha, 
                    double Original_KashiAshpazKhaneh, 
                    double Original_PanjarehDoJedareh, 
                    double Original_SakhtVaNasbeKomod, 
                    double Original_SakhteDarHaieDakheli, 
                    double Original_SakhteDareVorodieVahed, 
                    double Original_SakhtVaNAsbeNArdeHa, 
                    double Original_NasbeKelidPerizVaAnten, 
                    double Original_SangePellehVaRahpelleh, 
                    double Original_Shoomineh, 
                    double Original_Asansoor, 
                    double Original_TahviehMatboo, 
                    double Original_NasbeTasisateMotorKhaneh, 
                    double Original_NasbeTasisateEstakhr, 
                    double Original_KashiKarieEstakhr, 
                    double Original_KabinetAshpazkhaneh, 
                    double Original_KharidVaNasbeDastgire, 
                    double Original_KharidLavazemeBehdashti, 
                    double Original_MohavvateSazi, 
                    double Original_HazinehieBalaSari, 
                    double Original_EnsheabeAbFazelab, 
                    double Original_EnsheabeBargh, 
                    double Original_EnsheabeGaz, 
                    double Original_PaianKarvaAvarez, 
                    double Original_HazineieEdareSabt) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((long)(Original_tblMelkDetailsPricesID));
            if ((Original_MelkTypeDescription == null)) {
                throw new global::System.ArgumentNullException("Original_MelkTypeDescription");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_MelkTypeDescription));
            }
            this.Adapter.DeleteCommand.Parameters[2].Value = ((double)(Original_JAvazeSHahrdari));
            this.Adapter.DeleteCommand.Parameters[3].Value = ((double)(Original_NaghsheEjraiiMohandesineNAzer));
            this.Adapter.DeleteCommand.Parameters[4].Value = ((double)(Original_GodBardariVaKhakbardari));
            this.Adapter.DeleteCommand.Parameters[5].Value = ((double)(Original_EjraieKamelFondasion));
            this.Adapter.DeleteCommand.Parameters[6].Value = ((double)(Original_EskeleteSakhtemanFB));
            this.Adapter.DeleteCommand.Parameters[7].Value = ((double)(Original_EjraieSaghf));
            this.Adapter.DeleteCommand.Parameters[8].Value = ((double)(Original_DivarChiniVaCharchoob));
            this.Adapter.DeleteCommand.Parameters[9].Value = ((double)(Original_SimanKariRooieVaPoshteBam));
            this.Adapter.DeleteCommand.Parameters[10].Value = ((double)(Original_AieghKariVaIsogam));
            this.Adapter.DeleteCommand.Parameters[11].Value = ((double)(Original_EjraieNemaieMojtama));
            this.Adapter.DeleteCommand.Parameters[12].Value = ((double)(Original_LoolehKeshieAbVaFazelab));
            this.Adapter.DeleteCommand.Parameters[13].Value = ((double)(Original_LoleKeshiBargh));
            this.Adapter.DeleteCommand.Parameters[14].Value = ((double)(Original_GachVaSefidKari));
            this.Adapter.DeleteCommand.Parameters[15].Value = ((double)(Original_SarmaieshVaGarmaiesh));
            this.Adapter.DeleteCommand.Parameters[16].Value = ((double)(Original_KafSazieVahedha));
            this.Adapter.DeleteCommand.Parameters[17].Value = ((double)(Original_KashiAshpazKhaneh));
            this.Adapter.DeleteCommand.Parameters[18].Value = ((double)(Original_PanjarehDoJedareh));
            this.Adapter.DeleteCommand.Parameters[19].Value = ((double)(Original_SakhtVaNasbeKomod));
            this.Adapter.DeleteCommand.Parameters[20].Value = ((double)(Original_SakhteDarHaieDakheli));
            this.Adapter.DeleteCommand.Parameters[21].Value = ((double)(Original_SakhteDareVorodieVahed));
            this.Adapter.DeleteCommand.Parameters[22].Value = ((double)(Original_SakhtVaNAsbeNArdeHa));
            this.Adapter.DeleteCommand.Parameters[23].Value = ((double)(Original_NasbeKelidPerizVaAnten));
            this.Adapter.DeleteCommand.Parameters[24].Value = ((double)(Original_SangePellehVaRahpelleh));
            this.Adapter.DeleteCommand.Parameters[25].Value = ((double)(Original_Shoomineh));
            this.Adapter.DeleteCommand.Parameters[26].Value = ((double)(Original_Asansoor));
            this.Adapter.DeleteCommand.Parameters[27].Value = ((double)(Original_TahviehMatboo));
            this.Adapter.DeleteCommand.Parameters[28].Value = ((double)(Original_NasbeTasisateMotorKhaneh));
            this.Adapter.DeleteCommand.Parameters[29].Value = ((double)(Original_NasbeTasisateEstakhr));
            this.Adapter.DeleteCommand.Parameters[30].Value = ((double)(Original_KashiKarieEstakhr));
            this.Adapter.DeleteCommand.Parameters[31].Value = ((double)(Original_KabinetAshpazkhaneh));
            this.Adapter.DeleteCommand.Parameters[32].Value = ((double)(Original_KharidVaNasbeDastgire));
            this.Adapter.DeleteCommand.Parameters[33].Value = ((double)(Original_KharidLavazemeBehdashti));
            this.Adapter.DeleteCommand.Parameters[34].Value = ((double)(Original_MohavvateSazi));
            this.Adapter.DeleteCommand.Parameters[35].Value = ((double)(Original_HazinehieBalaSari));
            this.Adapter.DeleteCommand.Parameters[36].Value = ((double)(Original_EnsheabeAbFazelab));
            this.Adapter.DeleteCommand.Parameters[37].Value = ((double)(Original_EnsheabeBargh));
            this.Adapter.DeleteCommand.Parameters[38].Value = ((double)(Original_EnsheabeGaz));
            this.Adapter.DeleteCommand.Parameters[39].Value = ((double)(Original_PaianKarvaAvarez));
            this.Adapter.DeleteCommand.Parameters[40].Value = ((double)(Original_HazineieEdareSabt));
            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(
                    string MelkTypeDescription, 
                    double JAvazeSHahrdari, 
                    double NaghsheEjraiiMohandesineNAzer, 
                    double GodBardariVaKhakbardari, 
                    double EjraieKamelFondasion, 
                    double EskeleteSakhtemanFB, 
                    double EjraieSaghf, 
                    double DivarChiniVaCharchoob, 
                    double SimanKariRooieVaPoshteBam, 
                    double AieghKariVaIsogam, 
                    double EjraieNemaieMojtama, 
                    double LoolehKeshieAbVaFazelab, 
                    double LoleKeshiBargh, 
                    double GachVaSefidKari, 
                    double SarmaieshVaGarmaiesh, 
                    double KafSazieVahedha, 
                    double KashiAshpazKhaneh, 
                    double PanjarehDoJedareh, 
                    double SakhtVaNasbeKomod, 
                    double SakhteDarHaieDakheli, 
                    double SakhteDareVorodieVahed, 
                    double SakhtVaNAsbeNArdeHa, 
                    double NasbeKelidPerizVaAnten, 
                    double SangePellehVaRahpelleh, 
                    double Shoomineh, 
                    double Asansoor, 
                    double TahviehMatboo, 
                    double NasbeTasisateMotorKhaneh, 
                    double NasbeTasisateEstakhr, 
                    double KashiKarieEstakhr, 
                    double KabinetAshpazkhaneh, 
                    double KharidVaNasbeDastgire, 
                    double KharidLavazemeBehdashti, 
                    double MohavvateSazi, 
                    double HazinehieBalaSari, 
                    double EnsheabeAbFazelab, 
                    double EnsheabeBargh, 
                    double EnsheabeGaz, 
                    double PaianKarvaAvarez, 
                    double HazineieEdareSabt) {
            if ((MelkTypeDescription == null)) {
                throw new global::System.ArgumentNullException("MelkTypeDescription");
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = ((string)(MelkTypeDescription));
            }
            this.Adapter.InsertCommand.Parameters[1].Value = ((double)(JAvazeSHahrdari));
            this.Adapter.InsertCommand.Parameters[2].Value = ((double)(NaghsheEjraiiMohandesineNAzer));
            this.Adapter.InsertCommand.Parameters[3].Value = ((double)(GodBardariVaKhakbardari));
            this.Adapter.InsertCommand.Parameters[4].Value = ((double)(EjraieKamelFondasion));
            this.Adapter.InsertCommand.Parameters[5].Value = ((double)(EskeleteSakhtemanFB));
            this.Adapter.InsertCommand.Parameters[6].Value = ((double)(EjraieSaghf));
            this.Adapter.InsertCommand.Parameters[7].Value = ((double)(DivarChiniVaCharchoob));
            this.Adapter.InsertCommand.Parameters[8].Value = ((double)(SimanKariRooieVaPoshteBam));
            this.Adapter.InsertCommand.Parameters[9].Value = ((double)(AieghKariVaIsogam));
            this.Adapter.InsertCommand.Parameters[10].Value = ((double)(EjraieNemaieMojtama));
            this.Adapter.InsertCommand.Parameters[11].Value = ((double)(LoolehKeshieAbVaFazelab));
            this.Adapter.InsertCommand.Parameters[12].Value = ((double)(LoleKeshiBargh));
            this.Adapter.InsertCommand.Parameters[13].Value = ((double)(GachVaSefidKari));
            this.Adapter.InsertCommand.Parameters[14].Value = ((double)(SarmaieshVaGarmaiesh));
            this.Adapter.InsertCommand.Parameters[15].Value = ((double)(KafSazieVahedha));
            this.Adapter.InsertCommand.Parameters[16].Value = ((double)(KashiAshpazKhaneh));
            this.Adapter.InsertCommand.Parameters[17].Value = ((double)(PanjarehDoJedareh));
            this.Adapter.InsertCommand.Parameters[18].Value = ((double)(SakhtVaNasbeKomod));
            this.Adapter.InsertCommand.Parameters[19].Value = ((double)(SakhteDarHaieDakheli));
            this.Adapter.InsertCommand.Parameters[20].Value = ((double)(SakhteDareVorodieVahed));
            this.Adapter.InsertCommand.Parameters[21].Value = ((double)(SakhtVaNAsbeNArdeHa));
            this.Adapter.InsertCommand.Parameters[22].Value = ((double)(NasbeKelidPerizVaAnten));
            this.Adapter.InsertCommand.Parameters[23].Value = ((double)(SangePellehVaRahpelleh));
            this.Adapter.InsertCommand.Parameters[24].Value = ((double)(Shoomineh));
            this.Adapter.InsertCommand.Parameters[25].Value = ((double)(Asansoor));
            this.Adapter.InsertCommand.Parameters[26].Value = ((double)(TahviehMatboo));
            this.Adapter.InsertCommand.Parameters[27].Value = ((double)(NasbeTasisateMotorKhaneh));
            this.Adapter.InsertCommand.Parameters[28].Value = ((double)(NasbeTasisateEstakhr));
            this.Adapter.InsertCommand.Parameters[29].Value = ((double)(KashiKarieEstakhr));
            this.Adapter.InsertCommand.Parameters[30].Value = ((double)(KabinetAshpazkhaneh));
            this.Adapter.InsertCommand.Parameters[31].Value = ((double)(KharidVaNasbeDastgire));
            this.Adapter.InsertCommand.Parameters[32].Value = ((double)(KharidLavazemeBehdashti));
            this.Adapter.InsertCommand.Parameters[33].Value = ((double)(MohavvateSazi));
            this.Adapter.InsertCommand.Parameters[34].Value = ((double)(HazinehieBalaSari));
            this.Adapter.InsertCommand.Parameters[35].Value = ((double)(EnsheabeAbFazelab));
            this.Adapter.InsertCommand.Parameters[36].Value = ((double)(EnsheabeBargh));
            this.Adapter.InsertCommand.Parameters[37].Value = ((double)(EnsheabeGaz));
            this.Adapter.InsertCommand.Parameters[38].Value = ((double)(PaianKarvaAvarez));
            this.Adapter.InsertCommand.Parameters[39].Value = ((double)(HazineieEdareSabt));
            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(
                    string MelkTypeDescription, 
                    double JAvazeSHahrdari, 
                    double NaghsheEjraiiMohandesineNAzer, 
                    double GodBardariVaKhakbardari, 
                    double EjraieKamelFondasion, 
                    double EskeleteSakhtemanFB, 
                    double EjraieSaghf, 
                    double DivarChiniVaCharchoob, 
                    double SimanKariRooieVaPoshteBam, 
                    double AieghKariVaIsogam, 
                    double EjraieNemaieMojtama, 
                    double LoolehKeshieAbVaFazelab, 
                    double LoleKeshiBargh, 
                    double GachVaSefidKari, 
                    double SarmaieshVaGarmaiesh, 
                    double KafSazieVahedha, 
                    double KashiAshpazKhaneh, 
                    double PanjarehDoJedareh, 
                    double SakhtVaNasbeKomod, 
                    double SakhteDarHaieDakheli, 
                    double SakhteDareVorodieVahed, 
                    double SakhtVaNAsbeNArdeHa, 
                    double NasbeKelidPerizVaAnten, 
                    double SangePellehVaRahpelleh, 
                    double Shoomineh, 
                    double Asansoor, 
                    double TahviehMatboo, 
                    double NasbeTasisateMotorKhaneh, 
                    double NasbeTasisateEstakhr, 
                    double KashiKarieEstakhr, 
                    double KabinetAshpazkhaneh, 
                    double KharidVaNasbeDastgire, 
                    double KharidLavazemeBehdashti, 
                    double MohavvateSazi, 
                    double HazinehieBalaSari, 
                    double EnsheabeAbFazelab, 
                    double EnsheabeBargh, 
                    double EnsheabeGaz, 
                    double PaianKarvaAvarez, 
                    double HazineieEdareSabt, 
                    long Original_tblMelkDetailsPricesID, 
                    string Original_MelkTypeDescription, 
                    double Original_JAvazeSHahrdari, 
                    double Original_NaghsheEjraiiMohandesineNAzer, 
                    double Original_GodBardariVaKhakbardari, 
                    double Original_EjraieKamelFondasion, 
                    double Original_EskeleteSakhtemanFB, 
                    double Original_EjraieSaghf, 
                    double Original_DivarChiniVaCharchoob, 
                    double Original_SimanKariRooieVaPoshteBam, 
                    double Original_AieghKariVaIsogam, 
                    double Original_EjraieNemaieMojtama, 
                    double Original_LoolehKeshieAbVaFazelab, 
                    double Original_LoleKeshiBargh, 
                    double Original_GachVaSefidKari, 
                    double Original_SarmaieshVaGarmaiesh, 
                    double Original_KafSazieVahedha, 
                    double Original_KashiAshpazKhaneh, 
                    double Original_PanjarehDoJedareh, 
                    double Original_SakhtVaNasbeKomod, 
                    double Original_SakhteDarHaieDakheli, 
                    double Original_SakhteDareVorodieVahed, 
                    double Original_SakhtVaNAsbeNArdeHa, 
                    double Original_NasbeKelidPerizVaAnten, 
                    double Original_SangePellehVaRahpelleh, 
                    double Original_Shoomineh, 
                    double Original_Asansoor, 
                    double Original_TahviehMatboo, 
                    double Original_NasbeTasisateMotorKhaneh, 
                    double Original_NasbeTasisateEstakhr, 
                    double Original_KashiKarieEstakhr, 
                    double Original_KabinetAshpazkhaneh, 
                    double Original_KharidVaNasbeDastgire, 
                    double Original_KharidLavazemeBehdashti, 
                    double Original_MohavvateSazi, 
                    double Original_HazinehieBalaSari, 
                    double Original_EnsheabeAbFazelab, 
                    double Original_EnsheabeBargh, 
                    double Original_EnsheabeGaz, 
                    double Original_PaianKarvaAvarez, 
                    double Original_HazineieEdareSabt, 
                    long tblMelkDetailsPricesID) {
            if ((MelkTypeDescription == null)) {
                throw new global::System.ArgumentNullException("MelkTypeDescription");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(MelkTypeDescription));
            }
            this.Adapter.UpdateCommand.Parameters[1].Value = ((double)(JAvazeSHahrdari));
            this.Adapter.UpdateCommand.Parameters[2].Value = ((double)(NaghsheEjraiiMohandesineNAzer));
            this.Adapter.UpdateCommand.Parameters[3].Value = ((double)(GodBardariVaKhakbardari));
            this.Adapter.UpdateCommand.Parameters[4].Value = ((double)(EjraieKamelFondasion));
            this.Adapter.UpdateCommand.Parameters[5].Value = ((double)(EskeleteSakhtemanFB));
            this.Adapter.UpdateCommand.Parameters[6].Value = ((double)(EjraieSaghf));
            this.Adapter.UpdateCommand.Parameters[7].Value = ((double)(DivarChiniVaCharchoob));
            this.Adapter.UpdateCommand.Parameters[8].Value = ((double)(SimanKariRooieVaPoshteBam));
            this.Adapter.UpdateCommand.Parameters[9].Value = ((double)(AieghKariVaIsogam));
            this.Adapter.UpdateCommand.Parameters[10].Value = ((double)(EjraieNemaieMojtama));
            this.Adapter.UpdateCommand.Parameters[11].Value = ((double)(LoolehKeshieAbVaFazelab));
            this.Adapter.UpdateCommand.Parameters[12].Value = ((double)(LoleKeshiBargh));
            this.Adapter.UpdateCommand.Parameters[13].Value = ((double)(GachVaSefidKari));
            this.Adapter.UpdateCommand.Parameters[14].Value = ((double)(SarmaieshVaGarmaiesh));
            this.Adapter.UpdateCommand.Parameters[15].Value = ((double)(KafSazieVahedha));
            this.Adapter.UpdateCommand.Parameters[16].Value = ((double)(KashiAshpazKhaneh));
            this.Adapter.UpdateCommand.Parameters[17].Value = ((double)(PanjarehDoJedareh));
            this.Adapter.UpdateCommand.Parameters[18].Value = ((double)(SakhtVaNasbeKomod));
            this.Adapter.UpdateCommand.Parameters[19].Value = ((double)(SakhteDarHaieDakheli));
            this.Adapter.UpdateCommand.Parameters[20].Value = ((double)(SakhteDareVorodieVahed));
            this.Adapter.UpdateCommand.Parameters[21].Value = ((double)(SakhtVaNAsbeNArdeHa));
            this.Adapter.UpdateCommand.Parameters[22].Value = ((double)(NasbeKelidPerizVaAnten));
            this.Adapter.UpdateCommand.Parameters[23].Value = ((double)(SangePellehVaRahpelleh));
            this.Adapter.UpdateCommand.Parameters[24].Value = ((double)(Shoomineh));
            this.Adapter.UpdateCommand.Parameters[25].Value = ((double)(Asansoor));
            this.Adapter.UpdateCommand.Parameters[26].Value = ((double)(TahviehMatboo));
            this.Adapter.UpdateCommand.Parameters[27].Value = ((double)(NasbeTasisateMotorKhaneh));
            this.Adapter.UpdateCommand.Parameters[28].Value = ((double)(NasbeTasisateEstakhr));
            this.Adapter.UpdateCommand.Parameters[29].Value = ((double)(KashiKarieEstakhr));
            this.Adapter.UpdateCommand.Parameters[30].Value = ((double)(KabinetAshpazkhaneh));
            this.Adapter.UpdateCommand.Parameters[31].Value = ((double)(KharidVaNasbeDastgire));
            this.Adapter.UpdateCommand.Parameters[32].Value = ((double)(KharidLavazemeBehdashti));
            this.Adapter.UpdateCommand.Parameters[33].Value = ((double)(MohavvateSazi));
            this.Adapter.UpdateCommand.Parameters[34].Value = ((double)(HazinehieBalaSari));
            this.Adapter.UpdateCommand.Parameters[35].Value = ((double)(EnsheabeAbFazelab));
            this.Adapter.UpdateCommand.Parameters[36].Value = ((double)(EnsheabeBargh));
            this.Adapter.UpdateCommand.Parameters[37].Value = ((double)(EnsheabeGaz));
            this.Adapter.UpdateCommand.Parameters[38].Value = ((double)(PaianKarvaAvarez));
            this.Adapter.UpdateCommand.Parameters[39].Value = ((double)(HazineieEdareSabt));
            this.Adapter.UpdateCommand.Parameters[40].Value = ((long)(Original_tblMelkDetailsPricesID));
            if ((Original_MelkTypeDescription == null)) {
                throw new global::System.ArgumentNullException("Original_MelkTypeDescription");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_MelkTypeDescription));
            }
            this.Adapter.UpdateCommand.Parameters[42].Value = ((double)(Original_JAvazeSHahrdari));
            this.Adapter.UpdateCommand.Parameters[43].Value = ((double)(Original_NaghsheEjraiiMohandesineNAzer));
            this.Adapter.UpdateCommand.Parameters[44].Value = ((double)(Original_GodBardariVaKhakbardari));
            this.Adapter.UpdateCommand.Parameters[45].Value = ((double)(Original_EjraieKamelFondasion));
            this.Adapter.UpdateCommand.Parameters[46].Value = ((double)(Original_EskeleteSakhtemanFB));
            this.Adapter.UpdateCommand.Parameters[47].Value = ((double)(Original_EjraieSaghf));
            this.Adapter.UpdateCommand.Parameters[48].Value = ((double)(Original_DivarChiniVaCharchoob));
            this.Adapter.UpdateCommand.Parameters[49].Value = ((double)(Original_SimanKariRooieVaPoshteBam));
            this.Adapter.UpdateCommand.Parameters[50].Value = ((double)(Original_AieghKariVaIsogam));
            this.Adapter.UpdateCommand.Parameters[51].Value = ((double)(Original_EjraieNemaieMojtama));
            this.Adapter.UpdateCommand.Parameters[52].Value = ((double)(Original_LoolehKeshieAbVaFazelab));
            this.Adapter.UpdateCommand.Parameters[53].Value = ((double)(Original_LoleKeshiBargh));
            this.Adapter.UpdateCommand.Parameters[54].Value = ((double)(Original_GachVaSefidKari));
            this.Adapter.UpdateCommand.Parameters[55].Value = ((double)(Original_SarmaieshVaGarmaiesh));
            this.Adapter.UpdateCommand.Parameters[56].Value = ((double)(Original_KafSazieVahedha));
            this.Adapter.UpdateCommand.Parameters[57].Value = ((double)(Original_KashiAshpazKhaneh));
            this.Adapter.UpdateCommand.Parameters[58].Value = ((double)(Original_PanjarehDoJedareh));
            this.Adapter.UpdateCommand.Parameters[59].Value = ((double)(Original_SakhtVaNasbeKomod));
            this.Adapter.UpdateCommand.Parameters[60].Value = ((double)(Original_SakhteDarHaieDakheli));
            this.Adapter.UpdateCommand.Parameters[61].Value = ((double)(Original_SakhteDareVorodieVahed));
            this.Adapter.UpdateCommand.Parameters[62].Value = ((double)(Original_SakhtVaNAsbeNArdeHa));
            this.Adapter.UpdateCommand.Parameters[63].Value = ((double)(Original_NasbeKelidPerizVaAnten));
            this.Adapter.UpdateCommand.Parameters[64].Value = ((double)(Original_SangePellehVaRahpelleh));
            this.Adapter.UpdateCommand.Parameters[65].Value = ((double)(Original_Shoomineh));
            this.Adapter.UpdateCommand.Parameters[66].Value = ((double)(Original_Asansoor));
            this.Adapter.UpdateCommand.Parameters[67].Value = ((double)(Original_TahviehMatboo));
            this.Adapter.UpdateCommand.Parameters[68].Value = ((double)(Original_NasbeTasisateMotorKhaneh));
            this.Adapter.UpdateCommand.Parameters[69].Value = ((double)(Original_NasbeTasisateEstakhr));
            this.Adapter.UpdateCommand.Parameters[70].Value = ((double)(Original_KashiKarieEstakhr));
            this.Adapter.UpdateCommand.Parameters[71].Value = ((double)(Original_KabinetAshpazkhaneh));
            this.Adapter.UpdateCommand.Parameters[72].Value = ((double)(Original_KharidVaNasbeDastgire));
            this.Adapter.UpdateCommand.Parameters[73].Value = ((double)(Original_KharidLavazemeBehdashti));
            this.Adapter.UpdateCommand.Parameters[74].Value = ((double)(Original_MohavvateSazi));
            this.Adapter.UpdateCommand.Parameters[75].Value = ((double)(Original_HazinehieBalaSari));
            this.Adapter.UpdateCommand.Parameters[76].Value = ((double)(Original_EnsheabeAbFazelab));
            this.Adapter.UpdateCommand.Parameters[77].Value = ((double)(Original_EnsheabeBargh));
            this.Adapter.UpdateCommand.Parameters[78].Value = ((double)(Original_EnsheabeGaz));
            this.Adapter.UpdateCommand.Parameters[79].Value = ((double)(Original_PaianKarvaAvarez));
            this.Adapter.UpdateCommand.Parameters[80].Value = ((double)(Original_HazineieEdareSabt));
            this.Adapter.UpdateCommand.Parameters[81].Value = ((long)(tblMelkDetailsPricesID));
            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(
                    string MelkTypeDescription, 
                    double JAvazeSHahrdari, 
                    double NaghsheEjraiiMohandesineNAzer, 
                    double GodBardariVaKhakbardari, 
                    double EjraieKamelFondasion, 
                    double EskeleteSakhtemanFB, 
                    double EjraieSaghf, 
                    double DivarChiniVaCharchoob, 
                    double SimanKariRooieVaPoshteBam, 
                    double AieghKariVaIsogam, 
                    double EjraieNemaieMojtama, 
                    double LoolehKeshieAbVaFazelab, 
                    double LoleKeshiBargh, 
                    double GachVaSefidKari, 
                    double SarmaieshVaGarmaiesh, 
                    double KafSazieVahedha, 
                    double KashiAshpazKhaneh, 
                    double PanjarehDoJedareh, 
                    double SakhtVaNasbeKomod, 
                    double SakhteDarHaieDakheli, 
                    double SakhteDareVorodieVahed, 
                    double SakhtVaNAsbeNArdeHa, 
                    double NasbeKelidPerizVaAnten, 
                    double SangePellehVaRahpelleh, 
                    double Shoomineh, 
                    double Asansoor, 
                    double TahviehMatboo, 
                    double NasbeTasisateMotorKhaneh, 
                    double NasbeTasisateEstakhr, 
                    double KashiKarieEstakhr, 
                    double KabinetAshpazkhaneh, 
                    double KharidVaNasbeDastgire, 
                    double KharidLavazemeBehdashti, 
                    double MohavvateSazi, 
                    double HazinehieBalaSari, 
                    double EnsheabeAbFazelab, 
                    double EnsheabeBargh, 
                    double EnsheabeGaz, 
                    double PaianKarvaAvarez, 
                    double HazineieEdareSabt, 
                    long Original_tblMelkDetailsPricesID, 
                    string Original_MelkTypeDescription, 
                    double Original_JAvazeSHahrdari, 
                    double Original_NaghsheEjraiiMohandesineNAzer, 
                    double Original_GodBardariVaKhakbardari, 
                    double Original_EjraieKamelFondasion, 
                    double Original_EskeleteSakhtemanFB, 
                    double Original_EjraieSaghf, 
                    double Original_DivarChiniVaCharchoob, 
                    double Original_SimanKariRooieVaPoshteBam, 
                    double Original_AieghKariVaIsogam, 
                    double Original_EjraieNemaieMojtama, 
                    double Original_LoolehKeshieAbVaFazelab, 
                    double Original_LoleKeshiBargh, 
                    double Original_GachVaSefidKari, 
                    double Original_SarmaieshVaGarmaiesh, 
                    double Original_KafSazieVahedha, 
                    double Original_KashiAshpazKhaneh, 
                    double Original_PanjarehDoJedareh, 
                    double Original_SakhtVaNasbeKomod, 
                    double Original_SakhteDarHaieDakheli, 
                    double Original_SakhteDareVorodieVahed, 
                    double Original_SakhtVaNAsbeNArdeHa, 
                    double Original_NasbeKelidPerizVaAnten, 
                    double Original_SangePellehVaRahpelleh, 
                    double Original_Shoomineh, 
                    double Original_Asansoor, 
                    double Original_TahviehMatboo, 
                    double Original_NasbeTasisateMotorKhaneh, 
                    double Original_NasbeTasisateEstakhr, 
                    double Original_KashiKarieEstakhr, 
                    double Original_KabinetAshpazkhaneh, 
                    double Original_KharidVaNasbeDastgire, 
                    double Original_KharidLavazemeBehdashti, 
                    double Original_MohavvateSazi, 
                    double Original_HazinehieBalaSari, 
                    double Original_EnsheabeAbFazelab, 
                    double Original_EnsheabeBargh, 
                    double Original_EnsheabeGaz, 
                    double Original_PaianKarvaAvarez, 
                    double Original_HazineieEdareSabt) {
            return this.Update(MelkTypeDescription, JAvazeSHahrdari, NaghsheEjraiiMohandesineNAzer, GodBardariVaKhakbardari, EjraieKamelFondasion, EskeleteSakhtemanFB, EjraieSaghf, DivarChiniVaCharchoob, SimanKariRooieVaPoshteBam, AieghKariVaIsogam, EjraieNemaieMojtama, LoolehKeshieAbVaFazelab, LoleKeshiBargh, GachVaSefidKari, SarmaieshVaGarmaiesh, KafSazieVahedha, KashiAshpazKhaneh, PanjarehDoJedareh, SakhtVaNasbeKomod, SakhteDarHaieDakheli, SakhteDareVorodieVahed, SakhtVaNAsbeNArdeHa, NasbeKelidPerizVaAnten, SangePellehVaRahpelleh, Shoomineh, Asansoor, TahviehMatboo, NasbeTasisateMotorKhaneh, NasbeTasisateEstakhr, KashiKarieEstakhr, KabinetAshpazkhaneh, KharidVaNasbeDastgire, KharidLavazemeBehdashti, MohavvateSazi, HazinehieBalaSari, EnsheabeAbFazelab, EnsheabeBargh, EnsheabeGaz, PaianKarvaAvarez, HazineieEdareSabt, Original_tblMelkDetailsPricesID, Original_MelkTypeDescription, Original_JAvazeSHahrdari, Original_NaghsheEjraiiMohandesineNAzer, Original_GodBardariVaKhakbardari, Original_EjraieKamelFondasion, Original_EskeleteSakhtemanFB, Original_EjraieSaghf, Original_DivarChiniVaCharchoob, Original_SimanKariRooieVaPoshteBam, Original_AieghKariVaIsogam, Original_EjraieNemaieMojtama, Original_LoolehKeshieAbVaFazelab, Original_LoleKeshiBargh, Original_GachVaSefidKari, Original_SarmaieshVaGarmaiesh, Original_KafSazieVahedha, Original_KashiAshpazKhaneh, Original_PanjarehDoJedareh, Original_SakhtVaNasbeKomod, Original_SakhteDarHaieDakheli, Original_SakhteDareVorodieVahed, Original_SakhtVaNAsbeNArdeHa, Original_NasbeKelidPerizVaAnten, Original_SangePellehVaRahpelleh, Original_Shoomineh, Original_Asansoor, Original_TahviehMatboo, Original_NasbeTasisateMotorKhaneh, Original_NasbeTasisateEstakhr, Original_KashiKarieEstakhr, Original_KabinetAshpazkhaneh, Original_KharidVaNasbeDastgire, Original_KharidLavazemeBehdashti, Original_MohavvateSazi, Original_HazinehieBalaSari, Original_EnsheabeAbFazelab, Original_EnsheabeBargh, Original_EnsheabeGaz, Original_PaianKarvaAvarez, Original_HazineieEdareSabt, Original_tblMelkDetailsPricesID);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
        public virtual int DeleteQuery(long tblMelkDetailsPricesID) {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
            command.Parameters[0].Value = ((long)(tblMelkDetailsPricesID));
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            int returnValue;
            try {
                returnValue = command.ExecuteNonQuery();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            return returnValue;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.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 tblMelkDetailsPrices1TableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public tblMelkDetailsPrices1TableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "tblMelkDetailsPrices1";
            tableMapping.ColumnMappings.Add("tblMelkDetailsPricesID", "tblMelkDetailsPricesID");
            tableMapping.ColumnMappings.Add("MelkTypeDescription", "MelkTypeDescription");
            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 [tblMelkDetailsPrices] WHERE (([tblMelkDetailsPricesID] = @Original_t" +
                "blMelkDetailsPricesID) AND ([MelkTypeDescription] = @Original_MelkTypeDescriptio" +
                "n))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_tblMelkDetailsPricesID", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tblMelkDetailsPricesID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MelkTypeDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkTypeDescription", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [tblMelkDetailsPrices] SET [MelkTypeDescription] = @MelkTypeDescription WHERE (([tblMelkDetailsPricesID] = @Original_tblMelkDetailsPricesID) AND ([MelkTypeDescription] = @Original_MelkTypeDescription));
SELECT tblMelkDetailsPricesID, MelkTypeDescription FROM tblMelkDetailsPrices WHERE (tblMelkDetailsPricesID = @tblMelkDetailsPricesID)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelkTypeDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkTypeDescription", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_tblMelkDetailsPricesID", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tblMelkDetailsPricesID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MelkTypeDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkTypeDescription", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tblMelkDetailsPricesID", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "tblMelkDetailsPricesID", 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::Morakhassi.Properties.Settings.Default.ArzeshGozariConnectionString;
        }
        
        [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  tblMelkDetailsPricesID, MelkTypeDescription\r\nFROM     tblMelkDetailsPrice" +
                "s";
            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(dtsArzeshGozari.tblMelkDetailsPrices1DataTable 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 dtsArzeshGozari.tblMelkDetailsPrices1DataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            dtsArzeshGozari.tblMelkDetailsPrices1DataTable dataTable = new dtsArzeshGozari.tblMelkDetailsPrices1DataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(dtsArzeshGozari.tblMelkDetailsPrices1DataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(dtsArzeshGozari dataSet) {
            return this.Adapter.Update(dataSet, "tblMelkDetailsPrices1");
        }
        
        [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(long Original_tblMelkDetailsPricesID, string Original_MelkTypeDescription) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((long)(Original_tblMelkDetailsPricesID));
            if ((Original_MelkTypeDescription == null)) {
                throw new global::System.ArgumentNullException("Original_MelkTypeDescription");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_MelkTypeDescription));
            }
            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.Update, true)]
        public virtual int Update(string MelkTypeDescription, long Original_tblMelkDetailsPricesID, string Original_MelkTypeDescription, long tblMelkDetailsPricesID) {
            if ((MelkTypeDescription == null)) {
                throw new global::System.ArgumentNullException("MelkTypeDescription");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(MelkTypeDescription));
            }
            this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(Original_tblMelkDetailsPricesID));
            if ((Original_MelkTypeDescription == null)) {
                throw new global::System.ArgumentNullException("Original_MelkTypeDescription");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_MelkTypeDescription));
            }
            this.Adapter.UpdateCommand.Parameters[3].Value = ((long)(tblMelkDetailsPricesID));
            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(string MelkTypeDescription, long Original_tblMelkDetailsPricesID, string Original_MelkTypeDescription) {
            return this.Update(MelkTypeDescription, Original_tblMelkDetailsPricesID, Original_MelkTypeDescription, Original_tblMelkDetailsPricesID);
        }
    }
    
    /// <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 tblMelksTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public tblMelksTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "tblMelks";
            tableMapping.ColumnMappings.Add("MelkID", "MelkID");
            tableMapping.ColumnMappings.Add("TotalPrice", "TotalPrice");
            tableMapping.ColumnMappings.Add("MelkDetailsPricesID", "MelkDetailsPricesID");
            tableMapping.ColumnMappings.Add("MelkDescription", "MelkDescription");
            tableMapping.ColumnMappings.Add("JAvazeSHahrdari", "JAvazeSHahrdari");
            tableMapping.ColumnMappings.Add("NaghsheEjraiiMohandesineNAzer", "NaghsheEjraiiMohandesineNAzer");
            tableMapping.ColumnMappings.Add("GodBardariVaKhakbardari", "GodBardariVaKhakbardari");
            tableMapping.ColumnMappings.Add("EjraieKamelFondasion", "EjraieKamelFondasion");
            tableMapping.ColumnMappings.Add("EskeleteSakhtemanFB", "EskeleteSakhtemanFB");
            tableMapping.ColumnMappings.Add("EjraieSaghf", "EjraieSaghf");
            tableMapping.ColumnMappings.Add("DivarChiniVaCharchoob", "DivarChiniVaCharchoob");
            tableMapping.ColumnMappings.Add("SimanKariRooieVaPoshteBam", "SimanKariRooieVaPoshteBam");
            tableMapping.ColumnMappings.Add("AieghKariVaIsogam", "AieghKariVaIsogam");
            tableMapping.ColumnMappings.Add("EjraieNemaieMojtama", "EjraieNemaieMojtama");
            tableMapping.ColumnMappings.Add("LoolehKeshieAbVaFazelab", "LoolehKeshieAbVaFazelab");
            tableMapping.ColumnMappings.Add("LoleKeshiBargh", "LoleKeshiBargh");
            tableMapping.ColumnMappings.Add("GachVaSefidKari", "GachVaSefidKari");
            tableMapping.ColumnMappings.Add("SarmaieshVaGarmaiesh", "SarmaieshVaGarmaiesh");
            tableMapping.ColumnMappings.Add("KafSazieVahedha", "KafSazieVahedha");
            tableMapping.ColumnMappings.Add("KashiAshpazKhaneh", "KashiAshpazKhaneh");
            tableMapping.ColumnMappings.Add("PanjarehDoJedareh", "PanjarehDoJedareh");
            tableMapping.ColumnMappings.Add("SakhtVaNasbeKomod", "SakhtVaNasbeKomod");
            tableMapping.ColumnMappings.Add("SakhteDarHaieDakheli", "SakhteDarHaieDakheli");
            tableMapping.ColumnMappings.Add("SakhteDareVorodieVahed", "SakhteDareVorodieVahed");
            tableMapping.ColumnMappings.Add("SakhtVaNAsbeNArdeHa", "SakhtVaNAsbeNArdeHa");
            tableMapping.ColumnMappings.Add("NasbeKelidPerizVaAnten", "NasbeKelidPerizVaAnten");
            tableMapping.ColumnMappings.Add("SangePellehVaRahpelleh", "SangePellehVaRahpelleh");
            tableMapping.ColumnMappings.Add("Shoomineh", "Shoomineh");
            tableMapping.ColumnMappings.Add("Asansoor", "Asansoor");
            tableMapping.ColumnMappings.Add("TahviehMatboo", "TahviehMatboo");
            tableMapping.ColumnMappings.Add("NasbeTasisateMotorKhaneh", "NasbeTasisateMotorKhaneh");
            tableMapping.ColumnMappings.Add("NasbeTasisateEstakhr", "NasbeTasisateEstakhr");
            tableMapping.ColumnMappings.Add("KashiKarieEstakhr", "KashiKarieEstakhr");
            tableMapping.ColumnMappings.Add("KabinetAshpazkhaneh", "KabinetAshpazkhaneh");
            tableMapping.ColumnMappings.Add("KharidVaNasbeDastgire", "KharidVaNasbeDastgire");
            tableMapping.ColumnMappings.Add("KharidLavazemeBehdashti", "KharidLavazemeBehdashti");
            tableMapping.ColumnMappings.Add("MohavvateSazi", "MohavvateSazi");
            tableMapping.ColumnMappings.Add("HazinehieBalaSari", "HazinehieBalaSari");
            tableMapping.ColumnMappings.Add("EnsheabeAbFazelab", "EnsheabeAbFazelab");
            tableMapping.ColumnMappings.Add("EnsheabeBargh", "EnsheabeBargh");
            tableMapping.ColumnMappings.Add("EnsheabeGaz", "EnsheabeGaz");
            tableMapping.ColumnMappings.Add("PaianKarvaAvarez", "PaianKarvaAvarez");
            tableMapping.ColumnMappings.Add("HazineieEdareSabt", "HazineieEdareSabt");
            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 [tblMelks] WHERE (([MelkID] = @Original_MelkID) AND ([TotalPrice] = @" +
                "Original_TotalPrice) AND ([MelkDetailsPricesID] = @Original_MelkDetailsPricesID)" +
                " AND ([MelkDescription] = @Original_MelkDescription) AND ([JAvazeSHahrdari] = @O" +
                "riginal_JAvazeSHahrdari) AND ([NaghsheEjraiiMohandesineNAzer] = @Original_Naghsh" +
                "eEjraiiMohandesineNAzer) AND ([GodBardariVaKhakbardari] = @Original_GodBardariVa" +
                "Khakbardari) AND ([EjraieKamelFondasion] = @Original_EjraieKamelFondasion) AND (" +
                "[EskeleteSakhtemanFB] = @Original_EskeleteSakhtemanFB) AND ([EjraieSaghf] = @Ori" +
                "ginal_EjraieSaghf) AND ([DivarChiniVaCharchoob] = @Original_DivarChiniVaCharchoo" +
                "b) AND ([SimanKariRooieVaPoshteBam] = @Original_SimanKariRooieVaPoshteBam) AND (" +
                "[AieghKariVaIsogam] = @Original_AieghKariVaIsogam) AND ([EjraieNemaieMojtama] = " +
                "@Original_EjraieNemaieMojtama) AND ([LoolehKeshieAbVaFazelab] = @Original_Looleh" +
                "KeshieAbVaFazelab) AND ([LoleKeshiBargh] = @Original_LoleKeshiBargh) AND ([GachV" +
                "aSefidKari] = @Original_GachVaSefidKari) AND ([SarmaieshVaGarmaiesh] = @Original" +
                "_SarmaieshVaGarmaiesh) AND ([KafSazieVahedha] = @Original_KafSazieVahedha) AND (" +
                "[KashiAshpazKhaneh] = @Original_KashiAshpazKhaneh) AND ([PanjarehDoJedareh] = @O" +
                "riginal_PanjarehDoJedareh) AND ([SakhtVaNasbeKomod] = @Original_SakhtVaNasbeKomo" +
                "d) AND ([SakhteDarHaieDakheli] = @Original_SakhteDarHaieDakheli) AND ([SakhteDar" +
                "eVorodieVahed] = @Original_SakhteDareVorodieVahed) AND ([SakhtVaNAsbeNArdeHa] = " +
                "@Original_SakhtVaNAsbeNArdeHa) AND ([NasbeKelidPerizVaAnten] = @Original_NasbeKe" +
                "lidPerizVaAnten) AND ([SangePellehVaRahpelleh] = @Original_SangePellehVaRahpelle" +
                "h) AND ([Shoomineh] = @Original_Shoomineh) AND ([Asansoor] = @Original_Asansoor)" +
                " AND ([TahviehMatboo] = @Original_TahviehMatboo) AND ([NasbeTasisateMotorKhaneh]" +
                " = @Original_NasbeTasisateMotorKhaneh) AND ([NasbeTasisateEstakhr] = @Original_N" +
                "asbeTasisateEstakhr) AND ([KashiKarieEstakhr] = @Original_KashiKarieEstakhr) AND" +
                " ([KabinetAshpazkhaneh] = @Original_KabinetAshpazkhaneh) AND ([KharidVaNasbeDast" +
                "gire] = @Original_KharidVaNasbeDastgire) AND ([KharidLavazemeBehdashti] = @Origi" +
                "nal_KharidLavazemeBehdashti) AND ([MohavvateSazi] = @Original_MohavvateSazi) AND" +
                " ([HazinehieBalaSari] = @Original_HazinehieBalaSari) AND ([EnsheabeAbFazelab] = " +
                "@Original_EnsheabeAbFazelab) AND ([EnsheabeBargh] = @Original_EnsheabeBargh) AND" +
                " ([EnsheabeGaz] = @Original_EnsheabeGaz) AND ([PaianKarvaAvarez] = @Original_Pai" +
                "anKarvaAvarez) AND ([HazineieEdareSabt] = @Original_HazineieEdareSabt))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MelkID", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotalPrice", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotalPrice", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MelkDetailsPricesID", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkDetailsPricesID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MelkDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkDescription", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_JAvazeSHahrdari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAvazeSHahrdari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NaghsheEjraiiMohandesineNAzer", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NaghsheEjraiiMohandesineNAzer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GodBardariVaKhakbardari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GodBardariVaKhakbardari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EjraieKamelFondasion", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieKamelFondasion", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EskeleteSakhtemanFB", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EskeleteSakhtemanFB", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EjraieSaghf", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieSaghf", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DivarChiniVaCharchoob", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DivarChiniVaCharchoob", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SimanKariRooieVaPoshteBam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SimanKariRooieVaPoshteBam", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_AieghKariVaIsogam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AieghKariVaIsogam", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EjraieNemaieMojtama", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieNemaieMojtama", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LoolehKeshieAbVaFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoolehKeshieAbVaFazelab", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LoleKeshiBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoleKeshiBargh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GachVaSefidKari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GachVaSefidKari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SarmaieshVaGarmaiesh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SarmaieshVaGarmaiesh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KafSazieVahedha", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KafSazieVahedha", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KashiAshpazKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiAshpazKhaneh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PanjarehDoJedareh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PanjarehDoJedareh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhtVaNasbeKomod", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNasbeKomod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhteDarHaieDakheli", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDarHaieDakheli", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhteDareVorodieVahed", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDareVorodieVahed", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhtVaNAsbeNArdeHa", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNAsbeNArdeHa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NasbeKelidPerizVaAnten", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeKelidPerizVaAnten", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SangePellehVaRahpelleh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SangePellehVaRahpelleh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Shoomineh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Shoomineh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Asansoor", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Asansoor", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TahviehMatboo", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TahviehMatboo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NasbeTasisateMotorKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateMotorKhaneh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NasbeTasisateEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateEstakhr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KashiKarieEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiKarieEstakhr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KabinetAshpazkhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KabinetAshpazkhaneh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KharidVaNasbeDastgire", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidVaNasbeDastgire", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KharidLavazemeBehdashti", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidLavazemeBehdashti", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MohavvateSazi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MohavvateSazi", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_HazinehieBalaSari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazinehieBalaSari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnsheabeAbFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeAbFazelab", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnsheabeBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeBargh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnsheabeGaz", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeGaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PaianKarvaAvarez", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PaianKarvaAvarez", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_HazineieEdareSabt", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazineieEdareSabt", 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 [tblMelks] ([TotalPrice], [MelkDetailsPricesID], [MelkDescription], [" +
                "JAvazeSHahrdari], [NaghsheEjraiiMohandesineNAzer], [GodBardariVaKhakbardari], [E" +
                "jraieKamelFondasion], [EskeleteSakhtemanFB], [EjraieSaghf], [DivarChiniVaCharcho" +
                "ob], [SimanKariRooieVaPoshteBam], [AieghKariVaIsogam], [EjraieNemaieMojtama], [L" +
                "oolehKeshieAbVaFazelab], [LoleKeshiBargh], [GachVaSefidKari], [SarmaieshVaGarmai" +
                "esh], [KafSazieVahedha], [KashiAshpazKhaneh], [PanjarehDoJedareh], [SakhtVaNasbe" +
                "Komod], [SakhteDarHaieDakheli], [SakhteDareVorodieVahed], [SakhtVaNAsbeNArdeHa]," +
                " [NasbeKelidPerizVaAnten], [SangePellehVaRahpelleh], [Shoomineh], [Asansoor], [T" +
                "ahviehMatboo], [NasbeTasisateMotorKhaneh], [NasbeTasisateEstakhr], [KashiKarieEs" +
                "takhr], [KabinetAshpazkhaneh], [KharidVaNasbeDastgire], [KharidLavazemeBehdashti" +
                "], [MohavvateSazi], [HazinehieBalaSari], [EnsheabeAbFazelab], [EnsheabeBargh], [" +
                "EnsheabeGaz], [PaianKarvaAvarez], [HazineieEdareSabt]) VALUES (@TotalPrice, @Mel" +
                "kDetailsPricesID, @MelkDescription, @JAvazeSHahrdari, @NaghsheEjraiiMohandesineN" +
                "Azer, @GodBardariVaKhakbardari, @EjraieKamelFondasion, @EskeleteSakhtemanFB, @Ej" +
                "raieSaghf, @DivarChiniVaCharchoob, @SimanKariRooieVaPoshteBam, @AieghKariVaIsoga" +
                "m, @EjraieNemaieMojtama, @LoolehKeshieAbVaFazelab, @LoleKeshiBargh, @GachVaSefid" +
                "Kari, @SarmaieshVaGarmaiesh, @KafSazieVahedha, @KashiAshpazKhaneh, @PanjarehDoJe" +
                "dareh, @SakhtVaNasbeKomod, @SakhteDarHaieDakheli, @SakhteDareVorodieVahed, @Sakh" +
                "tVaNAsbeNArdeHa, @NasbeKelidPerizVaAnten, @SangePellehVaRahpelleh, @Shoomineh, @" +
                "Asansoor, @TahviehMatboo, @NasbeTasisateMotorKhaneh, @NasbeTasisateEstakhr, @Kas" +
                "hiKarieEstakhr, @KabinetAshpazkhaneh, @KharidVaNasbeDastgire, @KharidLavazemeBeh" +
                "dashti, @MohavvateSazi, @HazinehieBalaSari, @EnsheabeAbFazelab, @EnsheabeBargh, " +
                "@EnsheabeGaz, @PaianKarvaAvarez, @HazineieEdareSabt);\r\nSELECT MelkID, TotalPrice" +
                ", MelkDetailsPricesID, MelkDescription, JAvazeSHahrdari, NaghsheEjraiiMohandesin" +
                "eNAzer, GodBardariVaKhakbardari, EjraieKamelFondasion, EskeleteSakhtemanFB, Ejra" +
                "ieSaghf, DivarChiniVaCharchoob, SimanKariRooieVaPoshteBam, AieghKariVaIsogam, Ej" +
                "raieNemaieMojtama, LoolehKeshieAbVaFazelab, LoleKeshiBargh, GachVaSefidKari, Sar" +
                "maieshVaGarmaiesh, KafSazieVahedha, KashiAshpazKhaneh, PanjarehDoJedareh, SakhtV" +
                "aNasbeKomod, SakhteDarHaieDakheli, SakhteDareVorodieVahed, SakhtVaNAsbeNArdeHa, " +
                "NasbeKelidPerizVaAnten, SangePellehVaRahpelleh, Shoomineh, Asansoor, TahviehMatb" +
                "oo, NasbeTasisateMotorKhaneh, NasbeTasisateEstakhr, KashiKarieEstakhr, KabinetAs" +
                "hpazkhaneh, KharidVaNasbeDastgire, KharidLavazemeBehdashti, MohavvateSazi, Hazin" +
                "ehieBalaSari, EnsheabeAbFazelab, EnsheabeBargh, EnsheabeGaz, PaianKarvaAvarez, H" +
                "azineieEdareSabt FROM tblMelks WHERE (MelkID = SCOPE_IDENTITY()) ORDER BY MelkID" +
                " DESC";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotalPrice", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotalPrice", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelkDetailsPricesID", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkDetailsPricesID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelkDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkDescription", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JAvazeSHahrdari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAvazeSHahrdari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NaghsheEjraiiMohandesineNAzer", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NaghsheEjraiiMohandesineNAzer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GodBardariVaKhakbardari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GodBardariVaKhakbardari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieKamelFondasion", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieKamelFondasion", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EskeleteSakhtemanFB", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EskeleteSakhtemanFB", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieSaghf", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieSaghf", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DivarChiniVaCharchoob", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DivarChiniVaCharchoob", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SimanKariRooieVaPoshteBam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SimanKariRooieVaPoshteBam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AieghKariVaIsogam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AieghKariVaIsogam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieNemaieMojtama", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieNemaieMojtama", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LoolehKeshieAbVaFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoolehKeshieAbVaFazelab", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LoleKeshiBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoleKeshiBargh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GachVaSefidKari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GachVaSefidKari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SarmaieshVaGarmaiesh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SarmaieshVaGarmaiesh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KafSazieVahedha", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KafSazieVahedha", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KashiAshpazKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiAshpazKhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PanjarehDoJedareh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PanjarehDoJedareh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhtVaNasbeKomod", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNasbeKomod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhteDarHaieDakheli", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDarHaieDakheli", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhteDareVorodieVahed", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDareVorodieVahed", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhtVaNAsbeNArdeHa", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNAsbeNArdeHa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeKelidPerizVaAnten", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeKelidPerizVaAnten", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SangePellehVaRahpelleh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SangePellehVaRahpelleh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Shoomineh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Shoomineh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Asansoor", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Asansoor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TahviehMatboo", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TahviehMatboo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeTasisateMotorKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateMotorKhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeTasisateEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateEstakhr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KashiKarieEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiKarieEstakhr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KabinetAshpazkhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KabinetAshpazkhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KharidVaNasbeDastgire", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidVaNasbeDastgire", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KharidLavazemeBehdashti", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidLavazemeBehdashti", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MohavvateSazi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MohavvateSazi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HazinehieBalaSari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazinehieBalaSari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeAbFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeAbFazelab", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeBargh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeGaz", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeGaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PaianKarvaAvarez", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PaianKarvaAvarez", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HazineieEdareSabt", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazineieEdareSabt", 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 [tblMelks] SET [TotalPrice] = @TotalPrice, [MelkDetailsPricesID] = @MelkDe" +
                "tailsPricesID, [MelkDescription] = @MelkDescription, [JAvazeSHahrdari] = @JAvaze" +
                "SHahrdari, [NaghsheEjraiiMohandesineNAzer] = @NaghsheEjraiiMohandesineNAzer, [Go" +
                "dBardariVaKhakbardari] = @GodBardariVaKhakbardari, [EjraieKamelFondasion] = @Ejr" +
                "aieKamelFondasion, [EskeleteSakhtemanFB] = @EskeleteSakhtemanFB, [EjraieSaghf] =" +
                " @EjraieSaghf, [DivarChiniVaCharchoob] = @DivarChiniVaCharchoob, [SimanKariRooie" +
                "VaPoshteBam] = @SimanKariRooieVaPoshteBam, [AieghKariVaIsogam] = @AieghKariVaIso" +
                "gam, [EjraieNemaieMojtama] = @EjraieNemaieMojtama, [LoolehKeshieAbVaFazelab] = @" +
                "LoolehKeshieAbVaFazelab, [LoleKeshiBargh] = @LoleKeshiBargh, [GachVaSefidKari] =" +
                " @GachVaSefidKari, [SarmaieshVaGarmaiesh] = @SarmaieshVaGarmaiesh, [KafSazieVahe" +
                "dha] = @KafSazieVahedha, [KashiAshpazKhaneh] = @KashiAshpazKhaneh, [PanjarehDoJe" +
                "dareh] = @PanjarehDoJedareh, [SakhtVaNasbeKomod] = @SakhtVaNasbeKomod, [SakhteDa" +
                "rHaieDakheli] = @SakhteDarHaieDakheli, [SakhteDareVorodieVahed] = @SakhteDareVor" +
                "odieVahed, [SakhtVaNAsbeNArdeHa] = @SakhtVaNAsbeNArdeHa, [NasbeKelidPerizVaAnten" +
                "] = @NasbeKelidPerizVaAnten, [SangePellehVaRahpelleh] = @SangePellehVaRahpelleh," +
                " [Shoomineh] = @Shoomineh, [Asansoor] = @Asansoor, [TahviehMatboo] = @TahviehMat" +
                "boo, [NasbeTasisateMotorKhaneh] = @NasbeTasisateMotorKhaneh, [NasbeTasisateEstak" +
                "hr] = @NasbeTasisateEstakhr, [KashiKarieEstakhr] = @KashiKarieEstakhr, [KabinetA" +
                "shpazkhaneh] = @KabinetAshpazkhaneh, [KharidVaNasbeDastgire] = @KharidVaNasbeDas" +
                "tgire, [KharidLavazemeBehdashti] = @KharidLavazemeBehdashti, [MohavvateSazi] = @" +
                "MohavvateSazi, [HazinehieBalaSari] = @HazinehieBalaSari, [EnsheabeAbFazelab] = @" +
                "EnsheabeAbFazelab, [EnsheabeBargh] = @EnsheabeBargh, [EnsheabeGaz] = @EnsheabeGa" +
                "z, [PaianKarvaAvarez] = @PaianKarvaAvarez, [HazineieEdareSabt] = @HazineieEdareS" +
                "abt WHERE (([MelkID] = @Original_MelkID) AND ([TotalPrice] = @Original_TotalPric" +
                "e) AND ([MelkDetailsPricesID] = @Original_MelkDetailsPricesID) AND ([MelkDescrip" +
                "tion] = @Original_MelkDescription) AND ([JAvazeSHahrdari] = @Original_JAvazeSHah" +
                "rdari) AND ([NaghsheEjraiiMohandesineNAzer] = @Original_NaghsheEjraiiMohandesine" +
                "NAzer) AND ([GodBardariVaKhakbardari] = @Original_GodBardariVaKhakbardari) AND (" +
                "[EjraieKamelFondasion] = @Original_EjraieKamelFondasion) AND ([EskeleteSakhteman" +
                "FB] = @Original_EskeleteSakhtemanFB) AND ([EjraieSaghf] = @Original_EjraieSaghf)" +
                " AND ([DivarChiniVaCharchoob] = @Original_DivarChiniVaCharchoob) AND ([SimanKari" +
                "RooieVaPoshteBam] = @Original_SimanKariRooieVaPoshteBam) AND ([AieghKariVaIsogam" +
                "] = @Original_AieghKariVaIsogam) AND ([EjraieNemaieMojtama] = @Original_EjraieNe" +
                "maieMojtama) AND ([LoolehKeshieAbVaFazelab] = @Original_LoolehKeshieAbVaFazelab)" +
                " AND ([LoleKeshiBargh] = @Original_LoleKeshiBargh) AND ([GachVaSefidKari] = @Ori" +
                "ginal_GachVaSefidKari) AND ([SarmaieshVaGarmaiesh] = @Original_SarmaieshVaGarmai" +
                "esh) AND ([KafSazieVahedha] = @Original_KafSazieVahedha) AND ([KashiAshpazKhaneh" +
                "] = @Original_KashiAshpazKhaneh) AND ([PanjarehDoJedareh] = @Original_PanjarehDo" +
                "Jedareh) AND ([SakhtVaNasbeKomod] = @Original_SakhtVaNasbeKomod) AND ([SakhteDar" +
                "HaieDakheli] = @Original_SakhteDarHaieDakheli) AND ([SakhteDareVorodieVahed] = @" +
                "Original_SakhteDareVorodieVahed) AND ([SakhtVaNAsbeNArdeHa] = @Original_SakhtVaN" +
                "AsbeNArdeHa) AND ([NasbeKelidPerizVaAnten] = @Original_NasbeKelidPerizVaAnten) A" +
                "ND ([SangePellehVaRahpelleh] = @Original_SangePellehVaRahpelleh) AND ([Shoomineh" +
                "] = @Original_Shoomineh) AND ([Asansoor] = @Original_Asansoor) AND ([TahviehMatb" +
                "oo] = @Original_TahviehMatboo) AND ([NasbeTasisateMotorKhaneh] = @Original_Nasbe" +
                "TasisateMotorKhaneh) AND ([NasbeTasisateEstakhr] = @Original_NasbeTasisateEstakh" +
                "r) AND ([KashiKarieEstakhr] = @Original_KashiKarieEstakhr) AND ([KabinetAshpazkh" +
                "aneh] = @Original_KabinetAshpazkhaneh) AND ([KharidVaNasbeDastgire] = @Original_" +
                "KharidVaNasbeDastgire) AND ([KharidLavazemeBehdashti] = @Original_KharidLavazeme" +
                "Behdashti) AND ([MohavvateSazi] = @Original_MohavvateSazi) AND ([HazinehieBalaSa" +
                "ri] = @Original_HazinehieBalaSari) AND ([EnsheabeAbFazelab] = @Original_Ensheabe" +
                "AbFazelab) AND ([EnsheabeBargh] = @Original_EnsheabeBargh) AND ([EnsheabeGaz] = " +
                "@Original_EnsheabeGaz) AND ([PaianKarvaAvarez] = @Original_PaianKarvaAvarez) AND" +
                " ([HazineieEdareSabt] = @Original_HazineieEdareSabt));\r\nSELECT MelkID, TotalPric" +
                "e, MelkDetailsPricesID, MelkDescription, JAvazeSHahrdari, NaghsheEjraiiMohandesi" +
                "neNAzer, GodBardariVaKhakbardari, EjraieKamelFondasion, EskeleteSakhtemanFB, Ejr" +
                "aieSaghf, DivarChiniVaCharchoob, SimanKariRooieVaPoshteBam, AieghKariVaIsogam, E" +
                "jraieNemaieMojtama, LoolehKeshieAbVaFazelab, LoleKeshiBargh, GachVaSefidKari, Sa" +
                "rmaieshVaGarmaiesh, KafSazieVahedha, KashiAshpazKhaneh, PanjarehDoJedareh, Sakht" +
                "VaNasbeKomod, SakhteDarHaieDakheli, SakhteDareVorodieVahed, SakhtVaNAsbeNArdeHa," +
                " NasbeKelidPerizVaAnten, SangePellehVaRahpelleh, Shoomineh, Asansoor, TahviehMat" +
                "boo, NasbeTasisateMotorKhaneh, NasbeTasisateEstakhr, KashiKarieEstakhr, KabinetA" +
                "shpazkhaneh, KharidVaNasbeDastgire, KharidLavazemeBehdashti, MohavvateSazi, Hazi" +
                "nehieBalaSari, EnsheabeAbFazelab, EnsheabeBargh, EnsheabeGaz, PaianKarvaAvarez, " +
                "HazineieEdareSabt FROM tblMelks WHERE (MelkID = @MelkID) ORDER BY MelkID DESC";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotalPrice", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotalPrice", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelkDetailsPricesID", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkDetailsPricesID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelkDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkDescription", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JAvazeSHahrdari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAvazeSHahrdari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NaghsheEjraiiMohandesineNAzer", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NaghsheEjraiiMohandesineNAzer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GodBardariVaKhakbardari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GodBardariVaKhakbardari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieKamelFondasion", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieKamelFondasion", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EskeleteSakhtemanFB", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EskeleteSakhtemanFB", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieSaghf", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieSaghf", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DivarChiniVaCharchoob", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DivarChiniVaCharchoob", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SimanKariRooieVaPoshteBam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SimanKariRooieVaPoshteBam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AieghKariVaIsogam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AieghKariVaIsogam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieNemaieMojtama", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieNemaieMojtama", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LoolehKeshieAbVaFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoolehKeshieAbVaFazelab", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LoleKeshiBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoleKeshiBargh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GachVaSefidKari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GachVaSefidKari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SarmaieshVaGarmaiesh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SarmaieshVaGarmaiesh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KafSazieVahedha", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KafSazieVahedha", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KashiAshpazKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiAshpazKhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PanjarehDoJedareh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PanjarehDoJedareh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhtVaNasbeKomod", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNasbeKomod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhteDarHaieDakheli", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDarHaieDakheli", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhteDareVorodieVahed", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDareVorodieVahed", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhtVaNAsbeNArdeHa", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNAsbeNArdeHa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeKelidPerizVaAnten", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeKelidPerizVaAnten", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SangePellehVaRahpelleh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SangePellehVaRahpelleh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Shoomineh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Shoomineh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Asansoor", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Asansoor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TahviehMatboo", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TahviehMatboo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeTasisateMotorKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateMotorKhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeTasisateEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateEstakhr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KashiKarieEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiKarieEstakhr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KabinetAshpazkhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KabinetAshpazkhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KharidVaNasbeDastgire", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidVaNasbeDastgire", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KharidLavazemeBehdashti", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidLavazemeBehdashti", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MohavvateSazi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MohavvateSazi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HazinehieBalaSari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazinehieBalaSari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeAbFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeAbFazelab", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeBargh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeGaz", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeGaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PaianKarvaAvarez", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PaianKarvaAvarez", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HazineieEdareSabt", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazineieEdareSabt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MelkID", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotalPrice", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotalPrice", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MelkDetailsPricesID", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkDetailsPricesID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MelkDescription", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MelkDescription", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_JAvazeSHahrdari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAvazeSHahrdari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NaghsheEjraiiMohandesineNAzer", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NaghsheEjraiiMohandesineNAzer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GodBardariVaKhakbardari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GodBardariVaKhakbardari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EjraieKamelFondasion", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieKamelFondasion", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EskeleteSakhtemanFB", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EskeleteSakhtemanFB", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EjraieSaghf", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieSaghf", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DivarChiniVaCharchoob", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DivarChiniVaCharchoob", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SimanKariRooieVaPoshteBam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SimanKariRooieVaPoshteBam", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_AieghKariVaIsogam", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AieghKariVaIsogam", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EjraieNemaieMojtama", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieNemaieMojtama", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LoolehKeshieAbVaFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoolehKeshieAbVaFazelab", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LoleKeshiBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LoleKeshiBargh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GachVaSefidKari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GachVaSefidKari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SarmaieshVaGarmaiesh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SarmaieshVaGarmaiesh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KafSazieVahedha", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KafSazieVahedha", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KashiAshpazKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiAshpazKhaneh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PanjarehDoJedareh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PanjarehDoJedareh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhtVaNasbeKomod", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNasbeKomod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhteDarHaieDakheli", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDarHaieDakheli", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhteDareVorodieVahed", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDareVorodieVahed", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SakhtVaNAsbeNArdeHa", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNAsbeNArdeHa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NasbeKelidPerizVaAnten", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeKelidPerizVaAnten", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SangePellehVaRahpelleh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SangePellehVaRahpelleh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Shoomineh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Shoomineh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Asansoor", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Asansoor", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TahviehMatboo", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TahviehMatboo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NasbeTasisateMotorKhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateMotorKhaneh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NasbeTasisateEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateEstakhr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KashiKarieEstakhr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KashiKarieEstakhr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KabinetAshpazkhaneh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KabinetAshpazkhaneh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KharidVaNasbeDastgire", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidVaNasbeDastgire", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KharidLavazemeBehdashti", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KharidLavazemeBehdashti", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MohavvateSazi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MohavvateSazi", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_HazinehieBalaSari", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazinehieBalaSari", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnsheabeAbFazelab", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeAbFazelab", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnsheabeBargh", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeBargh", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnsheabeGaz", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeGaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PaianKarvaAvarez", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PaianKarvaAvarez", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_HazineieEdareSabt", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HazineieEdareSabt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelkID", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "MelkID", 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::Morakhassi.Properties.Settings.Default.ArzeshGozariConnectionString;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT  MelkID, TotalPrice, MelkDetailsPricesID, MelkDescription, JAvazeSHahrdari, NaghsheEjraiiMohandesineNAzer, GodBardariVaKhakbardari, EjraieKamelFondasion, EskeleteSakhtemanFB, 
               EjraieSaghf, DivarChiniVaCharchoob, SimanKariRooieVaPoshteBam, AieghKariVaIsogam, EjraieNemaieMojtama, LoolehKeshieAbVaFazelab, LoleKeshiBargh, GachVaSefidKari, 
               SarmaieshVaGarmaiesh, KafSazieVahedha, KashiAshpazKhaneh, PanjarehDoJedareh, SakhtVaNasbeKomod, SakhteDarHaieDakheli, SakhteDareVorodieVahed, SakhtVaNAsbeNArdeHa, 
               NasbeKelidPerizVaAnten, SangePellehVaRahpelleh, Shoomineh, Asansoor, TahviehMatboo, NasbeTasisateMotorKhaneh, NasbeTasisateEstakhr, KashiKarieEstakhr, KabinetAshpazkhaneh, 
               KharidVaNasbeDastgire, KharidLavazemeBehdashti, MohavvateSazi, HazinehieBalaSari, EnsheabeAbFazelab, EnsheabeBargh, EnsheabeGaz, PaianKarvaAvarez, HazineieEdareSabt
FROM     tblMelks
ORDER BY MelkID DESC";
            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 = "DELETE FROM tblMelks\r\nWHERE  (MelkID = @MelkID)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelkID", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "MelkID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = @"SELECT  MelkID, TotalPrice, MelkDetailsPricesID, MelkDescription, JAvazeSHahrdari, NaghsheEjraiiMohandesineNAzer, GodBardariVaKhakbardari, EjraieKamelFondasion, EskeleteSakhtemanFB, 
               EjraieSaghf, DivarChiniVaCharchoob, SimanKariRooieVaPoshteBam, AieghKariVaIsogam, EjraieNemaieMojtama, LoolehKeshieAbVaFazelab, LoleKeshiBargh, GachVaSefidKari, 
               SarmaieshVaGarmaiesh, KafSazieVahedha, KashiAshpazKhaneh, PanjarehDoJedareh, SakhtVaNasbeKomod, SakhteDarHaieDakheli, SakhteDareVorodieVahed, SakhtVaNAsbeNArdeHa, 
               NasbeKelidPerizVaAnten, SangePellehVaRahpelleh, Shoomineh, Asansoor, TahviehMatboo, NasbeTasisateMotorKhaneh, NasbeTasisateEstakhr, KashiKarieEstakhr, KabinetAshpazkhaneh, 
               KharidVaNasbeDastgire, KharidLavazemeBehdashti, MohavvateSazi, HazinehieBalaSari, EnsheabeAbFazelab, EnsheabeBargh, EnsheabeGaz, PaianKarvaAvarez, HazineieEdareSabt
FROM     tblMelks
WHERE  (MelkDescription LIKE @MelkDescription)
ORDER BY MelkID DESC";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelkDescription", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, "MelkDescription", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[3].Connection = this.Connection;
            this._commandCollection[3].CommandText = "UPDATE tblMelks\r\nSET        TotalPrice = @TotalPrice, MelkDetailsPricesID = @Melk" +
                "DetailsPricesID, MelkDescription = @MelkDescription, JAvazeSHahrdari = @JAvazeSH" +
                "ahrdari, \r\n               NaghsheEjraiiMohandesineNAzer = @NaghsheEjraiiMohandes" +
                "ineNAzer, GodBardariVaKhakbardari = @GodBardariVaKhakbardari, EjraieKamelFondasi" +
                "on = @EjraieKamelFondasion, \r\n               EskeleteSakhtemanFB = @EskeleteSakh" +
                "temanFB, EjraieSaghf = @EjraieSaghf, DivarChiniVaCharchoob = @DivarChiniVaCharch" +
                "oob, \r\n               SimanKariRooieVaPoshteBam = @SimanKariRooieVaPoshteBam, Ai" +
                "eghKariVaIsogam = @AieghKariVaIsogam, EjraieNemaieMojtama = @EjraieNemaieMojtama" +
                ", \r\n               LoolehKeshieAbVaFazelab = @LoolehKeshieAbVaFazelab, LoleKeshi" +
                "Bargh = @LoleKeshiBargh, GachVaSefidKari = @GachVaSefidKari, SarmaieshVaGarmaies" +
                "h = @SarmaieshVaGarmaiesh, \r\n               KafSazieVahedha = @KafSazieVahedha, " +
                "KashiAshpazKhaneh = @KashiAshpazKhaneh, PanjarehDoJedareh = @PanjarehDoJedareh, " +
                "SakhtVaNasbeKomod = @SakhtVaNasbeKomod, \r\n               SakhteDarHaieDakheli = " +
                "@SakhteDarHaieDakheli, SakhteDareVorodieVahed = @SakhteDareVorodieVahed, SakhtVa" +
                "NAsbeNArdeHa = @SakhtVaNAsbeNArdeHa, \r\n               NasbeKelidPerizVaAnten = @" +
                "NasbeKelidPerizVaAnten, SangePellehVaRahpelleh = @SangePellehVaRahpelleh, Shoomi" +
                "neh = @Shoomineh, Asansoor = @Asansoor, \r\n               TahviehMatboo = @Tahvie" +
                "hMatboo, NasbeTasisateMotorKhaneh = @NasbeTasisateMotorKhaneh, NasbeTasisateEsta" +
                "khr = @NasbeTasisateEstakhr, KashiKarieEstakhr = @KashiKarieEstakhr, \r\n         " +
                "      KabinetAshpazkhaneh = @KabinetAshpazkhaneh, KharidVaNasbeDastgire = @Khari" +
                "dVaNasbeDastgire, KharidLavazemeBehdashti = @KharidLavazemeBehdashti, \r\n        " +
                "       MohavvateSazi = @MohavvateSazi, HazinehieBalaSari = @HazinehieBalaSari, E" +
                "nsheabeAbFazelab = @EnsheabeAbFazelab, EnsheabeBargh = @EnsheabeBargh, \r\n       " +
                "        EnsheabeGaz = @EnsheabeGaz, PaianKarvaAvarez = @PaianKarvaAvarez, Hazine" +
                "ieEdareSabt = @HazineieEdareSabt\r\nWHERE  (MelkID = @MelkID); \r\nSELECT MelkID, To" +
                "talPrice, MelkDetailsPricesID, MelkDescription, JAvazeSHahrdari, NaghsheEjraiiMo" +
                "handesineNAzer, GodBardariVaKhakbardari, EjraieKamelFondasion, EskeleteSakhteman" +
                "FB, EjraieSaghf, DivarChiniVaCharchoob, SimanKariRooieVaPoshteBam, AieghKariVaIs" +
                "ogam, EjraieNemaieMojtama, LoolehKeshieAbVaFazelab, LoleKeshiBargh, GachVaSefidK" +
                "ari, SarmaieshVaGarmaiesh, KafSazieVahedha, KashiAshpazKhaneh, PanjarehDoJedareh" +
                ", SakhtVaNasbeKomod, SakhteDarHaieDakheli, SakhteDareVorodieVahed, SakhtVaNAsbeN" +
                "ArdeHa, NasbeKelidPerizVaAnten, SangePellehVaRahpelleh, Shoomineh, Asansoor, Tah" +
                "viehMatboo, NasbeTasisateMotorKhaneh, NasbeTasisateEstakhr, KashiKarieEstakhr, K" +
                "abinetAshpazkhaneh, KharidVaNasbeDastgire, KharidLavazemeBehdashti, MohavvateSaz" +
                "i, HazinehieBalaSari, EnsheabeAbFazelab, EnsheabeBargh, EnsheabeGaz, PaianKarvaA" +
                "varez, HazineieEdareSabt FROM tblMelks WHERE (MelkID = @MelkID) ORDER BY MelkID " +
                "DESC";
            this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotalPrice", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TotalPrice", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelkDetailsPricesID", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "MelkDetailsPricesID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelkDescription", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, "MelkDescription", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JAvazeSHahrdari", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "JAvazeSHahrdari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NaghsheEjraiiMohandesineNAzer", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "NaghsheEjraiiMohandesineNAzer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GodBardariVaKhakbardari", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "GodBardariVaKhakbardari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieKamelFondasion", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieKamelFondasion", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EskeleteSakhtemanFB", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "EskeleteSakhtemanFB", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieSaghf", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieSaghf", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DivarChiniVaCharchoob", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "DivarChiniVaCharchoob", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SimanKariRooieVaPoshteBam", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "SimanKariRooieVaPoshteBam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AieghKariVaIsogam", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "AieghKariVaIsogam", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EjraieNemaieMojtama", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "EjraieNemaieMojtama", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LoolehKeshieAbVaFazelab", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "LoolehKeshieAbVaFazelab", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LoleKeshiBargh", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "LoleKeshiBargh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GachVaSefidKari", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "GachVaSefidKari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SarmaieshVaGarmaiesh", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "SarmaieshVaGarmaiesh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KafSazieVahedha", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "KafSazieVahedha", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KashiAshpazKhaneh", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "KashiAshpazKhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PanjarehDoJedareh", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "PanjarehDoJedareh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhtVaNasbeKomod", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNasbeKomod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhteDarHaieDakheli", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDarHaieDakheli", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhteDareVorodieVahed", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "SakhteDareVorodieVahed", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SakhtVaNAsbeNArdeHa", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "SakhtVaNAsbeNArdeHa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeKelidPerizVaAnten", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeKelidPerizVaAnten", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SangePellehVaRahpelleh", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "SangePellehVaRahpelleh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Shoomineh", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "Shoomineh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Asansoor", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "Asansoor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TahviehMatboo", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "TahviehMatboo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeTasisateMotorKhaneh", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateMotorKhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NasbeTasisateEstakhr", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "NasbeTasisateEstakhr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KashiKarieEstakhr", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "KashiKarieEstakhr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KabinetAshpazkhaneh", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "KabinetAshpazkhaneh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KharidVaNasbeDastgire", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "KharidVaNasbeDastgire", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KharidLavazemeBehdashti", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "KharidLavazemeBehdashti", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MohavvateSazi", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "MohavvateSazi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HazinehieBalaSari", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "HazinehieBalaSari", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeAbFazelab", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeAbFazelab", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeBargh", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeBargh", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnsheabeGaz", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "EnsheabeGaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PaianKarvaAvarez", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "PaianKarvaAvarez", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HazineieEdareSabt", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "HazineieEdareSabt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MelkID", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "MelkID", global::System.Data.DataRowVersion.Original, 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(dtsArzeshGozari.tblMelksDataTable 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 dtsArzeshGozari.tblMelksDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            dtsArzeshGozari.tblMelksDataTable dataTable = new dtsArzeshGozari.tblMelksDataTable();
            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 FillBy(dtsArzeshGozari.tblMelksDataTable dataTable, string MelkDescription) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((MelkDescription == null)) {
                throw new global::System.ArgumentNullException("MelkDescription");
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(MelkDescription));
            }
            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 dtsArzeshGozari.tblMelksDataTable GetDataBy2(string MelkDescription) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((MelkDescription == null)) {
                throw new global::System.ArgumentNullException("MelkDescription");
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(MelkDescription));
            }
            dtsArzeshGozari.tblMelksDataTable dataTable = new dtsArzeshGozari.tblMelksDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(dtsArzeshGozari.tblMelksDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(dtsArzeshGozari dataSet) {
            return this.Adapter.Update(dataSet, "tblMelks");
        }
        
        [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(
                    long Original_MelkID, 
                    double Original_TotalPrice, 
                    long Original_MelkDetailsPricesID, 
                    string Original_MelkDescription, 
                    double Original_JAvazeSHahrdari, 
                    double Original_NaghsheEjraiiMohandesineNAzer, 
                    double Original_GodBardariVaKhakbardari, 
                    double Original_EjraieKamelFondasion, 
                    double Original_EskeleteSakhtemanFB, 
                    double Original_EjraieSaghf, 
                    double Original_DivarChiniVaCharchoob, 
                    double Original_SimanKariRooieVaPoshteBam, 
                    double Original_AieghKariVaIsogam, 
                    double Original_EjraieNemaieMojtama, 
                    double Original_LoolehKeshieAbVaFazelab, 
                    double Original_LoleKeshiBargh, 
                    double Original_GachVaSefidKari, 
                    double Original_SarmaieshVaGarmaiesh, 
                    double Original_KafSazieVahedha, 
                    double Original_KashiAshpazKhaneh, 
                    double Original_PanjarehDoJedareh, 
                    double Original_SakhtVaNasbeKomod, 
                    double Original_SakhteDarHaieDakheli, 
                    double Original_SakhteDareVorodieVahed, 
                    double Original_SakhtVaNAsbeNArdeHa, 
                    double Original_NasbeKelidPerizVaAnten, 
                    double Original_SangePellehVaRahpelleh, 
                    double Original_Shoomineh, 
                    double Original_Asansoor, 
                    double Original_TahviehMatboo, 
                    double Original_NasbeTasisateMotorKhaneh, 
                    double Original_NasbeTasisateEstakhr, 
                    double Original_KashiKarieEstakhr, 
                    double Original_KabinetAshpazkhaneh, 
                    double Original_KharidVaNasbeDastgire, 
                    double Original_KharidLavazemeBehdashti, 
                    double Original_MohavvateSazi, 
                    double Original_HazinehieBalaSari, 
                    double Original_EnsheabeAbFazelab, 
                    double Original_EnsheabeBargh, 
                    double Original_EnsheabeGaz, 
                    double Original_PaianKarvaAvarez, 
                    double Original_HazineieEdareSabt) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((long)(Original_MelkID));
            this.Adapter.DeleteCommand.Parameters[1].Value = ((double)(Original_TotalPrice));
            this.Adapter.DeleteCommand.Parameters[2].Value = ((long)(Original_MelkDetailsPricesID));
            if ((Original_MelkDescription == null)) {
                throw new global::System.ArgumentNullException("Original_MelkDescription");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_MelkDescription));
            }
            this.Adapter.DeleteCommand.Parameters[4].Value = ((double)(Original_JAvazeSHahrdari));
            this.Adapter.DeleteCommand.Parameters[5].Value = ((double)(Original_NaghsheEjraiiMohandesineNAzer));
            this.Adapter.DeleteCommand.Parameters[6].Value = ((double)(Original_GodBardariVaKhakbardari));
            this.Adapter.DeleteCommand.Parameters[7].Value = ((double)(Original_EjraieKamelFondasion));
            this.Adapter.DeleteCommand.Parameters[8].Value = ((double)(Original_EskeleteSakhtemanFB));
            this.Adapter.DeleteCommand.Parameters[9].Value = ((double)(Original_EjraieSaghf));
            this.Adapter.DeleteCommand.Parameters[10].Value = ((double)(Original_DivarChiniVaCharchoob));
            this.Adapter.DeleteCommand.Parameters[11].Value = ((double)(Original_SimanKariRooieVaPoshteBam));
            this.Adapter.DeleteCommand.Parameters[12].Value = ((double)(Original_AieghKariVaIsogam));
            this.Adapter.DeleteCommand.Parameters[13].Value = ((double)(Original_EjraieNemaieMojtama));
            this.Adapter.DeleteCommand.Parameters[14].Value = ((double)(Original_LoolehKeshieAbVaFazelab));
            this.Adapter.DeleteCommand.Parameters[15].Value = ((double)(Original_LoleKeshiBargh));
            this.Adapter.DeleteCommand.Parameters[16].Value = ((double)(Original_GachVaSefidKari));
            this.Adapter.DeleteCommand.Parameters[17].Value = ((double)(Original_SarmaieshVaGarmaiesh));
            this.Adapter.DeleteCommand.Parameters[18].Value = ((double)(Original_KafSazieVahedha));
            this.Adapter.DeleteCommand.Parameters[19].Value = ((double)(Original_KashiAshpazKhaneh));
            this.Adapter.DeleteCommand.Parameters[20].Value = ((double)(Original_PanjarehDoJedareh));
            this.Adapter.DeleteCommand.Parameters[21].Value = ((double)(Original_SakhtVaNasbeKomod));
            this.Adapter.DeleteCommand.Parameters[22].Value = ((double)(Original_SakhteDarHaieDakheli));
            this.Adapter.DeleteCommand.Parameters[23].Value = ((double)(Original_SakhteDareVorodieVahed));
            this.Adapter.DeleteCommand.Parameters[24].Value = ((double)(Original_SakhtVaNAsbeNArdeHa));
            this.Adapter.DeleteCommand.Parameters[25].Value = ((double)(Original_NasbeKelidPerizVaAnten));
            this.Adapter.DeleteCommand.Parameters[26].Value = ((double)(Original_SangePellehVaRahpelleh));
            this.Adapter.DeleteCommand.Parameters[27].Value = ((double)(Original_Shoomineh));
            this.Adapter.DeleteCommand.Parameters[28].Value = ((double)(Original_Asansoor));
            this.Adapter.DeleteCommand.Parameters[29].Value = ((double)(Original_TahviehMatboo));
            this.Adapter.DeleteCommand.Parameters[30].Value = ((double)(Original_NasbeTasisateMotorKhaneh));
            this.Adapter.DeleteCommand.Parameters[31].Value = ((double)(Original_NasbeTasisateEstakhr));
            this.Adapter.DeleteCommand.Parameters[32].Value = ((double)(Original_KashiKarieEstakhr));
            this.Adapter.DeleteCommand.Parameters[33].Value = ((double)(Original_KabinetAshpazkhaneh));
            this.Adapter.DeleteCommand.Parameters[34].Value = ((double)(Original_KharidVaNasbeDastgire));
            this.Adapter.DeleteCommand.Parameters[35].Value = ((double)(Original_KharidLavazemeBehdashti));
            this.Adapter.DeleteCommand.Parameters[36].Value = ((double)(Original_MohavvateSazi));
            this.Adapter.DeleteCommand.Parameters[37].Value = ((double)(Original_HazinehieBalaSari));
            this.Adapter.DeleteCommand.Parameters[38].Value = ((double)(Original_EnsheabeAbFazelab));
            this.Adapter.DeleteCommand.Parameters[39].Value = ((double)(Original_EnsheabeBargh));
            this.Adapter.DeleteCommand.Parameters[40].Value = ((double)(Original_EnsheabeGaz));
            this.Adapter.DeleteCommand.Parameters[41].Value = ((double)(Original_PaianKarvaAvarez));
            this.Adapter.DeleteCommand.Parameters[42].Value = ((double)(Original_HazineieEdareSabt));
            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(
                    double TotalPrice, 
                    long MelkDetailsPricesID, 
                    string MelkDescription, 
                    double JAvazeSHahrdari, 
                    double NaghsheEjraiiMohandesineNAzer, 
                    double GodBardariVaKhakbardari, 
                    double EjraieKamelFondasion, 
                    double EskeleteSakhtemanFB, 
                    double EjraieSaghf, 
                    double DivarChiniVaCharchoob, 
                    double SimanKariRooieVaPoshteBam, 
                    double AieghKariVaIsogam, 
                    double EjraieNemaieMojtama, 
                    double LoolehKeshieAbVaFazelab, 
                    double LoleKeshiBargh, 
                    double GachVaSefidKari, 
                    double SarmaieshVaGarmaiesh, 
                    double KafSazieVahedha, 
                    double KashiAshpazKhaneh, 
                    double PanjarehDoJedareh, 
                    double SakhtVaNasbeKomod, 
                    double SakhteDarHaieDakheli, 
                    double SakhteDareVorodieVahed, 
                    double SakhtVaNAsbeNArdeHa, 
                    double NasbeKelidPerizVaAnten, 
                    double SangePellehVaRahpelleh, 
                    double Shoomineh, 
                    double Asansoor, 
                    double TahviehMatboo, 
                    double NasbeTasisateMotorKhaneh, 
                    double NasbeTasisateEstakhr, 
                    double KashiKarieEstakhr, 
                    double KabinetAshpazkhaneh, 
                    double KharidVaNasbeDastgire, 
                    double KharidLavazemeBehdashti, 
                    double MohavvateSazi, 
                    double HazinehieBalaSari, 
                    double EnsheabeAbFazelab, 
                    double EnsheabeBargh, 
                    double EnsheabeGaz, 
                    double PaianKarvaAvarez, 
                    double HazineieEdareSabt) {
            this.Adapter.InsertCommand.Parameters[0].Value = ((double)(TotalPrice));
            this.Adapter.InsertCommand.Parameters[1].Value = ((long)(MelkDetailsPricesID));
            if ((MelkDescription == null)) {
                throw new global::System.ArgumentNullException("MelkDescription");
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = ((string)(MelkDescription));
            }
            this.Adapter.InsertCommand.Parameters[3].Value = ((double)(JAvazeSHahrdari));
            this.Adapter.InsertCommand.Parameters[4].Value = ((double)(NaghsheEjraiiMohandesineNAzer));
            this.Adapter.InsertCommand.Parameters[5].Value = ((double)(GodBardariVaKhakbardari));
            this.Adapter.InsertCommand.Parameters[6].Value = ((double)(EjraieKamelFondasion));
            this.Adapter.InsertCommand.Parameters[7].Value = ((double)(EskeleteSakhtemanFB));
            this.Adapter.InsertCommand.Parameters[8].Value = ((double)(EjraieSaghf));
            this.Adapter.InsertCommand.Parameters[9].Value = ((double)(DivarChiniVaCharchoob));
            this.Adapter.InsertCommand.Parameters[10].Value = ((double)(SimanKariRooieVaPoshteBam));
            this.Adapter.InsertCommand.Parameters[11].Value = ((double)(AieghKariVaIsogam));
            this.Adapter.InsertCommand.Parameters[12].Value = ((double)(EjraieNemaieMojtama));
            this.Adapter.InsertCommand.Parameters[13].Value = ((double)(LoolehKeshieAbVaFazelab));
            this.Adapter.InsertCommand.Parameters[14].Value = ((double)(LoleKeshiBargh));
            this.Adapter.InsertCommand.Parameters[15].Value = ((double)(GachVaSefidKari));
            this.Adapter.InsertCommand.Parameters[16].Value = ((double)(SarmaieshVaGarmaiesh));
            this.Adapter.InsertCommand.Parameters[17].Value = ((double)(KafSazieVahedha));
            this.Adapter.InsertCommand.Parameters[18].Value = ((double)(KashiAshpazKhaneh));
            this.Adapter.InsertCommand.Parameters[19].Value = ((double)(PanjarehDoJedareh));
            this.Adapter.InsertCommand.Parameters[20].Value = ((double)(SakhtVaNasbeKomod));
            this.Adapter.InsertCommand.Parameters[21].Value = ((double)(SakhteDarHaieDakheli));
            this.Adapter.InsertCommand.Parameters[22].Value = ((double)(SakhteDareVorodieVahed));
            this.Adapter.InsertCommand.Parameters[23].Value = ((double)(SakhtVaNAsbeNArdeHa));
            this.Adapter.InsertCommand.Parameters[24].Value = ((double)(NasbeKelidPerizVaAnten));
            this.Adapter.InsertCommand.Parameters[25].Value = ((double)(SangePellehVaRahpelleh));
            this.Adapter.InsertCommand.Parameters[26].Value = ((double)(Shoomineh));
            this.Adapter.InsertCommand.Parameters[27].Value = ((double)(Asansoor));
            this.Adapter.InsertCommand.Parameters[28].Value = ((double)(TahviehMatboo));
            this.Adapter.InsertCommand.Parameters[29].Value = ((double)(NasbeTasisateMotorKhaneh));
            this.Adapter.InsertCommand.Parameters[30].Value = ((double)(NasbeTasisateEstakhr));
            this.Adapter.InsertCommand.Parameters[31].Value = ((double)(KashiKarieEstakhr));
            this.Adapter.InsertCommand.Parameters[32].Value = ((double)(KabinetAshpazkhaneh));
            this.Adapter.InsertCommand.Parameters[33].Value = ((double)(KharidVaNasbeDastgire));
            this.Adapter.InsertCommand.Parameters[34].Value = ((double)(KharidLavazemeBehdashti));
            this.Adapter.InsertCommand.Parameters[35].Value = ((double)(MohavvateSazi));
            this.Adapter.InsertCommand.Parameters[36].Value = ((double)(HazinehieBalaSari));
            this.Adapter.InsertCommand.Parameters[37].Value = ((double)(EnsheabeAbFazelab));
            this.Adapter.InsertCommand.Parameters[38].Value = ((double)(EnsheabeBargh));
            this.Adapter.InsertCommand.Parameters[39].Value = ((double)(EnsheabeGaz));
            this.Adapter.InsertCommand.Parameters[40].Value = ((double)(PaianKarvaAvarez));
            this.Adapter.InsertCommand.Parameters[41].Value = ((double)(HazineieEdareSabt));
            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(
                    double TotalPrice, 
                    long MelkDetailsPricesID, 
                    string MelkDescription, 
                    double JAvazeSHahrdari, 
                    double NaghsheEjraiiMohandesineNAzer, 
                    double GodBardariVaKhakbardari, 
                    double EjraieKamelFondasion, 
                    double EskeleteSakhtemanFB, 
                    double EjraieSaghf, 
                    double DivarChiniVaCharchoob, 
                    double SimanKariRooieVaPoshteBam, 
                    double AieghKariVaIsogam, 
                    double EjraieNemaieMojtama, 
                    double LoolehKeshieAbVaFazelab, 
                    double LoleKeshiBargh, 
                    double GachVaSefidKari, 
                    double SarmaieshVaGarmaiesh, 
                    double KafSazieVahedha, 
                    double KashiAshpazKhaneh, 
                    double PanjarehDoJedareh, 
                    double SakhtVaNasbeKomod, 
                    double SakhteDarHaieDakheli, 
                    double SakhteDareVorodieVahed, 
                    double SakhtVaNAsbeNArdeHa, 
                    double NasbeKelidPerizVaAnten, 
                    double SangePellehVaRahpelleh, 
                    double Shoomineh, 
                    double Asansoor, 
                    double TahviehMatboo, 
                    double NasbeTasisateMotorKhaneh, 
                    double NasbeTasisateEstakhr, 
                    double KashiKarieEstakhr, 
                    double KabinetAshpazkhaneh, 
                    double KharidVaNasbeDastgire, 
                    double KharidLavazemeBehdashti, 
                    double MohavvateSazi, 
                    double HazinehieBalaSari, 
                    double EnsheabeAbFazelab, 
                    double EnsheabeBargh, 
                    double EnsheabeGaz, 
                    double PaianKarvaAvarez, 
                    double HazineieEdareSabt, 
                    long Original_MelkID, 
                    double Original_TotalPrice, 
                    long Original_MelkDetailsPricesID, 
                    string Original_MelkDescription, 
                    double Original_JAvazeSHahrdari, 
                    double Original_NaghsheEjraiiMohandesineNAzer, 
                    double Original_GodBardariVaKhakbardari, 
                    double Original_EjraieKamelFondasion, 
                    double Original_EskeleteSakhtemanFB, 
                    double Original_EjraieSaghf, 
                    double Original_DivarChiniVaCharchoob, 
                    double Original_SimanKariRooieVaPoshteBam, 
                    double Original_AieghKariVaIsogam, 
                    double Original_EjraieNemaieMojtama, 
                    double Original_LoolehKeshieAbVaFazelab, 
                    double Original_LoleKeshiBargh, 
                    double Original_GachVaSefidKari, 
                    double Original_SarmaieshVaGarmaiesh, 
                    double Original_KafSazieVahedha, 
                    double Original_KashiAshpazKhaneh, 
                    double Original_PanjarehDoJedareh, 
                    double Original_SakhtVaNasbeKomod, 
                    double Original_SakhteDarHaieDakheli, 
                    double Original_SakhteDareVorodieVahed, 
                    double Original_SakhtVaNAsbeNArdeHa, 
                    double Original_NasbeKelidPerizVaAnten, 
                    double Original_SangePellehVaRahpelleh, 
                    double Original_Shoomineh, 
                    double Original_Asansoor, 
                    double Original_TahviehMatboo, 
                    double Original_NasbeTasisateMotorKhaneh, 
                    double Original_NasbeTasisateEstakhr, 
                    double Original_KashiKarieEstakhr, 
                    double Original_KabinetAshpazkhaneh, 
                    double Original_KharidVaNasbeDastgire, 
                    double Original_KharidLavazemeBehdashti, 
                    double Original_MohavvateSazi, 
                    double Original_HazinehieBalaSari, 
                    double Original_EnsheabeAbFazelab, 
                    double Original_EnsheabeBargh, 
                    double Original_EnsheabeGaz, 
                    double Original_PaianKarvaAvarez, 
                    double Original_HazineieEdareSabt, 
                    long MelkID) {
            this.Adapter.UpdateCommand.Parameters[0].Value = ((double)(TotalPrice));
            this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(MelkDetailsPricesID));
            if ((MelkDescription == null)) {
                throw new global::System.ArgumentNullException("MelkDescription");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(MelkDescription));
            }
            this.Adapter.UpdateCommand.Parameters[3].Value = ((double)(JAvazeSHahrdari));
            this.Adapter.UpdateCommand.Parameters[4].Value = ((double)(NaghsheEjraiiMohandesineNAzer));
            this.Adapter.UpdateCommand.Parameters[5].Value = ((double)(GodBardariVaKhakbardari));
            this.Adapter.UpdateCommand.Parameters[6].Value = ((double)(EjraieKamelFondasion));
            this.Adapter.UpdateCommand.Parameters[7].Value = ((double)(EskeleteSakhtemanFB));
            this.Adapter.UpdateCommand.Parameters[8].Value = ((double)(EjraieSaghf));
            this.Adapter.UpdateCommand.Parameters[9].Value = ((double)(DivarChiniVaCharchoob));
            this.Adapter.UpdateCommand.Parameters[10].Value = ((double)(SimanKariRooieVaPoshteBam));
            this.Adapter.UpdateCommand.Parameters[11].Value = ((double)(AieghKariVaIsogam));
            this.Adapter.UpdateCommand.Parameters[12].Value = ((double)(EjraieNemaieMojtama));
            this.Adapter.UpdateCommand.Parameters[13].Value = ((double)(LoolehKeshieAbVaFazelab));
            this.Adapter.UpdateCommand.Parameters[14].Value = ((double)(LoleKeshiBargh));
            this.Adapter.UpdateCommand.Parameters[15].Value = ((double)(GachVaSefidKari));
            this.Adapter.UpdateCommand.Parameters[16].Value = ((double)(SarmaieshVaGarmaiesh));
            this.Adapter.UpdateCommand.Parameters[17].Value = ((double)(KafSazieVahedha));
            this.Adapter.UpdateCommand.Parameters[18].Value = ((double)(KashiAshpazKhaneh));
            this.Adapter.UpdateCommand.Parameters[19].Value = ((double)(PanjarehDoJedareh));
            this.Adapter.UpdateCommand.Parameters[20].Value = ((double)(SakhtVaNasbeKomod));
            this.Adapter.UpdateCommand.Parameters[21].Value = ((double)(SakhteDarHaieDakheli));
            this.Adapter.UpdateCommand.Parameters[22].Value = ((double)(SakhteDareVorodieVahed));
            this.Adapter.UpdateCommand.Parameters[23].Value = ((double)(SakhtVaNAsbeNArdeHa));
            this.Adapter.UpdateCommand.Parameters[24].Value = ((double)(NasbeKelidPerizVaAnten));
            this.Adapter.UpdateCommand.Parameters[25].Value = ((double)(SangePellehVaRahpelleh));
            this.Adapter.UpdateCommand.Parameters[26].Value = ((double)(Shoomineh));
            this.Adapter.UpdateCommand.Parameters[27].Value = ((double)(Asansoor));
            this.Adapter.UpdateCommand.Parameters[28].Value = ((double)(TahviehMatboo));
            this.Adapter.UpdateCommand.Parameters[29].Value = ((double)(NasbeTasisateMotorKhaneh));
            this.Adapter.UpdateCommand.Parameters[30].Value = ((double)(NasbeTasisateEstakhr));
            this.Adapter.UpdateCommand.Parameters[31].Value = ((double)(KashiKarieEstakhr));
            this.Adapter.UpdateCommand.Parameters[32].Value = ((double)(KabinetAshpazkhaneh));
            this.Adapter.UpdateCommand.Parameters[33].Value = ((double)(KharidVaNasbeDastgire));
            this.Adapter.UpdateCommand.Parameters[34].Value = ((double)(KharidLavazemeBehdashti));
            this.Adapter.UpdateCommand.Parameters[35].Value = ((double)(MohavvateSazi));
            this.Adapter.UpdateCommand.Parameters[36].Value = ((double)(HazinehieBalaSari));
            this.Adapter.UpdateCommand.Parameters[37].Value = ((double)(EnsheabeAbFazelab));
            this.Adapter.UpdateCommand.Parameters[38].Value = ((double)(EnsheabeBargh));
            this.Adapter.UpdateCommand.Parameters[39].Value = ((double)(EnsheabeGaz));
            this.Adapter.UpdateCommand.Parameters[40].Value = ((double)(PaianKarvaAvarez));
            this.Adapter.UpdateCommand.Parameters[41].Value = ((double)(HazineieEdareSabt));
            this.Adapter.UpdateCommand.Parameters[42].Value = ((long)(Original_MelkID));
            this.Adapter.UpdateCommand.Parameters[43].Value = ((double)(Original_TotalPrice));
            this.Adapter.UpdateCommand.Parameters[44].Value = ((long)(Original_MelkDetailsPricesID));
            if ((Original_MelkDescription == null)) {
                throw new global::System.ArgumentNullException("Original_MelkDescription");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_MelkDescription));
            }
            this.Adapter.UpdateCommand.Parameters[46].Value = ((double)(Original_JAvazeSHahrdari));
            this.Adapter.UpdateCommand.Parameters[47].Value = ((double)(Original_NaghsheEjraiiMohandesineNAzer));
            this.Adapter.UpdateCommand.Parameters[48].Value = ((double)(Original_GodBardariVaKhakbardari));
            this.Adapter.UpdateCommand.Parameters[49].Value = ((double)(Original_EjraieKamelFondasion));
            this.Adapter.UpdateCommand.Parameters[50].Value = ((double)(Original_EskeleteSakhtemanFB));
            this.Adapter.UpdateCommand.Parameters[51].Value = ((double)(Original_EjraieSaghf));
            this.Adapter.UpdateCommand.Parameters[52].Value = ((double)(Original_DivarChiniVaCharchoob));
            this.Adapter.UpdateCommand.Parameters[53].Value = ((double)(Original_SimanKariRooieVaPoshteBam));
            this.Adapter.UpdateCommand.Parameters[54].Value = ((double)(Original_AieghKariVaIsogam));
            this.Adapter.UpdateCommand.Parameters[55].Value = ((double)(Original_EjraieNemaieMojtama));
            this.Adapter.UpdateCommand.Parameters[56].Value = ((double)(Original_LoolehKeshieAbVaFazelab));
            this.Adapter.UpdateCommand.Parameters[57].Value = ((double)(Original_LoleKeshiBargh));
            this.Adapter.UpdateCommand.Parameters[58].Value = ((double)(Original_GachVaSefidKari));
            this.Adapter.UpdateCommand.Parameters[59].Value = ((double)(Original_SarmaieshVaGarmaiesh));
            this.Adapter.UpdateCommand.Parameters[60].Value = ((double)(Original_KafSazieVahedha));
            this.Adapter.UpdateCommand.Parameters[61].Value = ((double)(Original_KashiAshpazKhaneh));
            this.Adapter.UpdateCommand.Parameters[62].Value = ((double)(Original_PanjarehDoJedareh));
            this.Adapter.UpdateCommand.Parameters[63].Value = ((double)(Original_SakhtVaNasbeKomod));
            this.Adapter.UpdateCommand.Parameters[64].Value = ((double)(Original_SakhteDarHaieDakheli));
            this.Adapter.UpdateCommand.Parameters[65].Value = ((double)(Original_SakhteDareVorodieVahed));
            this.Adapter.UpdateCommand.Parameters[66].Value = ((double)(Original_SakhtVaNAsbeNArdeHa));
            this.Adapter.UpdateCommand.Parameters[67].Value = ((double)(Original_NasbeKelidPerizVaAnten));
            this.Adapter.UpdateCommand.Parameters[68].Value = ((double)(Original_SangePellehVaRahpelleh));
            this.Adapter.UpdateCommand.Parameters[69].Value = ((double)(Original_Shoomineh));
            this.Adapter.UpdateCommand.Parameters[70].Value = ((double)(Original_Asansoor));
            this.Adapter.UpdateCommand.Parameters[71].Value = ((double)(Original_TahviehMatboo));
            this.Adapter.UpdateCommand.Parameters[72].Value = ((double)(Original_NasbeTasisateMotorKhaneh));
            this.Adapter.UpdateCommand.Parameters[73].Value = ((double)(Original_NasbeTasisateEstakhr));
            this.Adapter.UpdateCommand.Parameters[74].Value = ((double)(Original_KashiKarieEstakhr));
            this.Adapter.UpdateCommand.Parameters[75].Value = ((double)(Original_KabinetAshpazkhaneh));
            this.Adapter.UpdateCommand.Parameters[76].Value = ((double)(Original_KharidVaNasbeDastgire));
            this.Adapter.UpdateCommand.Parameters[77].Value = ((double)(Original_KharidLavazemeBehdashti));
            this.Adapter.UpdateCommand.Parameters[78].Value = ((double)(Original_MohavvateSazi));
            this.Adapter.UpdateCommand.Parameters[79].Value = ((double)(Original_HazinehieBalaSari));
            this.Adapter.UpdateCommand.Parameters[80].Value = ((double)(Original_EnsheabeAbFazelab));
            this.Adapter.UpdateCommand.Parameters[81].Value = ((double)(Original_EnsheabeBargh));
            this.Adapter.UpdateCommand.Parameters[82].Value = ((double)(Original_EnsheabeGaz));
            this.Adapter.UpdateCommand.Parameters[83].Value = ((double)(Original_PaianKarvaAvarez));
            this.Adapter.UpdateCommand.Parameters[84].Value = ((double)(Original_HazineieEdareSabt));
            this.Adapter.UpdateCommand.Parameters[85].Value = ((long)(MelkID));
            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(
                    double TotalPrice, 
                    long MelkDetailsPricesID, 
                    string MelkDescription, 
                    double JAvazeSHahrdari, 
                    double NaghsheEjraiiMohandesineNAzer, 
                    double GodBardariVaKhakbardari, 
                    double EjraieKamelFondasion, 
                    double EskeleteSakhtemanFB, 
                    double EjraieSaghf, 
                    double DivarChiniVaCharchoob, 
                    double SimanKariRooieVaPoshteBam, 
                    double AieghKariVaIsogam, 
                    double EjraieNemaieMojtama, 
                    double LoolehKeshieAbVaFazelab, 
                    double LoleKeshiBargh, 
                    double GachVaSefidKari, 
                    double SarmaieshVaGarmaiesh, 
                    double KafSazieVahedha, 
                    double KashiAshpazKhaneh, 
                    double PanjarehDoJedareh, 
                    double SakhtVaNasbeKomod, 
                    double SakhteDarHaieDakheli, 
                    double SakhteDareVorodieVahed, 
                    double SakhtVaNAsbeNArdeHa, 
                    double NasbeKelidPerizVaAnten, 
                    double SangePellehVaRahpelleh, 
                    double Shoomineh, 
                    double Asansoor, 
                    double TahviehMatboo, 
                    double NasbeTasisateMotorKhaneh, 
                    double NasbeTasisateEstakhr, 
                    double KashiKarieEstakhr, 
                    double KabinetAshpazkhaneh, 
                    double KharidVaNasbeDastgire, 
                    double KharidLavazemeBehdashti, 
                    double MohavvateSazi, 
                    double HazinehieBalaSari, 
                    double EnsheabeAbFazelab, 
                    double EnsheabeBargh, 
                    double EnsheabeGaz, 
                    double PaianKarvaAvarez, 
                    double HazineieEdareSabt, 
                    long Original_MelkID, 
                    double Original_TotalPrice, 
                    long Original_MelkDetailsPricesID, 
                    string Original_MelkDescription, 
                    double Original_JAvazeSHahrdari, 
                    double Original_NaghsheEjraiiMohandesineNAzer, 
                    double Original_GodBardariVaKhakbardari, 
                    double Original_EjraieKamelFondasion, 
                    double Original_EskeleteSakhtemanFB, 
                    double Original_EjraieSaghf, 
                    double Original_DivarChiniVaCharchoob, 
                    double Original_SimanKariRooieVaPoshteBam, 
                    double Original_AieghKariVaIsogam, 
                    double Original_EjraieNemaieMojtama, 
                    double Original_LoolehKeshieAbVaFazelab, 
                    double Original_LoleKeshiBargh, 
                    double Original_GachVaSefidKari, 
                    double Original_SarmaieshVaGarmaiesh, 
                    double Original_KafSazieVahedha, 
                    double Original_KashiAshpazKhaneh, 
                    double Original_PanjarehDoJedareh, 
                    double Original_SakhtVaNasbeKomod, 
                    double Original_SakhteDarHaieDakheli, 
                    double Original_SakhteDareVorodieVahed, 
                    double Original_SakhtVaNAsbeNArdeHa, 
                    double Original_NasbeKelidPerizVaAnten, 
                    double Original_SangePellehVaRahpelleh, 
                    double Original_Shoomineh, 
                    double Original_Asansoor, 
                    double Original_TahviehMatboo, 
                    double Original_NasbeTasisateMotorKhaneh, 
                    double Original_NasbeTasisateEstakhr, 
                    double Original_KashiKarieEstakhr, 
                    double Original_KabinetAshpazkhaneh, 
                    double Original_KharidVaNasbeDastgire, 
                    double Original_KharidLavazemeBehdashti, 
                    double Original_MohavvateSazi, 
                    double Original_HazinehieBalaSari, 
                    double Original_EnsheabeAbFazelab, 
                    double Original_EnsheabeBargh, 
                    double Original_EnsheabeGaz, 
                    double Original_PaianKarvaAvarez, 
                    double Original_HazineieEdareSabt) {
            return this.Update(TotalPrice, MelkDetailsPricesID, MelkDescription, JAvazeSHahrdari, NaghsheEjraiiMohandesineNAzer, GodBardariVaKhakbardari, EjraieKamelFondasion, EskeleteSakhtemanFB, EjraieSaghf, DivarChiniVaCharchoob, SimanKariRooieVaPoshteBam, AieghKariVaIsogam, EjraieNemaieMojtama, LoolehKeshieAbVaFazelab, LoleKeshiBargh, GachVaSefidKari, SarmaieshVaGarmaiesh, KafSazieVahedha, KashiAshpazKhaneh, PanjarehDoJedareh, SakhtVaNasbeKomod, SakhteDarHaieDakheli, SakhteDareVorodieVahed, SakhtVaNAsbeNArdeHa, NasbeKelidPerizVaAnten, SangePellehVaRahpelleh, Shoomineh, Asansoor, TahviehMatboo, NasbeTasisateMotorKhaneh, NasbeTasisateEstakhr, KashiKarieEstakhr, KabinetAshpazkhaneh, KharidVaNasbeDastgire, KharidLavazemeBehdashti, MohavvateSazi, HazinehieBalaSari, EnsheabeAbFazelab, EnsheabeBargh, EnsheabeGaz, PaianKarvaAvarez, HazineieEdareSabt, Original_MelkID, Original_TotalPrice, Original_MelkDetailsPricesID, Original_MelkDescription, Original_JAvazeSHahrdari, Original_NaghsheEjraiiMohandesineNAzer, Original_GodBardariVaKhakbardari, Original_EjraieKamelFondasion, Original_EskeleteSakhtemanFB, Original_EjraieSaghf, Original_DivarChiniVaCharchoob, Original_SimanKariRooieVaPoshteBam, Original_AieghKariVaIsogam, Original_EjraieNemaieMojtama, Original_LoolehKeshieAbVaFazelab, Original_LoleKeshiBargh, Original_GachVaSefidKari, Original_SarmaieshVaGarmaiesh, Original_KafSazieVahedha, Original_KashiAshpazKhaneh, Original_PanjarehDoJedareh, Original_SakhtVaNasbeKomod, Original_SakhteDarHaieDakheli, Original_SakhteDareVorodieVahed, Original_SakhtVaNAsbeNArdeHa, Original_NasbeKelidPerizVaAnten, Original_SangePellehVaRahpelleh, Original_Shoomineh, Original_Asansoor, Original_TahviehMatboo, Original_NasbeTasisateMotorKhaneh, Original_NasbeTasisateEstakhr, Original_KashiKarieEstakhr, Original_KabinetAshpazkhaneh, Original_KharidVaNasbeDastgire, Original_KharidLavazemeBehdashti, Original_MohavvateSazi, Original_HazinehieBalaSari, Original_EnsheabeAbFazelab, Original_EnsheabeBargh, Original_EnsheabeGaz, Original_PaianKarvaAvarez, Original_HazineieEdareSabt, Original_MelkID);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
        public virtual int DeleteQuery(long MelkID) {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
            command.Parameters[0].Value = ((long)(MelkID));
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            int returnValue;
            try {
                returnValue = command.ExecuteNonQuery();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
        public virtual int UpdateQuery(
                    double TotalPrice, 
                    long MelkDetailsPricesID, 
                    string MelkDescription, 
                    double JAvazeSHahrdari, 
                    double NaghsheEjraiiMohandesineNAzer, 
                    double GodBardariVaKhakbardari, 
                    double EjraieKamelFondasion, 
                    double EskeleteSakhtemanFB, 
                    double EjraieSaghf, 
                    double DivarChiniVaCharchoob, 
                    double SimanKariRooieVaPoshteBam, 
                    double AieghKariVaIsogam, 
                    double EjraieNemaieMojtama, 
                    double LoolehKeshieAbVaFazelab, 
                    double LoleKeshiBargh, 
                    double GachVaSefidKari, 
                    double SarmaieshVaGarmaiesh, 
                    double KafSazieVahedha, 
                    double KashiAshpazKhaneh, 
                    double PanjarehDoJedareh, 
                    double SakhtVaNasbeKomod, 
                    double SakhteDarHaieDakheli, 
                    double SakhteDareVorodieVahed, 
                    double SakhtVaNAsbeNArdeHa, 
                    double NasbeKelidPerizVaAnten, 
                    double SangePellehVaRahpelleh, 
                    double Shoomineh, 
                    double Asansoor, 
                    double TahviehMatboo, 
                    double NasbeTasisateMotorKhaneh, 
                    double NasbeTasisateEstakhr, 
                    double KashiKarieEstakhr, 
                    double KabinetAshpazkhaneh, 
                    double KharidVaNasbeDastgire, 
                    double KharidLavazemeBehdashti, 
                    double MohavvateSazi, 
                    double HazinehieBalaSari, 
                    double EnsheabeAbFazelab, 
                    double EnsheabeBargh, 
                    double EnsheabeGaz, 
                    double PaianKarvaAvarez, 
                    double HazineieEdareSabt, 
                    long MelkID) {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
            command.Parameters[0].Value = ((double)(TotalPrice));
            command.Parameters[1].Value = ((long)(MelkDetailsPricesID));
            if ((MelkDescription == null)) {
                throw new global::System.ArgumentNullException("MelkDescription");
            }
            else {
                command.Parameters[2].Value = ((string)(MelkDescription));
            }
            command.Parameters[3].Value = ((double)(JAvazeSHahrdari));
            command.Parameters[4].Value = ((double)(NaghsheEjraiiMohandesineNAzer));
            command.Parameters[5].Value = ((double)(GodBardariVaKhakbardari));
            command.Parameters[6].Value = ((double)(EjraieKamelFondasion));
            command.Parameters[7].Value = ((double)(EskeleteSakhtemanFB));
            command.Parameters[8].Value = ((double)(EjraieSaghf));
            command.Parameters[9].Value = ((double)(DivarChiniVaCharchoob));
            command.Parameters[10].Value = ((double)(SimanKariRooieVaPoshteBam));
            command.Parameters[11].Value = ((double)(AieghKariVaIsogam));
            command.Parameters[12].Value = ((double)(EjraieNemaieMojtama));
            command.Parameters[13].Value = ((double)(LoolehKeshieAbVaFazelab));
            command.Parameters[14].Value = ((double)(LoleKeshiBargh));
            command.Parameters[15].Value = ((double)(GachVaSefidKari));
            command.Parameters[16].Value = ((double)(SarmaieshVaGarmaiesh));
            command.Parameters[17].Value = ((double)(KafSazieVahedha));
            command.Parameters[18].Value = ((double)(KashiAshpazKhaneh));
            command.Parameters[19].Value = ((double)(PanjarehDoJedareh));
            command.Parameters[20].Value = ((double)(SakhtVaNasbeKomod));
            command.Parameters[21].Value = ((double)(SakhteDarHaieDakheli));
            command.Parameters[22].Value = ((double)(SakhteDareVorodieVahed));
            command.Parameters[23].Value = ((double)(SakhtVaNAsbeNArdeHa));
            command.Parameters[24].Value = ((double)(NasbeKelidPerizVaAnten));
            command.Parameters[25].Value = ((double)(SangePellehVaRahpelleh));
            command.Parameters[26].Value = ((double)(Shoomineh));
            command.Parameters[27].Value = ((double)(Asansoor));
            command.Parameters[28].Value = ((double)(TahviehMatboo));
            command.Parameters[29].Value = ((double)(NasbeTasisateMotorKhaneh));
            command.Parameters[30].Value = ((double)(NasbeTasisateEstakhr));
            command.Parameters[31].Value = ((double)(KashiKarieEstakhr));
            command.Parameters[32].Value = ((double)(KabinetAshpazkhaneh));
            command.Parameters[33].Value = ((double)(KharidVaNasbeDastgire));
            command.Parameters[34].Value = ((double)(KharidLavazemeBehdashti));
            command.Parameters[35].Value = ((double)(MohavvateSazi));
            command.Parameters[36].Value = ((double)(HazinehieBalaSari));
            command.Parameters[37].Value = ((double)(EnsheabeAbFazelab));
            command.Parameters[38].Value = ((double)(EnsheabeBargh));
            command.Parameters[39].Value = ((double)(EnsheabeGaz));
            command.Parameters[40].Value = ((double)(PaianKarvaAvarez));
            command.Parameters[41].Value = ((double)(HazineieEdareSabt));
            command.Parameters[42].Value = ((long)(MelkID));
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            int returnValue;
            try {
                returnValue = command.ExecuteNonQuery();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            return returnValue;
        }
    }
    
    /// <summary>
    ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
        "esigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
    public partial class TableAdapterManager : global::System.ComponentModel.Component {
        
        private UpdateOrderOption _updateOrder;
        
        private tblUsersTableAdapter _tblUsersTableAdapter;
        
        private tblLogsTableAdapter _tblLogsTableAdapter;
        
        private tblUserTypesTableAdapter _tblUserTypesTableAdapter;
        
        private tblMelkDetailsPricesTableAdapter _tblMelkDetailsPricesTableAdapter;
        
        private tblMelkDetailsPrices1TableAdapter _tblMelkDetailsPrices1TableAdapter;
        
        private tblMelksTableAdapter _tblMelksTableAdapter;
        
        private bool _backupDataSetBeforeUpdate;
        
        private global::System.Data.IDbConnection _connection;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public UpdateOrderOption UpdateOrder {
            get {
                return this._updateOrder;
            }
            set {
                this._updateOrder = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
            "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
            "", "System.Drawing.Design.UITypeEditor")]
        public tblUsersTableAdapter tblUsersTableAdapter {
            get {
                return this._tblUsersTableAdapter;
            }
            set {
                this._tblUsersTableAdapter = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
            "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
            "", "System.Drawing.Design.UITypeEditor")]
        public tblLogsTableAdapter tblLogsTableAdapter {
            get {
                return this._tblLogsTableAdapter;
            }
            set {
                this._tblLogsTableAdapter = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
            "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
            "", "System.Drawing.Design.UITypeEditor")]
        public tblUserTypesTableAdapter tblUserTypesTableAdapter {
            get {
                return this._tblUserTypesTableAdapter;
            }
            set {
                this._tblUserTypesTableAdapter = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
            "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
            "", "System.Drawing.Design.UITypeEditor")]
        public tblMelkDetailsPricesTableAdapter tblMelkDetailsPricesTableAdapter {
            get {
                return this._tblMelkDetailsPricesTableAdapter;
            }
            set {
                this._tblMelkDetailsPricesTableAdapter = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
            "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
            "", "System.Drawing.Design.UITypeEditor")]
        public tblMelkDetailsPrices1TableAdapter tblMelkDetailsPrices1TableAdapter {
            get {
                return this._tblMelkDetailsPrices1TableAdapter;
            }
            set {
                this._tblMelkDetailsPrices1TableAdapter = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
            "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
            "", "System.Drawing.Design.UITypeEditor")]
        public tblMelksTableAdapter tblMelksTableAdapter {
            get {
                return this._tblMelksTableAdapter;
            }
            set {
                this._tblMelksTableAdapter = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool BackupDataSetBeforeUpdate {
            get {
                return this._backupDataSetBeforeUpdate;
            }
            set {
                this._backupDataSetBeforeUpdate = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        public global::System.Data.IDbConnection Connection {
            get {
                if ((this._connection != null)) {
                    return this._connection;
                }
                if (((this._tblUsersTableAdapter != null) 
                            && (this._tblUsersTableAdapter.Connection != null))) {
                    return this._tblUsersTableAdapter.Connection;
                }
                if (((this._tblLogsTableAdapter != null) 
                            && (this._tblLogsTableAdapter.Connection != null))) {
                    return this._tblLogsTableAdapter.Connection;
                }
                if (((this._tblUserTypesTableAdapter != null) 
                            && (this._tblUserTypesTableAdapter.Connection != null))) {
                    return this._tblUserTypesTableAdapter.Connection;
                }
                if (((this._tblMelkDetailsPricesTableAdapter != null) 
                            && (this._tblMelkDetailsPricesTableAdapter.Connection != null))) {
                    return this._tblMelkDetailsPricesTableAdapter.Connection;
                }
                if (((this._tblMelkDetailsPrices1TableAdapter != null) 
                            && (this._tblMelkDetailsPrices1TableAdapter.Connection != null))) {
                    return this._tblMelkDetailsPrices1TableAdapter.Connection;
                }
                if (((this._tblMelksTableAdapter != null) 
                            && (this._tblMelksTableAdapter.Connection != null))) {
                    return this._tblMelksTableAdapter.Connection;
                }
                return null;
            }
            set {
                this._connection = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        public int TableAdapterInstanceCount {
            get {
                int count = 0;
                if ((this._tblUsersTableAdapter != null)) {
                    count = (count + 1);
                }
                if ((this._tblLogsTableAdapter != null)) {
                    count = (count + 1);
                }
                if ((this._tblUserTypesTableAdapter != null)) {
                    count = (count + 1);
                }
                if ((this._tblMelkDetailsPricesTableAdapter != null)) {
                    count = (count + 1);
                }
                if ((this._tblMelkDetailsPrices1TableAdapter != null)) {
                    count = (count + 1);
                }
                if ((this._tblMelksTableAdapter != null)) {
                    count = (count + 1);
                }
                return count;
            }
        }
        
        /// <summary>
        ///Update rows in top-down order.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private int UpdateUpdatedRows(dtsArzeshGozari dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
            int result = 0;
            if ((this._tblMelkDetailsPricesTableAdapter != null)) {
                global::System.Data.DataRow[] updatedRows = dataSet.tblMelkDetailsPrices.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
                updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
                if (((updatedRows != null) 
                            && (0 < updatedRows.Length))) {
                    result = (result + this._tblMelkDetailsPricesTableAdapter.Update(updatedRows));
                    allChangedRows.AddRange(updatedRows);
                }
            }
            if ((this._tblUserTypesTableAdapter != null)) {
                global::System.Data.DataRow[] updatedRows = dataSet.tblUserTypes.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
                updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
                if (((updatedRows != null) 
                            && (0 < updatedRows.Length))) {
                    result = (result + this._tblUserTypesTableAdapter.Update(updatedRows));
                    allChangedRows.AddRange(updatedRows);
                }
            }
            if ((this._tblMelksTableAdapter != null)) {
                global::System.Data.DataRow[] updatedRows = dataSet.tblMelks.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
                updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
                if (((updatedRows != null) 
                            && (0 < updatedRows.Length))) {
                    result = (result + this._tblMelksTableAdapter.Update(updatedRows));
                    allChangedRows.AddRange(updatedRows);
                }
            }
            if ((this._tblMelkDetailsPrices1TableAdapter != null)) {
                global::System.Data.DataRow[] updatedRows = dataSet.tblMelkDetailsPrices1.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
                updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
                if (((updatedRows != null) 
                            && (0 < updatedRows.Length))) {
                    result = (result + this._tblMelkDetailsPrices1TableAdapter.Update(updatedRows));
                    allChangedRows.AddRange(updatedRows);
                }
            }
            if ((this._tblLogsTableAdapter != null)) {
                global::System.Data.DataRow[] updatedRows = dataSet.tblLogs.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
                updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
                if (((updatedRows != null) 
                            && (0 < updatedRows.Length))) {
                    result = (result + this._tblLogsTableAdapter.Update(updatedRows));
                    allChangedRows.AddRange(updatedRows);
                }
            }
            if ((this._tblUsersTableAdapter != null)) {
                global::System.Data.DataRow[] updatedRows = dataSet.tblUsers.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
                updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
                if (((updatedRows != null) 
                            && (0 < updatedRows.Length))) {
                    result = (result + this._tblUsersTableAdapter.Update(updatedRows));
                    allChangedRows.AddRange(updatedRows);
                }
            }
            return result;
        }
        
        /// <summary>
        ///Insert rows in top-down order.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private int UpdateInsertedRows(dtsArzeshGozari dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
            int result = 0;
            if ((this._tblMelkDetailsPricesTableAdapter != null)) {
                global::System.Data.DataRow[] addedRows = dataSet.tblMelkDetailsPrices.Select(null, null, global::System.Data.DataViewRowState.Added);
                if (((addedRows != null) 
                            && (0 < addedRows.Length))) {
                    result = (result + this._tblMelkDetailsPricesTableAdapter.Update(addedRows));
                    allAddedRows.AddRange(addedRows);
                }
            }
            if ((this._tblUserTypesTableAdapter != null)) {
                global::System.Data.DataRow[] addedRows = dataSet.tblUserTypes.Select(null, null, global::System.Data.DataViewRowState.Added);
                if (((addedRows != null) 
                            && (0 < addedRows.Length))) {
                    result = (result + this._tblUserTypesTableAdapter.Update(addedRows));
                    allAddedRows.AddRange(addedRows);
                }
            }
            if ((this._tblMelksTableAdapter != null)) {
                global::System.Data.DataRow[] addedRows = dataSet.tblMelks.Select(null, null, global::System.Data.DataViewRowState.Added);
                if (((addedRows != null) 
                            && (0 < addedRows.Length))) {
                    result = (result + this._tblMelksTableAdapter.Update(addedRows));
                    allAddedRows.AddRange(addedRows);
                }
            }
            if ((this._tblMelkDetailsPrices1TableAdapter != null)) {
                global::System.Data.DataRow[] addedRows = dataSet.tblMelkDetailsPrices1.Select(null, null, global::System.Data.DataViewRowState.Added);
                if (((addedRows != null) 
                            && (0 < addedRows.Length))) {
                    result = (result + this._tblMelkDetailsPrices1TableAdapter.Update(addedRows));
                    allAddedRows.AddRange(addedRows);
                }
            }
            if ((this._tblLogsTableAdapter != null)) {
                global::System.Data.DataRow[] addedRows = dataSet.tblLogs.Select(null, null, global::System.Data.DataViewRowState.Added);
                if (((addedRows != null) 
                            && (0 < addedRows.Length))) {
                    result = (result + this._tblLogsTableAdapter.Update(addedRows));
                    allAddedRows.AddRange(addedRows);
                }
            }
            if ((this._tblUsersTableAdapter != null)) {
                global::System.Data.DataRow[] addedRows = dataSet.tblUsers.Select(null, null, global::System.Data.DataViewRowState.Added);
                if (((addedRows != null) 
                            && (0 < addedRows.Length))) {
                    result = (result + this._tblUsersTableAdapter.Update(addedRows));
                    allAddedRows.AddRange(addedRows);
                }
            }
            return result;
        }
        
        /// <summary>
        ///Delete rows in bottom-up order.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private int UpdateDeletedRows(dtsArzeshGozari dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
            int result = 0;
            if ((this._tblUsersTableAdapter != null)) {
                global::System.Data.DataRow[] deletedRows = dataSet.tblUsers.Select(null, null, global::System.Data.DataViewRowState.Deleted);
                if (((deletedRows != null) 
                            && (0 < deletedRows.Length))) {
                    result = (result + this._tblUsersTableAdapter.Update(deletedRows));
                    allChangedRows.AddRange(deletedRows);
                }
            }
            if ((this._tblLogsTableAdapter != null)) {
                global::System.Data.DataRow[] deletedRows = dataSet.tblLogs.Select(null, null, global::System.Data.DataViewRowState.Deleted);
                if (((deletedRows != null) 
                            && (0 < deletedRows.Length))) {
                    result = (result + this._tblLogsTableAdapter.Update(deletedRows));
                    allChangedRows.AddRange(deletedRows);
                }
            }
            if ((this._tblMelkDetailsPrices1TableAdapter != null)) {
                global::System.Data.DataRow[] deletedRows = dataSet.tblMelkDetailsPrices1.Select(null, null, global::System.Data.DataViewRowState.Deleted);
                if (((deletedRows != null) 
                            && (0 < deletedRows.Length))) {
                    result = (result + this._tblMelkDetailsPrices1TableAdapter.Update(deletedRows));
                    allChangedRows.AddRange(deletedRows);
                }
            }
            if ((this._tblMelksTableAdapter != null)) {
                global::System.Data.DataRow[] deletedRows = dataSet.tblMelks.Select(null, null, global::System.Data.DataViewRowState.Deleted);
                if (((deletedRows != null) 
                            && (0 < deletedRows.Length))) {
                    result = (result + this._tblMelksTableAdapter.Update(deletedRows));
                    allChangedRows.AddRange(deletedRows);
                }
            }
            if ((this._tblUserTypesTableAdapter != null)) {
                global::System.Data.DataRow[] deletedRows = dataSet.tblUserTypes.Select(null, null, global::System.Data.DataViewRowState.Deleted);
                if (((deletedRows != null) 
                            && (0 < deletedRows.Length))) {
                    result = (result + this._tblUserTypesTableAdapter.Update(deletedRows));
                    allChangedRows.AddRange(deletedRows);
                }
            }
            if ((this._tblMelkDetailsPricesTableAdapter != null)) {
                global::System.Data.DataRow[] deletedRows = dataSet.tblMelkDetailsPrices.Select(null, null, global::System.Data.DataViewRowState.Deleted);
                if (((deletedRows != null) 
                            && (0 < deletedRows.Length))) {
                    result = (result + this._tblMelkDetailsPricesTableAdapter.Update(deletedRows));
                    allChangedRows.AddRange(deletedRows);
                }
            }
            return result;
        }
        
        /// <summary>
        ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
            if (((updatedRows == null) 
                        || (updatedRows.Length < 1))) {
                return updatedRows;
            }
            if (((allAddedRows == null) 
                        || (allAddedRows.Count < 1))) {
                return updatedRows;
            }
            global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
            for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
                global::System.Data.DataRow row = updatedRows[i];
                if ((allAddedRows.Contains(row) == false)) {
                    realUpdatedRows.Add(row);
                }
            }
            return realUpdatedRows.ToArray();
        }
        
        /// <summary>
        ///Update all changes to the dataset.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public virtual int UpdateAll(dtsArzeshGozari dataSet) {
            if ((dataSet == null)) {
                throw new global::System.ArgumentNullException("dataSet");
            }
            if ((dataSet.HasChanges() == false)) {
                return 0;
            }
            if (((this._tblUsersTableAdapter != null) 
                        && (this.MatchTableAdapterConnection(this._tblUsersTableAdapter.Connection) == false))) {
                throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
                        "tring.");
            }
            if (((this._tblLogsTableAdapter != null) 
                        && (this.MatchTableAdapterConnection(this._tblLogsTableAdapter.Connection) == false))) {
                throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
                        "tring.");
            }
            if (((this._tblUserTypesTableAdapter != null) 
                        && (this.MatchTableAdapterConnection(this._tblUserTypesTableAdapter.Connection) == false))) {
                throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
                        "tring.");
            }
            if (((this._tblMelkDetailsPricesTableAdapter != null) 
                        && (this.MatchTableAdapterConnection(this._tblMelkDetailsPricesTableAdapter.Connection) == false))) {
                throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
                        "tring.");
            }
            if (((this._tblMelkDetailsPrices1TableAdapter != null) 
                        && (this.MatchTableAdapterConnection(this._tblMelkDetailsPrices1TableAdapter.Connection) == false))) {
                throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
                        "tring.");
            }
            if (((this._tblMelksTableAdapter != null) 
                        && (this.MatchTableAdapterConnection(this._tblMelksTableAdapter.Connection) == false))) {
                throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
                        "tring.");
            }
            global::System.Data.IDbConnection workConnection = this.Connection;
            if ((workConnection == null)) {
                throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
                        "ger TableAdapter property to a valid TableAdapter instance.");
            }
            bool workConnOpened = false;
            if (((workConnection.State & global::System.Data.ConnectionState.Broken) 
                        == global::System.Data.ConnectionState.Broken)) {
                workConnection.Close();
            }
            if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
                workConnection.Open();
                workConnOpened = true;
            }
            global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
            if ((workTransaction == null)) {
                throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" +
                        "ctions or the current state is not allowing the transaction to begin.");
            }
            global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
            global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
            global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
            global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
            int result = 0;
            global::System.Data.DataSet backupDataSet = null;
            if (this.BackupDataSetBeforeUpdate) {
                backupDataSet = new global::System.Data.DataSet();
                backupDataSet.Merge(dataSet);
            }
            try {
                // ---- Prepare for update -----------
                //
                if ((this._tblUsersTableAdapter != null)) {
                    revertConnections.Add(this._tblUsersTableAdapter, this._tblUsersTableAdapter.Connection);
                    this._tblUsersTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
                    this._tblUsersTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
                    if (this._tblUsersTableAdapter.Adapter.AcceptChangesDuringUpdate) {
                        this._tblUsersTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
                        adaptersWithAcceptChangesDuringUpdate.Add(this._tblUsersTableAdapter.Adapter);
                    }
                }
                if ((this._tblLogsTableAdapter != null)) {
                    revertConnections.Add(this._tblLogsTableAdapter, this._tblLogsTableAdapter.Connection);
                    this._tblLogsTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
                    this._tblLogsTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
                    if (this._tblLogsTableAdapter.Adapter.AcceptChangesDuringUpdate) {
                        this._tblLogsTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
                        adaptersWithAcceptChangesDuringUpdate.Add(this._tblLogsTableAdapter.Adapter);
                    }
                }
                if ((this._tblUserTypesTableAdapter != null)) {
                    revertConnections.Add(this._tblUserTypesTableAdapter, this._tblUserTypesTableAdapter.Connection);
                    this._tblUserTypesTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
                    this._tblUserTypesTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
                    if (this._tblUserTypesTableAdapter.Adapter.AcceptChangesDuringUpdate) {
                        this._tblUserTypesTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
                        adaptersWithAcceptChangesDuringUpdate.Add(this._tblUserTypesTableAdapter.Adapter);
                    }
                }
                if ((this._tblMelkDetailsPricesTableAdapter != null)) {
                    revertConnections.Add(this._tblMelkDetailsPricesTableAdapter, this._tblMelkDetailsPricesTableAdapter.Connection);
                    this._tblMelkDetailsPricesTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
                    this._tblMelkDetailsPricesTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
                    if (this._tblMelkDetailsPricesTableAdapter.Adapter.AcceptChangesDuringUpdate) {
                        this._tblMelkDetailsPricesTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
                        adaptersWithAcceptChangesDuringUpdate.Add(this._tblMelkDetailsPricesTableAdapter.Adapter);
                    }
                }
                if ((this._tblMelkDetailsPrices1TableAdapter != null)) {
                    revertConnections.Add(this._tblMelkDetailsPrices1TableAdapter, this._tblMelkDetailsPrices1TableAdapter.Connection);
                    this._tblMelkDetailsPrices1TableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
                    this._tblMelkDetailsPrices1TableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
                    if (this._tblMelkDetailsPrices1TableAdapter.Adapter.AcceptChangesDuringUpdate) {
                        this._tblMelkDetailsPrices1TableAdapter.Adapter.AcceptChangesDuringUpdate = false;
                        adaptersWithAcceptChangesDuringUpdate.Add(this._tblMelkDetailsPrices1TableAdapter.Adapter);
                    }
                }
                if ((this._tblMelksTableAdapter != null)) {
                    revertConnections.Add(this._tblMelksTableAdapter, this._tblMelksTableAdapter.Connection);
                    this._tblMelksTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
                    this._tblMelksTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
                    if (this._tblMelksTableAdapter.Adapter.AcceptChangesDuringUpdate) {
                        this._tblMelksTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
                        adaptersWithAcceptChangesDuringUpdate.Add(this._tblMelksTableAdapter.Adapter);
                    }
                }
                // 
                //---- Perform updates -----------
                //
                if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
                    result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
                    result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
                }
                else {
                    result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
                    result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
                }
                result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
                // 
                //---- Commit updates -----------
                //
                workTransaction.Commit();
                if ((0 < allAddedRows.Count)) {
                    global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
                    allAddedRows.CopyTo(rows);
                    for (int i = 0; (i < rows.Length); i = (i + 1)) {
                        global::System.Data.DataRow row = rows[i];
                        row.AcceptChanges();
                    }
                }
                if ((0 < allChangedRows.Count)) {
                    global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
                    allChangedRows.CopyTo(rows);
                    for (int i = 0; (i < rows.Length); i = (i + 1)) {
                        global::System.Data.DataRow row = rows[i];
                        row.AcceptChanges();
                    }
                }
            }
            catch (global::System.Exception ex) {
                workTransaction.Rollback();
                // ---- Restore the dataset -----------
                if (this.BackupDataSetBeforeUpdate) {
                    global::System.Diagnostics.Debug.Assert((backupDataSet != null));
                    dataSet.Clear();
                    dataSet.Merge(backupDataSet);
                }
                else {
                    if ((0 < allAddedRows.Count)) {
                        global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
                        allAddedRows.CopyTo(rows);
                        for (int i = 0; (i < rows.Length); i = (i + 1)) {
                            global::System.Data.DataRow row = rows[i];
                            row.AcceptChanges();
                            row.SetAdded();
                        }
                    }
                }
                throw ex;
            }
            finally {
                if (workConnOpened) {
                    workConnection.Close();
                }
                if ((this._tblUsersTableAdapter != null)) {
                    this._tblUsersTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tblUsersTableAdapter]));
                    this._tblUsersTableAdapter.Transaction = null;
                }
                if ((this._tblLogsTableAdapter != null)) {
                    this._tblLogsTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tblLogsTableAdapter]));
                    this._tblLogsTableAdapter.Transaction = null;
                }
                if ((this._tblUserTypesTableAdapter != null)) {
                    this._tblUserTypesTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tblUserTypesTableAdapter]));
                    this._tblUserTypesTableAdapter.Transaction = null;
                }
                if ((this._tblMelkDetailsPricesTableAdapter != null)) {
                    this._tblMelkDetailsPricesTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tblMelkDetailsPricesTableAdapter]));
                    this._tblMelkDetailsPricesTableAdapter.Transaction = null;
                }
                if ((this._tblMelkDetailsPrices1TableAdapter != null)) {
                    this._tblMelkDetailsPrices1TableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tblMelkDetailsPrices1TableAdapter]));
                    this._tblMelkDetailsPrices1TableAdapter.Transaction = null;
                }
                if ((this._tblMelksTableAdapter != null)) {
                    this._tblMelksTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tblMelksTableAdapter]));
                    this._tblMelksTableAdapter.Transaction = null;
                }
                if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
                    global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
                    adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
                    for (int i = 0; (i < adapters.Length); i = (i + 1)) {
                        global::System.Data.Common.DataAdapter adapter = adapters[i];
                        adapter.AcceptChangesDuringUpdate = true;
                    }
                }
            }
            return result;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
            global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
            if ((this._connection != null)) {
                return true;
            }
            if (((this.Connection == null) 
                        || (inputConnection == null))) {
                return true;
            }
            if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
                return true;
            }
            return false;
        }
        
        /// <summary>
        ///Update Order Option
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public enum UpdateOrderOption {
            
            InsertUpdateDelete = 0,
            
            UpdateInsertDelete = 1,
        }
        
        /// <summary>
        ///Used to sort self-referenced table's rows
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
            
            private global::System.Data.DataRelation _relation;
            
            private int _childFirst;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
                this._relation = relation;
                if (childFirst) {
                    this._childFirst = -1;
                }
                else {
                    this._childFirst = 1;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private bool IsChildAndParent(global::System.Data.DataRow child, global::System.Data.DataRow parent) {
                global::System.Diagnostics.Debug.Assert((child != null));
                global::System.Diagnostics.Debug.Assert((parent != null));
                global::System.Data.DataRow newParent = child.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
                for (
                ; ((newParent != null) 
                            && ((object.ReferenceEquals(newParent, child) == false) 
                            && (object.ReferenceEquals(newParent, parent) == false))); 
                ) {
                    newParent = newParent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
                }
                if ((newParent == null)) {
                    for (newParent = child.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); ((newParent != null) 
                                && ((object.ReferenceEquals(newParent, child) == false) 
                                && (object.ReferenceEquals(newParent, parent) == false))); 
                    ) {
                        newParent = newParent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
                    }
                }
                if (object.ReferenceEquals(newParent, parent)) {
                    return true;
                }
                return false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
                if (object.ReferenceEquals(row1, row2)) {
                    return 0;
                }
                if ((row1 == null)) {
                    return -1;
                }
                if ((row2 == null)) {
                    return 1;
                }

                // Is row1 the child or grandchild of row2
                if (this.IsChildAndParent(row1, row2)) {
                    return this._childFirst;
                }

                // Is row2 the child or grandchild of row1
                if (this.IsChildAndParent(row2, row1)) {
                    return (-1 * this._childFirst);
                }
                return 0;
            }
        }
    }
}

#pragma warning restore 1591