📄 dataset1.designer.cs
字号:
if ((this.table帐单明细 != null)) {
this.table帐单明细.InitVars();
}
}
this.table入住单 = ((入住单DataTable)(base.Tables["入住单"]));
if ((initTable == true)) {
if ((this.table入住单 != null)) {
this.table入住单.InitVars();
}
}
this.table客房信息 = ((客房信息DataTable)(base.Tables["客房信息"]));
if ((initTable == true)) {
if ((this.table客房信息 != null)) {
this.table客房信息.InitVars();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.DataSetName = "DataSet1";
this.Prefix = "";
this.Namespace = "http://www.tempuri.org/DataSet1.xsd";
this.Locale = new global::System.Globalization.CultureInfo("zh-CN");
this.EnforceConstraints = true;
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
this.table客房类型 = new 客房类型DataTable();
base.Tables.Add(this.table客房类型);
this.table预定单 = new 预定单DataTable();
base.Tables.Add(this.table预定单);
this.table帐单明细 = new 帐单明细DataTable();
base.Tables.Add(this.table帐单明细);
this.table入住单 = new 入住单DataTable();
base.Tables.Add(this.table入住单);
this.table客房信息 = new 客房信息DataTable();
base.Tables.Add(this.table客房信息);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize客房类型() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize预定单() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize帐单明细() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize入住单() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerialize客房信息() {
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) {
DataSet1 ds = new DataSet1();
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);
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 客房类型RowChangeEventHandler(object sender, 客房类型RowChangeEvent e);
public delegate void 预定单RowChangeEventHandler(object sender, 预定单RowChangeEvent e);
public delegate void 帐单明细RowChangeEventHandler(object sender, 帐单明细RowChangeEvent e);
public delegate void 入住单RowChangeEventHandler(object sender, 入住单RowChangeEvent e);
public delegate void 客房信息RowChangeEventHandler(object sender, 客房信息RowChangeEvent 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 客房类型DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
private global::System.Data.DataColumn column类型编号;
private global::System.Data.DataColumn column类型名称;
private global::System.Data.DataColumn column价格;
private global::System.Data.DataColumn column拼房价格;
private global::System.Data.DataColumn column可超预定数;
private global::System.Data.DataColumn column是否可拼房;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 客房类型DataTable() {
this.TableName = "客房类型";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal 客房类型DataTable(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 客房类型DataTable(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 类型编号Column {
get {
return this.column类型编号;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn 类型名称Column {
get {
return this.column类型名称;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn 价格Column {
get {
return this.column价格;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn 拼房价格Column {
get {
return this.column拼房价格;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn 可超预定数Column {
get {
return this.column可超预定数;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn 是否可拼房Column {
get {
return this.column是否可拼房;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::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;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Add客房类型Row(客房类型Row row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 客房类型Row Add客房类型Row(string 类型编号, string 类型名称, decimal 价格, decimal 拼房价格, decimal 可超预定数, bool 是否可拼房) {
客房类型Row row客房类型Row = ((客房类型Row)(this.NewRow()));
object[] columnValuesArray = new object[] {
类型编号,
类型名称,
价格,
拼房价格,
可超预定数,
是否可拼房};
row客房类型Row.ItemArray = columnValuesArray;
this.Rows.Add(row客房类型Row);
return row客房类型Row;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -