public Int64 Insert(NameValueCollection parameters, out ErrorEntity ErrInfo)
 {
     PmOrgCommitteeDA da = new PmOrgCommitteeDA();
     Int64 result = da.InsertAndReturnId64(parameters);
     if (result > 0)
     {
         ErrInfo = new ErrorEntity(RespCode.Success);
     }
     else
     {
         ErrInfo = new ErrorEntity(RespCode.SysError);
     }
     return result;
 }
 public int Delete(NameValueCollection where, out ErrorEntity ErrInfo)
 {
     PmOrgCommitteeDA da = new PmOrgCommitteeDA();
     int result = da.Delete(where);
     if (result > 0)
     {
         ErrInfo = new ErrorEntity(RespCode.Success);
     }
     else
     {
         ErrInfo = new ErrorEntity(RespCode.SysError);
     }
     return result;
 }
 public List<PmOrgCommittee> Select(NameValueCollection where, NameValueCollection orderby, int pageIndex, int pageSize, out int totalCount)
 {
     PmOrgCommitteeDA da = new PmOrgCommitteeDA();
     return da.Select(where, orderby, pageIndex, pageSize, out totalCount).DataTableToList<PmOrgCommittee>();
 }
 public List<PmOrgCommittee> Select(NameValueCollection where, NameValueCollection orderby)
 {
     PmOrgCommitteeDA da = new PmOrgCommitteeDA();
     return da.Select(where, orderby).DataTableToList<PmOrgCommittee>();
 }