fix #I3O97D 站点启动时自动运行状态为【正在运行】的定时任务;

fix #I3ODHI 增加存储过程调用;
This commit is contained in:
yubaolee
2021-04-28 10:20:24 +08:00
parent 785d784759
commit 4148427f1a
10 changed files with 892 additions and 81 deletions

View File

@@ -10,6 +10,8 @@
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
@@ -107,6 +109,13 @@ namespace OpenAuth.Repository.Interface
/// <returns></returns>
IQueryable<T> Query<T>(string sql, params object[] parameters) where T : class;
/// <summary>
/// 执行存储过程
/// </summary>
/// <param name="procName">存储过程名称</param>
/// <param name="sqlParams">存储过程参数</param>
List<T> ExecProcedure<T>(string procName,params DbParameter[] sqlParams) where T : class;
#region
Task<int> ExecuteSqlRawAsync(string sql);