📄 mydata2dataset.designer.cs
字号:
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.BookRowDeleted != null)) {
this.BookRowDeleted(this, new BookRowChangeEvent(((BookRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.BookRowDeleting != null)) {
this.BookRowDeleting(this, new BookRowChangeEvent(((BookRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveBookRow(BookRow 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();
Mydata2DataSet ds = new Mydata2DataSet();
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 = "BookDataTable";
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 IssueBookDataTable : 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还书日期;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public IssueBookDataTable() {
this.TableName = "IssueBook";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal IssueBookDataTable(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 IssueBookDataTable(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()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public IssueBookRow this[int index] {
get {
return ((IssueBookRow)(this.Rows[index]));
}
}
public event IssueBookRowChangeEventHandler IssueBookRowChanging;
public event IssueBookRowChangeEventHandler IssueBookRowChanged;
public event IssueBookRowChangeEventHandler IssueBookRowDeleting;
public event IssueBookRowChangeEventHandler IssueBookRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddIssueBookRow(IssueBookRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public IssueBookRow AddIssueBookRow(string 图书编号, string 借书人编号, string 借书人姓名, string 借书日期, string 还书日期) {
IssueBookRow rowIssueBookRow = ((IssueBookRow)(this.NewRow()));
rowIssueBookRow.ItemArray = new object[] {
null,
图书编号,
借书人编号,
借书人姓名,
借书日期,
还书日期};
this.Rows.Add(rowIssueBookRow);
return rowIssueBookRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public IssueBookRow FindBy借书记录编号(int 借书记录编号) {
return ((IssueBookRow)(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() {
IssueBookDataTable cln = ((IssueBookDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new IssueBookDataTable();
}
[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["还书日期"];
}
[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(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.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图书编号.AllowDBNull = false;
this.column图书编号.MaxLength = 50;
this.column借书人编号.AllowDBNull = false;
this.column借书人编号.MaxLength = 50;
this.column借书人姓名.AllowDBNull = false;
this.column借书人姓名.MaxLength = 50;
this.column借书日期.AllowDBNull = false;
this.column借书日期.MaxLength = 100;
this.column还书日期.AllowDBNull = false;
this.column还书日期.MaxLength = 100;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public IssueBookRow NewIssueBookRow() {
return ((IssueBookRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new IssueBookRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(IssueBookRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.IssueBookRowChanged != null)) {
this.IssueBookRowChanged(this, new IssueBookRowChangeEvent(((IssueBookRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.IssueBookR
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -