public void AddOutput(string parameterName, DbType dbType) { ParamItem para = new ParamItem(); para.ParameterName = parameterName; para.ParameterValue = null; para.DbType = dbType; para.Direction = 1; _items.Add(para); }
public void Add(string parameterName, object parameterValue) { ParamItem para = new ParamItem(); para.ParameterName = parameterName; para.ParameterValue = parameterValue; //para.DbType = dbType; para.Direction = 0; _items.Add(para); }