Skip to content
It's a serialized in-memory and strongly-typed database developed in C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
Type-DB.Core.Samples
Type-DB.Core.Tests
Type-DB.Core
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE.md
README.md
Type-DB.Core.sln

README.md

About Type-DB.Core

💡 Type-DB is a serialized, in-memory and strongly-typed database system developed in C#.

Official Type-DB Documentation: https://docs.typedb.rocks/

Gitter Chat Room: https://gitter.im/typedb-core

NuGet Package: https://www.nuget.org/packages/Type-DB.Core

Build Status Gitter Chat NuGet Clint.Network

What is Type-DB

Type-DB is made to meet the needs of any developer whether for an embedded project, to implement a cache system, or simply when you need a cool database, it is certain that you will love his modularity.

Key-Object Concept instead of Key-Value

The core concept of Type-DB is to replace the old concept of KeyValue dictionnaries with a new KeyObject system, that allows you to store any .Net Objects directly into a Type-DB Instance (see Standalone or Remote Mode)

Basic Usage

If you need a simple C# snippet to understand what is Type-DB, take a look here:

using (var tdb = new TypeDB.Core(Mode.Standalone).Connect())
using (var db = tdb.OpenDatabase("test", true))
{
    db.Set<int>("NumberOfCars", 28);
    var numberOfCars = db.Get<int>("NumberOfCars");
    Console.WriteLine(numberOfCars);
}

Standalone or Remote Mode

Two operating modes are available on Type-DB, the Standalone mode that does not require the use of a server, which is very convenient for embedded projects, and the Remote mode that is coupled with a Type-DB Server.

Using Example in a Remote Mode:

var tdb = new TypeDB.Core(TypeDB.Mode.Remote)
.Configure(new TypeDB.Configuration
{
    Endpoint = new Endpoint("localhost", 7000)
})
.Connect();

Getting Started with Type-DB

To start using Type-DB we advise you to read our documentation.

About the Author

Type-DB is powered by Clint.Network and published under the MIT License.

If you want to make a little donation (or bigger), use this Bitcoin address: 3NKHzncjpJmXzgEbAUy8hgCNpr4eVzcajZ

You can’t perform that action at this time.