Exemplo n.º 1
0
 public T MapToTableModel <T>() where T : class
 {
     DataAccessLogic.tblRole role = new DataAccessLogic.tblRole();
     role.ID   = this.ID;
     role.Name = this.Name;
     return(role as T);
 }
Exemplo n.º 2
0
 public RoleEntity(DataAccessLogic.tblRole tblRole)
 {
     this.ID   = tblRole.ID;
     this.Name = tblRole.Name;
 }