Click or drag to resize

EntityFieldsCoreTFieldEquals Method

Compares passed in object with the given object. This is a compare of PK fields. These have to be the same in VALUES. When the values are not the same, or the type is not the same as the current type, false is returned, true otherwise. When this doesn't have any PK fields, all fields are compared. null values are considered as the same value.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public override bool Equals(
	Object obj
)

Parameters

obj
Type: SystemObject
Entity Fields object which will be compared to the PK values of this.

Return Value

Type: Boolean
True when the PK values of this are the same as the PK values of obj, or when this doesn't have any PK fields, all fields have the same value as obj's fields. False otherwise.
See Also