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

Inheritance: IArtistRepository
Exibir arquivo Open project: einsteinx2/WaveBox

Public Methods

Method Description
AlbumsForArtistId ( int artistId ) : IList
AllArtists ( ) : IList
AllWithNoMusicBrainzId ( ) : IList
ArtistForId ( int artistId ) : Artist
ArtistForName ( string artistName ) : Artist
ArtistForNameOrCreate ( string artistName ) : Artist
ArtistRepository ( IDatabase database, IItemRepository itemRepository ) : System
CountArtists ( ) : int
InsertArtist ( Artist artist, bool replace = false ) : bool
InsertArtist ( string artistName, bool replace = false ) : bool
LimitArtists ( int index, int duration = Int32.MinValue ) : IList
RangeArtists ( char start, char end ) : IList
SearchArtists ( string field, string query, bool exact = true ) : IList

Method Details

AlbumsForArtistId() public method

public AlbumsForArtistId ( int artistId ) : IList
artistId int
return IList

AllArtists() public method

public AllArtists ( ) : IList
return IList

AllWithNoMusicBrainzId() public method

public AllWithNoMusicBrainzId ( ) : IList
return IList

ArtistForId() public method

public ArtistForId ( int artistId ) : Artist
artistId int
return Artist

ArtistForName() public method

public ArtistForName ( string artistName ) : Artist
artistName string
return Artist

ArtistForNameOrCreate() public method

public ArtistForNameOrCreate ( string artistName ) : Artist
artistName string
return Artist

ArtistRepository() public method

public ArtistRepository ( IDatabase database, IItemRepository itemRepository ) : System
database IDatabase
itemRepository IItemRepository
return System

CountArtists() public method

public CountArtists ( ) : int
return int

InsertArtist() public method

public InsertArtist ( Artist artist, bool replace = false ) : bool
artist Artist
replace bool
return bool

InsertArtist() public method

public InsertArtist ( string artistName, bool replace = false ) : bool
artistName string
replace bool
return bool

LimitArtists() public method

public LimitArtists ( int index, int duration = Int32.MinValue ) : IList
index int
duration int
return IList

RangeArtists() public method

public RangeArtists ( char start, char end ) : IList
start char
end char
return IList

SearchArtists() public method

public SearchArtists ( string field, string query, bool exact = true ) : IList
field string
query string
exact bool
return IList