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

Data access for wall replies
Inheritance: IWallReplyRepository
ファイルを表示 Open project: GSoft-SharePoint/Dynamite-2010

Public Methods

Method 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 method

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
return void

GetWallRepliesByPostId() public method

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
return IEnumerable

WallReplyRepository() public method

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