public class Foo
{
public int Id { get; set; }
public int UserId { get; set; }
}
これは、これを非同期で行う方法のようです。
DatabaseContext db = new DatabaseContext();
Foo foo = await db.Foos.FindAsync(fooid);
UserId の値に基づいて、特定のユーザーのすべての Foo を非同期に取得するにはどうすればよいですか?