We provide IT Services

Register Now Click On

Read More Tutorials Click On

Post Page Advertisement [Top]


How To Add Entity Framework Reference in Visual Studio 

Entity Framework is the access the data technology in asp.net ans.Entity framework create the data model.The Microsoft provide to Object/Relational Mapping(ORM) Framework
but call Entity Framework. Entity Framework syntax (.edmx).


Reference entity framework in project in asp.net:-

First of all we create the new project in visual studio and chooses the template according to your require. Go to the visual stdio then click on new project and click on add reference. 



2. In this slide click on add then add new item. this the second step of entity framework reference add. 


3. In this slid go to the visual c# then Select the  Data option and add the ADO.NET entity data model.then add name entity framework and syntax of entity .edmx then click on Add button.


4. Step four in you select the data format, but it the by default select (Generate data format), After select data click on next button.


5. Add new Connection in Entity framework.


6. Add  the server name and database name  then test the connection then enter.

7. Click on New connection.


8. Select the table and store procedure etc....


9. your entity data model is ready. entity data model show this type .

No comments:

Post a Comment

| Designed by Rockprogrammer