Update Demo

This commit is contained in:
sunkaixuan
2019-01-21 02:15:32 +08:00
parent 70da57d54f
commit 9464e7d382
2 changed files with 31 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ namespace SugarCodeGeneration
{
class Program
{
//数据库配置
//如果你不需要自定义直接配好数据库连接F5运行项目
const SqlSugar.DbType dbType = SqlSugar.DbType.SqlServer;
const string connectionString = "server=.;uid=sa;pwd=@jhl85661501;database=SqlSugar4XTest";
@@ -71,6 +71,11 @@ namespace SugarCodeGeneration
UpdateCsproj();
Print("项目解决方案修改成功");
/***添加项目引用***/
Methods.AddRef(bllProjectName2,classProjectName);
Print("引用添加成功");
//如何使用创建好的业务类(注意 SchoolManager 不能是静态的)
//SchoolManager sm = new SchoolManager();
//sm.GetList();