Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Friends, I called stored procedure on controller with sqlconnection ,sqlcommand query in umbraco to retry data from database.For performance how to implement entity code first in umbraco.
Hi JansyRani,
As I know this question is not Umbraco related.
Just create Entity Framework codefirst project and add reference to Umbraco project.
Umbraco has own ORM, called petaPoco but it's pretty simple.
Read more about PetaPOCO - http://www.toptensoftware.com/petapoco/
Thanks,
Alex
Did you solve the problem?
Can you share solution with us?
Yes Alex. I got solution for this.I changed my code like below _database.Database.SqlQuery
Jansy
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to Implement Entity Framwork codefirst in umbraco 7
Hi Friends, I called stored procedure on controller with sqlconnection ,sqlcommand query in umbraco to retry data from database.For performance how to implement entity code first in umbraco.
Hi JansyRani,
As I know this question is not Umbraco related.
Just create Entity Framework codefirst project and add reference to Umbraco project.
Umbraco has own ORM, called petaPoco but it's pretty simple.
Read more about PetaPOCO - http://www.toptensoftware.com/petapoco/
Thanks,
Alex
Hi JansyRani,
Did you solve the problem?
Can you share solution with us?
Thanks,
Alex
Yes Alex. I got solution for this.I changed my code like below _database.Database.SqlQuery
Thanks,
Jansy
is working on a reply...