开发者

DTO and Self Tracking Entities pattern in the entity framework

开发者 https://www.devze.com 2022-12-29 04:09 出处:网络
In What scenar开发者_Python百科io that I have to use DTO\'s pattern in the entity framework the and not the Self Tracking Entities pattern?
  • In What scenar开发者_Python百科io that I have to use DTO's pattern in the entity framework the and not the Self Tracking Entities pattern?

  • Can I start with Self Tracking Entities because it's easier to develop and then add DTO's in the next Phase ???

As always, your advice is greatly appreciated...


If I understand your question correctly, this might answer it: http://msdn.microsoft.com/en-us/magazine/ee335715.aspx

The section on DTOs basically says that you can add DTOs on top of the STEs where needed, to get implement certain outlier cases where STEs just don't work.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号