Simple Data Access Layer

后端 未结 9 605
野趣味
野趣味 2021-02-06 17:33

Can anyone suggest a simple Data Access Layer (C# .NET)? Not keen on using the Microsoft Application Data Access block, seems very bloated and overkill. Also don\'t want to use

9条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-06 18:03

    Do you want to be able to use Linq?

    Do you want to use DataSets / DataTables?

    Do you want to use a code generator (of your own or someone else's)?

    Do you want to use stored procedures?

    Honestly, it's not that hard to grow your own DAL/ORM from scratch as long as you don't care for advanced features of any sort and you don't mind the mind numbing tedium of the process. You have to be a little crazy though. :)

    I'm assuming you don't want to use anything like SubSonic, EntityFramework, or NHibernate as well, but correct me if that is a bad assumption.

提交回复
热议问题