Learn EF a little summary the first day, learn EF summary the first day

Source: Internet
Author: User

Learn EF a little summary the first day, learn EF summary the first day

Environment: win7, vs2013, SQL server 2008

The following problems are encountered in the progressive model frist instance today:

Solution: Create an environment variable, as shown in

I will install vs2013 on the E drive, OK, restart vs2013 to solve the problem

Note: 1. if the fields in the table need to be changed, do not execute the second generation step; otherwise, all the values of the fields in the database will be deleted (For details, refer to the generated script language ).

It can be modified in the object and then in the database. In short, do not execute the script (the second time ).

2. Specify the project security package code

PM> Install-Package EntityFramework-ProjectName DataModelDemo-Version 5.0

 

Related Article

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.