feature: shortcut
This commit is contained in:
@@ -38,6 +38,7 @@ namespace Billing.Store
|
||||
catch (Exception ex)
|
||||
{
|
||||
Helper.Error("database.close", ex);
|
||||
return false;
|
||||
}
|
||||
try
|
||||
{
|
||||
@@ -54,12 +55,13 @@ namespace Billing.Store
|
||||
SQLiteOpenFlags.ReadWrite |
|
||||
SQLiteOpenFlags.Create |
|
||||
SQLiteOpenFlags.SharedCache);
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Helper.Error("database.connect", ex);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public static readonly AsyncLazy<StoreHelper> Instance = new(async () =>
|
||||
|
||||
Reference in New Issue
Block a user