C# Class SigTrade.Models.CommentsRepository

Inheritance: ICommentsRepository
Show file Open project: unepwcmc/sigtrade Class Usage Examples

Public Methods

Method Description
DeleteComment ( int ID ) : void
Save ( Comment c ) : int
getCommentByID ( int ID ) : Comment
getCommentsByID ( int SourceID, int SourceType, string RoleAccess ) : IList
updateComment ( Comment c ) : int

Method Details

DeleteComment() public method

public DeleteComment ( int ID ) : void
ID int
return void

Save() public method

public Save ( Comment c ) : int
c Comment
return int

getCommentByID() public method

public getCommentByID ( int ID ) : Comment
ID int
return Comment

getCommentsByID() public method

public getCommentsByID ( int SourceID, int SourceType, string RoleAccess ) : IList
SourceID int
SourceType int
RoleAccess string
return IList

updateComment() public method

public updateComment ( Comment c ) : int
c Comment
return int