protected override void OnValidate() { if (_originalEntity.Version != _newEntity.Version) { Invalidate($"{_newEntity.ClassName()} was changed by another user and cannot be changed."); } }
protected override void OnValidate() { if (_originalEntity.Version != _newEntity.Version) { Invalidate(string.Format("{0} was changed by another user and cannot be changed.", _newEntity.ClassName())); } }