Dynamicweb.Content.Commenting Namespace : Comment Class |
The following tables list the members exposed by Comment.
Name | Description | |
---|---|---|
Comment Constructor | Initializes a new instance of the Comment class. |
Name | Description | |
---|---|---|
Active | Gets or sets a value indicating whether this Comment is active. | |
CreatedBy | Gets or sets the user id that created this comment, if logged in. | |
CreatedDate | Gets or sets the created date. | |
EditedBy | Gets or sets the user id that edited this comment, if logged in. | |
EditedDate | Gets or sets the edited date. | |
Gets or sets the email of the user who comments. | ||
Ip | Gets or sets the ip address of the user who commented. | |
ItemID | Gets or sets the ID of the item commented. I.e. the productID, newsid or pageid | |
ItemType | Gets or sets the type of the item. I.e. page, product, news | |
LangID | Gets or sets the language identifier - LANG1 for eCommerce, AreaID from pages etc. | |
Likes | Gets or sets the number of likes of this comment. | |
Name | Gets or sets the name of the user who comments. | |
Nolikes | Gets or sets the number of nolikes of this comment. | |
ParentID | Gets or sets the ID of the parent comment. | |
Rating | Gets or sets the rating made by the user who comments. | |
Text | Gets or sets the text/comment of the user who comments. | |
Website | Gets or sets the website of the user who comments. |
Name | Description | |
---|---|---|
Delete | Overloaded. Deletes the comment with specified ID. | |
Fill | Overridden. Fills the object with data from the specified datareader. | |
GetCommentById | Gets a comment by Comment id. | |
GetComments | Gets all the comments. | |
GetCommentsBySql | Gets the comments by SQL. | |
GetCommentsByTypeAndId | Gets the comments by type and id. | |
GetCommentsByTypeLanguageAndId | Overloaded. Gets the comments by type, language and id. | |
Save | Overridden. Saves current data to the data base. |