public static Equals ( |
||
x | ||
y | ||
Результат |
public static SqlBoolean Equals(SqlSingle x, SqlSingle y)
{
return (x == y);
}
SqlSingle::Equals ( object value ) : bool |
/** * Performs a logical comparison on two instances of SqlSingle to determine if they are equal. * @param x A SqlSingle instance. * @param y A SqlSingle instance. * @return true if the two values are equal, otherwise false. * If one of the parameters is null or null value return SqlBoolean.Null. */ public static SqlBoolean Equals(SqlSingle x, SqlSingle y) { if (x.IsNull || y.IsNull) { return(SqlBoolean.Null); } if (x.Equals(y)) { return(SqlBoolean.True); } return(SqlBoolean.False); }