Skip to content

jeffdoolittle/doclite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doclite

a simple esent backed document store for .net

Example:

var store = new SessionFactory(
        cfg => cfg
            .StoreAt("/path")
            .Compress()
            .EncryptWithKey("ABCDEFGHIJKLMNOP"));

	using (var session = store.OpenSession())
	{
		session.Add(new MyDocument
			{ 
              Id = 4,
    			Name = "some value",
				Number = 2
			});	
	}

	using (var session = store.OpenSession())
	{
        var document = session.Get<MyDocument>(4);
    }

	store.Dispose();

About

a simple esent backed document store for .net

Resources

License

Stars

Watchers

Forks

Packages

No packages published