question

robblot avatar image
robblot asked

Entity Framework

Can someone please tell me, a comparision, between ADO.NET and the ADO.NET Entity Framework? Which would be the way to go when creating business apps? I am creating these apps to replace data collection and manipulation using spreadsheets.
databaseentityframework
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Magnus Ahlkvist avatar image
Magnus Ahlkvist answered
I'd say it depends on a number of things: - What's your experience with database querying? - Will there be many different types of data sources? - How familiar are you with .NET development? I wouldn't say there's a comparison between ADO.NET and ADO.NET Entity Framework. The Entity Framework uses ADO.NET objects, so I'd say it's an extension to ADO.NET I like control, and I want to query my data in a database server, therefore I've not even started exploring these high level database access frameworks. But I see why people who are less database-centric would like the Entity Framework. I can also see the point when there are many various data sources, but on the other hand one would still want to be familiar with the data source to be able to create the Entity Framework solution. Here's an easy-to-follow tutorial if you want to get started with the Entity Framework: - [**Part1**][1] - **[Part2][2]** - **[Part3][3]** But if you think your data will sit in SQL Server and you are comfortable with querying SQL Server, I'd recommend using "classic" ADO.NET command objects and/or data-adapters, datatables, datasets etc. [1]: http://www.c-sharpcorner.com/UploadFile/ankithakur/Getting_started_with_ADO_NET_Entity_Framework09302008085544AM/Getting_started_with_ADO_NET_Entity_Framework.aspx [2]: http://www.c-sharpcorner.com/UploadFile/ankithakur/ADOEF210032008083247AM/ADOEF2.aspx [3]: http://www.c-sharpcorner.com/UploadFile/ankithakur/ADOEF310102008095055AM/ADOEF3.aspx
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Grant Fritchey avatar image Grant Fritchey ♦♦ commented ·
I agree. I think comparing ADO to Entity Framework is comparing apples to hammers (your choice on which is which).
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.