従業員はサンプル エンティティ タイプです。
var r1 = (from c in _ctx select c).Skip(5).Take(5);
// my intent is to pull the first record from the query
var r2 = (from c in _ctx select c).FirstOrDefault<Employee>();
// my intent is to pull the last record from the query.
// any good way to ask for the result back in the reverse
// order of the natural sort without specifing a field/property name?
var r3 = (from c in _ctx select c).LastOrDefault<Employee>();
これらはレコード (オブジェクト) 全体をプルバックしてからフィルタリングしますか? 行全体が LINQ 式になるようにこれらを記述する最良の方法は何ですか?