<?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 : Is it possible to create Class of ORM at run time at client side?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Is it possible to create Class of ORM at run time at client side?</description>
  <pubDate>Tue, 21 May 2013 22:43:10 -700</pubDate>
  <lastBuildDate>Sun, 01 Aug 2010 22:29:39 -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=2020</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>Is it possible to create Class of ORM at run time at client side? : I have a new idea.  1. Use a stored...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2020&amp;PID=7947#7947</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=703" rel="nofollow">Thinkly</a><br /><strong>Subject:</strong> 2020<br /><strong>Posted:</strong> 01-Aug-2010 at 10:29pm<br /><br />I have a new idea.<br /><br />1. Use a stored procedure to add custom columns and tables.<br /><br />2. Generate new EF classes on the fly on the server side and "copy" it to the client side by a special method, such as a BLOB field.<br /><br />3. Load the new EF classes at both server side and client side. The new classes will override the old ones according to their attributes, such as "table name".<br /><br />Of course, this is a vary basic idea. Just for your information.<br /><br /><br />Good luck.<br /><br />Ying]]>
   </description>
   <pubDate>Sun, 01 Aug 2010 22:29:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2020&amp;PID=7947#7947</guid>
  </item> 
  <item>
   <title>Is it possible to create Class of ORM at run time at client side? : We actually provided this functionality...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2020&amp;PID=7942#7942</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 2020<br /><strong>Posted:</strong> 30-Jul-2010 at 5:42pm<br /><br />We actually provided this functionality in our DevForce Classic product.&nbsp; We lost this when moving to the Entity Framework because Microsoft does not support it.&nbsp; We are looking at a feature which would allow runtime&nbsp;type definition&nbsp;in the Entity Framework, but that is still a ways off.<DIV></DIV><DIV>&nbsp;</DIV><DIV>There are also other schema structures that can approximate user-defined fields, but as you know they all have side effects and tradeoffs.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 30 Jul 2010 17:42:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2020&amp;PID=7942#7942</guid>
  </item> 
  <item>
   <title>Is it possible to create Class of ORM at run time at client side? : You mentioned &amp;#034;Provided you...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2020&amp;PID=7928#7928</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=703" rel="nofollow">Thinkly</a><br /><strong>Subject:</strong> 2020<br /><strong>Posted:</strong> 29-Jul-2010 at 10:45pm<br /><br />You mentioned "Provided you know how to dynamically construct the class definition on the client and server, this should work.". Yes, I know how to do it. So it seems I could find a solution.<br /><br />You mentioned "If this is a large part of your application, I'm not sure if DevForce is a good fit for you though.". Yes, it is a large part of my application. I am sorry to know maybe DevForce is not a good fit.<br /><br />I think my requirement is very common. For every application has to provide customization for end users, especially custom fields(columns) to existing tables(classes). Actually some XPO frameworks provide such a kind of functions. The reason I try to switch to DevForce is for richer functions, such as N-tier and security modules.<br /><br /><br />For the requirement of customization is common, why doesn't DevForce show a solution?<br /><br /><br />Thanks,<br /><br />Ying<br /><br /><br />]]>
   </description>
   <pubDate>Thu, 29 Jul 2010 22:45:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2020&amp;PID=7928#7928</guid>
  </item> 
  <item>
   <title>Is it possible to create Class of ORM at run time at client side? : The only requirements for the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2020&amp;PID=7922#7922</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 2020<br /><strong>Posted:</strong> 29-Jul-2010 at 8:32pm<br /><br /><DIV>The only requirements for the POCO are:</DIV><DIV>1)&nbsp; The object must have a key.</DIV><DIV>2)&nbsp; The object must&nbsp;be serializable by WCF.</DIV><DIV>3)&nbsp; The POCO Service Provider class you write must return an IEnumerable&lt;T&gt;.</DIV><DIV>&nbsp;</DIV><DIV>Provided you know how to dynamically construct the class definition on the client and server, this should work.</DIV><DIV>&nbsp;</DIV><DIV>Since a dynamic class is essentially used&nbsp;like a map / property bag / dictionary, you may find it easier to define a static POCO type that contains the key-value pairs. This simplifies the type construction, but still gives you access to all the runtime defined&nbsp;data.</DIV><DIV>&nbsp;</DIV><DIV>If this is a large part of your application, I'm not sure if DevForce is a good fit for you though.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 29 Jul 2010 20:32:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2020&amp;PID=7922#7922</guid>
  </item> 
  <item>
   <title>Is it possible to create Class of ORM at run time at client side? : In your mentioned document, it...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2020&amp;PID=7907#7907</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=703" rel="nofollow">Thinkly</a><br /><strong>Subject:</strong> 2020<br /><strong>Posted:</strong> 28-Jul-2010 at 7:58pm<br /><br />In your mentioned document, it is said “The class for your object must be deployed on both the client and ***the server*** and must be contained in one of the assemblies routinely searched by DevForce.”<br /><br />It seems I can only create a static class object, instead of a dynamic class object. In other words, end user cannot create a dynamic class, which is not pre-defined at compiling period, at run time.<br /><br />If so, I will evaluate DevForce later.<br /><br />IdeaBlade is appreciated to confirm.<br /><br /><br />Thank you,<br /><br />Ying]]>
   </description>
   <pubDate>Wed, 28 Jul 2010 19:58:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2020&amp;PID=7907#7907</guid>
  </item> 
  <item>
   <title>Is it possible to create Class of ORM at run time at client side? : The Entity Framework (and by extension...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2020&amp;PID=7885#7885</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 2020<br /><strong>Posted:</strong> 28-Jul-2010 at 4:19pm<br /><br />The Entity Framework (and by extension DevForce) does not currently support mapping a table discovered at runtime to a class.&nbsp; You can accomplish this with the POCO support in DevForce, but I don't know if that will meet your need.&nbsp; You can read about POCO here:<DIV><a href="http://www.ideablade.com:8989/xwiki/bin/view/&#068;ocumentati&#111;n/POCOSupportInDevForce" target="_blank">http://www.ideablade.com:8989/xwiki/bin/view/Documentation/POCOSupportInDevForce</A></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 28 Jul 2010 16:19:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2020&amp;PID=7885#7885</guid>
  </item> 
  <item>
   <title>Is it possible to create Class of ORM at run time at client side? : I am new to DevForce. Actually...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2020&amp;PID=7845#7845</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=703" rel="nofollow">Thinkly</a><br /><strong>Subject:</strong> 2020<br /><strong>Posted:</strong> 27-Jul-2010 at 11:32pm<br /><br />I am new to DevForce. Actually I am new to Entity Framework also.<br /><br />I am using other ORM solution, which has nothing to do with Entity Framework. With its schema API, I can create class of ORM at run time at client side. For example, I may create a class of Models with a relationship with existing class Product. Each model belongs to one Product.<br /><br />I searched this website and I couldn't find such a kind of API to do so.<br /><br />I am wondering whether it is possible to do so.<br /><br />My application highly depends on such a function. And I am thinking to immigrate my application to DevForce.<br /><br />Please give me some hints.<br /><br />Thank you in advance,<br /><br />Ying]]>
   </description>
   <pubDate>Tue, 27 Jul 2010 23:32:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2020&amp;PID=7845#7845</guid>
  </item> 
 </channel>
</rss>