|
|
@ -8,6 +8,14 @@ namespace OrmTest |
|
|
|
{ |
|
|
|
public class Config |
|
|
|
{ |
|
|
|
public static string ConnectionString = @"DataSource=F:\MyOpenSource\SqlSugar4.XNew\SqlSugar\Src\Asp.Net\SqliteTest\DataBase\SqlSugar4xTest.sqlite"; |
|
|
|
public static string GetCurrentProjectPath |
|
|
|
{ |
|
|
|
|
|
|
|
get |
|
|
|
{ |
|
|
|
return Environment.CurrentDirectory.Replace(@"\bin\Debug", ""); |
|
|
|
} |
|
|
|
} |
|
|
|
public static string ConnectionString = @"DataSource=GetCurrentProjectPath\DataBase\SqlSugar4xTest.sqlite"; |
|
|
|
} |
|
|
|
} |
|
|
|