> A better idea, someone?

In entity framework you need to add an entry to machine.config in the
<DbProviderFactories> section.

For PostgreSQL It should look like this:

      <add name="Npgsql Data Provider" invariant="Npgsql" description=".Net
Framework Data Provider for PostgreSQL Server" type="Npgsql.NpgsqlFactory, 
Npgsql,
Version=1.99.2.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7"/>

Sample edmgen (dbmetal/sqlmetal analoque) to generate the model files:

edmgen.exe /provider:Npgsql /mode:fullgeneration 
/connectionstring:"postgresql
connection string" /project:ProjectNamespace

Maybe it is possible to use ADO .NET dataprovider factory as shown above.

Andrus. 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to