“SP/Invoke generates code to allow C#, VB or JScript.NET programmers to invoke SQL Server stored procedures as if they were static methods on CLR classes. It was objectnation’s submission to Chris Sell’s ‘Spend a Day With .NET’ contest where it won the ‘Best Use of SQL’ prize (click here for information about the winners). The version featured here includes numerous improvements which were made subsequent to the original submission.”
Page 27 of 32
This article identifies the Microsoft .NET Framework version 1.0 or 1.1 APIs that provide similar functionality to Microsoft Win32 functions. One or more relevant .NET Framework APIs are shown for each Win32 function listed.
The intended audience for this article is experienced Win32 developers who are creating applications or libraries based on the Microsoft .NET Framework, but anyone looking for a managed counterpart for a Win32 function could find this document useful.
This is cool:
“With SQL Server Yukon, you could do the following:
CREATE TABLE [dbo].[Person] (
[Id] [int] IDENTITY (1, 1) NOT NULL ,
[Person] [Person] NOT NULL
) ON [PRIMARY]
The Person type is a .NET class. Columns in Yukon can be typed to custom .NET classes.”