<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Custom functions in LINQ</title>
	<atom:link href="http://www.mindscapehq.com/blog/index.php/2009/08/10/custom-functions-in-linq/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mindscapehq.com/blog/index.php/2009/08/10/custom-functions-in-linq/</link>
	<description>The official blog of Mindscape</description>
	<lastBuildDate>Sun, 13 May 2012 21:07:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mindscape Blog &#187; Blog Archive &#187; Spatial data queries in LightSpeed</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/08/10/custom-functions-in-linq/comment-page-1/#comment-49640</link>
		<dc:creator>Mindscape Blog &#187; Blog Archive &#187; Spatial data queries in LightSpeed</dc:creator>
		<pubDate>Tue, 28 Sep 2010 01:26:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=847#comment-49640</guid>
		<description>[...] need to teach it about the spatial methods you want to use.As we&#8217;ve discussed before, you can use the ServerFunctionDescriptor.Register method to map a CLR function to a SQL function. However, the SQL Server 2008 spatial methods aren&#8217;t normal SQL functions: they&#8217;re [...]</description>
		<content:encoded><![CDATA[<p>[...] need to teach it about the spatial methods you want to use.As we&#8217;ve discussed before, you can use the ServerFunctionDescriptor.Register method to map a CLR function to a SQL function. However, the SQL Server 2008 spatial methods aren&#8217;t normal SQL functions: they&#8217;re [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mindscape Blog &#187; Blog Archive &#187; Querying enhancements in LINQ to LightSpeed 3</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/08/10/custom-functions-in-linq/comment-page-1/#comment-36997</link>
		<dc:creator>Mindscape Blog &#187; Blog Archive &#187; Querying enhancements in LINQ to LightSpeed 3</dc:creator>
		<pubDate>Mon, 11 Jan 2010 22:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=847#comment-36997</guid>
		<description>[...] Want to call a SQL function from your LINQ query, but we don&#8217;t provide a translation from a CLR method, or worse still there&#8217;s no corresponding CLR method at all? Now you can create a custom function mapping that allows you to keep writing strongly-typed LINQ queries and having the desired function appear in the SQL translation. Find out how here. [...]</description>
		<content:encoded><![CDATA[<p>[...] Want to call a SQL function from your LINQ query, but we don&#8217;t provide a translation from a CLR method, or worse still there&#8217;s no corresponding CLR method at all? Now you can create a custom function mapping that allows you to keep writing strongly-typed LINQ queries and having the desired function appear in the SQL translation. Find out how here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John-Daniel Trask</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/08/10/custom-functions-in-linq/comment-page-1/#comment-33960</link>
		<dc:creator>John-Daniel Trask</dc:creator>
		<pubDate>Mon, 17 Aug 2009 05:18:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=847#comment-33960</guid>
		<description>Hi Joan,

We use Wordpress because we consider it the best tool for the job (especially over what was available at the time a few years ago). 

We&#039;re now running 2.8.4 - the built in upgrade from the admin console means it&#039;s a one click upgrade (something I&#039;m not sure any .net blog does).

Cheers for the reminder to keep up to date however :-)</description>
		<content:encoded><![CDATA[<p>Hi Joan,</p>
<p>We use WordPress because we consider it the best tool for the job (especially over what was available at the time a few years ago). </p>
<p>We&#8217;re now running 2.8.4 &#8211; the built in upgrade from the admin console means it&#8217;s a one click upgrade (something I&#8217;m not sure any .net blog does).</p>
<p>Cheers for the reminder to keep up to date however :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joan Pons</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/08/10/custom-functions-in-linq/comment-page-1/#comment-33908</link>
		<dc:creator>Joan Pons</dc:creator>
		<pubDate>Thu, 13 Aug 2009 12:14:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=847#comment-33908</guid>
		<description>JFYI
http://www.darknet.org.uk/2009/08/wordpress-2-8-3-admin-reset-exploit/</description>
		<content:encoded><![CDATA[<p>JFYI<br />
<a href="http://www.darknet.org.uk/2009/08/wordpress-2-8-3-admin-reset-exploit/" rel="nofollow">http://www.darknet.org.uk/2009/08/wordpress-2-8-3-admin-reset-exploit/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joan Pons</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/08/10/custom-functions-in-linq/comment-page-1/#comment-33907</link>
		<dc:creator>Joan Pons</dc:creator>
		<pubDate>Thu, 13 Aug 2009 12:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=847#comment-33907</guid>
		<description>WordPress ? why are you using a php blogging system ? you couln&#039;d find any .Net alternative ?</description>
		<content:encoded><![CDATA[<p>WordPress ? why are you using a php blogging system ? you couln&#8217;d find any .Net alternative ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Echten</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/08/10/custom-functions-in-linq/comment-page-1/#comment-33901</link>
		<dc:creator>Robert Echten</dc:creator>
		<pubDate>Wed, 12 Aug 2009 22:31:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=847#comment-33901</guid>
		<description>Hi Ivan,

For the first point, I don&#039;t have a specific implementation in mind, but I can imagine where an application would support multiple databases (for instance for different customers, where a customer would have a preference for a particular RDBMS), so I was thinking about the per-database-type basis.

Good to know that the &quot;query operator&quot; syntax works the same way. And also nice to know the name of the syntax ;-)</description>
		<content:encoded><![CDATA[<p>Hi Ivan,</p>
<p>For the first point, I don&#8217;t have a specific implementation in mind, but I can imagine where an application would support multiple databases (for instance for different customers, where a customer would have a preference for a particular RDBMS), so I was thinking about the per-database-type basis.</p>
<p>Good to know that the &#8220;query operator&#8221; syntax works the same way. And also nice to know the name of the syntax ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Towlson</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/08/10/custom-functions-in-linq/comment-page-1/#comment-33887</link>
		<dc:creator>Ivan Towlson</dc:creator>
		<pubDate>Tue, 11 Aug 2009 23:30:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=847#comment-33887</guid>
		<description>Hello Robert, and sorry for the delay in replying -- for some reason WordPress stuck your comment in moderation but neglected to tell me about it...

1. At present we do not provide a way to register different translations for different database engines, but it would be easy for us to add this if it would be useful to you.  Any additional info you can provide about the scenario would be useful e.g. would you need to register translations on a per-database-instance basis (e.g. you want to translate DateTime.ToLocalTime(), but the UDF is called TO_LOCAL_TIME in the Customers database and APPLY_TZ_OFFSET in the Logistics database, even though both are Oracle), or just on a per-database-type basis?

2. Yes, this should work fine in &quot;query operator&quot; syntax.  Most of our testing has been with the &quot;language integrated&quot; syntax but they both boil down to the same thing and the tests we have done with &quot;query operator&quot; syntax have worked fine.  Do let us know if you run into any bugs though!</description>
		<content:encoded><![CDATA[<p>Hello Robert, and sorry for the delay in replying &#8212; for some reason WordPress stuck your comment in moderation but neglected to tell me about it&#8230;</p>
<p>1. At present we do not provide a way to register different translations for different database engines, but it would be easy for us to add this if it would be useful to you.  Any additional info you can provide about the scenario would be useful e.g. would you need to register translations on a per-database-instance basis (e.g. you want to translate DateTime.ToLocalTime(), but the UDF is called TO_LOCAL_TIME in the Customers database and APPLY_TZ_OFFSET in the Logistics database, even though both are Oracle), or just on a per-database-type basis?</p>
<p>2. Yes, this should work fine in &#8220;query operator&#8221; syntax.  Most of our testing has been with the &#8220;language integrated&#8221; syntax but they both boil down to the same thing and the tests we have done with &#8220;query operator&#8221; syntax have worked fine.  Do let us know if you run into any bugs though!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Towlson</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/08/10/custom-functions-in-linq/comment-page-1/#comment-33883</link>
		<dc:creator>Ivan Towlson</dc:creator>
		<pubDate>Tue, 11 Aug 2009 20:53:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=847#comment-33883</guid>
		<description>I was using Soundex only as an example of a SQL function that wasn&#039;t surfaced in .NET/LINQ -- didn&#039;t intend to suggest it was state of the art in sound-alike matching!  Thanks for the pointers though!</description>
		<content:encoded><![CDATA[<p>I was using Soundex only as an example of a SQL function that wasn&#8217;t surfaced in .NET/LINQ &#8212; didn&#8217;t intend to suggest it was state of the art in sound-alike matching!  Thanks for the pointers though!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mycall</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/08/10/custom-functions-in-linq/comment-page-1/#comment-33882</link>
		<dc:creator>mycall</dc:creator>
		<pubDate>Tue, 11 Aug 2009 20:38:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=847#comment-33882</guid>
		<description>Don&#039;t use Soundex.. Double Metaphone, Levenshtein, n-grams or even ConceptNet would provide better results.</description>
		<content:encoded><![CDATA[<p>Don&#8217;t use Soundex.. Double Metaphone, Levenshtein, n-grams or even ConceptNet would provide better results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DotNetShoutout</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/08/10/custom-functions-in-linq/comment-page-1/#comment-33866</link>
		<dc:creator>DotNetShoutout</dc:creator>
		<pubDate>Tue, 11 Aug 2009 04:35:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=847#comment-33866</guid>
		<description>&lt;strong&gt;Custom functions in LINQ made easy with LightSpeed...&lt;/strong&gt;

Thank you for submitting this cool story - Trackback from DotNetShoutout...</description>
		<content:encoded><![CDATA[<p><strong>Custom functions in LINQ made easy with LightSpeed&#8230;</strong></p>
<p>Thank you for submitting this cool story &#8211; Trackback from DotNetShoutout&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic (Requested URI is rejected)
Database Caching 3/20 queries in 0.012 seconds using disk: basic
Content Delivery Network via cdn.mindscapehq.com

Served from: www.mindscapehq.com @ 2012-05-21 04:34:27 -->
