增加一个运行存储过程的接口

This commit is contained in:
FalconFly 2024-04-15 09:26:43 +08:00
parent e92721b499
commit a3afc1514c

View File

@ -0,0 +1,17 @@
namespace Falcon.SugarApi.DatabaseStoredProcedure
{
/// <summary>
/// 执行存储过程接口
/// </summary>
/// <typeparam name="T1">存储过程参数</typeparam>
/// <typeparam name="T2">存储过程返回结果</typeparam>
public interface IExceteStoredProcedures<T1, T2>
{
/// <summary>
/// 执行存储过程
/// </summary>
/// <param name="paras"></param>
/// <returns></returns>
public T2 Excute(T1 paras);
}
}