protected ParamMarker CreateParam(int index) { ParamMarker param = new ParamMarker(index); param.SetCacheEvalRst(cacheEvalRst); return(param); }
public LimitFragment(ParamMarker offsetP, decimal size) { if (offsetP == null || size == null) { throw new ArgumentNullException(); } this.offsetP = offsetP; this.size = size; }
public LimitFragment(ParamMarker offsetP, ParamMarker sizeP) { if (offsetP == null || sizeP == null) { throw new ArgumentNullException(); } this.offsetP = offsetP; this.sizeP = sizeP; }
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); }