C# Класс PhotoGallery.Repositories.PhotoGalleryRepository

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateGallery ( string galleryName ) : int
GetCommentsByPhoto ( int id ) : IList
GetCommentsByUser ( ) : IList
GetGallery ( int galleryId ) : dynamic
GetGalleryCount ( string galleryName ) : int
GetGalleryList ( ) : IList
GetPhoto ( int photoId ) : dynamic
GetPhotosForGallery ( int galleryId ) : IList
GetTopPhotosForGallery ( int galleryId ) : IList
InsertComment ( int id, string newComment, int userId ) : void
InsertImage ( int galleryId, int userId, string fileTitle, string fileExtension, string imageFormat, int length, byte image ) : int
InsertPhotoTag ( int id, string tag ) : void
PhotoGalleryRepository ( ) : System
RemovePhoto ( int photoId ) : void

Описание методов

CreateGallery() публичный Метод

public CreateGallery ( string galleryName ) : int
galleryName string
Результат int

GetCommentsByPhoto() публичный Метод

public GetCommentsByPhoto ( int id ) : IList
id int
Результат IList

GetCommentsByUser() публичный Метод

public GetCommentsByUser ( ) : IList
Результат IList

GetGallery() публичный Метод

public GetGallery ( int galleryId ) : dynamic
galleryId int
Результат dynamic

GetGalleryCount() публичный Метод

public GetGalleryCount ( string galleryName ) : int
galleryName string
Результат int

GetGalleryList() публичный Метод

public GetGalleryList ( ) : IList
Результат IList

GetPhoto() публичный Метод

public GetPhoto ( int photoId ) : dynamic
photoId int
Результат dynamic

GetPhotosForGallery() публичный Метод

public GetPhotosForGallery ( int galleryId ) : IList
galleryId int
Результат IList

GetTopPhotosForGallery() публичный Метод

public GetTopPhotosForGallery ( int galleryId ) : IList
galleryId int
Результат IList

InsertComment() публичный Метод

public InsertComment ( int id, string newComment, int userId ) : void
id int
newComment string
userId int
Результат void

InsertImage() публичный Метод

public InsertImage ( int galleryId, int userId, string fileTitle, string fileExtension, string imageFormat, int length, byte image ) : int
galleryId int
userId int
fileTitle string
fileExtension string
imageFormat string
length int
image byte
Результат int

InsertPhotoTag() публичный Метод

public InsertPhotoTag ( int id, string tag ) : void
id int
tag string
Результат void

PhotoGalleryRepository() публичный Метод

public PhotoGalleryRepository ( ) : System
Результат System

RemovePhoto() публичный Метод

public RemovePhoto ( int photoId ) : void
photoId int
Результат void