<?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 : Support for abstract models</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : Support for abstract models</description>
  <pubDate>Fri, 10 Apr 2026 19:25:43 -700</pubDate>
  <lastBuildDate>Thu, 11 Oct 2012 11:22:50 -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=3710</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>Support for abstract models : We do have plans to implement...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3710&amp;PID=14826#14826</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1524" rel="nofollow">jtraband</a><br /><strong>Subject:</strong> 3710<br /><strong>Posted:</strong> 11-Oct-2012 at 11:22am<br /><br />We do have plans to implement support for abstract types but just haven't gotten to it yet.&nbsp; No easy workarounds just yet.&nbsp; <br><br>Please vote for this feature request using the feedback mechanism on the web site. ( small icon on the right side of any Breeze website page labeled "Feedback").&nbsp; This helps us decide which features to focus on next.&nbsp; This topic has already been added there. <br>]]>
   </description>
   <pubDate>Thu, 11 Oct 2012 11:22:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3710&amp;PID=14826#14826</guid>
  </item> 
  <item>
   <title>Support for abstract models : Hi,I have an issue with Breeze...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3710&amp;PID=14822#14822</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1548" rel="nofollow">Tomasz Paprocki</a><br /><strong>Subject:</strong> 3710<br /><strong>Posted:</strong> 11-Oct-2012 at 9:26am<br /><br />Hi,<div><br></div><div>I have an issue with Breeze while using some EF abstract classes - there's an exception while parsing metadata on client side. Here's a simple model example that recreates this issue:</div><div><br></div><div><div><font face="Courier New, Courier, mono">public abstract class Item</font></div><div><font face="Courier New, Courier, mono">{</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; &#091;Key&#093;</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; public int Id { get; set; }</font></div></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; public string Foo { get; set; }</font></div><div><font face="Courier New, Courier, mono">}</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><div><div><font face="Courier New, Courier, mono">public class SpecificItem : Item</font></div><div><font face="Courier New, Courier, mono">{</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; public int Bar { get; set; }</font></div></div><div><font face="Courier New, Courier, mono">}</font></div></div><div><br></div><div>Problem starts while Breeze is trying to use undefined 'key' property for <i>SpecificItem </i>type in <i>convertFromODataEntityType&nbsp;</i>function (line 1251:&nbsp;var keyNamesOnServer = toArray(odataEntityType.key.propertyRef).map(core.pluck("name"));).&nbsp;Not only <i>odataEntityType</i>&nbsp;param lacks information about 'key' but also there is no information about other properties from base class (<i>Item</i>&nbsp;in this scenario).</div><div><br></div><div>Is there any support planned for abstract models in future? Also... Can we get any hint how to handle such scenarios atm? - &nbsp;we want to keep our model the way it is now, so even some ugly, temporary workaround for Breeze would be great!</div><div><br></div><div>Keep up the good work! ;)</div><div><br></div><div>~ Tomasz</div>]]>
   </description>
   <pubDate>Thu, 11 Oct 2012 09:26:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3710&amp;PID=14822#14822</guid>
  </item> 
 </channel>
</rss>