Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
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 |
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 |
commentText | string | The comment itself. |
approvalStatusId | int | The approval status id. |
ratingId | int | This is not currently implemented. The rating id, or |
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 |
Résultat | System |
public static CommentsWaitingForApprovalCount ( int portalId, int authorUserId ) : int | ||
portalId | int | |
authorUserId | int | |
Résultat | int |