DataSet1.cs
上传用户:kuorong
上传日期:2013-04-03
资源大小:240k
文件大小:140k
- //------------------------------------------------------------------------------
- // <autogenerated>
- // This code was generated by a tool.
- // Runtime Version: 1.1.4322.573
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </autogenerated>
- //------------------------------------------------------------------------------
- namespace 酒店管理系统 {
- using System;
- using System.Data;
- using System.Xml;
- using System.Runtime.Serialization;
-
-
- [Serializable()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Diagnostics.DebuggerStepThrough()]
- [System.ComponentModel.ToolboxItem(true)]
- public class DataSet1 : DataSet {
-
- private 客房信息DataTable table客房信息;
-
- private 楼层信息DataTable table楼层信息;
-
- private 预定单DataTable table预定单;
-
- private 客房类型DataTable table客房类型;
-
- private 帐单明细DataTable table帐单明细;
-
- private 入住单DataTable table入住单;
-
- public DataSet1() {
- this.InitClass();
- System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- this.Tables.CollectionChanged += schemaChangedHandler;
- this.Relations.CollectionChanged += schemaChangedHandler;
- }
-
- protected DataSet1(SerializationInfo info, StreamingContext context) {
- string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
- if ((strSchema != null)) {
- DataSet ds = new DataSet();
- ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
- if ((ds.Tables["客房信息"] != null)) {
- this.Tables.Add(new 客房信息DataTable(ds.Tables["客房信息"]));
- }
- if ((ds.Tables["楼层信息"] != null)) {
- this.Tables.Add(new 楼层信息DataTable(ds.Tables["楼层信息"]));
- }
- if ((ds.Tables["预定单"] != null)) {
- this.Tables.Add(new 预定单DataTable(ds.Tables["预定单"]));
- }
- if ((ds.Tables["客房类型"] != null)) {
- this.Tables.Add(new 客房类型DataTable(ds.Tables["客房类型"]));
- }
- if ((ds.Tables["帐单明细"] != null)) {
- this.Tables.Add(new 帐单明细DataTable(ds.Tables["帐单明细"]));
- }
- if ((ds.Tables["入住单"] != null)) {
- this.Tables.Add(new 入住单DataTable(ds.Tables["入住单"]));
- }
- 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, System.Data.MissingSchemaAction.Add);
- this.InitVars();
- }
- else {
- this.InitClass();
- }
- this.GetSerializationData(info, context);
- System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- this.Tables.CollectionChanged += schemaChangedHandler;
- this.Relations.CollectionChanged += schemaChangedHandler;
- }
-
- [System.ComponentModel.Browsable(false)]
- [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 客房信息DataTable 客房信息 {
- get {
- return this.table客房信息;
- }
- }
-
- [System.ComponentModel.Browsable(false)]
- [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 楼层信息DataTable 楼层信息 {
- get {
- return this.table楼层信息;
- }
- }
-
- [System.ComponentModel.Browsable(false)]
- [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 预定单DataTable 预定单 {
- get {
- return this.table预定单;
- }
- }
-
- [System.ComponentModel.Browsable(false)]
- [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 客房类型DataTable 客房类型 {
- get {
- return this.table客房类型;
- }
- }
-
- [System.ComponentModel.Browsable(false)]
- [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 帐单明细DataTable 帐单明细 {
- get {
- return this.table帐单明细;
- }
- }
-
- [System.ComponentModel.Browsable(false)]
- [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 入住单DataTable 入住单 {
- get {
- return this.table入住单;
- }
- }
-
- public override DataSet Clone() {
- DataSet1 cln = ((DataSet1)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- protected override bool ShouldSerializeTables() {
- return false;
- }
-
- protected override bool ShouldSerializeRelations() {
- return false;
- }
-
- protected override void ReadXmlSerializable(XmlReader reader) {
- this.Reset();
- DataSet ds = new DataSet();
- ds.ReadXml(reader);
- if ((ds.Tables["客房信息"] != null)) {
- this.Tables.Add(new 客房信息DataTable(ds.Tables["客房信息"]));
- }
- if ((ds.Tables["楼层信息"] != null)) {
- this.Tables.Add(new 楼层信息DataTable(ds.Tables["楼层信息"]));
- }
- if ((ds.Tables["预定单"] != null)) {
- this.Tables.Add(new 预定单DataTable(ds.Tables["预定单"]));
- }
- if ((ds.Tables["客房类型"] != null)) {
- this.Tables.Add(new 客房类型DataTable(ds.Tables["客房类型"]));
- }
- if ((ds.Tables["帐单明细"] != null)) {
- this.Tables.Add(new 帐单明细DataTable(ds.Tables["帐单明细"]));
- }
- if ((ds.Tables["入住单"] != null)) {
- this.Tables.Add(new 入住单DataTable(ds.Tables["入住单"]));
- }
- 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, System.Data.MissingSchemaAction.Add);
- this.InitVars();
- }
-
- protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
- System.IO.MemoryStream stream = new System.IO.MemoryStream();
- this.WriteXmlSchema(new XmlTextWriter(stream, null));
- stream.Position = 0;
- return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null);
- }
-
- internal void InitVars() {
- this.table客房信息 = ((客房信息DataTable)(this.Tables["客房信息"]));
- if ((this.table客房信息 != null)) {
- this.table客房信息.InitVars();
- }
- this.table楼层信息 = ((楼层信息DataTable)(this.Tables["楼层信息"]));
- if ((this.table楼层信息 != null)) {
- this.table楼层信息.InitVars();
- }
- this.table预定单 = ((预定单DataTable)(this.Tables["预定单"]));
- if ((this.table预定单 != null)) {
- this.table预定单.InitVars();
- }
- this.table客房类型 = ((客房类型DataTable)(this.Tables["客房类型"]));
- if ((this.table客房类型 != null)) {
- this.table客房类型.InitVars();
- }
- this.table帐单明细 = ((帐单明细DataTable)(this.Tables["帐单明细"]));
- if ((this.table帐单明细 != null)) {
- this.table帐单明细.InitVars();
- }
- this.table入住单 = ((入住单DataTable)(this.Tables["入住单"]));
- if ((this.table入住单 != null)) {
- this.table入住单.InitVars();
- }
- }
-
- private void InitClass() {
- this.DataSetName = "DataSet1";
- this.Prefix = "";
- this.Namespace = "http://www.tempuri.org/DataSet1.xsd";
- this.Locale = new System.Globalization.CultureInfo("zh-CN");
- this.CaseSensitive = false;
- this.EnforceConstraints = true;
- this.table客房信息 = new 客房信息DataTable();
- this.Tables.Add(this.table客房信息);
- this.table楼层信息 = new 楼层信息DataTable();
- this.Tables.Add(this.table楼层信息);
- this.table预定单 = new 预定单DataTable();
- this.Tables.Add(this.table预定单);
- this.table客房类型 = new 客房类型DataTable();
- this.Tables.Add(this.table客房类型);
- this.table帐单明细 = new 帐单明细DataTable();
- this.Tables.Add(this.table帐单明细);
- this.table入住单 = new 入住单DataTable();
- this.Tables.Add(this.table入住单);
- }
-
- private bool ShouldSerialize客房信息() {
- return false;
- }
-
- private bool ShouldSerialize楼层信息() {
- return false;
- }
-
- private bool ShouldSerialize预定单() {
- return false;
- }
-
- private bool ShouldSerialize客房类型() {
- return false;
- }
-
- private bool ShouldSerialize帐单明细() {
- return false;
- }
-
- private bool ShouldSerialize入住单() {
- return false;
- }
-
- private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
- if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
- this.InitVars();
- }
- }
-
- 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);
-
- public delegate void 入住单RowChangeEventHandler(object sender, 入住单RowChangeEvent e);
-
- [System.Diagnostics.DebuggerStepThrough()]
- public class 客房信息DataTable : DataTable, System.Collections.IEnumerable {
-
- private DataColumn column客房编号;
-
- private DataColumn column类型编号;
-
- private DataColumn column楼层编号;
-
- private DataColumn column额定人数;
-
- private DataColumn column床数;
-
- private DataColumn column客房描述;
-
- private DataColumn column备注;
-
- private DataColumn column状态;
-
- private DataColumn column是否可拼房;
-
- internal 客房信息DataTable() :
- base("客房信息") {
- this.InitClass();
- }
-
- internal 客房信息DataTable(DataTable table) :
- base(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;
- this.DisplayExpression = table.DisplayExpression;
- }
-
- [System.ComponentModel.Browsable(false)]
- public int Count {
- get {
- return this.Rows.Count;
- }
- }
-
- internal DataColumn 客房编号Column {
- get {
- return this.column客房编号;
- }
- }
-
- internal DataColumn 类型编号Column {
- get {
- return this.column类型编号;
- }
- }
-
- internal DataColumn 楼层编号Column {
- get {
- return this.column楼层编号;
- }
- }
-
- internal DataColumn 额定人数Column {
- get {
- return this.column额定人数;
- }
- }
-
- internal DataColumn 床数Column {
- get {
- return this.column床数;
- }
- }
-
- internal DataColumn 客房描述Column {
- get {
- return this.column客房描述;
- }
- }
-
- internal DataColumn 备注Column {
- get {
- return this.column备注;
- }
- }
-
- internal DataColumn 状态Column {
- get {
- return this.column状态;
- }
- }
-
- internal DataColumn 是否可拼房Column {
- get {
- return this.column是否可拼房;
- }
- }
-
- public 客房信息Row this[int index] {
- get {
- return ((客房信息Row)(this.Rows[index]));
- }
- }
-
- public event 客房信息RowChangeEventHandler 客房信息RowChanged;
-
- public event 客房信息RowChangeEventHandler 客房信息RowChanging;
-
- public event 客房信息RowChangeEventHandler 客房信息RowDeleted;
-
- public event 客房信息RowChangeEventHandler 客房信息RowDeleting;
-
- public void Add客房信息Row(客房信息Row row) {
- this.Rows.Add(row);
- }
-
- public 客房信息Row Add客房信息Row(string 客房编号, string 类型编号, int 楼层编号, int 额定人数, int 床数, string 客房描述, string 备注, string 状态, bool 是否可拼房) {
- 客房信息Row row客房信息Row = ((客房信息Row)(this.NewRow()));
- row客房信息Row.ItemArray = new object[] {
- 客房编号,
- 类型编号,
- 楼层编号,
- 额定人数,
- 床数,
- 客房描述,
- 备注,
- 状态,
- 是否可拼房};
- this.Rows.Add(row客房信息Row);
- return row客房信息Row;
- }
-
- public 客房信息Row FindBy客房编号(string 客房编号) {
- return ((客房信息Row)(this.Rows.Find(new object[] {
- 客房编号})));
- }
-
- public System.Collections.IEnumerator GetEnumerator() {
- return this.Rows.GetEnumerator();
- }
-
- public override DataTable Clone() {
- 客房信息DataTable cln = ((客房信息DataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- protected override DataTable CreateInstance() {
- return new 客房信息DataTable();
- }
-
- internal void InitVars() {
- this.column客房编号 = this.Columns["客房编号"];
- this.column类型编号 = this.Columns["类型编号"];
- this.column楼层编号 = this.Columns["楼层编号"];
- this.column额定人数 = this.Columns["额定人数"];
- this.column床数 = this.Columns["床数"];
- this.column客房描述 = this.Columns["客房描述"];
- this.column备注 = this.Columns["备注"];
- this.column状态 = this.Columns["状态"];
- this.column是否可拼房 = this.Columns["是否可拼房"];
- }
-
- private void InitClass() {
- this.column客房编号 = new DataColumn("客房编号", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column客房编号);
- this.column类型编号 = new DataColumn("类型编号", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column类型编号);
- this.column楼层编号 = new DataColumn("楼层编号", typeof(int), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column楼层编号);
- this.column额定人数 = new DataColumn("额定人数", typeof(int), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column额定人数);
- this.column床数 = new DataColumn("床数", typeof(int), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column床数);
- this.column客房描述 = new DataColumn("客房描述", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column客房描述);
- this.column备注 = new DataColumn("备注", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column备注);
- this.column状态 = new DataColumn("状态", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column状态);
- this.column是否可拼房 = new DataColumn("是否可拼房", typeof(bool), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column是否可拼房);
- this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
- this.column客房编号}, true));
- this.column客房编号.AllowDBNull = false;
- this.column客房编号.Unique = true;
- this.column类型编号.AllowDBNull = false;
- this.column楼层编号.AllowDBNull = false;
- this.column是否可拼房.DefaultValue = false;
- }
-
- public 客房信息Row New客房信息Row() {
- return ((客房信息Row)(this.NewRow()));
- }
-
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
- return new 客房信息Row(builder);
- }
-
- protected override System.Type GetRowType() {
- return typeof(客房信息Row);
- }
-
- protected override void OnRowChanged(DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.客房信息RowChanged != null)) {
- this.客房信息RowChanged(this, new 客房信息RowChangeEvent(((客房信息Row)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowChanging(DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.客房信息RowChanging != null)) {
- this.客房信息RowChanging(this, new 客房信息RowChangeEvent(((客房信息Row)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowDeleted(DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.客房信息RowDeleted != null)) {
- this.客房信息RowDeleted(this, new 客房信息RowChangeEvent(((客房信息Row)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowDeleting(DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.客房信息RowDeleting != null)) {
- this.客房信息RowDeleting(this, new 客房信息RowChangeEvent(((客房信息Row)(e.Row)), e.Action));
- }
- }
-
- public void Remove客房信息Row(客房信息Row row) {
- this.Rows.Remove(row);
- }
- }
-
- [System.Diagnostics.DebuggerStepThrough()]
- public class 客房信息Row : DataRow {
-
- private 客房信息DataTable table客房信息;
-
- internal 客房信息Row(DataRowBuilder rb) :
- base(rb) {
- this.table客房信息 = ((客房信息DataTable)(this.Table));
- }
-
- public string 客房编号 {
- get {
- return ((string)(this[this.table客房信息.客房编号Column]));
- }
- set {
- this[this.table客房信息.客房编号Column] = value;
- }
- }
-
- public string 类型编号 {
- get {
- return ((string)(this[this.table客房信息.类型编号Column]));
- }
- set {
- this[this.table客房信息.类型编号Column] = value;
- }
- }
-
- public int 楼层编号 {
- get {
- return ((int)(this[this.table客房信息.楼层编号Column]));
- }
- set {
- this[this.table客房信息.楼层编号Column] = value;
- }
- }
-
- public int 额定人数 {
- get {
- try {
- return ((int)(this[this.table客房信息.额定人数Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table客房信息.额定人数Column] = value;
- }
- }
-
- public int 床数 {
- get {
- try {
- return ((int)(this[this.table客房信息.床数Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table客房信息.床数Column] = value;
- }
- }
-
- public string 客房描述 {
- get {
- try {
- return ((string)(this[this.table客房信息.客房描述Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table客房信息.客房描述Column] = value;
- }
- }
-
- public string 备注 {
- get {
- try {
- return ((string)(this[this.table客房信息.备注Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table客房信息.备注Column] = value;
- }
- }
-
- public string 状态 {
- get {
- try {
- return ((string)(this[this.table客房信息.状态Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table客房信息.状态Column] = value;
- }
- }
-
- public bool 是否可拼房 {
- get {
- try {
- return ((bool)(this[this.table客房信息.是否可拼房Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table客房信息.是否可拼房Column] = value;
- }
- }
-
- public bool Is额定人数Null() {
- return this.IsNull(this.table客房信息.额定人数Column);
- }
-
- public void Set额定人数Null() {
- this[this.table客房信息.额定人数Column] = System.Convert.DBNull;
- }
-
- public bool Is床数Null() {
- return this.IsNull(this.table客房信息.床数Column);
- }
-
- public void Set床数Null() {
- this[this.table客房信息.床数Column] = System.Convert.DBNull;
- }
-
- public bool Is客房描述Null() {
- return this.IsNull(this.table客房信息.客房描述Column);
- }
-
- public void Set客房描述Null() {
- this[this.table客房信息.客房描述Column] = System.Convert.DBNull;
- }
-
- public bool Is备注Null() {
- return this.IsNull(this.table客房信息.备注Column);
- }
-
- public void Set备注Null() {
- this[this.table客房信息.备注Column] = System.Convert.DBNull;
- }
-
- public bool Is状态Null() {
- return this.IsNull(this.table客房信息.状态Column);
- }
-
- public void Set状态Null() {
- this[this.table客房信息.状态Column] = System.Convert.DBNull;
- }
-
- public bool Is是否可拼房Null() {
- return this.IsNull(this.table客房信息.是否可拼房Column);
- }
-
- public void Set是否可拼房Null() {
- this[this.table客房信息.是否可拼房Column] = System.Convert.DBNull;
- }
- }
-
- [System.Diagnostics.DebuggerStepThrough()]
- public class 客房信息RowChangeEvent : EventArgs {
-
- private 客房信息Row eventRow;
-
- private DataRowAction eventAction;
-
- public 客房信息RowChangeEvent(客房信息Row row, DataRowAction action) {
- this.eventRow = row;
- this.eventAction = action;
- }
-
- public 客房信息Row Row {
- get {
- return this.eventRow;
- }
- }
-
- public DataRowAction Action {
- get {
- return this.eventAction;
- }
- }
- }
-
- [System.Diagnostics.DebuggerStepThrough()]
- public class 楼层信息DataTable : DataTable, System.Collections.IEnumerable {
-
- private DataColumn column楼层编号;
-
- private DataColumn column楼层名称;
-
- internal 楼层信息DataTable() :
- base("楼层信息") {
- this.InitClass();
- }
-
- internal 楼层信息DataTable(DataTable table) :
- base(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;
- this.DisplayExpression = table.DisplayExpression;
- }
-
- [System.ComponentModel.Browsable(false)]
- public int Count {
- get {
- return this.Rows.Count;
- }
- }
-
- internal DataColumn 楼层编号Column {
- get {
- return this.column楼层编号;
- }
- }
-
- internal DataColumn 楼层名称Column {
- get {
- return this.column楼层名称;
- }
- }
-
- public 楼层信息Row this[int index] {
- get {
- return ((楼层信息Row)(this.Rows[index]));
- }
- }
-
- public event 楼层信息RowChangeEventHandler 楼层信息RowChanged;
-
- public event 楼层信息RowChangeEventHandler 楼层信息RowChanging;
-
- public event 楼层信息RowChangeEventHandler 楼层信息RowDeleted;
-
- public event 楼层信息RowChangeEventHandler 楼层信息RowDeleting;
-
- public void Add楼层信息Row(楼层信息Row row) {
- this.Rows.Add(row);
- }
-
- public 楼层信息Row Add楼层信息Row(int 楼层编号, string 楼层名称) {
- 楼层信息Row row楼层信息Row = ((楼层信息Row)(this.NewRow()));
- row楼层信息Row.ItemArray = new object[] {
- 楼层编号,
- 楼层名称};
- this.Rows.Add(row楼层信息Row);
- return row楼层信息Row;
- }
-
- public 楼层信息Row FindBy楼层编号(int 楼层编号) {
- return ((楼层信息Row)(this.Rows.Find(new object[] {
- 楼层编号})));
- }
-
- public System.Collections.IEnumerator GetEnumerator() {
- return this.Rows.GetEnumerator();
- }
-
- public override DataTable Clone() {
- 楼层信息DataTable cln = ((楼层信息DataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- protected override DataTable CreateInstance() {
- return new 楼层信息DataTable();
- }
-
- internal void InitVars() {
- this.column楼层编号 = this.Columns["楼层编号"];
- this.column楼层名称 = this.Columns["楼层名称"];
- }
-
- private void InitClass() {
- this.column楼层编号 = new DataColumn("楼层编号", typeof(int), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column楼层编号);
- this.column楼层名称 = new DataColumn("楼层名称", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column楼层名称);
- this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
- this.column楼层编号}, true));
- this.column楼层编号.AllowDBNull = false;
- this.column楼层编号.Unique = true;
- }
-
- public 楼层信息Row New楼层信息Row() {
- return ((楼层信息Row)(this.NewRow()));
- }
-
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
- return new 楼层信息Row(builder);
- }
-
- protected override System.Type GetRowType() {
- return typeof(楼层信息Row);
- }
-
- protected override void OnRowChanged(DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.楼层信息RowChanged != null)) {
- this.楼层信息RowChanged(this, new 楼层信息RowChangeEvent(((楼层信息Row)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowChanging(DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.楼层信息RowChanging != null)) {
- this.楼层信息RowChanging(this, new 楼层信息RowChangeEvent(((楼层信息Row)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowDeleted(DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.楼层信息RowDeleted != null)) {
- this.楼层信息RowDeleted(this, new 楼层信息RowChangeEvent(((楼层信息Row)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowDeleting(DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.楼层信息RowDeleting != null)) {
- this.楼层信息RowDeleting(this, new 楼层信息RowChangeEvent(((楼层信息Row)(e.Row)), e.Action));
- }
- }
-
- public void Remove楼层信息Row(楼层信息Row row) {
- this.Rows.Remove(row);
- }
- }
-
- [System.Diagnostics.DebuggerStepThrough()]
- public class 楼层信息Row : DataRow {
-
- private 楼层信息DataTable table楼层信息;
-
- internal 楼层信息Row(DataRowBuilder rb) :
- base(rb) {
- this.table楼层信息 = ((楼层信息DataTable)(this.Table));
- }
-
- public int 楼层编号 {
- get {
- return ((int)(this[this.table楼层信息.楼层编号Column]));
- }
- set {
- this[this.table楼层信息.楼层编号Column] = value;
- }
- }
-
- public string 楼层名称 {
- get {
- try {
- return ((string)(this[this.table楼层信息.楼层名称Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table楼层信息.楼层名称Column] = value;
- }
- }
-
- public bool Is楼层名称Null() {
- return this.IsNull(this.table楼层信息.楼层名称Column);
- }
-
- public void Set楼层名称Null() {
- this[this.table楼层信息.楼层名称Column] = System.Convert.DBNull;
- }
- }
-
- [System.Diagnostics.DebuggerStepThrough()]
- public class 楼层信息RowChangeEvent : EventArgs {
-
- private 楼层信息Row eventRow;
-
- private DataRowAction eventAction;
-
- public 楼层信息RowChangeEvent(楼层信息Row row, DataRowAction action) {
- this.eventRow = row;
- this.eventAction = action;
- }
-
- public 楼层信息Row Row {
- get {
- return this.eventRow;
- }
- }
-
- public DataRowAction Action {
- get {
- return this.eventAction;
- }
- }
- }
-
- [System.Diagnostics.DebuggerStepThrough()]
- public class 预定单DataTable : DataTable, System.Collections.IEnumerable {
-
- private DataColumn column预定单号;
-
- private DataColumn column会员编号;
-
- private DataColumn column客房类型;
-
- private DataColumn column抵店时间;
-
- private DataColumn column离店时间;
-
- private DataColumn column单据状态;
-
- private DataColumn column入住人数;
-
- private DataColumn column客房编号;
-
- private DataColumn column客房价格;
-
- private DataColumn column入住价格;
-
- private DataColumn column折扣;
-
- private DataColumn column折扣原因;
-
- private DataColumn column是否加床;
-
- private DataColumn column加床价格;
-
- private DataColumn column预收款;
-
- private DataColumn column预定人;
-
- private DataColumn column预定公司;
-
- private DataColumn column联系电话;
-
- private DataColumn column备注;
-
- private DataColumn column操作员;
-
- private DataColumn column业务员;
-
- internal 预定单DataTable() :
- base("预定单") {
- this.InitClass();
- }
-
- internal 预定单DataTable(DataTable table) :
- base(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;
- this.DisplayExpression = table.DisplayExpression;
- }
-
- [System.ComponentModel.Browsable(false)]
- public int Count {
- get {
- return this.Rows.Count;
- }
- }
-
- internal DataColumn 预定单号Column {
- get {
- return this.column预定单号;
- }
- }
-
- internal DataColumn 会员编号Column {
- get {
- return this.column会员编号;
- }
- }
-
- internal DataColumn 客房类型Column {
- get {
- return this.column客房类型;
- }
- }
-
- internal DataColumn 抵店时间Column {
- get {
- return this.column抵店时间;
- }
- }
-
- internal DataColumn 离店时间Column {
- get {
- return this.column离店时间;
- }
- }
-
- internal DataColumn 单据状态Column {
- get {
- return this.column单据状态;
- }
- }
-
- internal DataColumn 入住人数Column {
- get {
- return this.column入住人数;
- }
- }
-
- internal DataColumn 客房编号Column {
- get {
- return this.column客房编号;
- }
- }
-
- internal DataColumn 客房价格Column {
- get {
- return this.column客房价格;
- }
- }
-
- internal DataColumn 入住价格Column {
- get {
- return this.column入住价格;
- }
- }
-
- internal DataColumn 折扣Column {
- get {
- return this.column折扣;
- }
- }
-
- internal DataColumn 折扣原因Column {
- get {
- return this.column折扣原因;
- }
- }
-
- internal DataColumn 是否加床Column {
- get {
- return this.column是否加床;
- }
- }
-
- internal DataColumn 加床价格Column {
- get {
- return this.column加床价格;
- }
- }
-
- internal DataColumn 预收款Column {
- get {
- return this.column预收款;
- }
- }
-
- internal DataColumn 预定人Column {
- get {
- return this.column预定人;
- }
- }
-
- internal DataColumn 预定公司Column {
- get {
- return this.column预定公司;
- }
- }
-
- internal DataColumn 联系电话Column {
- get {
- return this.column联系电话;
- }
- }
-
- internal DataColumn 备注Column {
- get {
- return this.column备注;
- }
- }
-
- internal DataColumn 操作员Column {
- get {
- return this.column操作员;
- }
- }
-
- internal DataColumn 业务员Column {
- get {
- return this.column业务员;
- }
- }
-
- public 预定单Row this[int index] {
- get {
- return ((预定单Row)(this.Rows[index]));
- }
- }
-
- public event 预定单RowChangeEventHandler 预定单RowChanged;
-
- public event 预定单RowChangeEventHandler 预定单RowChanging;
-
- public event 预定单RowChangeEventHandler 预定单RowDeleted;
-
- public event 预定单RowChangeEventHandler 预定单RowDeleting;
-
- public void Add预定单Row(预定单Row row) {
- this.Rows.Add(row);
- }
-
- public 预定单Row Add预定单Row(
- string 预定单号,
- int 会员编号,
- string 客房类型,
- System.DateTime 抵店时间,
- System.DateTime 离店时间,
- string 单据状态,
- int 入住人数,
- string 客房编号,
- System.Decimal 客房价格,
- System.Decimal 入住价格,
- System.Decimal 折扣,
- string 折扣原因,
- bool 是否加床,
- System.Decimal 加床价格,
- System.Decimal 预收款,
- string 预定人,
- string 预定公司,
- string 联系电话,
- string 备注,
- string 操作员,
- string 业务员) {
- 预定单Row row预定单Row = ((预定单Row)(this.NewRow()));
- row预定单Row.ItemArray = new object[] {
- 预定单号,
- 会员编号,
- 客房类型,
- 抵店时间,
- 离店时间,
- 单据状态,
- 入住人数,
- 客房编号,
- 客房价格,
- 入住价格,
- 折扣,
- 折扣原因,
- 是否加床,
- 加床价格,
- 预收款,
- 预定人,
- 预定公司,
- 联系电话,
- 备注,
- 操作员,
- 业务员};
- this.Rows.Add(row预定单Row);
- return row预定单Row;
- }
-
- public 预定单Row FindBy预定单号(string 预定单号) {
- return ((预定单Row)(this.Rows.Find(new object[] {
- 预定单号})));
- }
-
- public System.Collections.IEnumerator GetEnumerator() {
- return this.Rows.GetEnumerator();
- }
-
- public override DataTable Clone() {
- 预定单DataTable cln = ((预定单DataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- protected override DataTable CreateInstance() {
- return new 预定单DataTable();
- }
-
- internal void InitVars() {
- this.column预定单号 = this.Columns["预定单号"];
- this.column会员编号 = this.Columns["会员编号"];
- this.column客房类型 = this.Columns["客房类型"];
- this.column抵店时间 = this.Columns["抵店时间"];
- this.column离店时间 = this.Columns["离店时间"];
- this.column单据状态 = this.Columns["单据状态"];
- this.column入住人数 = this.Columns["入住人数"];
- this.column客房编号 = this.Columns["客房编号"];
- this.column客房价格 = this.Columns["客房价格"];
- this.column入住价格 = this.Columns["入住价格"];
- this.column折扣 = this.Columns["折扣"];
- this.column折扣原因 = this.Columns["折扣原因"];
- this.column是否加床 = this.Columns["是否加床"];
- this.column加床价格 = this.Columns["加床价格"];
- this.column预收款 = this.Columns["预收款"];
- this.column预定人 = this.Columns["预定人"];
- this.column预定公司 = this.Columns["预定公司"];
- this.column联系电话 = this.Columns["联系电话"];
- this.column备注 = this.Columns["备注"];
- this.column操作员 = this.Columns["操作员"];
- this.column业务员 = this.Columns["业务员"];
- }
-
- private void InitClass() {
- this.column预定单号 = new DataColumn("预定单号", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column预定单号);
- this.column会员编号 = new DataColumn("会员编号", typeof(int), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column会员编号);
- this.column客房类型 = new DataColumn("客房类型", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column客房类型);
- this.column抵店时间 = new DataColumn("抵店时间", typeof(System.DateTime), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column抵店时间);
- this.column离店时间 = new DataColumn("离店时间", typeof(System.DateTime), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column离店时间);
- this.column单据状态 = new DataColumn("单据状态", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column单据状态);
- this.column入住人数 = new DataColumn("入住人数", typeof(int), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column入住人数);
- this.column客房编号 = new DataColumn("客房编号", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column客房编号);
- this.column客房价格 = new DataColumn("客房价格", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column客房价格);
- this.column入住价格 = new DataColumn("入住价格", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column入住价格);
- this.column折扣 = new DataColumn("折扣", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column折扣);
- this.column折扣原因 = new DataColumn("折扣原因", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column折扣原因);
- this.column是否加床 = new DataColumn("是否加床", typeof(bool), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column是否加床);
- this.column加床价格 = new DataColumn("加床价格", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column加床价格);
- this.column预收款 = new DataColumn("预收款", typeof(System.Decimal), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column预收款);
- this.column预定人 = new DataColumn("预定人", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column预定人);
- this.column预定公司 = new DataColumn("预定公司", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column预定公司);
- this.column联系电话 = new DataColumn("联系电话", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column联系电话);
- this.column备注 = new DataColumn("备注", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column备注);
- this.column操作员 = new DataColumn("操作员", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column操作员);
- this.column业务员 = new DataColumn("业务员", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.column业务员);
- this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
- this.column预定单号}, true));
- this.column预定单号.AllowDBNull = false;
- this.column预定单号.Unique = true;
- this.column客房类型.AllowDBNull = false;
- this.column抵店时间.AllowDBNull = false;
- this.column是否加床.DefaultValue = false;
- }
-
- public 预定单Row New预定单Row() {
- return ((预定单Row)(this.NewRow()));
- }
-
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
- return new 预定单Row(builder);
- }
-
- protected override System.Type GetRowType() {
- return typeof(预定单Row);
- }
-
- protected override void OnRowChanged(DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.预定单RowChanged != null)) {
- this.预定单RowChanged(this, new 预定单RowChangeEvent(((预定单Row)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowChanging(DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.预定单RowChanging != null)) {
- this.预定单RowChanging(this, new 预定单RowChangeEvent(((预定单Row)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowDeleted(DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.预定单RowDeleted != null)) {
- this.预定单RowDeleted(this, new 预定单RowChangeEvent(((预定单Row)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowDeleting(DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.预定单RowDeleting != null)) {
- this.预定单RowDeleting(this, new 预定单RowChangeEvent(((预定单Row)(e.Row)), e.Action));
- }
- }
-
- public void Remove预定单Row(预定单Row row) {
- this.Rows.Remove(row);
- }
- }
-
- [System.Diagnostics.DebuggerStepThrough()]
- public class 预定单Row : DataRow {
-
- private 预定单DataTable table预定单;
-
- internal 预定单Row(DataRowBuilder rb) :
- base(rb) {
- this.table预定单 = ((预定单DataTable)(this.Table));
- }
-
- public string 预定单号 {
- get {
- return ((string)(this[this.table预定单.预定单号Column]));
- }
- set {
- this[this.table预定单.预定单号Column] = value;
- }
- }
-
- public int 会员编号 {
- get {
- try {
- return ((int)(this[this.table预定单.会员编号Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.会员编号Column] = value;
- }
- }
-
- public string 客房类型 {
- get {
- return ((string)(this[this.table预定单.客房类型Column]));
- }
- set {
- this[this.table预定单.客房类型Column] = value;
- }
- }
-
- public System.DateTime 抵店时间 {
- get {
- return ((System.DateTime)(this[this.table预定单.抵店时间Column]));
- }
- set {
- this[this.table预定单.抵店时间Column] = value;
- }
- }
-
- public System.DateTime 离店时间 {
- get {
- try {
- return ((System.DateTime)(this[this.table预定单.离店时间Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.离店时间Column] = value;
- }
- }
-
- public string 单据状态 {
- get {
- try {
- return ((string)(this[this.table预定单.单据状态Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.单据状态Column] = value;
- }
- }
-
- public int 入住人数 {
- get {
- try {
- return ((int)(this[this.table预定单.入住人数Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.入住人数Column] = value;
- }
- }
-
- public string 客房编号 {
- get {
- try {
- return ((string)(this[this.table预定单.客房编号Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.客房编号Column] = value;
- }
- }
-
- public System.Decimal 客房价格 {
- get {
- try {
- return ((System.Decimal)(this[this.table预定单.客房价格Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.客房价格Column] = value;
- }
- }
-
- public System.Decimal 入住价格 {
- get {
- try {
- return ((System.Decimal)(this[this.table预定单.入住价格Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.入住价格Column] = value;
- }
- }
-
- public System.Decimal 折扣 {
- get {
- try {
- return ((System.Decimal)(this[this.table预定单.折扣Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.折扣Column] = value;
- }
- }
-
- public string 折扣原因 {
- get {
- try {
- return ((string)(this[this.table预定单.折扣原因Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.折扣原因Column] = value;
- }
- }
-
- public bool 是否加床 {
- get {
- try {
- return ((bool)(this[this.table预定单.是否加床Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.是否加床Column] = value;
- }
- }
-
- public System.Decimal 加床价格 {
- get {
- try {
- return ((System.Decimal)(this[this.table预定单.加床价格Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.加床价格Column] = value;
- }
- }
-
- public System.Decimal 预收款 {
- get {
- try {
- return ((System.Decimal)(this[this.table预定单.预收款Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.预收款Column] = value;
- }
- }
-
- public string 预定人 {
- get {
- try {
- return ((string)(this[this.table预定单.预定人Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.预定人Column] = value;
- }
- }
-
- public string 预定公司 {
- get {
- try {
- return ((string)(this[this.table预定单.预定公司Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.预定公司Column] = value;
- }
- }
-
- public string 联系电话 {
- get {
- try {
- return ((string)(this[this.table预定单.联系电话Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.联系电话Column] = value;
- }
- }
-
- public string 备注 {
- get {
- try {
- return ((string)(this[this.table预定单.备注Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.备注Column] = value;
- }
- }
-
- public string 操作员 {
- get {
- try {
- return ((string)(this[this.table预定单.操作员Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.操作员Column] = value;
- }
- }
-
- public string 业务员 {
- get {
- try {
- return ((string)(this[this.table预定单.业务员Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
- }
- }
- set {
- this[this.table预定单.业务员Column] = value;
- }
- }
-
- public bool Is会员编号Null() {
- return this.IsNull(this.table预定单.会员编号Column);
- }
-
- public void Set会员编号Null() {
- this[this.table预定单.会员编号Column] = System.Convert.DBNull;
- }
-
- public bool Is离店时间Null() {
- return this.IsNull(this.table预定单.离店时间Column);
- }
-
- public void Set离店时间Null() {
- this[this.table预定单.离店时间Column] = System.Convert.DBNull;
- }
-
- public bool Is单据状态Null() {
- return this.IsNull(this.table预定单.单据状态Column);
- }
-
- public void Set单据状态Null() {
- this[this.table预定单.单据状态Column] = System.Convert.DBNull;
- }
-
- public bool Is入住人数Null() {
- return this.IsNull(this.table预定单.入住人数Column);
- }
-
- public void Set入住人数Null() {
- this[this.table预定单.入住人数Column] = System.Convert.DBNull;
- }
-
- public bool Is客房编号Null() {
- return this.IsNull(this.table预定单.客房编号Column);
- }
-
- public void Set客房编号Null() {
- this[this.table预定单.客房编号Column] = System.Convert.DBNull;
- }
-
- public bool Is客房价格Null() {
- return this.IsNull(this.table预定单.客房价格Column);
- }
-
- public void Set客房价格Null() {
- this[this.table预定单.客房价格Column] = System.Convert.DBNull;
- }
-
- public bool Is入住价格Null() {
- return this.IsNull(this.table预定单.入住价格Column);
- }
-
- public void Set入住价格Null() {
- this[this.table预定单.入住价格Column] = System.Convert.DBNull;
- }
-
- public bool Is折扣Null() {
- return this.IsNull(this.table预定单.折扣Column);
- }
-
- public void Set折扣Null() {
- this[this.table预定单.折扣Column] = System.Convert.DBNull;
- }
-
- public bool Is折扣原因Null() {
- return this.IsNull(this.table预定单.折扣原因Column);
- }
-
- public void Set折扣原因Null() {
- this[this.table预定单.折扣原因Column] = System.Convert.DBNull;
- }
-
- public bool Is是否加床Null() {
- return this.IsNull(this.table预定单.是否加床Column);
- }
-
- public void Set是否加床Null() {
- this[this.table预定单.是否加床Column] = System.Convert.DBNull;
- }
-
- public bool Is加床价格Null() {
- return this.IsNull(this.table预定单.加床价格Column);
- }
-
- public void Set加床价格Null() {
- this[this.table预定单.加床价格Column] = System.Convert.DBNull;
- }
-
- public bool Is预收款Null() {
- return this.IsNull(this.table预定单.预收款Column);
- }
-
- public void Set预收款Null() {
- this[this.table预定单.预收款Column] = System.Convert.DBNull;
- }
-
- public bool Is预定人Null() {
- return this.IsNull(this.table预定单.预定人Column);
- }
-
- public void Set预定人Null() {
- this[this.table预定单.预定人Column] = System.Convert.DBNull;
- }
-