Hi,
my data model makes use of DataContract attributes. I can see these being used by RavenDB (via Json.net) when serializing and storing documents. The names of the properties, as stored, are the names I define within the DataContract attribute.
However, when I generate my indexes, via AbstractIndexCreationTask on App_Start, the index that is created in Raven does not use the DataContract defined names. Therefore, my indexes return no data as they are trying to index properties that don't belong to any stored documents.
- Does that description make sense?
- Is there a solution to this?
- Is it possible to disable Json.net using the DataContract attribute via Raven's conventions?
Thanks,