예제 #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="index"></param>
 /// <param name="Value"></param>
 private void Validate(int index, QueryParameter Value)
 {
 }
예제 #2
0
 /// <summary>
 /// 加入参数
 /// </summary>
 /// <param name="param"></param>
 /// <returns></returns>
 public QueryParameter Add(QueryParameter param)
 {
     ArrayList().Add(param);
     return param;
 }
예제 #3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="index"></param>
 /// <param name="newValue"></param>
 private void Replace(int index, QueryParameter newValue)
 {
     Validate(index, newValue);
     items[index] = newValue;
 }
예제 #4
0
 /// <summary>
 /// 参数克隆
 /// </summary>
 /// <returns></returns>
 public object Clone()
 {
     var parameter = new QueryParameter();
     parameter.SetProperties(_name, _sourceColumn, _version, _precision, _scale, _size, _forceSize, _offset,
                             _direction, _value, _dbType, _suppress);
     return parameter;
 }