阅读背景:

核心数据是否实现了数据映射器模式?

来源:互联网 

I know that core data should not be considered as ORM but it still offers the functionality that is similar to ORM. Just curious, is it implementing data mapper pattern? I know "The Data Mapper is a layer of software that separates the in-memory objects from the database. Its responsibility is to transfer data between the two and also to isolate them from each other." (Martin Fowler). IMHO context manager handles all SQL stuff into one transaction, so it's very performance wise design and IMHO core data might be considered implementing data mapper pattern. I know that core data should not be considered




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: