C# Класс GSoft.Dynamite.Examples.Repositories.WallReplyRepository

Data access for wall replies
Наследование: IWallReplyRepository
Показать файл Открыть проект

Открытые методы

Метод Описание
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