Im using .net 4.0 and when I talk to a database using SqlConnection class etc is this still ADO.net or has that dinosaur died?
ADO.Net is alive and well. Just about every ORM out there for .net is built on it so it's not going away anytime soon.
The SqlConnection
class is derived from the DBConnection
class, which is part of the System.Data.Common namespace (i.e. ADO.NET).
As others have pointed out, ADO.NET is the foundation on which Linq to SQL and the Entity Framework are built. ADO.NET has not been replaced, it's just been enhanced and built upon.
Yes. In fact, ADO.NET is more integrated with new language features and technologies than ever before. Linq to SQL and Entity Framework sit on top of and use ADO.NET to interact with databases, for example.
That dino's not dead...
http://en.wikipedia.org/wiki/ADO.NET
The ADO.NET Entity Framework is a set of data-access APIs for the Microsoft .NET Framework, similar to the Java Persistence API, targeting the version of ADO.NET that ships with .NET Framework 4.0.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With