namespace System.Data.SqlTypes {
- public struct SqlBinary : IComparable, INullable, IXmlSerializable {
+ public struct SqlBinary : IComparable, IEquatable<SqlBinary>, INullable, IXmlSerializable {
+ public bool Equals(SqlBinary other);
+ public static SqlBinary WrapBytes(byte[] bytes);
}
- public struct SqlBoolean : IComparable, INullable, IXmlSerializable {
+ public struct SqlBoolean : IComparable, IEquatable<SqlBoolean>, INullable, IXmlSerializable {
+ public bool Equals(SqlBoolean other);
}
- public struct SqlByte : IComparable, INullable, IXmlSerializable {
+ public struct SqlByte : IComparable, IEquatable<SqlByte>, INullable, IXmlSerializable {
+ public bool Equals(SqlByte other);
}
- public struct SqlDateTime : IComparable, INullable, IXmlSerializable {
+ public struct SqlDateTime : IComparable, IEquatable<SqlDateTime>, INullable, IXmlSerializable {
+ public bool Equals(SqlDateTime other);
}
- public struct SqlDecimal : IComparable, INullable, IXmlSerializable {
+ public struct SqlDecimal : IComparable, IEquatable<SqlDecimal>, INullable, IXmlSerializable {
+ public bool Equals(SqlDecimal other);
+ public int WriteTdsValue(Span<uint> destination);
}
- public struct SqlDouble : IComparable, INullable, IXmlSerializable {
+ public struct SqlDouble : IComparable, IEquatable<SqlDouble>, INullable, IXmlSerializable {
+ public bool Equals(SqlDouble other);
}
- public struct SqlGuid : IComparable, INullable, IXmlSerializable {
+ public struct SqlGuid : IComparable, IEquatable<SqlGuid>, INullable, IXmlSerializable {
+ public bool Equals(SqlGuid other);
}
- public struct SqlInt16 : IComparable, INullable, IXmlSerializable {
+ public struct SqlInt16 : IComparable, IEquatable<SqlInt16>, INullable, IXmlSerializable {
+ public bool Equals(SqlInt16 other);
}
- public struct SqlInt32 : IComparable, INullable, IXmlSerializable {
+ public struct SqlInt32 : IComparable, IEquatable<SqlInt32>, INullable, IXmlSerializable {
+ public bool Equals(SqlInt32 other);
}
- public struct SqlInt64 : IComparable, INullable, IXmlSerializable {
+ public struct SqlInt64 : IComparable, IEquatable<SqlInt64>, INullable, IXmlSerializable {
+ public bool Equals(SqlInt64 other);
}
- public struct SqlMoney : IComparable, INullable, IXmlSerializable {
+ public struct SqlMoney : IComparable, IEquatable<SqlMoney>, INullable, IXmlSerializable {
+ public bool Equals(SqlMoney other);
+ public static SqlMoney FromTdsValue(long value);
+ public long GetTdsValue();
}
- public struct SqlSingle : IComparable, INullable, IXmlSerializable {
+ public struct SqlSingle : IComparable, IEquatable<SqlSingle>, INullable, IXmlSerializable {
+ public bool Equals(SqlSingle other);
}
- public struct SqlString : IComparable, INullable, IXmlSerializable {
+ public struct SqlString : IComparable, IEquatable<SqlString>, INullable, IXmlSerializable {
+ public bool Equals(SqlString other);
}
}