考慮以下linq查詢: var item = (from obj in _db.SampleEntity.Include(s => s.NavProp1) select new { ItemProp1 = obj, ItemProp2 = obj.NavProp2.
確定! 回上一頁