You are currently browsing legacy 3.5 version of documentation. Click here to switch to the newest 5.1 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

What are conventions?

Conventions give you an ability to customize the Client API behavior. They are accessible from DocumentStore object:

DocumentConvention conventions = store.getConventions();

Here you will find plenty of settings to overwrite, in order to adjust the client according to your needs. The conventions apply to many different client behaviors, so they are grouped and described in the separate articles in this section.