<?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: LinQ to Entities on ADO.Net vs LinQ to SQL</title>
	<atom:link href="http://florent.clairambault.fr/linq-to-entities-on-ado-net-vs-linq-to-sql/feed" rel="self" type="application/rss+xml" />
	<link>http://florent.clairambault.fr/linq-to-entities-on-ado-net-vs-linq-to-sql?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=linq-to-entities-on-ado-net-vs-linq-to-sql</link>
	<description></description>
	<lastBuildDate>Wed, 28 Dec 2011 17:34:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19719</generator>
	<item>
		<title>By: Dave</title>
		<link>http://florent.clairambault.fr/linq-to-entities-on-ado-net-vs-linq-to-sql/comment-page-1#comment-4508</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 21 Jan 2011 21:00:30 +0000</pubDate>
		<guid isPermaLink="false">http://florent.clairambault.fr/?p=1723#comment-4508</guid>
		<description>Hi Florent, 
  Interesting article.   I was wondering if you&#039;ve come across the situation I&#039;m seeing.  I have a query where I fetch a list of objects from the database and in the same query, I get an associated object e.g. I have a supplier which has a property called supplier type: 

Dim supplier = From suppliers In context.tbsuppliers
                       Select New Web.Objects.Supplier() With
                              {
                                  .SupplierID = suppliers.SupplierID,
.SupplierType = (From supplierTypes In context.tbsuppliertypes Where suppliers.SupplierTypeID = supplierTypes.SupplierTypeID
                                                   Select New Web.Objects.SupplierType With
                                                          {
                                                              .SupplierTypeID = supplierTypes.SupplierTypeID
}
}

This works well is MsSql, but in MySql, I get an error saying the specified method is not supported.  If I replace the supplierTypes.SupplierTypeID with a number, then the query works.   Have you come across this?  

Thanks, 

Dave</description>
		<content:encoded><![CDATA[<p>Hi Florent,<br />
  Interesting article.   I was wondering if you&#8217;ve come across the situation I&#8217;m seeing.  I have a query where I fetch a list of objects from the database and in the same query, I get an associated object e.g. I have a supplier which has a property called supplier type: </p>
<p>Dim supplier = From suppliers In context.tbsuppliers<br />
                       Select New Web.Objects.Supplier() With<br />
                              {<br />
                                  .SupplierID = suppliers.SupplierID,<br />
.SupplierType = (From supplierTypes In context.tbsuppliertypes Where suppliers.SupplierTypeID = supplierTypes.SupplierTypeID<br />
                                                   Select New Web.Objects.SupplierType With<br />
                                                          {<br />
                                                              .SupplierTypeID = supplierTypes.SupplierTypeID<br />
}<br />
}</p>
<p>This works well is MsSql, but in MySql, I get an error saying the specified method is not supported.  If I replace the supplierTypes.SupplierTypeID with a number, then the query works.   Have you come across this?  </p>
<p>Thanks, </p>
<p>Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adi inbar</title>
		<link>http://florent.clairambault.fr/linq-to-entities-on-ado-net-vs-linq-to-sql/comment-page-1#comment-3600</link>
		<dc:creator>adi inbar</dc:creator>
		<pubDate>Tue, 23 Nov 2010 23:04:46 +0000</pubDate>
		<guid isPermaLink="false">http://florent.clairambault.fr/?p=1723#comment-3600</guid>
		<description>hi florent.i&#039;ve got an interesting senario which i like to understand more.single and singleordefault does not support in linq to entity atleast in 3.5 framework.
when i run the code from web application i am getting the exception but when i run it from testproject i can run the query can u allaborate on that
thx adi inbar</description>
		<content:encoded><![CDATA[<p>hi florent.i&#8217;ve got an interesting senario which i like to understand more.single and singleordefault does not support in linq to entity atleast in 3.5 framework.<br />
when i run the code from web application i am getting the exception but when i run it from testproject i can run the query can u allaborate on that<br />
thx adi inbar</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 322/324 objects using disk: basic

Served from: florent.clairambault.fr @ 2012-02-08 13:14:15 -->
