Entity classes decoupled from LINQ to SQL provider for implementing the Repository pattern. How?

前端 未结 9 514
不知归路
不知归路 2021-02-02 02:57

I have looked over the Repository pattern and I recognized some ideas that I was using in the past which made me feel well.

However now I would like to write an applicat

9条回答
  •  礼貌的吻别
    2021-02-02 03:19

    You don't have to use the LINQ to SQL generated code, you can decorate your own classes with the necessary ColumnAttributes or use an external XML mapping file.

提交回复
热议问题