<?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 : How does one use LoadMetadataFromEmbeddedResources?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : How does one use LoadMetadataFromEmbeddedResources?</description>
  <pubDate>Mon, 13 Apr 2026 12:30:29 -700</pubDate>
  <lastBuildDate>Wed, 24 Aug 2011 07:22:45 -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=2906</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>How does one use LoadMetadataFromEmbeddedResources? :   That&amp;#039;s great that you...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2906&amp;PID=11511#11511</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> 2906<br /><strong>Posted:</strong> 24-Aug-2011 at 7:22am<br /><br />That's great that you found an answer to your issue with the preprocessed templates.<div>&nbsp;</div><div>Regarding MEF probing - at design/build time the only way to have MEF probe an assembly is to add it to the IdeaBladeConfig ProbeAssemblyNames collection, since the normal MEF probing is turned off.</div>]]>
   </description>
   <pubDate>Wed, 24 Aug 2011 07:22:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2906&amp;PID=11511#11511</guid>
  </item> 
  <item>
   <title>How does one use LoadMetadataFromEmbeddedResources? : Hi,Thanks for response. Idle interest...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2906&amp;PID=11508#11508</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1181" rel="nofollow">jradxl</a><br /><strong>Subject:</strong> 2906<br /><strong>Posted:</strong> 24-Aug-2011 at 1:11am<br /><br />Hi,<br>Thanks for response. Idle interest really! I noticed it and was wondering why there wasn't a family of such methods!<br><br>I was trying to get the metadata from within a T4 template, but the metadata store instance was returning nothing. <br>var et =&nbsp; IdeaBlade.EntityModel.EntityMetadataStore.Instance.GetEntityTypes();<br>I suppose the MEF probing couldn't operate correctly.<br><br>Since then I've moved over to a PreProcessed T4 template and it's working fine.<br><br>thanks<br>John<br><br>]]>
   </description>
   <pubDate>Wed, 24 Aug 2011 01:11:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2906&amp;PID=11508#11508</guid>
  </item> 
  <item>
   <title>How does one use LoadMetadataFromEmbeddedResources? :    Why do you want to call...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2906&amp;PID=11501#11501</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> 2906<br /><strong>Posted:</strong> 23-Aug-2011 at 7:09pm<br /><br />Why do you want to call this directly?<div>&nbsp;</div><div>It's actually something used internally by DevForce when looking for and initializing Code First models.&nbsp; The method will search for any *.ibmmx files embedded in the given assembly and merge the contained metadata into the EntityMetadataStore.&nbsp; This all happens automatically, or is supposed to, whenever a new entity type is seen in a query or save list.&nbsp; The assembly normally passed into the method is one holding entity declarations, so should already be probed.</div><div>&nbsp;</div><div>If you're seeing a&nbsp;problem with&nbsp;your Code First entities, please let us know the details of the problem.&nbsp;&nbsp;&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Tue, 23 Aug 2011 19:09:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2906&amp;PID=11501#11501</guid>
  </item> 
  <item>
   <title>How does one use LoadMetadataFromEmbeddedResources? : Hi,How does one use, IdeaBlade...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2906&amp;PID=11465#11465</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1181" rel="nofollow">jradxl</a><br /><strong>Subject:</strong> 2906<br /><strong>Posted:</strong> 18-Aug-2011 at 4:08pm<br /><br />Hi,<br>How does one use, <br><pre style="font-family:C&#111;nsolas;font-size:13;color:black;:white;">IdeaBlade.EntityModel.<span style="color:#2b91af;">EntityMetadataStore</span>.Instance.LoadMetadataFromEmbeddedResources(assembly);<br><br>Any possiblity of doing this sort of thing, if probing is not possible?<br>IdeaBlade.EntityModel.<span style="color:#2b91af;">EntityMetadataStore</span>.Instance.LoadMetadataFromAnyModelAssembly(assembly);<br></pre>thanks<br>John<br><br>]]>
   </description>
   <pubDate>Thu, 18 Aug 2011 16:08:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2906&amp;PID=11465#11465</guid>
  </item> 
 </channel>
</rss>