摘要:
output 输出参数 在C# 中的获取方法新建存储过程create proc Test@ID int,@maxnum int outputasbegindeclare @num intselect id,name,sex from T1 where id = @IDselect @num=max(num) from T2 where id = @IDset @maxnum = @numendgoC#中获取输出参数\ Database _db = DatabaseFactory.CreateDatabase(); DbCommand _cmd =_db.GetStoredProcCommand 阅读全文