📄 pubsdataset3.designer.cs
字号:
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 statesDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn idColumn {
get {
return this.columnid;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn bidColumn {
get {
return this.columnbid;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn uidColumn {
get {
return this.columnuid;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn borrowDateColumn {
get {
return this.columnborrowDate;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn returnDateColumn {
get {
return this.columnreturnDate;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public statesRow this[int index] {
get {
return ((statesRow)(this.Rows[index]));
}
}
public event statesRowChangeEventHandler statesRowChanging;
public event statesRowChangeEventHandler statesRowChanged;
public event statesRowChangeEventHandler statesRowDeleting;
public event statesRowChangeEventHandler statesRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddstatesRow(statesRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public statesRow AddstatesRow(int bid, int uid, string borrowDate, string returnDate) {
statesRow rowstatesRow = ((statesRow)(this.NewRow()));
rowstatesRow.ItemArray = new object[] {
null,
bid,
uid,
borrowDate,
returnDate};
this.Rows.Add(rowstatesRow);
return rowstatesRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public statesRow FindByid(int id) {
return ((statesRow)(this.Rows.Find(new object[] {
id})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
statesDataTable cln = ((statesDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new statesDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnid = base.Columns["id"];
this.columnbid = base.Columns["bid"];
this.columnuid = base.Columns["uid"];
this.columnborrowDate = base.Columns["borrowDate"];
this.columnreturnDate = base.Columns["returnDate"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnid = new System.Data.DataColumn("id", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnid);
this.columnbid = new System.Data.DataColumn("bid", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnbid);
this.columnuid = new System.Data.DataColumn("uid", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnuid);
this.columnborrowDate = new System.Data.DataColumn("borrowDate", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnborrowDate);
this.columnreturnDate = new System.Data.DataColumn("returnDate", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnreturnDate);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnid}, true));
this.columnid.AutoIncrement = true;
this.columnid.AllowDBNull = false;
this.columnid.ReadOnly = true;
this.columnid.Unique = true;
this.columnborrowDate.MaxLength = 40;
this.columnreturnDate.AllowDBNull = false;
this.columnreturnDate.MaxLength = 40;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public statesRow NewstatesRow() {
return ((statesRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new statesRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(statesRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.statesRowChanged != null)) {
this.statesRowChanged(this, new statesRowChangeEvent(((statesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.statesRowChanging != null)) {
this.statesRowChanging(this, new statesRowChangeEvent(((statesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.statesRowDeleted != null)) {
this.statesRowDeleted(this, new statesRowChangeEvent(((statesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.statesRowDeleting != null)) {
this.statesRowDeleting(this, new statesRowChangeEvent(((statesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemovestatesRow(statesRow 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();
pubsDataSet3 ds = new pubsDataSet3();
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 = "statesDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class statesRow : System.Data.DataRow {
private statesDataTable tablestates;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal statesRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tablestates = ((statesDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int id {
get {
return ((int)(this[this.tablestates.idColumn]));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -