public void ThrowExceptionIfEntityIsInvalid(EntityBase<Guid> entity) { entity.ThrowExceptionIfEntityIsInvalid(); }