Hi People,
just a simple one, I want to save an entity to the DB that must be unique, for example:
TestEntity
---> Field1
---> Field2
On save I want to check if an entity already exists with the same values for field1 and field2 as the one I'm saving that isn't the one im saving, as this is a bussiness wide rule, I thought it would be really cool to do it in the validator class in the ValidateEntityBeforeSave method, is that the right place to do it?
Thanks!
Alex