C# Class GSoft.Dynamite.Examples.Repositories.WallReplyRepository

Data access for wall replies
Inheritance: IWallReplyRepository
Afficher le fichier Open project: GSoft-SharePoint/Dynamite-2010

Méthodes publiques

Méthode Description
Create ( SPWeb web, WallReply newEntity ) : void

Creates a new wall reply

GetWallRepliesByPostId ( SPWeb web, int parentPostId ) : IEnumerable

Retrieves all wall replies by their wall post id

WallReplyRepository ( ISharePointEntityBinder binder ) : System.Collections.Generic

Constructor to inject repository dependencies

Method Details

Create() public méthode

Creates a new wall reply
public Create ( SPWeb web, WallReply newEntity ) : void
web SPWeb The current web
newEntity GSoft.Dynamite.Examples.Entities.WallReply The new wall reply entity
Résultat void

GetWallRepliesByPostId() public méthode

Retrieves all wall replies by their wall post id
public GetWallRepliesByPostId ( SPWeb web, int parentPostId ) : IEnumerable
web SPWeb The current web
parentPostId int Id of parent wall post
Résultat IEnumerable

WallReplyRepository() public méthode

Constructor to inject repository dependencies
public WallReplyRepository ( ISharePointEntityBinder binder ) : System.Collections.Generic
binder ISharePointEntityBinder The entity binder for mappings between list items and entities
Résultat System.Collections.Generic