protected ParamMarker CreateParam(int index)
        {
            ParamMarker param = new ParamMarker(index);

            param.SetCacheEvalRst(cacheEvalRst);
            return(param);
        }
Example #2
0
 public LimitFragment(ParamMarker offsetP, decimal size)
 {
     if (offsetP == null || size == null)
     {
         throw new ArgumentNullException();
     }
     this.offsetP = offsetP;
     this.size    = size;
 }
Example #3
0
 public LimitFragment(ParamMarker offsetP, ParamMarker sizeP)
 {
     if (offsetP == null || sizeP == null)
     {
         throw new ArgumentNullException();
     }
     this.offsetP = offsetP;
     this.sizeP   = sizeP;
 }
Example #4
0
 public LimitFragment(decimal offset, ParamMarker sizeP)
 {
     if (offset == null || sizeP == null)
     {
         throw new ArgumentNullException();
     }
     this.offset = offset;
     this.sizeP  = sizeP;
 }
 public override bool Equals(object obj)
 {
     if (obj == this)
     {
         return(true);
     }
     if (obj.GetType().IsAssignableFrom(typeof(ParamMarker)))
     {
         ParamMarker that = (ParamMarker)obj;
         return(this.ParamIndex == this.ParamIndex);
     }
     return(false);
 }