Determines if a relationship for a particular entity type is already present.
Namespace: MonoSoftware.MonoX.RepositoriesAssembly: 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> |
Return Value
Type:
Nullable<(Of <(<'Boolean>)>)>True if the relationship exists, falase otherwise.
Implements
IRelationshipRepository..::..IsRelationshipPresent(Int32, Guid, SnRelationshipEntity)See Also