SqlSugar/Src/Asp.NetCore2/SqlSeverTest/SqliteTest/Config.cs

23 lines
500 B
C#
Raw Normal View History

2017-08-24 16:18:44 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public class Config
{
2019-01-20 22:36:42 +08:00
public static string GetCurrentProjectPath
{
get
{
return Environment.CurrentDirectory.Replace(@"\bin\Debug", "");
}
}
public static string ConnectionString = @"DataSource=" + GetCurrentProjectPath + @"\DataBase\SqlSugar4xTest.sqlite";
2017-08-24 16:18:44 +08:00
}
}
2019-01-20 22:36:42 +08:00