GeertVerhoeven
Technical User
Hi all,
I have a database that is in a DMZ. To be able to access the DB easily I was planning to create a web service that does all the DB access so that it can be used via a WinForm app over the internet.
My intention was to pass a SQLCommand to the WebService but apparently this is not Serializable so it doesn't work. I wanted to pass the SQLCommand to avoid having to put all the business knowledge in the webservice and to make it as dynamic as possible.
What is the best practice for such a problem?
All help is welcome !
Greetz,
Gette
I have a database that is in a DMZ. To be able to access the DB easily I was planning to create a web service that does all the DB access so that it can be used via a WinForm app over the internet.
My intention was to pass a SQLCommand to the WebService but apparently this is not Serializable so it doesn't work. I wanted to pass the SQLCommand to avoid having to put all the business knowledge in the webservice and to make it as dynamic as possible.
What is the best practice for such a problem?
All help is welcome !
Greetz,
Gette