background preloader

RavenDb

Facebook Twitter

Managing RavenDB Document Store startup. Home Page. Normal Stuff - Modeling reference data in RavenDB. The question came up in the Mailing list, and I thought it would be a good thing to post about.

Normal Stuff - Modeling reference data in RavenDB

How do you handle reference data in RavenDB? The typical example in most applications would be something like the list of states, their names and abbreviations. You might want to refer to a state by its abbreviation, but still allow for something like this: How do you handle this in RavenDB? Using a relational database, you would probably have a separate table just for states, and it is certainly possible to create something similar to that in RavenDB: