+1  A: 

Add a version property to the composite key class, see this article for an in-depth explanation.

DanP