PC Review


Reply
Thread Tools Rate Thread

C# CLR interface to Linq programming

 
 
lausivcid
Guest
Posts: n/a
 
      25th Nov 2007
Hi,

Is there anywhere documenting calling a SQL Server2005 C# CLR
SqlFunction Scaler Valued Function (SVF) or Table Vaued Function
(TVF) from an external C# program (for instance a C# WinForms project
with a Linq to SQL dbml class)?

Is the book "CLR via C# Second Edition"
http://www.microsoft.com/mspress/books/6522.aspx from 2/22/2006 going
to answer questions like that relevent to the VS2008 RTM 11/19/2007?
Is there any online support for this book later than 2/22/2006?
What other books or other resources are there for C# CLR? "Profession
SQL Serve 2005 CLR Programming"
http://www.wrox.com/WileyCDA/WroxTit...470054034.html is
great for what it covers, but it has absoluely nothing about consuming
any C# CLR SqlProcedure or SqlFunction assets from an external C#
Linq project.

For a large multirow SQL Table is my assumption true that a TVF
SqlFunction returning a single row IEnumerable TableDefinition will
be signficantly faster than a Linq
myDataClassesDataContext.myLinqTable.AsEnumerable().Single function
call mapping to
"SELECT ... FROM [myDataClassesDataContext].[myLinqTable] AS [t0]"
T-SQL

while
a Linq qmyDataClassesDataContext.myLinqTable.Single function call
mapping to
"SELECT ... FROM [myDataClassesDataContext].[myLinqTable] AS [t0]
WHERE [t0].[myColumnName] = @p0"
T-SQL wil be approximately as fast as a TVF SqlFunction?

The 2008 MSDN does't have SqlFunction, SqlUserDefinedType,
SqlMethod, ...; instead it has SqlFunctionAttribute,
SqlUserDefinedAttirbute, SqlMethodAttribute...
For VS2008 RTM how accurate is the <xxx> information in the 2008 MSDN
<xxx>Attribute documentation?


Thanks,
Lausivcid










 
Reply With Quote
 
 
 
 
lausivcid
Guest
Posts: n/a
 
      26th Nov 2007
I found some answers at
http://msdn2.microsoft.com/en-us/lib...qtosql_topic31

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Help with Excel 2007 Interface programming Andrew Engwirda Microsoft Excel Programming 0 25th Nov 2009 11:26 PM
Interface-based programming Patrick Kristiansen Microsoft C# .NET 5 26th Sep 2004 10:12 AM
Interface based programming Ricky W. Hunt Microsoft VB .NET 6 25th Jul 2004 01:17 AM
Communication Interface Programming =?Utf-8?B?SGVuZHJh?= Microsoft VB .NET 0 1st Feb 2004 02:56 PM
. Net Programming interface for replication jbmeeh Microsoft Dot NET Framework 0 13th Jan 2004 01:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:27 AM.