开发者

WCF to Database Connectivity

开发者 https://www.devze.com 2023-02-20 17:47 出处:网络
I am developing a businees application, which queries lots of record. Which connectivity is good to retrieve?

I am developing a businees application, which queries lots of record. Which connectivity is good to retrieve? 1. LINQ to SQL 开发者_如何学Cor 2. LINQ to Entity or 3. RIA Service or 4. Others ?

Your help is greatly appreciated.


If you're creating a WCF service to expose a database to other programs, you could try WCF Data Services. With this, consumers of your service can use LINQ syntax to send complex queries to the service, which will execute them on the database and return the results REST-style, formatted in an XML dialect called OData that can be read by any XML parser--or transparently read and converted into objects by a WCF Data Services client.

0

精彩评论

暂无评论...
验证码 换一张
取 消