public static SqlBoolean operator ==(SqlInt16 x, SqlInt16 y) { return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value == y._value); }