Пример #1
0
 /// <summary>
 /// 往存储过程中注入参数
 /// </summary>
 /// <param name="Parameter">参数item</param>
 public void AddItem(ProcedureParameter Parameter)
 {
     if (Parameter.Direction == System.Data.ParameterDirection.ReturnValue) _hasReturn = true;
     _value.Add(Parameter);
 }
Пример #2
0
 public ProcedureParameter Clone()
 {
     ProcedureParameter _temp = new ProcedureParameter() {
         _name = _name,
         _type = _type,
         _value = _value,
         _direction = _direction,
         _validate = _validate,
         _test_reg = _test_reg
     };
     return _temp;
 }