예제 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="key"></param>
 /// <param name="value"></param>
 /// <param name="direction"></param>
 /// <param name="treatNullAsDBNull"></param>
 public DataParameter(string key, object value, ParameterDirection direction, bool treatNullAsDBNull)
     : this(key, value, direction, treatNullAsDBNull, DataParameter.DeriveDbType(value), DataParameter.DeriveDbPseudoType(value))
 {
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="key"></param>
 /// <param name="value"></param>
 /// <param name="direction"></param>
 public DataParameter(string key, object value, ParameterDirection direction)
     : this(key, value, direction, true, DataParameter.DeriveDbType(value), DataParameter.DeriveDbPseudoType(value))
 {
 }