.NET mvc5 code first 教程

时间:2019-01-25 00:17:10
【文件属性】:
文件名称:.NET mvc5 code first 教程
文件大小:918KB
文件格式:ZIP
更新时间:2019-01-25 00:17:10
mvc5, codefirst 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 resiliency 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.

网友评论