📄 dataset1.designer.cs
字号:
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.column预定单号 = new global::System.Data.DataColumn("预定单号", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column预定单号);
this.column会员编号 = new global::System.Data.DataColumn("会员编号", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column会员编号);
this.column客房类型 = new global::System.Data.DataColumn("客房类型", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column客房类型);
this.column抵店时间 = new global::System.Data.DataColumn("抵店时间", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column抵店时间);
this.column离店时间 = new global::System.Data.DataColumn("离店时间", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column离店时间);
this.column单据状态 = new global::System.Data.DataColumn("单据状态", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column单据状态);
this.column入住人数 = new global::System.Data.DataColumn("入住人数", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column入住人数);
this.column客房编号 = new global::System.Data.DataColumn("客房编号", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column客房编号);
this.column客房价格 = new global::System.Data.DataColumn("客房价格", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column客房价格);
this.column入住价格 = new global::System.Data.DataColumn("入住价格", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column入住价格);
this.column折扣 = new global::System.Data.DataColumn("折扣", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column折扣);
this.column折扣原因 = new global::System.Data.DataColumn("折扣原因", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column折扣原因);
this.column是否加床 = new global::System.Data.DataColumn("是否加床", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column是否加床);
this.column加床价格 = new global::System.Data.DataColumn("加床价格", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column加床价格);
this.column预收款 = new global::System.Data.DataColumn("预收款", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column预收款);
this.column预定人 = new global::System.Data.DataColumn("预定人", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column预定人);
this.column预定公司 = new global::System.Data.DataColumn("预定公司", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column预定公司);
this.column联系电话 = new global::System.Data.DataColumn("联系电话", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column联系电话);
this.column备注 = new global::System.Data.DataColumn("备注", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column备注);
this.column操作员 = new global::System.Data.DataColumn("操作员", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column操作员);
this.column业务员 = new global::System.Data.DataColumn("业务员", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column业务员);
this.column预定单号.AllowDBNull = false;
this.column客房类型.AllowDBNull = false;
this.column抵店时间.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 预定单Row New预定单Row() {
return ((预定单Row)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new 预定单Row(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Type GetRowType() {
return typeof(预定单Row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.预定单RowChanged != null)) {
this.预定单RowChanged(this, new 预定单RowChangeEvent(((预定单Row)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.预定单RowChanging != null)) {
this.预定单RowChanging(this, new 预定单RowChangeEvent(((预定单Row)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.预定单RowDeleted != null)) {
this.预定单RowDeleted(this, new 预定单RowChangeEvent(((预定单Row)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.预定单RowDeleting != null)) {
this.预定单RowDeleting(this, new 预定单RowChangeEvent(((预定单Row)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Remove预定单Row(预定单Row row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DataSet1 ds = new DataSet1();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "预定单DataTable";
type.Attributes.Add(attribute2);
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;
}
}
/// <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)]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -