-
Notifications
You must be signed in to change notification settings - Fork 12
DatabaseBuilder
SirJosh3917 edited this page Feb 23, 2019
·
1 revision
The DatabaseBuilder
is a class that allows you to have easy access to all of the database providers you can use.
IDatabase<string, int> db = new DatabaseBuilder()
.UseMemoryDatabase<string, int>();
IDatabase<byte[], byte[]> db = new DatabaseBuilder()
.UseIODatabase((builder) => builder.UseStringDB(StringDBVersions.v10_0_0, new MemoryStream()));