示例#1
0
 public List <ExternalGrantVw> GetPage(ExternalGrantVwFilter filter, int pageIndex, int pageSize)
 {
     return(ExecuteQuery <ExternalGrantVw>(filter.ToString(pageIndex, pageSize, ParameterReplacementOption.BracketEnclosedNumber), filter.ExtractValues().ToArray()).ToList <ExternalGrantVw>());
 }
示例#2
0
 public int GetTotalRowCount(ExternalGrantVwFilter filter)
 {
     return(ExecuteQuery <Scalar <int> >(filter.GetTotalRowCountStatement(ParameterReplacementOption.BracketEnclosedNumber), filter.ExtractValues().ToArray()).First <Scalar <int> >().Value);
 }
示例#3
0
 public List <ExternalGrantVw> Get(ExternalGrantVwFilter filter)
 {
     return(ExecuteQuery <ExternalGrantVw>(filter.ToString(ParameterReplacementOption.BracketEnclosedNumber), filter.ExtractValues().ToArray()).ToList <ExternalGrantVw>());
 }