O'Reilly logo

Essential ADO.NET by Bob Beauchemin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2.1. Data Access and the .NET Architecture

.NET is the newest Microsoft environment for running code. Instead of having direct access to memory through pointers, code runs inside the .NET execution engine. The engine provides memory management, garbage collection, code security, versioning, and other services. Interoperability with legacy code is provided by means of COM-callable wrappers (for COM code) and platform invoke (PInvoke) for non-COM code. Runtime callable wrappers (RCWs) permit legacy COM code to call managed classes as if they were COM classes.

Where does that leave SQL Server and data access code? Currently, it leaves them mostly outside the runtime. There is no supported way (yet) to have SQL code interoperate completely with managed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required