May 2002
Beginner to intermediate
560 pages
11h 36m
English
.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 ...