📄 dataset1.designer.cs
字号:
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 客房类型Row FindBy类型编号(string 类型编号) {
return ((客房类型Row)(this.Rows.Find(new object[] {
类型编号})));
}
[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() {
客房类型DataTable cln = ((客房类型DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataTable CreateInstance() {
return new 客房类型DataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.column类型编号 = base.Columns["类型编号"];
this.column类型名称 = base.Columns["类型名称"];
this.column价格 = base.Columns["价格"];
this.column拼房价格 = base.Columns["拼房价格"];
this.column可超预定数 = base.Columns["可超预定数"];
this.column是否可拼房 = base.Columns["是否可拼房"];
}
[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(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(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column是否可拼房);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.column类型编号}, true));
this.column类型编号.AllowDBNull = false;
this.column类型编号.Unique = true;
}
[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单据状态;
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折扣原因;
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联系电话;
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 {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -