Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

i'am trying to use Entity Framework with Postgresql Database in my Silverlight application ,for that i am using npgsql data provider .

fowlowing this link i registered Npgsql and Mono.Security in the GAC, and i add a provider factory entry into section of machine.config. i created a .edmx file with EdemGen2 and finaly i add a string connexion to my app.config as follows:

<add name="PostgreDatabase" connectionString="metadata=res://*/EspaceModel.csdl|res://*/EspaceModel.ssdl|res://*/EspaceModel.msl;        provider=Npgsql;provider connection string=&quot;        Port=5432;Encoding=WIN1252;Server=localhost;        Database=postgis;UserId=postgres;Password=admin&quot;" providerName="Npgsql"/>

But , i can't access to my data . it's returns 0 data . can anyone Help Me ?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.