C# Class Podcatcher.PodcastSqlModel

Inheritance: DataContext, INotifyPropertyChanged
Afficher le fichier Open project: kypeli/Podcatcher Class Usage Examples

Méthodes publiques

Свойство Type Description
Episodes Table
PlayHistory Table
Settings Table
Subscriptions Table

Méthodes publiques

Méthode Description
PodcastSqlModel ( ) : System
addEpisodeToPlayHistory ( PodcastEpisodeModel episode ) : void
addSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel podcastModel ) : void
allEpisodes ( ) : List
createDB ( ) : void
deleteEpisodeFromDB ( PodcastEpisodeModel episode ) : void
deleteEpisodesPerQuery ( IEnumerable query ) : void
deleteSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel podcastModel ) : void
episodeForEpisodeId ( int episodeId ) : PodcastEpisodeModel
episodeForPlaylistItem ( PlaylistItem item ) : PodcastEpisodeModel
episodesForSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel subscriptionModel ) : List
episodesForSubscriptionId ( int podcastId ) : List
insertEpisodesForSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel subscriptionModel, List newPodcastEpisodes ) : void
isPodcastInDB ( string subscriptionRssUrl ) : bool
playableEpisodesForSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel subscription ) : IEnumerable
settings ( ) : SettingsModel
subscriptionModelForIndex ( int index ) : Podcatcher.ViewModels.PodcastSubscriptionModel
unplayedEpisodesForSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel subscription ) : List
unplayedEpisodesForSubscription ( int subscriptionId ) : List

Private Methods

Méthode Description
createSettings ( ) : void
episodesForTitle ( String episodeTitle ) : PodcastEpisodeModel
isValidSubscriptionModelIndex ( int index ) : bool

Method Details

PodcastSqlModel() public méthode

public PodcastSqlModel ( ) : System
Résultat System

addEpisodeToPlayHistory() public méthode

public addEpisodeToPlayHistory ( PodcastEpisodeModel episode ) : void
episode Podcatcher.ViewModels.PodcastEpisodeModel
Résultat void

addSubscription() public méthode

public addSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel podcastModel ) : void
podcastModel Podcatcher.ViewModels.PodcastSubscriptionModel
Résultat void

allEpisodes() public méthode

public allEpisodes ( ) : List
Résultat List

createDB() public méthode

public createDB ( ) : void
Résultat void

deleteEpisodeFromDB() public méthode

public deleteEpisodeFromDB ( PodcastEpisodeModel episode ) : void
episode Podcatcher.ViewModels.PodcastEpisodeModel
Résultat void

deleteEpisodesPerQuery() public méthode

public deleteEpisodesPerQuery ( IEnumerable query ) : void
query IEnumerable
Résultat void

deleteSubscription() public méthode

public deleteSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel podcastModel ) : void
podcastModel Podcatcher.ViewModels.PodcastSubscriptionModel
Résultat void

episodeForEpisodeId() public méthode

public episodeForEpisodeId ( int episodeId ) : PodcastEpisodeModel
episodeId int
Résultat Podcatcher.ViewModels.PodcastEpisodeModel

episodeForPlaylistItem() public méthode

public episodeForPlaylistItem ( PlaylistItem item ) : PodcastEpisodeModel
item Podcatcher.ViewModels.PlaylistItem
Résultat Podcatcher.ViewModels.PodcastEpisodeModel

episodesForSubscription() public méthode

public episodesForSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel subscriptionModel ) : List
subscriptionModel Podcatcher.ViewModels.PodcastSubscriptionModel
Résultat List

episodesForSubscriptionId() public méthode

public episodesForSubscriptionId ( int podcastId ) : List
podcastId int
Résultat List

insertEpisodesForSubscription() public méthode

public insertEpisodesForSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel subscriptionModel, List newPodcastEpisodes ) : void
subscriptionModel Podcatcher.ViewModels.PodcastSubscriptionModel
newPodcastEpisodes List
Résultat void

isPodcastInDB() public méthode

public isPodcastInDB ( string subscriptionRssUrl ) : bool
subscriptionRssUrl string
Résultat bool

playableEpisodesForSubscription() public méthode

public playableEpisodesForSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel subscription ) : IEnumerable
subscription Podcatcher.ViewModels.PodcastSubscriptionModel
Résultat IEnumerable

settings() public méthode

public settings ( ) : SettingsModel
Résultat Podcatcher.ViewModels.SettingsModel

subscriptionModelForIndex() public méthode

public subscriptionModelForIndex ( int index ) : Podcatcher.ViewModels.PodcastSubscriptionModel
index int
Résultat Podcatcher.ViewModels.PodcastSubscriptionModel

unplayedEpisodesForSubscription() public méthode

public unplayedEpisodesForSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel subscription ) : List
subscription Podcatcher.ViewModels.PodcastSubscriptionModel
Résultat List

unplayedEpisodesForSubscription() public méthode

public unplayedEpisodesForSubscription ( int subscriptionId ) : List
subscriptionId int
Résultat List

Property Details

Episodes public_oe property

public Table Episodes
Résultat Table

PlayHistory public_oe property

public Table PlayHistory
Résultat Table

Settings public_oe property

public Table Settings
Résultat Table

Subscriptions public_oe property

public Table Subscriptions
Résultat Table