C# 클래스 PhotoGallery.Repositories.PhotoGalleryRepository

파일 보기 프로젝트 열기: csell5/Demos 1 사용 예제들

공개 메소드들

메소드 설명
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