This commit is contained in:
sunkaixuan 2019-05-12 21:32:02 +08:00
parent 210fad84e8
commit 2ee1589e24

View File

@ -91,7 +91,7 @@ namespace SqlSugar
}
public DbRazor SettingTemplate(string templatePath)
{
Check.Exception(true, ErrorMessage.GetThrowMessage("Use db.DbFirst.LoadTemplate('c:\\1.txt').CreateClassFile(classPath) Nuget Install SqlSugar.DbFirstRazor ", "当前方法已经过期,请使用 db.DbFirst.LoadTemplate('c:\\1.txt').CreateClassFile(classPath) Nuget 安装 SqlSugar.DbFirstRazor "));
Check.Exception(true, ErrorMessage.GetThrowMessage("Use db.DbFirst.LoadTemplate('c:\\template.txt').CreateClassFile(classDirectoryPath) Nuget Install SqlSugar.DbFirstRazor ", "当前方法已经过期,请使用 db.DbFirst.LoadTemplate('c:\\template.txt').CreateClassFile(classDirectoryPath) Nuget 安装 SqlSugar.DbFirstRazor "));
return null;
}
#endregion