3 ms·
Does this correspond to the data mapper pattern? Seems like people mostly object to active record orm variants. https://typeorm.io/#/active-record-data-mapper/
by dsego 6y ago
Does this correspond to the data mapper pattern? Seems like people mostly object to active record orm variants.
https://typeorm.io/#/active-record-data-mapper/what-is-the-data-mapper-pattern https://typeorm.io/#/active-record-data-mapper/what-is-the-d...
- pmjones 6y agoYes, the upper/outer layers are a Data Mapper implementation; cf. the Atlas.Mapper package. FWIW, the Data Mappers are built on top of Table Data Gateways, which in turn are built using Query Builders and a connection locator. This lets you start at lower levels and work your way up, while at the same time allowing you to "reach down" from the upper levels to the lower ones when you need to.