📄 dataset1.designer.cs
字号:
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 merchDataTable() {
this.TableName = "merch";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal merchDataTable(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 merchDataTable(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()]
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 merchRow this[int index] {
get {
return ((merchRow)(this.Rows[index]));
}
}
public event merchRowChangeEventHandler merchRowChanging;
public event merchRowChangeEventHandler merchRowChanged;
public event merchRowChangeEventHandler merchRowDeleting;
public event merchRowChangeEventHandler merchRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddmerchRow(merchRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public merchRow AddmerchRow(string 商品编号, string 商品名称, decimal 商品价格, int 商品库存量, decimal 会员价格, int 库存警告量, decimal 促销价格, System.DateTime 促销起日期, System.DateTime 促销止日期, string 允许打折, string 允许销售, string 厂商编号, int 商品数量, string 是否打折) {
merchRow rowmerchRow = ((merchRow)(this.NewRow()));
rowmerchRow.ItemArray = new object[] {
商品编号,
商品名称,
商品价格,
商品库存量,
会员价格,
库存警告量,
促销价格,
促销起日期,
促销止日期,
允许打折,
允许销售,
厂商编号,
商品数量,
是否打折};
this.Rows.Add(rowmerchRow);
return rowmerchRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public merchRow FindBy商品编号(string 商品编号) {
return ((merchRow)(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() {
merchDataTable cln = ((merchDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new merchDataTable();
}
[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["促销止日期"];
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(decimal), 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(decimal), 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(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.column促销价格);
this.column促销起日期 = new System.Data.DataColumn("促销起日期", typeof(System.DateTime), null, System.Data.MappingType.Element);
base.Columns.Add(this.column促销起日期);
this.column促销止日期 = new System.Data.DataColumn("促销止日期", typeof(System.DateTime), 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(int), 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商品编号.Unique = true;
this.column商品编号.MaxLength = 10;
this.column商品名称.AllowDBNull = false;
this.column商品名称.MaxLength = 50;
this.column允许打折.MaxLength = 4;
this.column允许销售.MaxLength = 5;
this.column厂商编号.MaxLength = 10;
this.column是否打折.MaxLength = 4;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public merchRow NewmerchRow() {
return ((merchRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -