- , . OfType(). :
var horses = from animal in ctx.AnimalSet
where animal is Horse
select animal as Horse;
horses IQueryable<Animal>. , , IQueryable<Horse>, :
var horses = from animal in ctx.AnimalSet.OfType<Horse>()
select animal;
... :
var horses = ctx.AnimalSet.OfType<Horse>();
, :
var horses = from horse in ctx.AnimalSet.OfType<Horse>()
where horse.TracksWon > 3
select horse;
, IQueryable<Horse>.