public SqlBuilderCommand(string sql, SqlBuilderParameter parameter) : this(sql, new SqlBuilderParameter[] { parameter })
 {
     if (string.IsNullOrEmpty(sql))
     {
         throw new ArgumentException($"{nameof(sql)}不能为空", nameof(sql));
     }
 }
Exemplo n.º 2
0
 public bool Equals(SqlBuilderParameter obj)
 {
     return(GetHashCode() == obj.GetHashCode());
 }