| 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
)
Public Overridable Function SemanticEquals (
obj As Object
) As Boolean
public:
virtual bool SemanticEquals(
Object^ obj
)
abstract SemanticEquals :
obj : Object -> bool
override SemanticEquals :
obj : Object -> bool
Parameters
- obj
- Type: SystemObject
The object to which the semantic equality should be evaluated
Return Value
Type:
BooleanTrue if this object is semantically the same as
objRemarks
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