📄 dataset1.designer.cs
字号:
return new merchRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(merchRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.merchRowChanged != null)) {
this.merchRowChanged(this, new merchRowChangeEvent(((merchRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.merchRowChanging != null)) {
this.merchRowChanging(this, new merchRowChangeEvent(((merchRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.merchRowDeleted != null)) {
this.merchRowDeleted(this, new merchRowChangeEvent(((merchRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.merchRowDeleting != null)) {
this.merchRowDeleting(this, new merchRowChangeEvent(((merchRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemovemerchRow(merchRow row) {
this.Rows.Remove(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
DataSet1 ds = new DataSet1();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "merchDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.Serializable()]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class merch1DataTable : System.Data.DataTable, System.Collections.IEnumerable {
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促销止日期;
private System.Data.DataColumn column是否打折;
private System.Data.DataColumn column允许销售;
private System.Data.DataColumn column厂商编号;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public merch1DataTable() {
this.TableName = "merch1";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal merch1DataTable(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 merch1DataTable(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()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public merch1Row this[int index] {
get {
return ((merch1Row)(this.Rows[index]));
}
}
public event merch1RowChangeEventHandler merch1RowChanging;
public event merch1RowChangeEventHandler merch1RowChanged;
public event merch1RowChangeEventHandler merch1RowDeleting;
public event merch1RowChangeEventHandler merch1RowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Addmerch1Row(merch1Row row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public merch1Row Addmerch1Row(string 商品编号, string 商品名称, decimal 商品价格, int 商品库存量, int 会员价格, decimal 库存警告量, decimal 促销价格, System.DateTime 促销起日期, System.DateTime 促销止日期, string 是否打折, string 允许销售, string 厂商编号) {
merch1Row rowmerch1Row = ((merch1Row)(this.NewRow()));
rowmerch1Row.ItemArray = new object[] {
商品编号,
商品名称,
商品价格,
商品库存量,
会员价格,
库存警告量,
促销价格,
促销起日期,
促销止日期,
是否打折,
允许销售,
厂商编号};
this.Rows.Add(rowmerch1Row);
return rowmerch1Row;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public merch1Row FindBy商品编号(string 商品编号) {
return ((merch1Row)(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() {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -