Checks if a friendship relation already exists.

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

Syntax

C#
bool RelationshipExists(
	Guid userId,
	Guid friendId
)
Visual Basic
Function RelationshipExists ( 
	userId As Guid,
	friendId As Guid
) As Boolean
Visual C++
bool RelationshipExists(
	Guid userId, 
	Guid friendId
)
F#
abstract RelationshipExists : 
        userId : Guid * 
        friendId : Guid -> bool 

Parameters

userId
Type: System..::..Guid
User id
friendId
Type: System..::..Guid
Friend id

Return Value

Type: Boolean
True if the relationship between two users already exists, false otherwise

See Also