public IDbDataParameter CreateDbParameter(IDbCommand command, IDbAdapter dbAdapter) { var result = command.CreateParameter(); result.ParameterName = dbAdapter.FormatParameterName(Name); result.Value = dbAdapter.ConvertToDbType(Value); return result; }
public IDbDataParameter CreateDbParameter(IDbCommand command, IDbAdapter dbAdapter) { var result = command.CreateParameter(); result.ParameterName = dbAdapter.FormatParameterName(Name); result.Value = dbAdapter.ConvertToDbType(Value); return(result); }