I'm looking at a couple of designs for DAO interfaces. One has a single update()
method, while the other has separate create()
and update()
methods.
Assuming that it's possible to do something along the lines of 'insert otherwise update', what's the benefit of a separate create()
method? Is there something to do with concurrency lurking there?
Thanks in advance for your help.
Cheers, Ross