Click or drag to resize

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
)

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