Add project files.
This commit is contained in:
12
ModVersionChecker/managers/litedb/LiteDbSingleton.cs
Normal file
12
ModVersionChecker/managers/litedb/LiteDbSingleton.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using LiteDB;
|
||||
|
||||
public static class LiteDbSingleton
|
||||
{
|
||||
private static readonly LiteDatabase _db = new LiteDatabase(new ConnectionString
|
||||
{
|
||||
Filename = "ModVersionChecker.db",
|
||||
Connection = ConnectionType.Shared
|
||||
});
|
||||
|
||||
public static LiteDatabase Instance => _db;
|
||||
}
|
Reference in New Issue
Block a user