C#调用sql server存储过程
connection.Query<SignalCheckModel>("proc_repeatSignal", new { rootProductId = rootProductId, projectName = projectName, autosarSystemId = autosarSystemId },
commandType: CommandType.StoredProcedure)
proc_repeatSigna存储过程名称
new { rootProductId = rootProductId, projectName = projectName, autosarSystemId = autosarSystemId }, 参数
commandType: CommandType.StoredProcedure 指定调用的类型为存储过程