📄 readertypedataset1.designer.cs
字号:
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected ReadertypeDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn TypenameColumn {
get {
return this.columnTypename;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn BookDaysColumn {
get {
return this.columnBookDays;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ReadertypeRow this[int index] {
get {
return ((ReadertypeRow)(this.Rows[index]));
}
}
public event ReadertypeRowChangeEventHandler ReadertypeRowChanging;
public event ReadertypeRowChangeEventHandler ReadertypeRowChanged;
public event ReadertypeRowChangeEventHandler ReadertypeRowDeleting;
public event ReadertypeRowChangeEventHandler ReadertypeRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddReadertypeRow(ReadertypeRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ReadertypeRow AddReadertypeRow(string Typename, int BookDays) {
ReadertypeRow rowReadertypeRow = ((ReadertypeRow)(this.NewRow()));
rowReadertypeRow.ItemArray = new object[] {
Typename,
BookDays};
this.Rows.Add(rowReadertypeRow);
return rowReadertypeRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ReadertypeRow FindByTypename(string Typename) {
return ((ReadertypeRow)(this.Rows.Find(new object[] {
Typename})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
ReadertypeDataTable cln = ((ReadertypeDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new ReadertypeDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnTypename = base.Columns["Typename"];
this.columnBookDays = base.Columns["BookDays"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnTypename = new System.Data.DataColumn("Typename", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnTypename);
this.columnBookDays = new System.Data.DataColumn("BookDays", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnBookDays);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnTypename}, true));
this.columnTypename.AllowDBNull = false;
this.columnTypename.Unique = true;
this.columnTypename.MaxLength = 50;
this.columnBookDays.AllowDBNull = false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ReadertypeRow NewReadertypeRow() {
return ((ReadertypeRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new ReadertypeRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(ReadertypeRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.ReadertypeRowChanged != null)) {
this.ReadertypeRowChanged(this, new ReadertypeRowChangeEvent(((ReadertypeRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.ReadertypeRowChanging != null)) {
this.ReadertypeRowChanging(this, new ReadertypeRowChangeEvent(((ReadertypeRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.ReadertypeRowDeleted != null)) {
this.ReadertypeRowDeleted(this, new ReadertypeRowChangeEvent(((ReadertypeRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.ReadertypeRowDeleting != null)) {
this.ReadertypeRowDeleting(this, new ReadertypeRowChangeEvent(((ReadertypeRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveReadertypeRow(ReadertypeRow 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();
ReadertypeDataSet1 ds = new ReadertypeDataSet1();
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 = "ReadertypeDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class ReadertypeRow : System.Data.DataRow {
private ReadertypeDataTable tableReadertype;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal ReadertypeRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableReadertype = ((ReadertypeDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Typename {
get {
return ((string)(this[this.tableReadertype.TypenameColumn]));
}
set {
this[this.tableReadertype.TypenameColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int BookDays {
get {
return ((int)(this[this.tableReadertype.BookDaysColumn]));
}
set {
this[this.tableReadertype.BookDaysColumn] = value;
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class ReadertypeRowChangeEvent : System.EventArgs {
private ReadertypeRow eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ReadertypeRowChangeEvent(ReadertypeRow row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ReadertypeRow Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
#pragma warning restore 1591
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -