Gets topic messages.

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

Syntax

C#
public virtual EntityCollection<SnDiscussionMessageEntity> GetMessages(
	Nullable<Guid> topicId,
	Nullable<Guid> userId,
	int pageSize,
	int pageIndex,
	out int recordCount
)
Visual Basic
Public Overridable Function GetMessages ( 
	topicId As Nullable(Of Guid),
	userId As Nullable(Of Guid),
	pageSize As Integer,
	pageIndex As Integer,
	<OutAttribute> ByRef recordCount As Integer
) As EntityCollection(Of SnDiscussionMessageEntity)
Visual C++
public:
virtual EntityCollection<SnDiscussionMessageEntity^>^ GetMessages(
	Nullable<Guid> topicId, 
	Nullable<Guid> userId, 
	int pageSize, 
	int pageIndex, 
	[OutAttribute] int% recordCount
)
F#
abstract GetMessages : 
        topicId : Nullable<Guid> * 
        userId : Nullable<Guid> * 
        pageSize : int * 
        pageIndex : int * 
        recordCount : int byref -> EntityCollection<SnDiscussionMessageEntity> 
override GetMessages : 
        topicId : Nullable<Guid> * 
        userId : Nullable<Guid> * 
        pageSize : int * 
        pageIndex : int * 
        recordCount : int byref -> EntityCollection<SnDiscussionMessageEntity> 

Parameters

topicId
Type: System..::..Nullable<(Of <(<'Guid>)>)>
Topic Id
userId
Type: System..::..Nullable<(Of <(<'Guid>)>)>
User Id
pageSize
Type: System..::..Int32
Page size
pageIndex
Type: System..::..Int32
Page index for paging
recordCount
Type: System..::..Int32%
Count of the records retrieved

Return Value

Type: EntityCollection<(Of <(<'SnDiscussionMessageEntity>)>)>
Collection of topic messages

Implements

IDiscussionBLL..::..GetMessages(Nullable<(Of <<'(Guid>)>>), Nullable<(Of <<'(Guid>)>>), Int32, Int32, Int32%)

See Also