Entity Framework
Entity Framework
Hey guys, I'm learning ASP.Net MVC and the Entity Framework, does anyone have experience? I know it's not a database per se, but is closely related to the database. If I were making a website, could I just use a database with Entity framework and not something like SQL and it connect online and etc. or is it more closely related to storing in files? Sorry if that's a confusing question, if you have any questions about my question, just ask and I'll clarify
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: Entity Framework
Use LINQ to SQL which is the best way to link to your DB currently. And yes it's included within .NET for SQL server (which anyhow should be your DB of choice if you run on windows).
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer
- hallsofvallhalla
- Site Admin
- Posts: 12023
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Entity Framework
I use Linq to SQL daily and love it!
Re: Entity Framework
I domt actually have anything yet, just planning. Ive heard EF code first is a much easier way to make and handle DBs, and Linq -> SQL is becoming dated. Truth or fluff? I dont have much experience with either so id have to learn, but both seem simple enough
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: Entity Framework
LINQ to SQL is certainly not getting old. Sorry but that's completely wrong.
Personally however I use https://www.devart.com/linqconnect/ for bigger projects as it offers a few goodies over the standard LINQ to SQL. Do you need that to develop with SQL Server? No, but it helps.
Personally however I use https://www.devart.com/linqconnect/ for bigger projects as it offers a few goodies over the standard LINQ to SQL. Do you need that to develop with SQL Server? No, but it helps.
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer