?? mydata2dataset.designer.cs
字號:
public partial class BookDataTable : 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現(xiàn)有數(shù)量;
private System.Data.DataColumn column小類;
private System.Data.DataColumn column大類;
private System.Data.DataColumn column內(nèi)容簡介;
private System.Data.DataColumn column入庫時間;
private System.Data.DataColumn column圖片;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public BookDataTable() {
this.TableName = "Book";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal BookDataTable(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 BookDataTable(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 現(xiàn)有數(shù)量Column {
get {
return this.column現(xiàn)有數(shù)量;
}
}
[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 內(nèi)容簡介Column {
get {
return this.column內(nèi)容簡介;
}
}
[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 BookRow this[int index] {
get {
return ((BookRow)(this.Rows[index]));
}
}
public event BookRowChangeEventHandler BookRowChanging;
public event BookRowChangeEventHandler BookRowChanged;
public event BookRowChangeEventHandler BookRowDeleting;
public event BookRowChangeEventHandler BookRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddBookRow(BookRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public BookRow AddBookRow(string 書籍編號, string 書名, string 作者, string 出版社, int 現(xiàn)有數(shù)量, string 小類, string 大類, string 內(nèi)容簡介, string 入庫時間, byte[] 圖片) {
BookRow rowBookRow = ((BookRow)(this.NewRow()));
rowBookRow.ItemArray = new object[] {
書籍編號,
書名,
作者,
出版社,
現(xiàn)有數(shù)量,
小類,
大類,
內(nèi)容簡介,
入庫時間,
圖片};
this.Rows.Add(rowBookRow);
return rowBookRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public BookRow FindBy書籍編號(string 書籍編號) {
return ((BookRow)(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() {
BookDataTable cln = ((BookDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new BookDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.column書籍編號 = base.Columns["書籍編號"];
this.column書名 = base.Columns["書名"];
this.column作者 = base.Columns["作者"];
this.column出版社 = base.Columns["出版社"];
this.column現(xiàn)有數(shù)量 = base.Columns["現(xiàn)有數(shù)量"];
this.column小類 = base.Columns["小類"];
this.column大類 = base.Columns["大類"];
this.column內(nèi)容簡介 = base.Columns["內(nèi)容簡介"];
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(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現(xiàn)有數(shù)量 = new System.Data.DataColumn("現(xiàn)有數(shù)量", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.column現(xiàn)有數(shù)量);
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內(nèi)容簡介 = new System.Data.DataColumn("內(nèi)容簡介", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column內(nèi)容簡介);
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(byte[]), 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 = 50;
this.column書名.MaxLength = 50;
this.column作者.MaxLength = 50;
this.column出版社.MaxLength = 50;
this.column小類.MaxLength = 50;
this.column大類.MaxLength = 50;
this.column內(nèi)容簡介.MaxLength = 1073741823;
this.column入庫時間.MaxLength = 50;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public BookRow NewBookRow() {
return ((BookRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new BookRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(BookRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.BookRowChanged != null)) {
this.BookRowChanged(this, new BookRowChangeEvent(((BookRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.BookRowChanging != null)) {
this.BookRowChanging(this, new BookRowChangeEvent(((BookRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -