C# Класс Engage.Dnn.Publish.Comment

Наследование: UserFeedback.Comment
Показать файл Открыть проект

Открытые методы

Метод Описание
Comment ( ) : System

Initializes a new instance of the Comment class.

Comment ( int itemVersionId, int userId, string commentText, int approvalStatusId, int ratingId, string firstName, string lastName, string emailAddress, string url ) : System

Initializes a new instance of the Comment class.

CommentsWaitingForApprovalCount ( int portalId, int authorUserId ) : int
Delete ( ) : void

Deletes this instance.

Save ( ) : void

Saves this instance.

Приватные методы

Метод Описание
Comment ( int commentId, int itemVersionId, int userId, string commentText, int approvalStatusId, System.DateTime createdDate, System.DateTime lastUpdated, int ratingId, string firstName, string lastName, string emailAddress, string url ) : System

Initializes a new instance of the Comment class.

FillComment ( IDataRecord dr ) : UserFeedback.Comment

Fills a Comment from an IDataReader.

GetCommentsByItemId ( int itemId, int approvalStatusId ) : List

Описание методов

Comment() публичный Метод

Initializes a new instance of the Comment class.
public Comment ( ) : System
Результат System

Comment() публичный Метод

Initializes a new instance of the Comment class.
public Comment ( int itemVersionId, int userId, string commentText, int approvalStatusId, int ratingId, string firstName, string lastName, string emailAddress, string url ) : System
itemVersionId int The item version id.
userId int The user id, or null is the user is unauthenticated.
commentText string The comment itself.
approvalStatusId int The approval status id.
ratingId int This is not currently implemented. The rating id, or null if the is not associated with a . This is not currently implemented.
firstName string First name of the commenter. Will be truncated if longer than .
lastName string Last name of the commenter. Will be truncated if longer than .
emailAddress string Email address of the commenter. Will be truncated if longer than .
url string URL of the commenter
Результат System

CommentsWaitingForApprovalCount() публичный статический Метод

public static CommentsWaitingForApprovalCount ( int portalId, int authorUserId ) : int
portalId int
authorUserId int
Результат int

Delete() публичный Метод

Deletes this instance.
public Delete ( ) : void
Результат void

Save() публичный Метод

Saves this instance.
public Save ( ) : void
Результат void