You need to collect a few things.
First, if you want to create a model, then you will look for an ORM that works itn Postgresql there are probably several, I came across Storm , but maybe there are others.
Then you will need to expose the model using SOAP again, there are several SOAP implementations that you could use. (In fact, at this point I'm going to tweak the tags to better tweak this question, this is not a Linq-To-SQL, C # or ado.net question).
source share