CommentRepo Class

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

Repo for Comment objects.

public static class CommentRepo
Inheritance:
System.Object → CommentRepo

Methods

Delete(int) Permanently deletes a Comment object from the repository.
Get(IEntity) Gets a list of comments for the specified entity.
Get(int) Gets a Comment object from the repository.
GetCount() Gets the total number of Comment items in the system.
Insert(Comment) Inserts a Comment object into the repository.
Restore(int) Restores a trashed Comment, i.e. clears the IsTrashed flag.
Search(CommentQuery) Performs a search according to the specified CommentQuery object.
Trash(int) Trashes a comment, i.e. sets the IsTrashed flag.
Update(Comment) Updates an existing Comment in the datasource.