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

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

Méthodes publiques

Méthode Description
AllGenres ( ) : IList
GenreForId ( int genreId ) : Genre
GenreForName ( string genreName ) : Genre
GenreRepository ( IDatabase database ) : System
InsertGenre ( Genre genre, bool replace = false ) : bool
ListOfAlbums ( int genreId ) : IList
ListOfArtists ( int genreId ) : IList
ListOfFolders ( int genreId ) : IList
ListOfSongs ( int genreId ) : IList

Method Details

AllGenres() public méthode

public AllGenres ( ) : IList
Résultat IList

GenreForId() public méthode

public GenreForId ( int genreId ) : Genre
genreId int
Résultat Genre

GenreForName() public méthode

public GenreForName ( string genreName ) : Genre
genreName string
Résultat Genre

GenreRepository() public méthode

public GenreRepository ( IDatabase database ) : System
database IDatabase
Résultat System

InsertGenre() public méthode

public InsertGenre ( Genre genre, bool replace = false ) : bool
genre Genre
replace bool
Résultat bool

ListOfAlbums() public méthode

public ListOfAlbums ( int genreId ) : IList
genreId int
Résultat IList

ListOfArtists() public méthode

public ListOfArtists ( int genreId ) : IList
genreId int
Résultat IList

ListOfFolders() public méthode

public ListOfFolders ( int genreId ) : IList
genreId int
Résultat IList

ListOfSongs() public méthode

public ListOfSongs ( int genreId ) : IList
genreId int
Résultat IList