Passing Parameters as Xml to a Stored Procedure

后端 未结 4 1325
庸人自扰
庸人自扰 2020-12-29 15:34

I\'ve got a requirement to pass parameters as Xml to my stored procedures.

I have a WCF service in the middle tier that makes calls to my data layer which in turn fo

4条回答
  •  -上瘾入骨i
    2020-12-29 16:03

    I would put the xml construction code inside the domain object. That way, you can just call obj.GetXML() from Web Service or data layer.

提交回复
热议问题