Example #1
0
 public IQueryable <T> GetSource()
 => typeof(ITenantEntity).IsAssignableFrom(typeof(T))
         ? _implementation.GetSource().Select(_tenant.ApplyToEntity <T>())
         : _implementation.GetSource();
 public IQueryable <T> GetSource()
 => _implementation.GetSource().Select(_tenant.ApplyToEntity <T>());