Is there a way of centralizing the access to a DataContext in C# using DI pattern?

前端 未结 0 736
傲寒
傲寒 2021-02-02 09:05

this is what I got so far, but have to keep passing the DataClassesDataContext around. I wonder if there is a better more centralized way of using the DataClassesDataContext and

相关标签:
回答
  • 消灭零回复
提交回复
热议问题