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

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

Méthodes publiques

Méthode Description
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

Method Details

AllWallPosts() public méthode

Retrieves all wall posts from SharePoint list
public AllWallPosts ( SPWeb web ) : IEnumerable
web SPWeb The current web
Résultat IEnumerable

Create() public méthode

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
Résultat void

WallPostRepository() public méthode

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
Résultat System.Collections.Generic