开发者

Best method for using Entity Framework with web services

开发者 https://www.devze.com 2023-04-02 16:19 出处:网络
I have a legacy ASP.Net web application that is basically used to process web services. I am adding some new functionality and would like to start using EF4.1.I\'m fairly new to EF, and I\'m not quit

I have a legacy ASP.Net web application that is basically used to process web services.

I am adding some new functionality and would like to start using EF4.1. I'm fairly new to EF, and I'm not quite sure the correct path to take here.

The client using this web service is a Linux based client running Apache, so data will be passed back and forth using SOAP.

My question is, what is the best practice for getting EF models into and out of a SOAP data class? Would using EF POCO class开发者_如何学Goes be the best for this?


You could use the Entity Framework for data access with either a ASMX or WCF web service that will use SOAP.

Using Entities with Web show give you some direction and ideas.

0

精彩评论

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