📄 hoteldataset.designer.cs
字号:
public System.Data.DataColumn 房间号Column {
get {
return this.column房间号;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 入住时间Column {
get {
return this.column入住时间;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 退房时间Column {
get {
return this.column退房时间;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 入住天数Column {
get {
return this.column入住天数;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 价格Column {
get {
return this.column价格;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 姓名Column {
get {
return this.column姓名;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 身份证号Column {
get {
return this.column身份证号;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 身份Column {
get {
return this.column身份;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public RoomInfoAnnalRow this[int index] {
get {
return ((RoomInfoAnnalRow)(this.Rows[index]));
}
}
public event RoomInfoAnnalRowChangeEventHandler RoomInfoAnnalRowChanging;
public event RoomInfoAnnalRowChangeEventHandler RoomInfoAnnalRowChanged;
public event RoomInfoAnnalRowChangeEventHandler RoomInfoAnnalRowDeleting;
public event RoomInfoAnnalRowChangeEventHandler RoomInfoAnnalRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddRoomInfoAnnalRow(RoomInfoAnnalRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public RoomInfoAnnalRow AddRoomInfoAnnalRow(int 编号, string 房间号, System.DateTime 入住时间, System.DateTime 退房时间, int 入住天数, decimal 价格, string 姓名, string 身份证号, string 身份) {
RoomInfoAnnalRow rowRoomInfoAnnalRow = ((RoomInfoAnnalRow)(this.NewRow()));
rowRoomInfoAnnalRow.ItemArray = new object[] {
编号,
房间号,
入住时间,
退房时间,
入住天数,
价格,
姓名,
身份证号,
身份};
this.Rows.Add(rowRoomInfoAnnalRow);
return rowRoomInfoAnnalRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
RoomInfoAnnalDataTable cln = ((RoomInfoAnnalDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new RoomInfoAnnalDataTable();
}
[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["价格"];
this.column姓名 = base.Columns["姓名"];
this.column身份证号 = base.Columns["身份证号"];
this.column身份 = base.Columns["身份"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.column编号 = new System.Data.DataColumn("编号", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.column编号);
this.column房间号 = new System.Data.DataColumn("房间号", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column房间号);
this.column入住时间 = new System.Data.DataColumn("入住时间", typeof(System.DateTime), null, System.Data.MappingType.Element);
base.Columns.Add(this.column入住时间);
this.column退房时间 = new System.Data.DataColumn("退房时间", typeof(System.DateTime), null, System.Data.MappingType.Element);
base.Columns.Add(this.column退房时间);
this.column入住天数 = new System.Data.DataColumn("入住天数", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.column入住天数);
this.column价格 = new System.Data.DataColumn("价格", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.column价格);
this.column姓名 = new System.Data.DataColumn("姓名", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column姓名);
this.column身份证号 = new System.Data.DataColumn("身份证号", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column身份证号);
this.column身份 = new System.Data.DataColumn("身份", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column身份);
this.column编号.AllowDBNull = false;
this.column房间号.AllowDBNull = false;
this.column房间号.MaxLength = 50;
this.column入住时间.AllowDBNull = false;
this.column入住天数.ReadOnly = true;
this.column价格.ReadOnly = true;
this.column姓名.AllowDBNull = false;
this.column姓名.MaxLength = 50;
this.column身份证号.AllowDBNull = false;
this.column身份证号.MaxLength = 18;
this.column身份.AllowDBNull = false;
this.column身份.MaxLength = 50;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public RoomInfoAnnalRow NewRoomInfoAnnalRow() {
return ((RoomInfoAnnalRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new RoomInfoAnnalRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(RoomInfoAnnalRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.RoomInfoAnnalRowChanged != null)) {
this.RoomInfoAnnalRowChanged(this, new RoomInfoAnnalRowChangeEvent(((RoomInfoAnnalRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.RoomInfoAnnalRowChanging != null)) {
this.RoomInfoAnnalRowChanging(this, new RoomInfoAnnalRowChangeEvent(((RoomInfoAnnalRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.RoomInfoAnnalRowDeleted != null)) {
this.RoomInfoAnnalRowDeleted(this, new RoomInfoAnnalRowChangeEvent(((RoomInfoAnnalRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.RoomInfoAnnalRowDeleting != null)) {
this.RoomInfoAnnalRowDeleting(this, new RoomInfoAnnalRowChangeEvent(((RoomInfoAnnalRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveRoomInfoAnnalRow(RoomInfoAnnalRow row) {
this.Rows.Remove(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
HotelDataSet ds = new HotelDataSet();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "RoomInfoAnnalDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class RoomInfoAnnalRow : System.Data.DataRow {
private RoomInfoAnnalDataTable tableRoomInfoAnnal;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal RoomInfoAnnalRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableRoomInfoAnnal = ((RoomInfoAnnalDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int 编号 {
get {
return ((int)(this[this.tableRoomInfoAnnal.编号Column]));
}
set {
this[this.tableRoomInfoAnnal.编号Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 房间号 {
get {
return ((string)(this[this.tableRoomInfoAnnal.房间号Column]));
}
set {
this[this.tableRoomInfoAnnal.房间号Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.DateTime 入住时间 {
get {
return ((System.DateTime)(this[this.tableRoomInfoAnnal.入住时间Column]));
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -