📄 dataset1.designer.cs
字号:
[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()]
[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 类型编号, string 类型名称, int 可借天数) {
图书类型Row row图书类型Row = ((图书类型Row)(this.NewRow()));
row图书类型Row.ItemArray = new object[] {
类型编号,
类型名称,
可借天数};
this.Rows.Add(row图书类型Row);
return row图书类型Row;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 图书类型Row FindBy类型编号(string 类型编号) {
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["可借天数"];
}
[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(int), 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;
}
[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) {
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();
DataSet1 ds = new DataSet1();
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 = "图书类型DataTable";
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 读者类型DataTable : 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 读者类型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类型;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -