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

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

공개 메소드들

메소드 설명
AllWallPosts ( SPWeb web ) : IEnumerable

Retrieves all wall posts from SharePoint list

Create ( SPWeb web, WallPost newEntity ) : void

Creates a new wall post

WallPostRepository ( ISharePointEntityBinder binder, IWallReplyRepository wallRepliesRepository, ILogger log ) : System.Collections.Generic

Constructor to inject repository dependencies

메소드 상세

AllWallPosts() 공개 메소드

Retrieves all wall posts from SharePoint list
public AllWallPosts ( SPWeb web ) : IEnumerable
web SPWeb The current web
리턴 IEnumerable

Create() 공개 메소드

Creates a new wall post
public Create ( SPWeb web, WallPost newEntity ) : void
web SPWeb The current web
newEntity GSoft.Dynamite.Examples.Entities.WallPost The new wall post entity
리턴 void

WallPostRepository() 공개 메소드

Constructor to inject repository dependencies
public WallPostRepository ( ISharePointEntityBinder binder, IWallReplyRepository wallRepliesRepository, ILogger log ) : System.Collections.Generic
binder ISharePointEntityBinder The entity binder for mappings between list items and entities
wallRepliesRepository IWallReplyRepository Wall replies repository
log ILogger Logging utility
리턴 System.Collections.Generic