예제 #1
0
 /// <summary>
 /// 获取限制行数的参数名
 /// </summary>
 protected string GetLimitParam()
 {
     if (string.IsNullOrWhiteSpace(LimitParam) == false)
     {
         return(LimitParam);
     }
     LimitParam = ParameterManager.GenerateName();
     return(LimitParam);
 }
예제 #2
0
 /// <summary>
 /// 获取跳过行数的参数名
 /// </summary>
 protected string GetOffsetParam()
 {
     if (string.IsNullOrWhiteSpace(OffsetParam) == false)
     {
         return(OffsetParam);
     }
     OffsetParam = ParameterManager.GenerateName();
     ParameterManager.Add(OffsetParam, 0);
     return(OffsetParam);
 }