System.Data.Sql

Hi,

I'm digging through BOL to understand the main reasons the System.Data.Sql namespace is required for CLR. It isn't in the documentation yet as of June CTP (as far as I can find).

Anyone have light to shed on this?

Thanks,

Joe

[240 byte] By [JosephSack] at [2008-2-19]
# 1
Where are you finding a reference to system.data.sql? We have a requirement for sqltypes and sqlclient but not a .sql I believe.
EuanGarden at 2007-9-9 > top of Msdn Tech,SQL Server,.NET Framework inside SQL Server...
# 2
Here is the BOL link: ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/denet9/html/c73e628a-f54a-411a-bfe3-6dae519316cc.htm... Is this true?

The reference is:

The system.data.dll assembly contains the following namespaces, which are required for compiling CLR database objects:

System.Data

System.Data.Sql

Microsoft.SqlServer.Server

System.Data.SqlTypes

JosephSack at 2007-9-9 > top of Msdn Tech,SQL Server,.NET Framework inside SQL Server...
# 3
I don't believe you need .sql or .server anymore, this was changed a while back, BOL may still be catching up.
EuanGarden at 2007-9-9 > top of Msdn Tech,SQL Server,.NET Framework inside SQL Server...
# 4
Thanks Euan. Hopefully Sep CTP will have this corrected.
JosephSack at 2007-9-9 > top of Msdn Tech,SQL Server,.NET Framework inside SQL Server...

SQL Server

Site Classified