protected AbstractFilterExpressionVisitor(ISQLTranslator tr, IObjectMapInfoCache cache)
 {
     tr.ThrowIfNullArgument(nameof(tr));
     cache.ThrowIfNullArgument(nameof(cache));
     _tr    = tr;
     _cache = cache;
 }
示例#2
0
        protected AbstractQueryOrderVisitor(ISQLTranslator tr, IOrderExpressionVisitor oev)
        {
            tr.ThrowIfNullArgument(nameof(tr));
            oev.ThrowIfNullArgument(nameof(oev));

            _tr  = tr;
            _oev = oev;
        }
示例#3
0
        public AbstractQueryCriteriaVisitor(ISQLTranslator tr, IFilterExpressionVisitor fv)
        {
            tr.ThrowIfNullArgument(nameof(tr));
            fv.ThrowIfNullArgument(nameof(fv));

            _tr = tr;
            _fv = fv;
        }
示例#4
0
        protected AbstractQueryOrderVisitor(ISQLTranslator tr, IOrderExpressionVisitor oev)
        {
            tr.ThrowIfNullArgument(nameof(tr));
            oev.ThrowIfNullArgument(nameof(oev));

            _tr = tr;
            _oev = oev;
        }
        public AbstractQueryCriteriaVisitor(ISQLTranslator tr, IFilterExpressionVisitor fv)
        {
            tr.ThrowIfNullArgument(nameof(tr));
            fv.ThrowIfNullArgument(nameof(fv));

            _tr = tr;
            _fv = fv;
        }
        public AbstractModelColumnsBuilder(ISQLTranslator tr, ITypeMap tm)
        {
            tr.ThrowIfNullArgument(nameof(tr));
            tm.ThrowIfNullArgument(nameof(tm));

            this._tr = tr;
            this._tm = tm;
        }
        public AbstractModelColumnsBuilder(ISQLTranslator tr, ITypeMap tm)
        {
            tr.ThrowIfNullArgument(nameof(tr));
            tm.ThrowIfNullArgument(nameof(tm));

            this._tr = tr;
            this._tm = tm;
        }
        protected AbstractQueryColumnBuilder(ISQLTranslator tr, IObjectMapInfoCache cache)
        {
            cache.ThrowIfNullArgument(nameof(cache));
            tr.ThrowIfNullArgument(nameof(tr));

            _tr    = tr;
            _cache = cache;
            _str   = new StringBuilder();
        }
        protected AbstractQueryColumnBuilder(ISQLTranslator tr, IObjectMapInfoCache cache)
        {
            cache.ThrowIfNullArgument(nameof(cache));
            tr.ThrowIfNullArgument(nameof(tr));

            _tr = tr;
            _cache = cache;
            _str = new StringBuilder();
        }
示例#10
0
        protected AbstractQueryViewVisitor(ISQLTranslator tr, IJoinExpressionVisitor jv, IObjectMapInfoCache cache)
        {
            tr.ThrowIfNullArgument(nameof(tr));
            jv.ThrowIfNullArgument(nameof(jv));
            cache.ThrowIfNullArgument(nameof(cache));

            _cache = cache;
            _tr = tr;
            _jv = jv;
        }
示例#11
0
        protected AbstractQueryViewVisitor(ISQLTranslator tr, IJoinExpressionVisitor jv, IObjectMapInfoCache cache)
        {
            tr.ThrowIfNullArgument(nameof(tr));
            jv.ThrowIfNullArgument(nameof(jv));
            cache.ThrowIfNullArgument(nameof(cache));

            _cache = cache;
            _tr    = tr;
            _jv    = jv;
        }
示例#12
0
 protected AbstractModelSQLEmit(IObjectMapInfoCache cache, ISQLTranslator tr, ITypeMap tm, IModelColumnsBuilder cb)
 {
     tr.ThrowIfNullArgument(nameof(tr));
     tm.ThrowIfNullArgument(nameof(tm));
     cb.ThrowIfNullArgument(nameof(cb));
     cache.ThrowIfNullArgument(nameof(cache));
     this._tr    = tr;
     this._tm    = tm;
     this._cb    = cb;
     this._cache = cache;
 }
示例#13
0
        protected AbstractMappingSQLEmit(IObjectMapInfoCache cache, IMappingColumnsBuilder cb, ISQLTranslator tr, IMappingConditionExpressionVisitor cv, IMappingOrderExpressionVisitor ov)
        {
            cache.ThrowIfNullArgument(nameof(cache));
            cb.ThrowIfNullArgument(nameof(cb));
            tr.ThrowIfNullArgument(nameof(tr));
            cv.ThrowIfNullArgument(nameof(cv));
            ov.ThrowIfNullArgument(nameof(ov));

            _cache = cache;
            _cb    = cb;
            _tr    = tr;
            _cv    = cv;
            _ov    = ov;
        }
示例#14
0
        public AbstractQuerySQLEmit(IObjectMapInfoCache cache, ISQLTranslator tr, IQueryViewVisitor vv, IQueryColumnBuilder cb, IQueryCriteriaVisitor cv, IQueryOrderVisitor ov)
        {
            cache.ThrowIfNullArgument(nameof(cache));
            tr.ThrowIfNullArgument(nameof(tr));
            vv.ThrowIfNullArgument(nameof(vv));
            cb.ThrowIfNullArgument(nameof(cb));
            cv.ThrowIfNullArgument(nameof(cv));
            ov.ThrowIfNullArgument(nameof(ov));

            _cache = cache;
            _tr = tr;
            _vv = vv;
            _cb = cb;
            _cv = cv;
            _ov = ov;
        }
示例#15
0
        public AbstractQuerySQLEmit(IObjectMapInfoCache cache, ISQLTranslator tr, IQueryViewVisitor vv, IQueryColumnBuilder cb, IQueryCriteriaVisitor cv, IQueryOrderVisitor ov)
        {
            cache.ThrowIfNullArgument(nameof(cache));
            tr.ThrowIfNullArgument(nameof(tr));
            vv.ThrowIfNullArgument(nameof(vv));
            cb.ThrowIfNullArgument(nameof(cb));
            cv.ThrowIfNullArgument(nameof(cv));
            ov.ThrowIfNullArgument(nameof(ov));

            _cache = cache;
            _tr    = tr;
            _vv    = vv;
            _cb    = cb;
            _cv    = cv;
            _ov    = ov;
        }
 protected AbstractMappingColumnsBuilder(ISQLTranslator tr)
 {
     tr.ThrowIfNullArgument(nameof(tr));
     _tr = tr;
 }
        protected AbstractMappingConditionExpressionVisitor(ISQLTranslator tr)
        {
            tr.ThrowIfNullArgument(nameof(tr));

            _tr = tr;
        }
示例#18
0
 protected AbstractMappingColumnsBuilder(ISQLTranslator tr)
 {
     tr.ThrowIfNullArgument(nameof(tr));
     _tr = tr;
 }
        protected AbstractMappingConditionExpressionVisitor(ISQLTranslator tr)
        {
            tr.ThrowIfNullArgument(nameof(tr));

            _tr = tr;
        }