📄 busworkdataset2.designer.cs
字号:
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
public delegate void db_accidentRowChangeEventHandler(object sender, db_accidentRowChangeEvent e);
public delegate void db_carRowChangeEventHandler(object sender, db_carRowChangeEvent e);
public delegate void db_dutyRowChangeEventHandler(object sender, db_dutyRowChangeEvent e);
public delegate void db_fitRowChangeEventHandler(object sender, db_fitRowChangeEvent e);
public delegate void db_oilticketRowChangeEventHandler(object sender, db_oilticketRowChangeEvent e);
public delegate void db_payRowChangeEventHandler(object sender, db_payRowChangeEvent e);
public delegate void db_rentRowChangeEventHandler(object sender, db_rentRowChangeEvent e);
public delegate void db_repairRowChangeEventHandler(object sender, db_repairRowChangeEvent e);
public delegate void db_ticketRowChangeEventHandler(object sender, db_ticketRowChangeEvent e);
public delegate void db_tickindRowChangeEventHandler(object sender, db_tickindRowChangeEvent e);
public delegate void db_UserRowChangeEventHandler(object sender, db_UserRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class db_accidentDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
private global::System.Data.DataColumn columnaccident_id;
private global::System.Data.DataColumn columnaccident_number;
private global::System.Data.DataColumn columnaccident_time;
private global::System.Data.DataColumn columnaccident_name;
private global::System.Data.DataColumn columnaccident_reason;
private global::System.Data.DataColumn columnaccident_money;
private global::System.Data.DataColumn columnaccident_remark;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public db_accidentDataTable() {
this.TableName = "db_accident";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal db_accidentDataTable(global::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;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected db_accidentDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn accident_idColumn {
get {
return this.columnaccident_id;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn accident_numberColumn {
get {
return this.columnaccident_number;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn accident_timeColumn {
get {
return this.columnaccident_time;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn accident_nameColumn {
get {
return this.columnaccident_name;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn accident_reasonColumn {
get {
return this.columnaccident_reason;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn accident_moneyColumn {
get {
return this.columnaccident_money;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn accident_remarkColumn {
get {
return this.columnaccident_remark;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public db_accidentRow this[int index] {
get {
return ((db_accidentRow)(this.Rows[index]));
}
}
public event db_accidentRowChangeEventHandler db_accidentRowChanging;
public event db_accidentRowChangeEventHandler db_accidentRowChanged;
public event db_accidentRowChangeEventHandler db_accidentRowDeleting;
public event db_accidentRowChangeEventHandler db_accidentRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Adddb_accidentRow(db_accidentRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public db_accidentRow Adddb_accidentRow(string accident_number, System.DateTime accident_time, string accident_name, string accident_reason, decimal accident_money, string accident_remark) {
db_accidentRow rowdb_accidentRow = ((db_accidentRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
accident_number,
accident_time,
accident_name,
accident_reason,
accident_money,
accident_remark};
rowdb_accidentRow.ItemArray = columnValuesArray;
this.Rows.Add(rowdb_accidentRow);
return rowdb_accidentRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public db_accidentRow FindByaccident_id(int accident_id) {
return ((db_accidentRow)(this.Rows.Find(new object[] {
accident_id})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual global::System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override global::System.Data.DataTable Clone() {
db_accidentDataTable cln = ((db_accidentDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataTable CreateInstance() {
return new db_accidentDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnaccident_id = base.Columns["accident_id"];
this.columnaccident_number = base.Columns["accident_number"];
this.columnaccident_time = base.Columns["accident_time"];
this.columnaccident_name = base.Columns["accident_name"];
this.columnaccident_reason = base.Columns["accident_reason"];
this.columnaccident_money = base.Columns["accident_money"];
this.columnaccident_remark = base.Columns["accident_remark"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnaccident_id = new global::System.Data.DataColumn("accident_id", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnaccident_id);
this.columnaccident_number = new global::System.Data.DataColumn("accident_number", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnaccident_number);
this.columnaccident_time = new global::System.Data.DataColumn("accident_time", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnaccident_time);
this.columnaccident_name = new global::System.Data.DataColumn("accident_name", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnaccident_name);
this.columnaccident_reason = new global::System.Data.DataColumn("accident_reason", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnaccident_reason);
this.columnaccident_money = new global::System.Data.DataColumn("accident_money", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnaccident_money);
this.columnaccident_remark = new global::System.Data.DataColumn("accident_remark", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnaccident_remark);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnaccident_id}, true));
this.columnaccident_id.AutoIncrement = true;
this.columnaccident_id.AllowDBNull = false;
this.columnaccident_id.ReadOnly = true;
this.columnaccident_id.Unique = true;
this.columnaccident_number.MaxLength = 50;
this.columnaccident_name.MaxLength = 20;
this.columnaccident_reason.MaxLength = 200;
this.columnaccident_remark.MaxLength = 200;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public db_accidentRow Newdb_accidentRow() {
return ((db_accidentRow)(this.NewRow()));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -