/// <summary> /// Initializes a new instance of the <see cref="CacheQueryExpressionVisitor" /> class. /// </summary> /// <param name="modelVisitor">The _model visitor.</param> /// <param name="useStar">Flag indicating that star '*' qualifier should be used /// for the whole-table select instead of _key, _val.</param> public CacheQueryExpressionVisitor(CacheQueryModelVisitor modelVisitor, bool useStar) { Debug.Assert(modelVisitor != null); _modelVisitor = modelVisitor; _useStar = useStar; }
/// <summary> /// Initializes a new instance of the <see cref="CacheQueryExpressionVisitor" /> class. /// </summary> /// <param name="modelVisitor">The _model visitor.</param> /// <param name="useStar">Flag indicating that star '*' qualifier should be used /// for the whole-table select instead of _key, _val.</param> /// <param name="includeAllFields">Flag indicating that star '*' qualifier should be used /// for the whole-table select as well as _key, _val.</param> public CacheQueryExpressionVisitor(CacheQueryModelVisitor modelVisitor, bool useStar, bool includeAllFields) { Debug.Assert(modelVisitor != null); _modelVisitor = modelVisitor; _useStar = useStar; _includeAllFields = includeAllFields; }