CommentRepo.Get Method

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

Overloads

Get(IEntity) Gets a list of comments for the specified entity.
Get(int) Gets a Comment object from the repository.

Get(IEntity)

Gets a list of comments for the specified entity.

public static IEnumerable<Comment> Get(IEntity entity)

Parameters

entity
IEntity

Returns

System.Collections.Generic.IEnumerable

Get(int)

Gets a Comment object from the repository.

public static Comment Get(int id)

Parameters

id
int

Id (primary key).

Returns

Comment

Returns an instance of the Comment class.