Actually, that’s not a good example. If your records are based on good OO principles they have their own identity, which is independent from a database record id. Returning the id this is useless and thus no reason to break CQS.
Actually, that’s not a good example. If your records are based on good OO principles they have their own identity, which is independent from a database record id. Returning the id this is useless and thus no reason to break CQS.
Independent Software architect, trainer and coach at Delphino Consultancy (http://www.delphino-consultancy.nl)