Danny
Danny

Reputation: 1

should sql input params be included in WCF Data contract Model?

I am working with web service factory in VS2008. When modeling the data contract I have members for each column of a sql stored proc, but should members for the sql input parameters be included in the data contract model as well?

Upvotes: 0

Views: 138

Answers (1)

Matt Klepeis
Matt Klepeis

Reputation: 1722

I would create 2 DataContracts, 1 for the request to the service and 1 for the response from the service (which you already seem to have).

Upvotes: 1

Related Questions