|
1 | 1 | ## Basic CRUD operations using Entity Framework
|
2 | 2 |
|
3 |
| -This is basic MVC 5 application. In which, Using **Entity Framework** DB model is created from existing database and perform CRUD operations in application. |
| 3 | +This is a basic MVC 5 application. In which, Using **Entity Framework** DB model is created from an existing database and performs CRUD operations in the application. |
4 | 4 |
|
5 |
| -In this application, **Sematic UI** framework is used instead of **Bootstrap** on view. And also used **Datatable** js library to display data in paging table. |
| 5 | +In this application, **Semantic UI** framework is used instead of **Bootstrap** on view. And also used **Datatable** js library to display data in the paging table. |
6 | 6 |
|
7 | 7 |
|
8 | 8 | ### Steps to Do:
|
9 | 9 |
|
10 | 10 | ```markdown
|
11 |
| -1. Create Database and Employee table |
12 |
| -2. Build employee model from created Database in application. Steps are below: |
13 |
| - * Right click on your [model] folder and select [Add] --> [New Item]. |
14 |
| - * Select [ADO.NET Entity Data Model]. give sepcific name to the model click on Add. |
15 |
| - * Choose Model Contents i.e. [EF Designer from Database]. click on next. |
16 |
| - * Create New Connection of your database server and Do all database setup. |
| 11 | +1. Create a Database and Employee table |
| 12 | +2. Build employee model from created Database in the application. Steps are below: |
| 13 | + * Right-click on your [model] folder and select [Add] --> [New Item]. |
| 14 | + * Select [ADO.NET Entity Data Model]. give a specific name to the model click on Add. |
| 15 | + * Choose Model Contents i.e. [EF Designer from Database]. Click on next. |
| 16 | + * Create a New Connection of your database server and Do all database setup. |
17 | 17 | * Select your Employee Table.
|
18 |
| -3. After above steps, Employee model will be created and available to use which will be auto-generated code. |
| 18 | +3. After the above steps, the Employee model will be created and available to use which will be auto-generated code. |
19 | 19 | ```
|
20 | 20 |
|
21 | 21 | 
|
22 |
| - |
0 commit comments