<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Getting entity back but skipping some fields</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Getting entity back but skipping some fields</description>
  <pubDate>Mon, 13 Apr 2026 00:09:04 -700</pubDate>
  <lastBuildDate>Mon, 28 Nov 2011 14:26:48 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3109</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Getting entity back but skipping some fields :   I already split actual table,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3109&amp;PID=12128#12128</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1264" rel="nofollow">katit</a><br /><strong>Subject:</strong> 3109<br /><strong>Posted:</strong> 28-Nov-2011 at 2:26pm<br /><br />I already split actual table, it will be better in a long run I think. Splitting entity will be problematic if I want to regenerate model from scratch. Right now I can do it easily.]]>
   </description>
   <pubDate>Mon, 28 Nov 2011 14:26:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3109&amp;PID=12128#12128</guid>
  </item> 
  <item>
   <title>Getting entity back but skipping some fields : Just found out that you don&amp;#039;t...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3109&amp;PID=12127#12127</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3109<br /><strong>Posted:</strong> 28-Nov-2011 at 2:22pm<br /><br />Just found out that you don't have to create a separate table for this. You can map a table to multiple entities. This concept is called Table Splitting in EF.<div><br></div><div><a href="http://www.deveducate.com/blog/post/2010/12/14/Entity-Framework-Modeling-Table-Splitting.aspx" target="_blank">http://www.deveducate.com/blog/post/2010/12/14/Entity-Framework-Modeling-Table-Splitting.aspx</a></div><div><br></div><div>There's also the opposite concept called Entity Splitting where you can map an entity to multiple tables.&nbsp;</div><div><br></div><div><a href="http://msdn.microsoft.com/en-us/library/cc716698.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/cc716698.aspx</a></div><div><div><br></div><div><br></div></div>]]>
   </description>
   <pubDate>Mon, 28 Nov 2011 14:22:58 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3109&amp;PID=12127#12127</guid>
  </item> 
  <item>
   <title>Getting entity back but skipping some fields : You actually need to create a...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3109&amp;PID=12126#12126</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3109<br /><strong>Posted:</strong> 28-Nov-2011 at 12:56pm<br /><br />You actually need to create a separate table and entity for this. The main entity will have this binary data entity as a navigation entity which, when you do your queries, you can choose to not include this entity, thus reducing your payload.]]>
   </description>
   <pubDate>Mon, 28 Nov 2011 12:56:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3109&amp;PID=12126#12126</guid>
  </item> 
  <item>
   <title>Getting entity back but skipping some fields :   Right. I was also thinking...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3109&amp;PID=12114#12114</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1264" rel="nofollow">katit</a><br /><strong>Subject:</strong> 3109<br /><strong>Posted:</strong> 23-Nov-2011 at 7:57pm<br /><br />Right. I was also thinking about moving it into separate table in SQL Server.<div>&nbsp;</div><div>Or do you mean I can separate this into entity with Entity designer?</div>]]>
   </description>
   <pubDate>Wed, 23 Nov 2011 19:57:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3109&amp;PID=12114#12114</guid>
  </item> 
  <item>
   <title>Getting entity back but skipping some fields : Hmm, the only way I can think...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3109&amp;PID=12113#12113</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3109<br /><strong>Posted:</strong> 23-Nov-2011 at 7:51pm<br /><br />Hmm, the only way I can think of is to separate that binary data field into another entity. So you will have a 1:1 or 0,1:1 relationship with the binary data entity.<div><div><br></div><div>This is probably be better as well in the long run as downloading large chunks of binary data can consume large memory.</div></div>]]>
   </description>
   <pubDate>Wed, 23 Nov 2011 19:51:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3109&amp;PID=12113#12113</guid>
  </item> 
  <item>
   <title>Getting entity back but skipping some fields :   I have some entities which...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3109&amp;PID=12107#12107</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1264" rel="nofollow">katit</a><br /><strong>Subject:</strong> 3109<br /><strong>Posted:</strong> 23-Nov-2011 at 7:00pm<br /><br />I have some entities which contain binary data. I'd like to query this data but skip that binary field so I can download it later on demand. Is that possible somehow? <div>&nbsp;</div><div>var query =<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from mi in this.entityManager.SYSMailItems<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Include(SYSMailItem.PathFor(x =&gt; x.MEMUser))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Include("SYSMailRecipients.MEMUser")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Include(SYSMailItem.PathFor(x =&gt; x.SYSMailAttachments))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; orderby mi.MailItemKey descending<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select mi;</div><div>&nbsp;</div><div>I'm talking about <strong>SYSMailAttachments</strong>. </div><div>I understand I can brake this query into 2 and make projection into custom/anon object but I really like to get all this info in one shot and then get binary data separately. Any magic I can use within DevForce?</div>]]>
   </description>
   <pubDate>Wed, 23 Nov 2011 19:00:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3109&amp;PID=12107#12107</guid>
  </item> 
 </channel>
</rss>