SQL Server Common Language Runtime Integration (ADO.NET)
SQL Server 2005 introduced the integration of the common language runtime (CLR) component of the .NET Framework for Microsoft Windows. This means that you can write stored procedures, triggers, user-defined types, user-defined functions, user-defined aggregates, and streaming table-valued functions, using any .NET Framework language, including Microsoft Visual Basic .NET and Microsoft Visual C#. The Microsoft.SqlServer.Server namespace contains a set of new application programming interfaces (APIs) so that managed code can interact with the Microsoft SQL Server environment.
This section describes features and behaviors that are specific to SQL Server common language runtime (CLR) integration and the SQL Server in-process specific extensions to ADO.NET.
This section is meant to provide only enough information to get started programming with SQL Server CLR integration, and is not meant to be comprehensive. For more detailed information, see the version of SQL Server Books Online for the version of SQL Server you are using.
SQL Server 2005 |
SQL Server 2008 |
---|---|
Common Language Runtime (CLR) Integration Programming Concepts |
In This Section
Introduction to SQL Server CLR Integration (ADO.NET)
Provides an introduction to SQL Server CLR integration. Provides links to additional topics.CLR User-Defined Functions (ADO.NET)
Describes how to implement and use the various types of CLR functions: table-valued, scalar, and user-defined aggregate functions.CLR User-Defined Types (ADO.NET)
Describes how to implement and use CLR user-defined types. Provides links to additional topics.CLR Stored Procedures (ADO.NET)
Describes how to implement and use CLR stored procedures. Provides links to additional topics.CLR Triggers (ADO.NET)
Describes how to implement and use CLR triggers. Provides links to additional topics.The Context Connection (ADO.NET)
Describes the context connection.SQL Server In-Process-Specific Behavior of ADO.NET
Describes the SQL Server in-process specific extensions to ADO.NET, and the context connection. Provides links to additional topics.