C# 클래스 GSoft.Dynamite.Examples.Repositories.WallReplyRepository

Data access for wall replies
상속: IWallReplyRepository
파일 보기 프로젝트 열기: GSoft-SharePoint/Dynamite-2010

공개 메소드들

메소드 설명
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

메소드 상세

Create() 공개 메소드

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
리턴 void

GetWallRepliesByPostId() 공개 메소드

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
리턴 IEnumerable

WallReplyRepository() 공개 메소드

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