<?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 : WinRT, Code First - RSMC does not work.</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2012 : WinRT, Code First - RSMC does not work.</description>
  <pubDate>Wed, 29 Apr 2026 01:46:32 -700</pubDate>
  <lastBuildDate>Tue, 27 Aug 2013 15:17:33 -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=4292</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>WinRT, Code First - RSMC does not work. : For somewhat obscure and not well-documented...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4292&amp;PID=16772#16772</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 4292<br /><strong>Posted:</strong> 27-Aug-2013 at 3:17pm<br /><br />For somewhat obscure and not well-documented reasons,&nbsp;the EntityServer will try to construct your sub-typed EntityManager for the&nbsp;RSMC call.&nbsp; It will only look for a constructor with a signature accepting EM and EntityManagerContext arguments, so you can add a constructor like the following to work around the problem:<DIV sab="916"><FONT color=#0000ff size=2 face=C&#111;nsolas sab="917"><FONT color=#0000ff size=2 face=C&#111;nsolas sab="918"><FONT color=#0000ff size=2 face=C&#111;nsolas sab="919"></FONT></FONT></FONT>&nbsp;</DIV><DIV sab="916">public AppTestEntityManager(EntityManager entityManager, EntityManagerContext entityManagerContext = null) : base(entityManager, entityManagerContext) { }</DIV><DIV sab="916"><FONT size=2 face=C&#111;nsolas sab="936"><FONT size=2 face=C&#111;nsolas sab="937"></FONT></FONT>&nbsp;</DIV><DIV sab="916"><FONT size=2 face=C&#111;nsolas sab="936"><FONT size=2 face=C&#111;nsolas sab="937">&nbsp;</DIV></FONT></FONT>]]>
   </description>
   <pubDate>Tue, 27 Aug 2013 15:17:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4292&amp;PID=16772#16772</guid>
  </item> 
  <item>
   <title>WinRT, Code First - RSMC does not work. : Hi,  WinRT, Code First, DevForce...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4292&amp;PID=16771#16771</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1552" rel="nofollow">zbig</a><br /><strong>Subject:</strong> 4292<br /><strong>Posted:</strong> 27-Aug-2013 at 11:11am<br /><br />Hi,<br /><br />WinRT, Code First, DevForce 2012 7.2. <br /><br />Following the documentation, I am testing Remote Server Method Calls (RSMC) and this functionality does not work properly. <br /><br />During executing:<br />" ... InvokeServerMethodAsync(...);" <br /><br />the error message appears: <br />"Constructor on type 'AppTest.AppTestEntityManager' not found."<br /><br />Please find attached a very simple solution which exemplifies the problem (libraries removed).<br /><br />Thansk in advance for any help. <br /><br /> <a href="uploads/1552/AppTestRsmc.zip" target="_blank">AppTestRsmc.zip</a>]]>
   </description>
   <pubDate>Tue, 27 Aug 2013 11:11:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4292&amp;PID=16771#16771</guid>
  </item> 
 </channel>
</rss>