Dynamicweb 8 Documentation
Comment Class Members
Properties  Methods 


The following tables list the members exposed by Comment.

Public Constructors
 NameDescription
Public ConstructorComment ConstructorInitializes a new instance of the Comment class.  
Top
Public Properties
 NameDescription
Public PropertyActiveGets or sets a value indicating whether this Comment is active.  
Public PropertyCreatedByGets or sets the user id that created this comment, if logged in.  
Public PropertyCreatedDateGets or sets the created date.  
Public PropertyEditedByGets or sets the user id that edited this comment, if logged in.  
Public PropertyEditedDateGets or sets the edited date.  
Public PropertyEmailGets or sets the email of the user who comments.  
Public PropertyIpGets or sets the ip address of the user who commented.  
Public PropertyItemIDGets or sets the ID of the item commented. I.e. the productID, newsid or pageid  
Public PropertyItemTypeGets or sets the type of the item. I.e. page, product, news  
Public PropertyLangIDGets or sets the language identifier - LANG1 for eCommerce, AreaID from pages etc.  
Public PropertyLikesGets or sets the number of likes of this comment.  
Public PropertyNameGets or sets the name of the user who comments.  
Public PropertyNolikesGets or sets the number of nolikes of this comment.  
Public PropertyParentIDGets or sets the ID of the parent comment.  
Public PropertyRatingGets or sets the rating made by the user who comments.  
Public PropertyTextGets or sets the text/comment of the user who comments.  
Public PropertyWebsiteGets or sets the website of the user who comments.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)DeleteOverloaded. Deletes the comment with specified ID.  
Public MethodFillOverridden. Fills the object with data from the specified datareader.  
Public Methodstatic (Shared in Visual Basic)GetCommentByIdGets a comment by Comment id.  
Public Methodstatic (Shared in Visual Basic)GetCommentsGets all the comments.  
Public Methodstatic (Shared in Visual Basic)GetCommentsBySqlGets the comments by SQL.  
Public Methodstatic (Shared in Visual Basic)GetCommentsByTypeAndIdGets the comments by type and id.  
Public Methodstatic (Shared in Visual Basic)GetCommentsByTypeLanguageAndIdOverloaded. Gets the comments by type, language and id.  
Public MethodSaveOverridden. Saves current data to the data base.  
Top
Protected Methods
 NameDescription
Protected MethodFillRowOverridden. Fills the row with the values of the properties.  
Top
See Also

Reference

Comment Class
Dynamicweb.Content.Commenting Namespace

Send Feedback