Entity Framework Learning-code-first migration in a physical framework

Source: Internet
Author: User

. NET development when it comes to manipulating databases, especially when accessing SQL Server databases, it's often necessary to use some ORM frameworks, the most commonly used, and the most powerful ones to count EF. When using EF for database-related development, there are typically two modes involved: 1,db First;2,code first. Compared to the former, Code first is more flexible and suitable for agile development, especially when the database table structure is constantly changing. When using code first, you often encounter changes to the entity class and the database synchronization problem, we need to use the migration function in code first, specifically refer to this article: https://msdn.microsoft.com/zh-cn/data/ Jj591621.aspx.

Entity Framework Learning-code-first migration in a physical framework

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.