I would like to create something like what Entity Framework is using for monitoring entity changes with using "Repository" and "Unity of Work" patterns. I found that the problem can be solved by ChangeTracker. It has references to repositories and it monitors their changes.
And now I need to create it with typescript and NodeJS. I would like to use ORM mapper "Waterline", because it supports a lot of different database types.
I was inspired by Repository and Unity Of Work patterns of Entity Framework, but my current problem is in changes monitoring in individual entities in repositories.
After some searching i found "BreezerJS" for change tracking and my question is if it is useful for this case? A small outline of possible solutions with Breezer would greatly help me.
Thanks a lot
Aucun commentaire:
Enregistrer un commentaire