C# Class WaveBox.Core.Model.Repository.AlbumRepository

Inheritance: IAlbumRepository
Afficher le fichier Open project: einsteinx2/WaveBox

Méthodes publiques

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

Method Details

AlbumForId() public méthode

public AlbumForId ( int albumId ) : Album
albumId int
Résultat WaveBox.Core.Model.Album

AlbumForName() public méthode

public AlbumForName ( string albumName, int albumArtistId ) : Album
albumName string
albumArtistId int
Résultat WaveBox.Core.Model.Album

AlbumForName() public méthode

public AlbumForName ( string albumName, int albumArtistId, int releaseYear = null ) : Album
albumName string
albumArtistId int
releaseYear int
Résultat WaveBox.Core.Model.Album

AlbumRepository() public méthode

public AlbumRepository ( IDatabase database, IItemRepository itemRepository ) : System
database IDatabase
itemRepository IItemRepository
Résultat System

AllAlbums() public méthode

public AllAlbums ( ) : IList
Résultat IList

AllWithNoMusicBrainzId() public méthode

public AllWithNoMusicBrainzId ( ) : IList
Résultat IList

CountAlbums() public méthode

public CountAlbums ( ) : int
Résultat int

InsertAlbum() public méthode

public InsertAlbum ( string albumName, int albumArtistId, int releaseYear ) : bool
albumName string
albumArtistId int
releaseYear int
Résultat bool

LimitAlbums() public méthode

public LimitAlbums ( int index, int duration = Int32.MinValue ) : IList
index int
duration int
Résultat IList

RandomAlbums() public méthode

public RandomAlbums ( int limit = 10 ) : IList
limit int
Résultat IList

RangeAlbums() public méthode

public RangeAlbums ( char start, char end ) : IList
start char
end char
Résultat IList

SearchAlbums() public méthode

public SearchAlbums ( string field, string query, bool exact = true ) : IList
field string
query string
exact bool
Résultat IList