コード例 #1
0
 private GenericRepo(GenericRepo <T> other)
 {
     _logger   = other._logger;
     _db       = other._db;
     _dbSet    = other._dbSet;
     _tracking = other._tracking;
     _include  = other._include;
 }
コード例 #2
0
        public IGenericRepo <T> Include(params Expression <Func <T, object> >[] include)
        {
            var ret = new GenericRepo <T>(this)
            {
                _include = include
            };

            return(ret);
        }
コード例 #3
0
        public IGenericRepo <T> AsTracking(bool tracking)
        {
            var ret = new GenericRepo <T>(this)
            {
                _tracking = tracking
            };

            return(ret);
        }