How to move from LINQ to SQL to “LINQ to WCF”?

后端 未结 4 1183
自闭症患者
自闭症患者 2021-02-09 04:25

I\'m putting together a WPF application which will eventually use WCF web services as its data source.

During the prototyping phase, I\'m using LINQ to SQL on an SQL 200

4条回答
  •  别跟我提以往
    2021-02-09 05:10

    You can add a Linq to SQL class directly to a WCF project and set Serialization Mode on the Linq to SQL class to Unidirectional. If you do this the classes will show up over the WCF service.

提交回复
热议问题