⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dataset1.designer.cs

📁 用C#实现超市的管理
💻 CS
📖 第 1 页 / 共 5 页
字号:
            
            private System.Data.DataColumn column商品名称;
            
            private System.Data.DataColumn column单位;
            
            private System.Data.DataColumn column规格型号;
            
            private System.Data.DataColumn column颜色;
            
            private System.Data.DataColumn column单价;
            
            private System.Data.DataColumn column数量;
            
            private System.Data.DataColumn column总金额;
            
            private System.Data.DataColumn column商品编号;
            
            private System.Data.DataColumn column生产厂商;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NewTianjspDataTable() {
                this.TableName = "NewTianjsp";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal NewTianjspDataTable(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;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected NewTianjspDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 商品名称Column {
                get {
                    return this.column商品名称;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 单位Column {
                get {
                    return this.column单位;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 规格型号Column {
                get {
                    return this.column规格型号;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 颜色Column {
                get {
                    return this.column颜色;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 单价Column {
                get {
                    return this.column单价;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 数量Column {
                get {
                    return this.column数量;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 总金额Column {
                get {
                    return this.column总金额;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 商品编号Column {
                get {
                    return this.column商品编号;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 生产厂商Column {
                get {
                    return this.column生产厂商;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NewTianjspRow this[int index] {
                get {
                    return ((NewTianjspRow)(this.Rows[index]));
                }
            }
            
            public event NewTianjspRowChangeEventHandler NewTianjspRowChanging;
            
            public event NewTianjspRowChangeEventHandler NewTianjspRowChanged;
            
            public event NewTianjspRowChangeEventHandler NewTianjspRowDeleting;
            
            public event NewTianjspRowChangeEventHandler NewTianjspRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddNewTianjspRow(NewTianjspRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NewTianjspRow AddNewTianjspRow(string 商品名称, string 单位, string 规格型号, string 颜色, double 单价, int 数量, double 总金额, string 商品编号, string 生产厂商) {
                NewTianjspRow rowNewTianjspRow = ((NewTianjspRow)(this.NewRow()));
                rowNewTianjspRow.ItemArray = new object[] {
                        商品名称,
                        单位,
                        规格型号,
                        颜色,
                        单价,
                        数量,
                        总金额,
                        商品编号,
                        生产厂商};
                this.Rows.Add(rowNewTianjspRow);
                return rowNewTianjspRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NewTianjspRow FindBy商品编号(string 商品编号) {
                return ((NewTianjspRow)(this.Rows.Find(new object[] {
                            商品编号})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                NewTianjspDataTable cln = ((NewTianjspDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new NewTianjspDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.column商品名称 = base.Columns["商品名称"];
                this.column单位 = base.Columns["单位"];
                this.column规格型号 = base.Columns["规格型号"];
                this.column颜色 = base.Columns["颜色"];
                this.column单价 = base.Columns["单价"];
                this.column数量 = base.Columns["数量"];
                this.column总金额 = base.Columns["总金额"];
                this.column商品编号 = base.Columns["商品编号"];
                this.column生产厂商 = base.Columns["生产厂商"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.column商品名称 = new System.Data.DataColumn("商品名称", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column商品名称);
                this.column单位 = new System.Data.DataColumn("单位", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column单位);
                this.column规格型号 = new System.Data.DataColumn("规格型号", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column规格型号);
                this.column颜色 = new System.Data.DataColumn("颜色", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column颜色);
                this.column单价 = new System.Data.DataColumn("单价", typeof(double), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column单价);
                this.column数量 = new System.Data.DataColumn("数量", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column数量);
                this.column总金额 = new System.Data.DataColumn("总金额", typeof(double), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column总金额);
                this.column商品编号 = new System.Data.DataColumn("商品编号", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column商品编号);
                this.column生产厂商 = new System.Data.DataColumn("生产厂商", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column生产厂商);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.column商品编号}, true));
                this.column商品名称.AllowDBNull = false;
                this.column商品名称.MaxLength = 50;
                this.column单位.AllowDBNull = false;
                this.column单位.MaxLength = 10;
                this.column规格型号.AllowDBNull = false;
                this.column规格型号.MaxLength = 50;
                this.column颜色.AllowDBNull = false;
                this.column颜色.MaxLength = 10;
                this.column单价.AllowDBNull = false;
                this.column数量.AllowDBNull = false;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -