Yes, your are right. On Dec 17, 9:17 am, Gustavo Ringel <[email protected]> wrote: > Commit is an Infrastructure concept, you commit because you are working with > a Database, a Repository / Dao, doesn't need to know it is commiting > something, but it should do its work (abstract the access to the Database) > > If two repositories work in the same Use Case, you will want to commit both > of them together, you don't want each repository to Commit its work, the > transaction is a concept on top of that. > > That's all. > > Gustavo. >
-- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
