📄 pubsdataset1.designer.cs
字号:
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.Serializable()]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class booksDataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn columnbid;
private System.Data.DataColumn columnkind;
private System.Data.DataColumn columnbname;
private System.Data.DataColumn columncompany;
private System.Data.DataColumn columnauthor;
private System.Data.DataColumn columnprice;
private System.Data.DataColumn columnpressmark;
private System.Data.DataColumn columnbookcount;
private System.Data.DataColumn columnnum;
private System.Data.DataColumn columnislock;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public booksDataTable() {
this.TableName = "books";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal booksDataTable(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 booksDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn bidColumn {
get {
return this.columnbid;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn kindColumn {
get {
return this.columnkind;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn bnameColumn {
get {
return this.columnbname;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn companyColumn {
get {
return this.columncompany;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn authorColumn {
get {
return this.columnauthor;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn priceColumn {
get {
return this.columnprice;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn pressmarkColumn {
get {
return this.columnpressmark;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn bookcountColumn {
get {
return this.columnbookcount;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn numColumn {
get {
return this.columnnum;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn islockColumn {
get {
return this.columnislock;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public booksRow this[int index] {
get {
return ((booksRow)(this.Rows[index]));
}
}
public event booksRowChangeEventHandler booksRowChanging;
public event booksRowChangeEventHandler booksRowChanged;
public event booksRowChangeEventHandler booksRowDeleting;
public event booksRowChangeEventHandler booksRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddbooksRow(booksRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public booksRow AddbooksRow(string kind, string bname, string company, string author, double price, int pressmark, int bookcount, int num, int islock) {
booksRow rowbooksRow = ((booksRow)(this.NewRow()));
rowbooksRow.ItemArray = new object[] {
null,
kind,
bname,
company,
author,
price,
pressmark,
bookcount,
num,
islock};
this.Rows.Add(rowbooksRow);
return rowbooksRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public booksRow FindBybid(int bid) {
return ((booksRow)(this.Rows.Find(new object[] {
bid})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
booksDataTable cln = ((booksDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new booksDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnbid = base.Columns["bid"];
this.columnkind = base.Columns["kind"];
this.columnbname = base.Columns["bname"];
this.columncompany = base.Columns["company"];
this.columnauthor = base.Columns["author"];
this.columnprice = base.Columns["price"];
this.columnpressmark = base.Columns["pressmark"];
this.columnbookcount = base.Columns["bookcount"];
this.columnnum = base.Columns["num"];
this.columnislock = base.Columns["islock"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnbid = new System.Data.DataColumn("bid", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnbid);
this.columnkind = new System.Data.DataColumn("kind", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnkind);
this.columnbname = new System.Data.DataColumn("bname", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnbname);
this.columncompany = new System.Data.DataColumn("company", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columncompany);
this.columnauthor = new System.Data.DataColumn("author", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnauthor);
this.columnprice = new System.Data.DataColumn("price", typeof(double), null, System.Data.MappingType.Element);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -