Determines if a relationship for a particular entity type is already present.

Namespace: MonoSoftware.MonoX.BusinessLayer
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public virtual Nullable<bool> IsRelationshipPresent(
	int entityType,
	Guid entityId,
	SnRelationshipEntity relationship
)
Visual Basic
Public Overridable Function IsRelationshipPresent ( 
	entityType As Integer,
	entityId As Guid,
	relationship As SnRelationshipEntity
) As Nullable(Of Boolean)
Visual C++
public:
virtual Nullable<bool> IsRelationshipPresent(
	int entityType, 
	Guid entityId, 
	SnRelationshipEntity^ relationship
)
F#
abstract IsRelationshipPresent : 
        entityType : int * 
        entityId : Guid * 
        relationship : SnRelationshipEntity -> Nullable<bool> 
override IsRelationshipPresent : 
        entityType : int * 
        entityId : Guid * 
        relationship : SnRelationshipEntity -> Nullable<bool> 

Parameters

entityType
Type: System..::..Int32
Entity type.
entityId
Type: System..::..Guid
Entity Id.
relationship
Type: SnRelationshipEntity
Relationship entity.

Return Value

Type: Nullable<(Of <(<'Boolean>)>)>
True if the relationship exists, falase otherwise.

Implements

IRelatedContentBLL..::..IsRelationshipPresent(Int32, Guid, SnRelationshipEntity)

See Also