mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-21 02:58:05 +08:00
Update Demo
This commit is contained in:
@@ -40,7 +40,7 @@ namespace SugarCodeGeneration
|
||||
/***生成DbContext***/
|
||||
|
||||
//配置参数
|
||||
var contextProjectName = "Dal";//DbContext所在项目
|
||||
var contextProjectName = "BLL";//DbContext所在项目
|
||||
var contextPath = "DbCore";//dbcontext存储目录
|
||||
var savePath = Methods.GetSlnPath + "\\" + contextProjectName + "\\" + contextPath + "\\DbContext.cs";//具体文件名
|
||||
var tables = db.DbMaintenance.GetTableInfoList().Select(it => it.Name).ToList();
|
||||
|
Reference in New Issue
Block a user