📄 dataset2.designer.cs
字号:
private System.Data.DataColumn column价格;
private System.Data.DataColumn column出版社;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 图书信息DataTable() {
this.TableName = "图书信息";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal 图书信息DataTable(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 图书信息DataTable(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()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 图书信息Row this[int index] {
get {
return ((图书信息Row)(this.Rows[index]));
}
}
public event 图书信息RowChangeEventHandler 图书信息RowChanging;
public event 图书信息RowChangeEventHandler 图书信息RowChanged;
public event 图书信息RowChangeEventHandler 图书信息RowDeleting;
public event 图书信息RowChangeEventHandler 图书信息RowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Add图书信息Row(图书信息Row row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 图书信息Row Add图书信息Row(string 书名, System.DateTime 借阅时间, System.DateTime 应还时间, string 状态, decimal 价格, string 出版社) {
图书信息Row row图书信息Row = ((图书信息Row)(this.NewRow()));
row图书信息Row.ItemArray = new object[] {
null,
书名,
借阅时间,
应还时间,
状态,
价格,
出版社};
this.Rows.Add(row图书信息Row);
return row图书信息Row;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 图书信息Row FindBy借阅编号(int 借阅编号) {
return ((图书信息Row)(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() {
图书信息DataTable cln = ((图书信息DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new 图书信息DataTable();
}
[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["出版社"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
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.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(decimal), 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借阅编号.AutoIncrement = true;
this.column借阅编号.AllowDBNull = false;
this.column借阅编号.ReadOnly = true;
this.column借阅编号.Unique = true;
this.column书名.MaxLength = 200;
this.column状态.MaxLength = 10;
this.column出版社.MaxLength = 100;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 图书信息Row New图书信息Row() {
return ((图书信息Row)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new 图书信息Row(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(图书信息Row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.图书信息RowChanged != null)) {
this.图书信息RowChanged(this, new 图书信息RowChangeEvent(((图书信息Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.图书信息RowChanging != null)) {
this.图书信息RowChanging(this, new 图书信息RowChangeEvent(((图书信息Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.图书信息RowDeleted != null)) {
this.图书信息RowDeleted(this, new 图书信息RowChangeEvent(((图书信息Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.图书信息RowDeleting != null)) {
this.图书信息RowDeleting(this, new 图书信息RowChangeEvent(((图书信息Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Remove图书信息Row(图书信息Row row) {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -