Xamarin (Visual Studio) x POSTGRESQL

0

Good evening guys, I work in a commercial automation software development company, Alterdata, and today I work directly with PostgreSql, and I have a lot of affinity with it.

I would like to know if I have how to sync Postgres with Visual Studio (Xamarin)

    
asked by anonymous 04.11.2017 / 04:43

2 answers

0

If you want to work with PostgreSQL directly in the mobile application, the answer is no. You can not install PostgreSQL on Android, iOS or winPhone. For this you have SQLite.

If you want to connect to a remote base, it is possible, but not recommended. As I saw here: link you would need a library that supports mobile platforms.

The ideal here would be webservice or webApi.

Another discussion: link

    
04.11.2017 / 09:16
0

It is possible to use Postgresql in projects in Visual Studio, regardless of the language or framework that you are using (I have already used Entity, for example).

The connection will be similar to that of SQLServer, you will only change the Data Provider for Npgsql, which is the specific ADO.NET Provider for connections to Postgresql.

Follow the link with more instructions: link

    
04.11.2017 / 05:37