Click or drag to resize

IdentifiedDataSemanticEquals Method

Determines the semantic equality of this object an obj

Namespace:  SanteDB.Core.Model
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.481-alpha
Syntax
public virtual bool SemanticEquals(
	Object obj
)

Parameters

obj
Type: SystemObject
The object to which the semantic equality should be evaluated

Return Value

Type: Boolean
True if this object is semantically the same as obj
Remarks
In SanteDB's data model, an object is semantically equal when the two objects clinically mean the same thing. This differs from reference equality (when two objects are the same instance) and value equality (when two objects carry all the same values). For example, two ActParticipation instances may be semantically equal when they both represent the same entity playing the same role in the same act as one another, even though their keys and effective / obsolete version properties may be different.
See Also