示例#1
0
 public WorkItemAccess(IDataReader reader)
 {
     Id         = DbUtil.GetInt(reader, "access_id");
     WorkItemId = DbUtil.GetInt(reader, "item_id");
     IsAllowed  = DbUtil.GetBool(reader, "is_allowed");
     UserId     = DbUtil.GetInt(reader, "user_id");
 }
示例#2
0
文件: Queue.cs 项目: shelden/weni
 public Queue(IDataReader reader)
 {
     Id       = DbUtil.GetInt(reader, "queue_id");
     Name     = DbUtil.GetString(reader, "name");
     IsNormal = !DbUtil.GetBool(reader, "is_fail");
 }