C# 클래스 WaveBox.Core.Model.Repository.FavoriteRepository

상속: IFavoriteRepository
파일 보기 프로젝트 열기: einsteinx2/WaveBox

공개 메소드들

메소드 설명
AddFavorite ( int favoriteUserId, int favoriteItemId, ItemType favoriteItemType ) : int?
DeleteFavorite ( int favoriteId ) : bool
FavoriteForId ( int favoriteId ) : Favorite
FavoriteRepository ( IDatabase database, IAlbumArtistRepository albumArtistRepository, IAlbumRepository albumRepository, IArtistRepository artistRepository, IFolderRepository folderRepository, IGenreRepository genreRepository, IPlaylistRepository playlistRepository, ISongRepository songRepository, IVideoRepository videoRepository, IItemRepository itemRepository ) : System
FavoritesForAlbumArtistId ( int albumArtistId, int userId ) : IList
FavoritesForArtistId ( int artistId, int userId ) : IList
FavoritesForUserId ( int userId ) : IList
ItemsForFavorites ( IList favorites ) : IList
ItemsForUserId ( int userId ) : IList

메소드 상세

AddFavorite() 공개 메소드

public AddFavorite ( int favoriteUserId, int favoriteItemId, ItemType favoriteItemType ) : int?
favoriteUserId int
favoriteItemId int
favoriteItemType ItemType
리턴 int?

DeleteFavorite() 공개 메소드

public DeleteFavorite ( int favoriteId ) : bool
favoriteId int
리턴 bool

FavoriteForId() 공개 메소드

public FavoriteForId ( int favoriteId ) : Favorite
favoriteId int
리턴 Favorite

FavoriteRepository() 공개 메소드

public FavoriteRepository ( IDatabase database, IAlbumArtistRepository albumArtistRepository, IAlbumRepository albumRepository, IArtistRepository artistRepository, IFolderRepository folderRepository, IGenreRepository genreRepository, IPlaylistRepository playlistRepository, ISongRepository songRepository, IVideoRepository videoRepository, IItemRepository itemRepository ) : System
database IDatabase
albumArtistRepository IAlbumArtistRepository
albumRepository IAlbumRepository
artistRepository IArtistRepository
folderRepository IFolderRepository
genreRepository IGenreRepository
playlistRepository IPlaylistRepository
songRepository ISongRepository
videoRepository IVideoRepository
itemRepository IItemRepository
리턴 System

FavoritesForAlbumArtistId() 공개 메소드

public FavoritesForAlbumArtistId ( int albumArtistId, int userId ) : IList
albumArtistId int
userId int
리턴 IList

FavoritesForArtistId() 공개 메소드

public FavoritesForArtistId ( int artistId, int userId ) : IList
artistId int
userId int
리턴 IList

FavoritesForUserId() 공개 메소드

public FavoritesForUserId ( int userId ) : IList
userId int
리턴 IList

ItemsForFavorites() 공개 메소드

public ItemsForFavorites ( IList favorites ) : IList
favorites IList
리턴 IList

ItemsForUserId() 공개 메소드

public ItemsForUserId ( int userId ) : IList
userId int
리턴 IList