3 ms·
In practice, I use the database models as the domain models for an application. However, if I need to expose the models to the outside world via a service, I cr
by conroy 7y ago
In practice, I use the database models as the domain models for an application. However, if I need to expose the models to the outside world via a service, I create a separate set of models. I then define a set of mapping functions between the two.