Deletes all unapproved comments for a given parent entity type and parent id or a particular user.

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

Syntax

C#
public virtual void DeleteUnapprovedComments(
	Guid parentId,
	Guid userId,
	int entityType
)
Visual Basic
Public Overridable Sub DeleteUnapprovedComments ( 
	parentId As Guid,
	userId As Guid,
	entityType As Integer
)
Visual C++
public:
virtual void DeleteUnapprovedComments(
	Guid parentId, 
	Guid userId, 
	int entityType
)
F#
abstract DeleteUnapprovedComments : 
        parentId : Guid * 
        userId : Guid * 
        entityType : int -> unit 
override DeleteUnapprovedComments : 
        parentId : Guid * 
        userId : Guid * 
        entityType : int -> unit 

Parameters

parentId
Type: System..::..Guid
Parent ID.
userId
Type: System..::..Guid
User ID.
entityType
Type: System..::..Int32
Parent entity type.

Implements

ICommentBLL..::..DeleteUnapprovedComments(Guid, Guid, Int32)

See Also