Giter Site home page Giter Site logo

ravendb-linqpad-driver's Introduction

#RavenDB LINQPad Driver

Releases are hosted on Github: https://github.com/ronnieoverby/RavenDB-Linqpad-Driver/releases

The latest release uses RavenDB client build 2874.

Watch the video at http://youtu.be/XgsPvyk0bjM for help getting started.


To install:

  1. In Linqpad, click "Add connection".

  2. In the "Choose Data Context" dialog, press the "View more drivers..." button.

  3. In the "Choose a Driver" dialog, find the "RavenDB Driver" and click the "Download & Enabled driver" link.

  4. Back in the "Choose Data Context" dialog, select "RavenDB Driver" and click the next button.

5.) In the RavenDB connection dialog, supply your connection information.

  1. You're done. You can write some code against your Raven database now. For example:
// c# expression
from a in Query<Album>()
where a.Title.StartsWith("Classic")
select a

The RavenDB Linqpad Driver will create a DocumentStore for you to use to connect to RavenDB. It uses the details that you supply in the connection properties window inside Linqpad. If you need to fully control the creation of the IDocumentStore (for sharding, etc) you can do it:

  1. In your project, add a reference to RavenLinqpadDriver.Common.dll (can be found in /Common)

  2. Implement ICreateDocumentStore

  3. In Linqpad's RavenDB connection properties, reference your project's assembly.

  4. When you run queries under that Linqpad connection, you're custom IDocumentStore will be used.

Thanks

Special thanks to JetBrains for supporting this project by donating a license of ReSharper!

ravendb-linqpad-driver's People

Contributors

ronnieoverby avatar ceilidhboy avatar cbsmith402 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.