Retrieves a list of comments in paged scenarios.

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

Syntax

C#
public virtual List<SnCommentDTO> GetComments(
	Guid blogId,
	Guid parentId,
	Guid userId,
	int entityType,
	bool isModerator,
	bool isApprovalRequired,
	bool fullPrefetchPath,
	int pageIndex,
	int pageSize,
	out int recordCount
)
Visual Basic
Public Overridable Function GetComments ( 
	blogId As Guid,
	parentId As Guid,
	userId As Guid,
	entityType As Integer,
	isModerator As Boolean,
	isApprovalRequired As Boolean,
	fullPrefetchPath As Boolean,
	pageIndex As Integer,
	pageSize As Integer,
	<OutAttribute> ByRef recordCount As Integer
) As List(Of SnCommentDTO)
Visual C++
public:
virtual List<SnCommentDTO^>^ GetComments(
	Guid blogId, 
	Guid parentId, 
	Guid userId, 
	int entityType, 
	bool isModerator, 
	bool isApprovalRequired, 
	bool fullPrefetchPath, 
	int pageIndex, 
	int pageSize, 
	[OutAttribute] int% recordCount
)
F#
abstract GetComments : 
        blogId : Guid * 
        parentId : Guid * 
        userId : Guid * 
        entityType : int * 
        isModerator : bool * 
        isApprovalRequired : bool * 
        fullPrefetchPath : bool * 
        pageIndex : int * 
        pageSize : int * 
        recordCount : int byref -> List<SnCommentDTO> 
override GetComments : 
        blogId : Guid * 
        parentId : Guid * 
        userId : Guid * 
        entityType : int * 
        isModerator : bool * 
        isApprovalRequired : bool * 
        fullPrefetchPath : bool * 
        pageIndex : int * 
        pageSize : int * 
        recordCount : int byref -> List<SnCommentDTO> 

Parameters

blogId
Type: System..::..Guid
Blog id
parentId
Type: System..::..Guid
Commented entity ID. If empty, all comments for a user with userId will be returned
userId
Type: System..::..Guid
User ID
entityType
Type: System..::..Int32
Commented entity type
isModerator
Type: System..::..Boolean
Is moderator
isApprovalRequired
Type: System..::..Boolean
Indicates if only approved comments should be selected
fullPrefetchPath
Type: System..::..Boolean
pageIndex
Type: System..::..Int32
Page index
pageSize
Type: System..::..Int32
Page size
recordCount
Type: System..::..Int32%
Total record count

Return Value

Type: List<(Of <(<'SnCommentDTO>)>)>
Collection of comment items

Implements

ICommentBLL..::..GetComments(Guid, Guid, Guid, Int32, Boolean, Boolean, Boolean, Int32, Int32, Int32%)

See Also