RavenDB Support similar to EF

We’re looking at providing better documentation regarding how a developer might provide their own support for any external datasource.
-
Anonymous commented
Has anyone implemented getting the metadata for all document types in RavenDB?
-
Will Munn commented
Ditto on the sample. I'd really love to use both RavenDB and Breeze together.
-
Georgios Diamantopoulos commented
Matt, a sample would eeeeeeextra awesome :)
-
devmondo commented
yeah please, Ravendb is the choice number one in .NET world for NoSQL and supporting it would make our lives better.
-
Anonymous commented
Indeed the NoDB sample can be adapted. The two main issues I see right now are:
1. Lack of support for collections property types. In RavenDB such a design would be quite common:
class BlogPost { public string[] Tags; }
But it isn't supported (as far as I can tell) by breeze.js currently, although OData has support.2. automatic metadata generation, although this can be worked around, e.g. by creating js metadata by hand.
-
Matt Johnson commented
The NoDB breeze sample should be easily modified for RavenDB. The tricky part is matching up static indexes to match what you might want to query over the Breeze api. That, and dealing with pagination requirements (skip/take are mandatory in RavenDB or your results will be truncated). I'll see if I can put a sample together.