public static Equals ( |
||
x | ||
y | ||
return |
/** * Compares two instances of SqlBinary to determine if they are equal. * @param x A SqlBinary instance * @param y A SqlBinary instance * @return A SqlBoolean that is True if the two instances are not equal or False if the two instances are equal. * If either instance of SqlDouble is null, the Value of the SqlBoolean will be Null. */ public static SqlBoolean NotEquals(SqlBinary x, SqlBinary y) { if (x.IsNull || y.IsNull) { return(SqlBoolean.Null); } if (x.Equals(y)) { return(SqlBoolean.False); } return(SqlBoolean.True); }
/** * Compares two instances of SqlBinary to determine if they are equal. * @param x A SqlBinary instance * @param y A SqlBinary instance * @return A SqlBoolean that is True if the two instances are not equal or False if the two instances are equal. * If either instance of SqlDouble is null, the Value of the SqlBoolean will be Null. */ public static SqlBoolean NotEquals(SqlBinary x, SqlBinary y) { if (x.IsNull || y.IsNull) return SqlBoolean.Null; if (x.Equals(y)) return SqlBoolean.False; return SqlBoolean.True; }