Browse Source

数据库修改

Lishi
pry 2 years ago
parent
commit
02e84041de
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      HKLib/DB/DbContext.cs

+ 2
- 1
HKLib/DB/DbContext.cs View File

@@ -29,7 +29,8 @@ namespace HKLib.DB
static string Route()
{
var dir = SyncStatic.CreateDir(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Database"));
return SyncStatic.CreateFile(Path.Combine(dir, "data.db3"));
var r= SyncStatic.CreateFile(Path.Combine(dir, "data.db3"));
return r;
}
public static void InitTable()
{


Loading…
Cancel
Save