<?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 : EF repository and EFContextProvider</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : EF repository and EFContextProvider</description>
  <pubDate>Fri, 10 Apr 2026 20:29:27 -700</pubDate>
  <lastBuildDate>Tue, 25 Sep 2012 15:05:37 -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=3635</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>EF repository and EFContextProvider : The latest releases 0.57 and higher...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3635&amp;PID=14596#14596</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> 3635<br /><strong>Posted:</strong> 25-Sep-2012 at 3:05pm<br /><br />The latest releases 0.57 and higher no longer require a connection string name to be passed to the EFContextProvider.&nbsp; As per the suggestion, the connection information is now retrieved from the ObjectContext or DbContext directly.&nbsp;]]>
   </description>
   <pubDate>Tue, 25 Sep 2012 15:05:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3635&amp;PID=14596#14596</guid>
  </item> 
  <item>
   <title>EF repository and EFContextProvider : We will try to make this more...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3635&amp;PID=14477#14477</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> 3635<br /><strong>Posted:</strong> 19-Sep-2012 at 6:01pm<br /><br />We will try to make this more configurable before the next release.&nbsp;]]>
   </description>
   <pubDate>Wed, 19 Sep 2012 18:01:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3635&amp;PID=14477#14477</guid>
  </item> 
  <item>
   <title>EF repository and EFContextProvider : I noticed that for Metadata is...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3635&amp;PID=14473#14473</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1522" rel="nofollow">pierom</a><br /><strong>Subject:</strong> 3635<br /><strong>Posted:</strong> 19-Sep-2012 at 9:23am<br /><br />I noticed that for Metadata is required a ConnectionStrings from which breeze finds the .cdsl (I examined the source.) while for the effective database use I was able to pass a runtime context like this : (i am using DB first and objectcontext)<div><div>Public Class myController</div><div>&nbsp; &nbsp; Inherits ApiController</div><div>&nbsp; &nbsp; Implements IReadOnlySessionState</div><div><br></div><div>&nbsp; &nbsp; Private contextProvider As Breeze.WebApi.EFContextProvider(Of mydb.myEntities)</div><div><br></div><div>&nbsp; &nbsp; &lt;AcceptVerbs("GET")&gt; _</div><div>&nbsp; &nbsp; Public Function Metadata() As String</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Return contextProvider.Metadata &nbsp;' not working at run time without connectionstring</div><div>&nbsp; &nbsp; End Function</div></div><div><br></div><div><div>&nbsp; &nbsp; &lt;AcceptVerbs("GET")&gt; _</div><div>&nbsp; &nbsp; Public Function GetConfig() As IQueryable(Of mydb.MY_CONFIG)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Return contextProvider.Context.MY_CONFIG &nbsp;' working at run time</div><div>&nbsp; &nbsp; End Function</div></div><div><br></div><div>I hope that in a next release they will be able to implement for the metadata the possibility to retrieve the .cdsl from the connection string of the run time context instead of using the costant in web.config.</div><div>Otherwise is not difficul to modify the source code.</div><div><br></div><div>Piero</div>]]>
   </description>
   <pubDate>Wed, 19 Sep 2012 09:23:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3635&amp;PID=14473#14473</guid>
  </item> 
  <item>
   <title>EF repository and EFContextProvider : I&amp;#039;m using a repository pattern...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3635&amp;PID=14470#14470</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1521" rel="nofollow">rdorris</a><br /><strong>Subject:</strong> 3635<br /><strong>Posted:</strong> 18-Sep-2012 at 4:00pm<br /><br />I'm using a repository pattern with EF and I'd like to try out using Breeze. How can I create an EFContextProvider without passing it a connection string? Is there a way to use an already opened dbcontext?<div><br></div><div>Thanks,</div><div>Rick</div>]]>
   </description>
   <pubDate>Tue, 18 Sep 2012 16:00:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3635&amp;PID=14470#14470</guid>
  </item> 
 </channel>
</rss>