Last post Jul 08, 2019 10:09 PM by DA924
Jul 08, 2019 01:03 PM|polachan|LINK
currently our application in asp.net core with ado.net . We are inserting the record and deleting the record using the stored procedure for insert statement and delete statement. So now I wan to implement entity frame work for the new program in the
same project. I want to create three more program in the same project . But in the new program I want to insert and List the record using dbcontext entity frame work. Is it possible to use entity frame work for the rest of the program in the same project.
Please can you advise me.
Jul 08, 2019 01:14 PM|ryanbesko|LINK
There is no problem using good old ADO.Net and Entity Framework in the same project. There is nothing to it. Use ADO.Net where you want. Use Entity Framework where you want.
Jul 08, 2019 10:09 PM|DA924|LINK
You can use straight-up ADO.NET and the ADO.NET Entity Framework in the same project, becuase the project just using ADO.NEET using SQL Command Objects and sprocs is using its own connectionstring, and EF will be using the same ADO.NET and MS SQL Server
technology using its own connectionstring
They are separate but equal coexisting in the same project.