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=" Port=5432;Encoding=WIN1252;Server=localhost; Database=postgis;UserId=postgres;Password=admin"" providerName="Npgsql"/>
But , i can't access to my data . it's returns 0 data . can anyone Help Me ?