Skip to content
ronnieoverby edited this page Aug 14, 2012 · 10 revisions
  1. Download the latest driver from the downloads page. Unzip the lpx file.
  2. In Linqpad: Add Connection, View more drivers, browse for lpx file.
  3. Complete the connection information form.
  4. Create a new query using the raven connection that you just defined.
  5. Press F4 to add references to the assemblies containing your entity types OR create entity classes in Linqpad.
  6. Code. A DocumentStore and DocumentSession have been created for you. Access them using the DocStore and Session properties. The query context acts as your IDocumentStore and IDocumentSession, so you access their members directly, as shown below.

Here, I save a new person object and view it's document id. Storing a new object

And here, I load that person object, make a change and save it. Retrieving and updating an object

You can see what the Raven client is sending and receiving from the server on the SQL tab:

SQL Tab


Here's a demonstration video that I created with an older version of the driver: http://youtu.be/XgsPvyk0bjM Just keep in mind that it's somewhat obsolete because the Session and DocStore properties no longer exist.


Please let me know what you think and if you find any problems.

Clone this wiki locally