예제 #1
0
 public int Add(ManagerRole entity)
 {
     return dal.Add(entity);
 }
예제 #2
0
 public bool Update(ManagerRole entity)
 {
     return dal.Update(entity);
 }
예제 #3
0
        private ManagerRole FillEntity(DataRow dr)
        {
            ManagerRole entity = new ManagerRole()
            {
                ID = DataTypeHelper.Convert<Int32>(dr["ID"]),
                RoleName = DataTypeHelper.Convert<String>(dr["RoleName"])
            };

            return entity;
        }