著者: Tom Dykstra Contoso University のサンプル Web アプリケーションでは、Entity Framework 5 Code First と Visual Studio 2012 を使用して ASP.NET MVC 4 アプリケーションを作成する方法を示します。 チュートリアル シリーズについては、シリーズの最初のチュートリアルを参照してください。 前のチュートリアルでは、継承を使用して、Student エンティティ クラスと Instructor エンティティ クラスの冗長コードを減らしました。 このチュートリアルでは、CRUD 操作に リポジトリ パターンおよび Unit of Work パターンを使用するいくつかの方法について説明します。 前のチュートリアルと同様に、このチュートリアルでは、新しいページを作成するのではなく、既に作成したページでのコー