📄 dataset1.designer.cs
字号:
this.TableName = "Stocks";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal StocksDataTable(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 StocksDataTable(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 StockIDColumn {
get {
return this.columnStockID;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn SupplierIDColumn {
get {
return this.columnSupplierID;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn EmployeeIDColumn {
get {
return this.columnEmployeeID;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn TotalPriceColumn {
get {
return this.columnTotalPrice;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn ZDRColumn {
get {
return this.columnZDR;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn TimeColumn {
get {
return this.columnTime;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn TotalTaxColumn {
get {
return this.columnTotalTax;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn NoTaxColumn {
get {
return this.columnNoTax;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public StocksRow this[int index] {
get {
return ((StocksRow)(this.Rows[index]));
}
}
public event StocksRowChangeEventHandler StocksRowChanging;
public event StocksRowChangeEventHandler StocksRowChanged;
public event StocksRowChangeEventHandler StocksRowDeleting;
public event StocksRowChangeEventHandler StocksRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddStocksRow(StocksRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public StocksRow AddStocksRow(int StockID, int SupplierID, int EmployeeID, decimal TotalPrice, string ZDR, string Time, decimal TotalTax, decimal NoTax) {
StocksRow rowStocksRow = ((StocksRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
StockID,
SupplierID,
EmployeeID,
TotalPrice,
ZDR,
Time,
TotalTax,
NoTax};
rowStocksRow.ItemArray = columnValuesArray;
this.Rows.Add(rowStocksRow);
return rowStocksRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public StocksRow FindByStockID(int StockID) {
return ((StocksRow)(this.Rows.Find(new object[] {
StockID})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual global::System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override global::System.Data.DataTable Clone() {
StocksDataTable cln = ((StocksDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataTable CreateInstance() {
return new StocksDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnStockID = base.Columns["StockID"];
this.columnSupplierID = base.Columns["SupplierID"];
this.columnEmployeeID = base.Columns["EmployeeID"];
this.columnTotalPrice = base.Columns["TotalPrice"];
this.columnZDR = base.Columns["ZDR"];
this.columnTime = base.Columns["Time"];
this.columnTotalTax = base.Columns["TotalTax"];
this.columnNoTax = base.Columns["NoTax"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnStockID = new global::System.Data.DataColumn("StockID", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStockID);
this.columnSupplierID = new global::System.Data.DataColumn("SupplierID", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSupplierID);
this.columnEmployeeID = new global::System.Data.DataColumn("EmployeeID", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnEmployeeID);
this.columnTotalPrice = new global::System.Data.DataColumn("TotalPrice", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnTotalPrice);
this.columnZDR = new global::System.Data.DataColumn("ZDR", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnZDR);
this.columnTime = new global::System.Data.DataColumn("Time", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnTime);
this.columnTotalTax = new global::System.Data.DataColumn("TotalTax", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnTotalTax);
this.columnNoTax = new global::System.Data.DataColumn("NoTax", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNoTax);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnStockID}, true));
this.columnStockID.AllowDBNull = false;
this.columnStockID.Unique = true;
this.columnSupplierID.AllowDBNull = false;
this.columnEmployeeID.AllowDBNull = false;
this.columnTotalPrice.AllowDBNull = false;
this.columnZDR.MaxLength = 50;
this.columnTime.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public StocksRow NewStocksRow() {
return ((StocksRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new StocksRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Type GetRowType() {
return typeof(StocksRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.StocksRowChanged != null)) {
this.StocksRowChanged(this, new StocksRowChangeEvent(((StocksRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.StocksRowChanging != null)) {
this.StocksRowChanging(this, new StocksRowChangeEvent(((StocksRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.StocksRowDeleted != null)) {
this.StocksRowDeleted(this, new StocksRowChangeEvent(((StocksRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.StocksRowDeleting != null)) {
this.StocksRowDeleting(this, new StocksRowChangeEvent(((StocksRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveStocksRow(StocksRow 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();
DataSet1 ds = new DataSet1();
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 = ne
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -