How to write a .Net application that works with both SqlServer and Oracle (now that System.Data.OracleClient is deprecated)

前端 未结 13 766
礼貌的吻别
礼貌的吻别 2020-12-23 14:21

see also System.Data.OracleClient namespace discontinued?

(Firstly don’t panic yet, System.Data.OracleClient is not being removed by Microsoft yet, however it is not

13条回答
  •  醉话见心
    2020-12-23 15:05

    There's a big difference between being deprecated and being removed.

    If you're just using the subset of functionality that is common to both SQL Server and Oracle, then you should be fine moving through to ASP.Net 4.0 and continuing to program how you do currently.

    Using something like EntitySpaces, would let you be relatively provider-agnostic. (it uses OracleClient in it's DAL)

    Completely agree with Philippe about Oracle's client software being a pain. I've lost track of the number of times I've installed it and hated the experience. Give me MySQL, SQLServer or even Access in preference.

    (Actually, I take back the Access comment) :-)

提交回复
热议问题