📄 roomtype.cs
字号:
using System;
using System;
using System.Data;
using System.Data.SqlClient;
using System.Runtime.Serialization;
namespace HotelManage.DataLevl
{
/// <summary>
/// RoomType 的摘要说明。
/// </summary>
public class RoomType:DataSet
{
public RoomType()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
private void BuildDataTables()
{
//
// Create the Books table
//
DataTable table = new DataTable("RoomType");
DataColumnCollection columns = table.Columns;
columns.Add("TypeID",typeof(System.String));
columns.Add("TypeName",
columns.Add(SystemFrameworks.Configuration.CATEGORY_SHOW, typeof(System.String));
//
// [Authors] is an optional column that will get added dynamically to the table schema
// when the stored proc. GetBookById is used to fill the 'Books' table
//
this.Tables.Add(table);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -