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

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

공개 메소드들

메소드 설명
AlbumForId ( int albumId ) : Album
AlbumForName ( string albumName, int albumArtistId ) : Album
AlbumForName ( string albumName, int albumArtistId, int releaseYear = null ) : Album
AlbumRepository ( IDatabase database, IItemRepository itemRepository ) : System
AllAlbums ( ) : IList
AllWithNoMusicBrainzId ( ) : IList
CountAlbums ( ) : int
InsertAlbum ( string albumName, int albumArtistId, int releaseYear ) : bool
LimitAlbums ( int index, int duration = Int32.MinValue ) : IList
RandomAlbums ( int limit = 10 ) : IList
RangeAlbums ( char start, char end ) : IList
SearchAlbums ( string field, string query, bool exact = true ) : IList

메소드 상세

AlbumForId() 공개 메소드

public AlbumForId ( int albumId ) : Album
albumId int
리턴 WaveBox.Core.Model.Album

AlbumForName() 공개 메소드

public AlbumForName ( string albumName, int albumArtistId ) : Album
albumName string
albumArtistId int
리턴 WaveBox.Core.Model.Album

AlbumForName() 공개 메소드

public AlbumForName ( string albumName, int albumArtistId, int releaseYear = null ) : Album
albumName string
albumArtistId int
releaseYear int
리턴 WaveBox.Core.Model.Album

AlbumRepository() 공개 메소드

public AlbumRepository ( IDatabase database, IItemRepository itemRepository ) : System
database IDatabase
itemRepository IItemRepository
리턴 System

AllAlbums() 공개 메소드

public AllAlbums ( ) : IList
리턴 IList

AllWithNoMusicBrainzId() 공개 메소드

public AllWithNoMusicBrainzId ( ) : IList
리턴 IList

CountAlbums() 공개 메소드

public CountAlbums ( ) : int
리턴 int

InsertAlbum() 공개 메소드

public InsertAlbum ( string albumName, int albumArtistId, int releaseYear ) : bool
albumName string
albumArtistId int
releaseYear int
리턴 bool

LimitAlbums() 공개 메소드

public LimitAlbums ( int index, int duration = Int32.MinValue ) : IList
index int
duration int
리턴 IList

RandomAlbums() 공개 메소드

public RandomAlbums ( int limit = 10 ) : IList
limit int
리턴 IList

RangeAlbums() 공개 메소드

public RangeAlbums ( char start, char end ) : IList
start char
end char
리턴 IList

SearchAlbums() 공개 메소드

public SearchAlbums ( string field, string query, bool exact = true ) : IList
field string
query string
exact bool
리턴 IList