Пример #1
0
        protected override DatabaseTrackListModel CreateTrackModelFor(DatabaseSource src)
        {
            var model = new PodcastTrackListModel(ServiceManager.DbConnection, DatabaseTrackInfo.Provider, src);

            if (PodcastTrackModel == null)
            {
                PodcastTrackModel = model;
            }

            return(model);
        }
Пример #2
0
        protected override DatabaseTrackListModel CreateTrackModelFor (DatabaseSource src)
        {
            var model = new PodcastTrackListModel (ServiceManager.DbConnection, DatabaseTrackInfo.Provider, src);

            if (PodcastTrackModel == null) {
                PodcastTrackModel = model;
            }

            return model;
        }