<?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 : Code first PostgreSql</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Code first PostgreSql</description>
  <pubDate>Wed, 13 May 2026 07:58:12 -700</pubDate>
  <lastBuildDate>Wed, 07 Mar 2012 14:02:43 -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=3315</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>Code first PostgreSql :   Hi Thomas,You will need to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3315&amp;PID=12910#12910</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3315<br /><strong>Posted:</strong> 07-Mar-2012 at 2:02pm<br /><br />Hi Thomas,<div>&nbsp;</div><div>You will need to set the DefaultConnectionFactory. We talk about this topic in the <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/code-first-sqlce#HSettheDefaultC&#111;nnecti&#111;nFactory" target="_blank">DevForce Resource Center</a>.</div><div>&nbsp;</div><div>For PostgresSQL/Devart specifically, you might want to take a look at: <a href="http://www.devart.com/blogs/dotc&#111;nnect/index.php/using-entity-framework-power-tools-ctp1-with-oracle-mysql-postgresql-and-sqlite.html#using" target="_blank">http://www.devart.com/blogs/dotconnect/index.php/using-entity-framework-power-tools-ctp1-with-oracle-mysql-postgresql-and-sqlite.html#using</a>.</div><div>Be sure to also write an implementation of IDbConnectionFactory. (as shown in the link above)</div><div>&nbsp;</div><div>Regards,</div><div>&nbsp;&nbsp; Silvio.</div>]]>
   </description>
   <pubDate>Wed, 07 Mar 2012 14:02:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3315&amp;PID=12910#12910</guid>
  </item> 
  <item>
   <title>Code first PostgreSql :  Connection string for model...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3315&amp;PID=12899#12899</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1400" rel="nofollow">Thomas</a><br /><strong>Subject:</strong> 3315<br /><strong>Posted:</strong> 05-Mar-2012 at 9:50pm<br /><br />Connection string for model first:<div><br></div><div>connectionString="metadata=res://*/model.EBModel.csdl|res://*/model.EBModel.ssdl|res://*/model.EBModel.msl;provider=Devart.Data.PostgreSql;provider connection string=&amp;quot;User Id=postgres;Host=localhost;Database=postgres;Persist Security Info=True;Schema='&amp;quot;&amp;quot;ETERADEV&amp;quot;&amp;quot;'&amp;quot;" providerName="System.Data.EntityClient"</div><div><br></div><div>And when I get the error I am using CodeFirst (ModelFirst is working).</div><div><br></div><div>I get the error when I compile the solution with an included .CF file (as I said, you can try it if you modify the demo WPF CodeFirst to use the devart provider instead of SqlServer)</div><span style="font-size:10px"><br /><br />Edited by Thomas - 05-Mar-2012 at 9:52pm</span>]]>
   </description>
   <pubDate>Mon, 05 Mar 2012 21:50:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3315&amp;PID=12899#12899</guid>
  </item> 
  <item>
   <title>Code first PostgreSql :   Hi Thomas,I&amp;#039;m confused....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3315&amp;PID=12896#12896</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3315<br /><strong>Posted:</strong> 05-Mar-2012 at 5:10pm<br /><br />Hi Thomas,<div>&nbsp;</div><div>I'm confused. Are you using ModelFirst or CodeFirst?</div><div>&nbsp;</div><div>When you create an edmx based on an existing PostgreSql DB, what does the connectionSting look like?</div><div>&nbsp;</div><div>Regards,</div><div>&nbsp;&nbsp; Silvio.</div>]]>
   </description>
   <pubDate>Mon, 05 Mar 2012 17:10:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3315&amp;PID=12896#12896</guid>
  </item> 
  <item>
   <title>Code first PostgreSql :  I tried to use your model first...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3315&amp;PID=12886#12886</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1400" rel="nofollow">Thomas</a><br /><strong>Subject:</strong> 3315<br /><strong>Posted:</strong> 04-Mar-2012 at 6:34am<br /><br />I tried to use your model first WPF tutorial application and when i changed the connection string to&nbsp;<div><br></div><div>&lt;add name="CodeFirstWalk" connectionString="User Id=postgres;Host=localhost;Database=postgres;Persist Security Info=True;Schema='&amp;quot;ETERADEV&amp;quot;'" providerName="Devart.Data.PostgreSql" /&gt;</div><div><br></div><div>I got&nbsp;</div><div><br></div><div><div>An error occurred during metadata generation and a metadata file could not be created. &nbsp;Error: Keyword not supported: 'host'.<span ="apple-tab-span"="" style="white-space:pre">	</span>G:\Program Files (x86)\MSBuild\IdeaBlade\IdeaBlade.DevForce.Common.targets<span ="apple-tab-span"="" style="white-space:pre">	</span>110<span ="apple-tab-span"="" style="white-space:pre">	</span>5</div></div><div><br></div><div><br></div><div>If you want to try it out just install the Devart PostgreSql provider and change the string.</div><span style="font-size:10px"><br /><br />Edited by Thomas - 04-Mar-2012 at 6:35am</span>]]>
   </description>
   <pubDate>Sun, 04 Mar 2012 06:34:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3315&amp;PID=12886#12886</guid>
  </item> 
 </channel>
</rss>