// internal constructor that takes mocks for unit tests.
 internal LinqDataSourceView(LinqDataSource owner, string name, HttpContext context,
                             IDynamicQueryable dynamicQueryable, ILinqToSql linqToSql)
     : base(owner, name, context, dynamicQueryable) {
     _context = context;
     _owner = owner;
     _linqToSql = linqToSql;
 }
 // internal constructor that takes mocks for unit tests.
 internal LinqDataSourceView(LinqDataSource owner, string name, HttpContext context,
                             IDynamicQueryable dynamicQueryable, ILinqToSql linqToSql)
     : base(owner, name, context, dynamicQueryable)
 {
     _context   = context;
     _owner     = owner;
     _linqToSql = linqToSql;
 }