具有数据访问层(DAL)的WCF服务器 [英] WCF server with data access layer (DAL)

查看:100
本文介绍了具有数据访问层(DAL)的WCF服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用WCF + Oralce数据库.

谁能告诉我如何在Wcf中实施Oracle数据访问.如果可能,任何人都可以发送资源链接或代码

要求:Asp.net(Client)---> (WCF ---- DataAccess层--- Oracle数据库)

谢谢,
Mani

Hi
I am working on WCF + Oralce database.

can anyone tell me how can i implment Oracle data access in Wcf. If possible can anyone send the resource links or code

Requirement : Asp.net(Client) ---> (WCF ---- DataAccess Layer --- Oracle Database)

Thanks,
Mani

推荐答案



Microsoft具有针对Oracle数据库的示例实体框架,请参见 http://archive.msdn.microsoft.com/EFOracleProvider [ ^ ].但是,它使用不推荐使用的System.Data.OracleClient api,因此最好将其转换为使用ODP.NET.

另一方面,Oracle最近发布了ODAC实体框架的beta版.它仍然是beta版,但看起来非常有前途.您可以在这里仔细查看: http://www.oracle.com/technetwork/topics /dotnet/index-085163.html [ ^ ].这支持更广泛的Oracle功能.
Hi,

Microsoft has a sample entity framework against Oracle database, see http://archive.msdn.microsoft.com/EFOracleProvider[^]. However it uses the deprecated System.Data.OracleClient api so it could be a good idea to convert it to use ODP.NET instead.

On the other hand Oracle has recently published a beta version of ODAC Entity Framework. It''s still beta but looks very promising. You can have a closer look at here: http://www.oracle.com/technetwork/topics/dotnet/index-085163.html[^]. This supports wider range of Oracle''s functionality.


这篇关于具有数据访问层(DAL)的WCF服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆