📄 user.cs
字号:
//
// Generated by ActiveRecord Generator
//
//
namespace JPKC.DAL.WLDXT
{
using Castle.ActiveRecord;
[ActiveRecord("Users")]
public class User : ActiveRecordBase<User>
{
private int _usersID;
private string _usersName;
private string _usersPwd;
private bool _dELETELAG;
[PrimaryKey(PrimaryKeyType.Native)]
public int UsersID
{
get
{
return this._usersID;
}
set
{
this._usersID = value;
}
}
[Property()]
public string UsersName
{
get
{
return this._usersName;
}
set
{
this._usersName = value;
}
}
[Property()]
public string UsersPwd
{
get
{
return this._usersPwd;
}
set
{
this._usersPwd = value;
}
}
[Property()]
public bool DELETELAG
{
get
{
return this._dELETELAG;
}
set
{
this._dELETELAG = value;
}
}
//public static void DeleteAll()
//{
// ActiveRecordBase.DeleteAll(typeof(User));
//}
//public static User[] FindAll()
//{
// return ((User[])(ActiveRecordBase.FindAll(typeof(User))));
//}
//public static User Find(int UsersID)
//{
// return ((User)(ActiveRecordBase.FindByPrimaryKey(typeof(User), UsersID)));
//}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -