public void BeforeDelete(string key, object entityInstance, RavenJObject metadata) { throw new InvalidOperationException(ErrorMessage); }