Data Access Layer design patterns

后端 未结 7 1281
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-29 06:38

I have to design a Data Access Layer with .NET that probably will use more than one database management system (Mysql and Sql Server) with the same relational design.

<
7条回答
  •  广开言路
    2020-11-29 07:30

    The easiest solution would be to use an ORM. Check out LLBLGen. Using the Adapter Model you can switch between data providers while using the same business objects. It can generate code for both MySql and Sql Server.

提交回复
热议问题