Home > other >  Database Models refer to instructions
Database Models refer to instructions

Time:04-30

Look for the red arrow, a total of 18 steps, sequentially operating on
1, click on the Models, file boxes, right click the mouse will be an option box, and then move the mouse to add (D) an option will pop up box here
2, at this time to choose new items (W)

3, select data
4, click on the first, the ADO.NET entity data model
5, name, according to their own needs to change (can not change) and then click add

6, select the first EF from the database designer, and then on to the next step

7, click new connection, an option will pop up box

8, fill in the server name, is that you now use the computer name can also be (loacl)
9, login to the Server this have two options, we choose the second using SQL Server authentication
10, 11, then need to fill in the user name and password database
12, select or enter the database name, according to their own need to fill out
13, must first to test the connection, the test connection is successful to the next step
14, test connection is successful, click ok

15, the choice is, take the next step

16, be sure to select the entity framework 6. X, then on to the next step, if you choose to version 5.0 is too low, cause an effect to the project after

17, check the first table, no need to worry about other, click done

18, click finish, it will be a warning window, continuous to look at the lower left corner that little box, must not be checked, if checked, the emerging issues later in the project will not remind, it'd be in trouble, make sure there is no check, then sure, may be after a select box, there are four options in the select box, select all,

  • Related