Home

Awesome

In-memory database for NET/Mono

An Origo database is a command-sourced in-memory object graph.

Write your custom data model, commands and queries using any .NET language, or choose from a number of existing generic models.

OrigoDB is developed and maintained by Devrex Labs. We offer commercial support, consulting, training and enterprise features.

To learn more, visit the project web site and read the online documentation.

Join the chat at https://gitter.im/DevrexLabs/OrigoDB

Build status

Example code

//Nuget: Install-Package OrigoDb.Core
//Restore graph by replaying commands stored on disk
//in the current working directory
var engine = Engine.For<MyModel>();

//Log a command to disk and then apply to in-memory graph
engine.Execute(new MyCommand{MyArg = someValue});

//read the in-memory graph using a custom query
var results = engine.Execute(new MyQuery{MyArg = someValue});

// -----------------------------------------
// Example #2 - Implicit operations
// -----------------------------------------
//restore graph and wrap the engine in a proxy
MyModel db = Db.For<MyModel>();

//void methods are translated to commands
db.MyCommand(someValue);

//non-void methods are translated to queries
var results = db.MyQuery(someValue);

Key Strengths

Nuget

Install-package OrigoDB.Core

Links