| Parameter | Description |
|---|---|
| obj | The object to compare with this EntityId. Non-EntityId values always return false. |
bool True if the object is an EntityId and equals this instance; otherwise, false.
Determines whether the specified object is equal to this EntityId.
| Parameter | Description |
|---|---|
| other | The EntityId to compare with this EntityId. |
bool True if the EntityIds are equal; otherwise, false.
Determines whether the specified EntityId is equal to this EntityId.
| Parameter | Description |
|---|---|
| other | The integer value to compare with this EntityId. |
bool True if the integer representation equals this EntityId; otherwise, false.
Determines whether the specified integer value is equal to this EntityId.
This overload exists so that code that still contains object identifiers in integers keeps working. Compare EntityId values with each other where possible.