.NET mvc5 code first 教程
A Visual Studio 2013 project which shows how to use the Entity Framework 6 in an ASP.NET MVC 5 web application project, using the Code First development approach. The previous version that uses EF 5 and MVC 4 in a Visual Studio 2012 project is available to download. The code illustrates the following topics: Creating a data model using data annotations attributes, and fluent API for database mapping. Performing basic CRUD operations. Filtering, ordering, and grouping data. Working with related data. Implementing connection re siliency Using command interception Writing async code Handling concurrency. Implementing table-per-hierarchy inheritance. Performing raw SQL queries. Performing no-tracking queries. Working with proxy classes. Disabling automatic detection of changes. Disabling validation when saving changes.
文件列表
.NET mvc5 code first 教程
(预估有个116文件)
packages.config
1KB
Logger.cs
3KB
InstructorController.cs
9KB
StudentController.cs
7KB
DepartmentController.cs
10KB
CourseController.cs
6KB
Web.Release.config
1KB
201402251853267_Inheritance.cs
3KB
201402242150170_ComplexDataModel.cs
4KB
201402251804219_RowVersion.cs
3KB
暂无评论