mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
增加对sql只返回string的支持;
修复添加表单时,如果关联的数据库已存在的bug
This commit is contained in:
@@ -204,6 +204,7 @@ namespace OpenAuth.Repository
|
||||
|
||||
public int ExecuteSql(string sql)
|
||||
{
|
||||
if (string.IsNullOrEmpty(sql)) return 0;
|
||||
return _context.Database.ExecuteSqlRaw(sql);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user