![]() |
1
3
我试图让我的域对象像我使用的技术所允许的那样,保持对持久性的无知。对于Linq to SQL,我遵循了
Ian Cooper
(见
Being Ignorant with LINQ to SQL
,请
Architecting LINQ to SQL Applications, Part 5
和
Architecting LINQ to SQL Applications, Part 6
)基本上,您可以手动编写域对象的代码,并使用
杰里米·米勒在《msdn》杂志上有一篇关于持续无知的文章。见 The Unit Of Work Pattern and Persistence Ignorance .
我不喜欢这种方法。干得太厉害了。 |
![]() |
2
0
你见过吗? AutoMapper 是吗?如果你 look at the blog 你会看到你描述的情况。 |
![]() |
Emopusta · 从后端到前端的图像路径不工作 2 年前 |
![]() |
Asdrubal Hernandez · Linq查询特定数组索引出错 2 年前 |
![]() |
Niyazi Babayev · 如何在表达式中动态应用表达式? 3 年前 |
|
Dansih · .Net核心自定义身份验证方案 3 年前 |
![]() |
lolorekkk · 面板插入。NET WinForm 3 年前 |