📄 dataset1.cs
字号:
}
[System.Diagnostics.DebuggerStepThrough()]
public class 读者信息RowChangeEvent : EventArgs {
private 读者信息Row eventRow;
private DataRowAction eventAction;
public 读者信息RowChangeEvent(读者信息Row row, DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
public 读者信息Row Row {
get {
return this.eventRow;
}
}
public DataRowAction Action {
get {
return this.eventAction;
}
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class 图书征订DataTable : DataTable, System.Collections.IEnumerable {
private DataColumn column征订编号;
internal 图书征订DataTable() :
base("图书征订") {
this.InitClass();
}
internal 图书征订DataTable(DataTable table) :
base(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;
this.DisplayExpression = table.DisplayExpression;
}
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
internal DataColumn 征订编号Column {
get {
return this.column征订编号;
}
}
public 图书征订Row this[int index] {
get {
return ((图书征订Row)(this.Rows[index]));
}
}
public event 图书征订RowChangeEventHandler 图书征订RowChanged;
public event 图书征订RowChangeEventHandler 图书征订RowChanging;
public event 图书征订RowChangeEventHandler 图书征订RowDeleted;
public event 图书征订RowChangeEventHandler 图书征订RowDeleting;
public void Add图书征订Row(图书征订Row row) {
this.Rows.Add(row);
}
public 图书征订Row Add图书征订Row(string 征订编号) {
图书征订Row row图书征订Row = ((图书征订Row)(this.NewRow()));
row图书征订Row.ItemArray = new object[] {
征订编号};
this.Rows.Add(row图书征订Row);
return row图书征订Row;
}
public 图书征订Row FindBy征订编号(string 征订编号) {
return ((图书征订Row)(this.Rows.Find(new object[] {
征订编号})));
}
public System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
public override DataTable Clone() {
图书征订DataTable cln = ((图书征订DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
protected override DataTable CreateInstance() {
return new 图书征订DataTable();
}
internal void InitVars() {
this.column征订编号 = this.Columns["征订编号"];
}
private void InitClass() {
this.column征订编号 = new DataColumn("征订编号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column征订编号);
this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
this.column征订编号}, true));
this.column征订编号.AllowDBNull = false;
this.column征订编号.Unique = true;
}
public 图书征订Row New图书征订Row() {
return ((图书征订Row)(this.NewRow()));
}
protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
return new 图书征订Row(builder);
}
protected override System.Type GetRowType() {
return typeof(图书征订Row);
}
protected override void OnRowChanged(DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.图书征订RowChanged != null)) {
this.图书征订RowChanged(this, new 图书征订RowChangeEvent(((图书征订Row)(e.Row)), e.Action));
}
}
protected override void OnRowChanging(DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.图书征订RowChanging != null)) {
this.图书征订RowChanging(this, new 图书征订RowChangeEvent(((图书征订Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleted(DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.图书征订RowDeleted != null)) {
this.图书征订RowDeleted(this, new 图书征订RowChangeEvent(((图书征订Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleting(DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.图书征订RowDeleting != null)) {
this.图书征订RowDeleting(this, new 图书征订RowChangeEvent(((图书征订Row)(e.Row)), e.Action));
}
}
public void Remove图书征订Row(图书征订Row row) {
this.Rows.Remove(row);
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class 图书征订Row : DataRow {
private 图书征订DataTable table图书征订;
internal 图书征订Row(DataRowBuilder rb) :
base(rb) {
this.table图书征订 = ((图书征订DataTable)(this.Table));
}
public string 征订编号 {
get {
return ((string)(this[this.table图书征订.征订编号Column]));
}
set {
this[this.table图书征订.征订编号Column] = value;
}
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class 图书征订RowChangeEvent : EventArgs {
private 图书征订Row eventRow;
private DataRowAction eventAction;
public 图书征订RowChangeEvent(图书征订Row row, DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
public 图书征订Row Row {
get {
return this.eventRow;
}
}
public DataRowAction Action {
get {
return this.eventAction;
}
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class 读者类型DataTable : DataTable, System.Collections.IEnumerable {
private DataColumn column类型;
private DataColumn column图书册书;
private DataColumn column期刊册书;
private DataColumn column续借次数;
private DataColumn column限制图书;
private DataColumn column限制期刊;
internal 读者类型DataTable() :
base("读者类型") {
this.InitClass();
}
internal 读者类型DataTable(DataTable table) :
base(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;
this.DisplayExpression = table.DisplayExpression;
}
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
internal DataColumn 类型Column {
get {
return this.column类型;
}
}
internal DataColumn 图书册书Column {
get {
return this.column图书册书;
}
}
internal DataColumn 期刊册书Column {
get {
return this.column期刊册书;
}
}
internal DataColumn 续借次数Column {
get {
return this.column续借次数;
}
}
internal DataColumn 限制图书Column {
get {
return this.column限制图书;
}
}
internal DataColumn 限制期刊Column {
get {
return this.column限制期刊;
}
}
public 读者类型Row this[int index] {
get {
return ((读者类型Row)(this.Rows[index]));
}
}
public event 读者类型RowChangeEventHandler 读者类型RowChanged;
public event 读者类型RowChangeEventHandler 读者类型RowChanging;
public event 读者类型RowChangeEventHandler 读者类型RowDeleted;
public event 读者类型RowChangeEventHandler 读者类型RowDeleting;
public void Add读者类型Row(读者类型Row row) {
this.Rows.Add(row);
}
public 读者类型Row Add读者类型Row(string 类型, short 图书册书, short 期刊册书, int 续借次数, bool 限制图书, bool 限制期刊) {
读者类型Row row读者类型Row = ((读者类型Row)(this.NewRow()));
row读者类型Row.ItemArray = new object[] {
类型,
图书册书,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -