Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ronnieoverby/RavenDB-Linqpad-Driver
RavenDB support for Linqpad
https://github.com/ronnieoverby/RavenDB-Linqpad-Driver
linqpad ravendb
Last synced: 7 days ago
JSON representation
RavenDB support for Linqpad
- Host: GitHub
- URL: https://github.com/ronnieoverby/RavenDB-Linqpad-Driver
- Owner: ronnieoverby
- License: lgpl-3.0
- Created: 2011-11-06T21:22:18.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2021-02-27T21:15:39.000Z (over 3 years ago)
- Last Synced: 2024-08-02T19:36:37.353Z (3 months ago)
- Topics: linqpad, ravendb
- Language: C#
- Homepage:
- Size: 29.2 MB
- Stars: 73
- Watchers: 15
- Forks: 25
- Open Issues: 2
-
Metadata Files:
- Readme: readme.html
- License: license.txt
Awesome Lists containing this project
README
RavenDB LINQPad Driver
Releases are hosted on Github: https://github.com/ronnieoverby/RavenDB-Linqpad-Driver/releases
The latest release uses RavenDB client build 3599.
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.
6) You're done. You can write some code against your Raven database now. For example:
c#
// c# expression
from a in Query<Album>()
where a.Title.StartsWith("Classic")
select aThe 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!