C# 클래스 Podcatcher.PodcastSqlModel

상속: DataContext, INotifyPropertyChanged
파일 보기 프로젝트 열기: kypeli/Podcatcher 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Episodes Table
PlayHistory Table
Settings Table
Subscriptions Table

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
createSettings ( ) : void
episodesForTitle ( String episodeTitle ) : PodcastEpisodeModel
isValidSubscriptionModelIndex ( int index ) : bool

메소드 상세

PodcastSqlModel() 공개 메소드

public PodcastSqlModel ( ) : System
리턴 System

addEpisodeToPlayHistory() 공개 메소드

public addEpisodeToPlayHistory ( PodcastEpisodeModel episode ) : void
episode Podcatcher.ViewModels.PodcastEpisodeModel
리턴 void

addSubscription() 공개 메소드

public addSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel podcastModel ) : void
podcastModel Podcatcher.ViewModels.PodcastSubscriptionModel
리턴 void

allEpisodes() 공개 메소드

public allEpisodes ( ) : List
리턴 List

createDB() 공개 메소드

public createDB ( ) : void
리턴 void

deleteEpisodeFromDB() 공개 메소드

public deleteEpisodeFromDB ( PodcastEpisodeModel episode ) : void
episode Podcatcher.ViewModels.PodcastEpisodeModel
리턴 void

deleteEpisodesPerQuery() 공개 메소드

public deleteEpisodesPerQuery ( IEnumerable query ) : void
query IEnumerable
리턴 void

deleteSubscription() 공개 메소드

public deleteSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel podcastModel ) : void
podcastModel Podcatcher.ViewModels.PodcastSubscriptionModel
리턴 void

episodeForEpisodeId() 공개 메소드

public episodeForEpisodeId ( int episodeId ) : PodcastEpisodeModel
episodeId int
리턴 Podcatcher.ViewModels.PodcastEpisodeModel

episodeForPlaylistItem() 공개 메소드

public episodeForPlaylistItem ( PlaylistItem item ) : PodcastEpisodeModel
item Podcatcher.ViewModels.PlaylistItem
리턴 Podcatcher.ViewModels.PodcastEpisodeModel

episodesForSubscription() 공개 메소드

public episodesForSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel subscriptionModel ) : List
subscriptionModel Podcatcher.ViewModels.PodcastSubscriptionModel
리턴 List

episodesForSubscriptionId() 공개 메소드

public episodesForSubscriptionId ( int podcastId ) : List
podcastId int
리턴 List

insertEpisodesForSubscription() 공개 메소드

public insertEpisodesForSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel subscriptionModel, List newPodcastEpisodes ) : void
subscriptionModel Podcatcher.ViewModels.PodcastSubscriptionModel
newPodcastEpisodes List
리턴 void

isPodcastInDB() 공개 메소드

public isPodcastInDB ( string subscriptionRssUrl ) : bool
subscriptionRssUrl string
리턴 bool

playableEpisodesForSubscription() 공개 메소드

public playableEpisodesForSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel subscription ) : IEnumerable
subscription Podcatcher.ViewModels.PodcastSubscriptionModel
리턴 IEnumerable

settings() 공개 메소드

public settings ( ) : SettingsModel
리턴 Podcatcher.ViewModels.SettingsModel

subscriptionModelForIndex() 공개 메소드

public subscriptionModelForIndex ( int index ) : Podcatcher.ViewModels.PodcastSubscriptionModel
index int
리턴 Podcatcher.ViewModels.PodcastSubscriptionModel

unplayedEpisodesForSubscription() 공개 메소드

public unplayedEpisodesForSubscription ( Podcatcher.ViewModels.PodcastSubscriptionModel subscription ) : List
subscription Podcatcher.ViewModels.PodcastSubscriptionModel
리턴 List

unplayedEpisodesForSubscription() 공개 메소드

public unplayedEpisodesForSubscription ( int subscriptionId ) : List
subscriptionId int
리턴 List

프로퍼티 상세

Episodes 공개적으로 프로퍼티

public Table Episodes
리턴 Table

PlayHistory 공개적으로 프로퍼티

public Table PlayHistory
리턴 Table

Settings 공개적으로 프로퍼티

public Table Settings
리턴 Table

Subscriptions 공개적으로 프로퍼티

public Table Subscriptions
리턴 Table