C# Class PhotoGallery.Repositories.PhotoGalleryRepository

Afficher le fichier Open project: csell5/Demos Class Usage Examples

Méthodes publiques

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

Method Details

CreateGallery() public méthode

public CreateGallery ( string galleryName ) : int
galleryName string
Résultat int

GetCommentsByPhoto() public méthode

public GetCommentsByPhoto ( int id ) : IList
id int
Résultat IList

GetCommentsByUser() public méthode

public GetCommentsByUser ( ) : IList
Résultat IList

GetGallery() public méthode

public GetGallery ( int galleryId ) : dynamic
galleryId int
Résultat dynamic

GetGalleryCount() public méthode

public GetGalleryCount ( string galleryName ) : int
galleryName string
Résultat int

GetGalleryList() public méthode

public GetGalleryList ( ) : IList
Résultat IList

GetPhoto() public méthode

public GetPhoto ( int photoId ) : dynamic
photoId int
Résultat dynamic

GetPhotosForGallery() public méthode

public GetPhotosForGallery ( int galleryId ) : IList
galleryId int
Résultat IList

GetTopPhotosForGallery() public méthode

public GetTopPhotosForGallery ( int galleryId ) : IList
galleryId int
Résultat IList

InsertComment() public méthode

public InsertComment ( int id, string newComment, int userId ) : void
id int
newComment string
userId int
Résultat void

InsertImage() public méthode

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

InsertPhotoTag() public méthode

public InsertPhotoTag ( int id, string tag ) : void
id int
tag string
Résultat void

PhotoGalleryRepository() public méthode

public PhotoGalleryRepository ( ) : System
Résultat System

RemovePhoto() public méthode

public RemovePhoto ( int photoId ) : void
photoId int
Résultat void