CompareByFieldKeySetComparisonArrayFromObject Method |
Sets a byte array equivalent to the field values to compare. Using this bypasses object compares, instead the byte arrays are compared byte by byte until a diff is found. If a byte diff isn't found then object compares may happen.
Field types currently supported: byte, bool, Char, string, Int16, Int32, Int64, UInt16, UInt32, UInt64, Single, Double, DateTime, TimeSpan
Namespace:
VelocityDb.Collection.Comparer
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public override void SetComparisonArrayFromObject(
Key key,
byte[] comparisonArray,
bool oidShort
)
Public Overrides Sub SetComparisonArrayFromObject (
key As Key,
comparisonArray As Byte(),
oidShort As Boolean
)
public:
virtual void SetComparisonArrayFromObject(
Key key,
array<unsigned char>^ comparisonArray,
bool oidShort
) override
abstract SetComparisonArrayFromObject :
key : 'Key *
comparisonArray : byte[] *
oidShort : bool -> unit
override SetComparisonArrayFromObject :
key : 'Key *
comparisonArray : byte[] *
oidShort : bool -> unit
Parameters
- key
- Type: Key
A key from which to extract a comparison byte array based on field(s) to compare - comparisonArray
- Type: SystemByte
The array to set bytes of - oidShort
- Type: SystemBoolean
If oidShort is true then only the page and slot numbers need to be compared if the comparator bytes includes any Oid bytes
See Also