📄 busworkdataset2.designer.cs
字号:
BusWorkDataSet2 cln = ((BusWorkDataSet2)(base.Clone()));
cln.InitVars();
cln.SchemaSerializationMode = this.SchemaSerializationMode;
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override bool ShouldSerializeTables() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override bool ShouldSerializeRelations() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
this.Reset();
global::System.Data.DataSet ds = new global::System.Data.DataSet();
ds.ReadXml(reader);
if ((ds.Tables["db_accident"] != null)) {
base.Tables.Add(new db_accidentDataTable(ds.Tables["db_accident"]));
}
if ((ds.Tables["db_car"] != null)) {
base.Tables.Add(new db_carDataTable(ds.Tables["db_car"]));
}
if ((ds.Tables["db_duty"] != null)) {
base.Tables.Add(new db_dutyDataTable(ds.Tables["db_duty"]));
}
if ((ds.Tables["db_fit"] != null)) {
base.Tables.Add(new db_fitDataTable(ds.Tables["db_fit"]));
}
if ((ds.Tables["db_oilticket"] != null)) {
base.Tables.Add(new db_oilticketDataTable(ds.Tables["db_oilticket"]));
}
if ((ds.Tables["db_pay"] != null)) {
base.Tables.Add(new db_payDataTable(ds.Tables["db_pay"]));
}
if ((ds.Tables["db_rent"] != null)) {
base.Tables.Add(new db_rentDataTable(ds.Tables["db_rent"]));
}
if ((ds.Tables["db_repair"] != null)) {
base.Tables.Add(new db_repairDataTable(ds.Tables["db_repair"]));
}
if ((ds.Tables["db_ticket"] != null)) {
base.Tables.Add(new db_ticketDataTable(ds.Tables["db_ticket"]));
}
if ((ds.Tables["db_tickind"] != null)) {
base.Tables.Add(new db_tickindDataTable(ds.Tables["db_tickind"]));
}
if ((ds.Tables["db_User"] != null)) {
base.Tables.Add(new db_UserDataTable(ds.Tables["db_User"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.ReadXml(reader);
this.InitVars();
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
stream.Position = 0;
return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.InitVars(true);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars(bool initTable) {
this.tabledb_accident = ((db_accidentDataTable)(base.Tables["db_accident"]));
if ((initTable == true)) {
if ((this.tabledb_accident != null)) {
this.tabledb_accident.InitVars();
}
}
this.tabledb_car = ((db_carDataTable)(base.Tables["db_car"]));
if ((initTable == true)) {
if ((this.tabledb_car != null)) {
this.tabledb_car.InitVars();
}
}
this.tabledb_duty = ((db_dutyDataTable)(base.Tables["db_duty"]));
if ((initTable == true)) {
if ((this.tabledb_duty != null)) {
this.tabledb_duty.InitVars();
}
}
this.tabledb_fit = ((db_fitDataTable)(base.Tables["db_fit"]));
if ((initTable == true)) {
if ((this.tabledb_fit != null)) {
this.tabledb_fit.InitVars();
}
}
this.tabledb_oilticket = ((db_oilticketDataTable)(base.Tables["db_oilticket"]));
if ((initTable == true)) {
if ((this.tabledb_oilticket != null)) {
this.tabledb_oilticket.InitVars();
}
}
this.tabledb_pay = ((db_payDataTable)(base.Tables["db_pay"]));
if ((initTable == true)) {
if ((this.tabledb_pay != null)) {
this.tabledb_pay.InitVars();
}
}
this.tabledb_rent = ((db_rentDataTable)(base.Tables["db_rent"]));
if ((initTable == true)) {
if ((this.tabledb_rent != null)) {
this.tabledb_rent.InitVars();
}
}
this.tabledb_repair = ((db_repairDataTable)(base.Tables["db_repair"]));
if ((initTable == true)) {
if ((this.tabledb_repair != null)) {
this.tabledb_repair.InitVars();
}
}
this.tabledb_ticket = ((db_ticketDataTable)(base.Tables["db_ticket"]));
if ((initTable == true)) {
if ((this.tabledb_ticket != null)) {
this.tabledb_ticket.InitVars();
}
}
this.tabledb_tickind = ((db_tickindDataTable)(base.Tables["db_tickind"]));
if ((initTable == true)) {
if ((this.tabledb_tickind != null)) {
this.tabledb_tickind.InitVars();
}
}
this.tabledb_User = ((db_UserDataTable)(base.Tables["db_User"]));
if ((initTable == true)) {
if ((this.tabledb_User != null)) {
this.tabledb_User.InitVars();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.DataSetName = "BusWorkDataSet2";
this.Prefix = "";
this.Namespace = "http://tempuri.org/BusWorkDataSet2.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
this.tabledb_accident = new db_accidentDataTable();
base.Tables.Add(this.tabledb_accident);
this.tabledb_car = new db_carDataTable();
base.Tables.Add(this.tabledb_car);
this.tabledb_duty = new db_dutyDataTable();
base.Tables.Add(this.tabledb_duty);
this.tabledb_fit = new db_fitDataTable();
base.Tables.Add(this.tabledb_fit);
this.tabledb_oilticket = new db_oilticketDataTable();
base.Tables.Add(this.tabledb_oilticket);
this.tabledb_pay = new db_payDataTable();
base.Tables.Add(this.tabledb_pay);
this.tabledb_rent = new db_rentDataTable();
base.Tables.Add(this.tabledb_rent);
this.tabledb_repair = new db_repairDataTable();
base.Tables.Add(this.tabledb_repair);
this.tabledb_ticket = new db_ticketDataTable();
base.Tables.Add(this.tabledb_ticket);
this.tabledb_tickind = new db_tickindDataTable();
base.Tables.Add(this.tabledb_tickind);
this.tabledb_User = new db_UserDataTable();
base.Tables.Add(this.tabledb_User);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializedb_accident() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializedb_car() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializedb_duty() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializedb_fit() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializedb_oilticket() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializedb_pay() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializedb_rent() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializedb_repair() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializedb_ticket() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializedb_tickind() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializedb_User() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
this.InitVars();
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
BusWorkDataSet2 ds = new BusWorkDataSet2();
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
any.Namespace = ds.Namespace;
sequence.Items.Add(any);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -