コード例 #1
0
ファイル: RoleEntity.cs プロジェクト: MichelZ/TVJunkie
 /// <summary>Gets the member collections queue from the queue (base first)</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 protected override void GetFromMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue)
 {
     base.GetFromMemberEntityCollectionsQueue(collectionsQueue);
     this._artworkToRoles = (EntityCollection<ArtworkToRoleEntity>) collectionsQueue.Dequeue();
     this._roleToEpisodes = (EntityCollection<RoleToEpisodeEntity>) collectionsQueue.Dequeue();
     this._roleToSeasons = (EntityCollection<RoleToSeasonEntity>) collectionsQueue.Dequeue();
     this._roleToSeries = (EntityCollection<RoleToSeriesEntity>) collectionsQueue.Dequeue();
 }
コード例 #2
0
ファイル: ContentTypeEntity.cs プロジェクト: MichelZ/TVJunkie
 /// <summary>Gets the member collections queue from the queue (base first)</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 protected override void GetFromMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue)
 {
     base.GetFromMemberEntityCollectionsQueue(collectionsQueue);
     this._importPaths = (EntityCollection<ImportPathEntity>) collectionsQueue.Dequeue();
 }
コード例 #3
0
ファイル: RoleEntity.cs プロジェクト: MichelZ/TVJunkie
 protected RoleEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     if(SerializationHelper.Optimization != SerializationOptimization.Fast)
     {
         _artworkToRoles = (EntityCollection<ArtworkToRoleEntity>)info.GetValue("_artworkToRoles", typeof(EntityCollection<ArtworkToRoleEntity>));
         _roleToEpisodes = (EntityCollection<RoleToEpisodeEntity>)info.GetValue("_roleToEpisodes", typeof(EntityCollection<RoleToEpisodeEntity>));
         _roleToSeasons = (EntityCollection<RoleToSeasonEntity>)info.GetValue("_roleToSeasons", typeof(EntityCollection<RoleToSeasonEntity>));
         _roleToSeries = (EntityCollection<RoleToSeriesEntity>)info.GetValue("_roleToSeries", typeof(EntityCollection<RoleToSeriesEntity>));
         _person = (PersonEntity)info.GetValue("_person", typeof(PersonEntity));
         if(_person!=null)
         {
             _person.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
     }
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
コード例 #4
0
 /// <summary>Gets the member collections queue from the queue (base first)</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 protected override void GetFromMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue)
 {
     base.GetFromMemberEntityCollectionsQueue(collectionsQueue);
     this._importSeriesNameCandidates = (EntityCollection<ImportSeriesNameCandidateEntity>) collectionsQueue.Dequeue();
 }
コード例 #5
0
ファイル: ContentTypeEntity.cs プロジェクト: MichelZ/TVJunkie
 protected ContentTypeEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     if(SerializationHelper.Optimization != SerializationOptimization.Fast)
     {
         _importPaths = (EntityCollection<ImportPathEntity>)info.GetValue("_importPaths", typeof(EntityCollection<ImportPathEntity>));
         this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
     }
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
コード例 #6
0
ファイル: SeriesEntity.cs プロジェクト: MichelZ/TVJunkie
 /// <summary>Gets the member collections queue from the queue (base first)</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 protected override void GetFromMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue)
 {
     base.GetFromMemberEntityCollectionsQueue(collectionsQueue);
     this._artworkToSeries = (EntityCollection<ArtworkToSeriesEntity>) collectionsQueue.Dequeue();
     this._genreToSeries = (EntityCollection<GenreToSeriesEntity>) collectionsQueue.Dequeue();
     this._importSeriesNames = (EntityCollection<ImportSeriesNameEntity>) collectionsQueue.Dequeue();
     this._roleToSeries = (EntityCollection<RoleToSeriesEntity>) collectionsQueue.Dequeue();
     this._seasons = (EntityCollection<SeasonEntity>) collectionsQueue.Dequeue();
 }
コード例 #7
0
 protected ImportSeriesNameEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     if(SerializationHelper.Optimization != SerializationOptimization.Fast)
     {
         _importSeriesNameCandidates = (EntityCollection<ImportSeriesNameCandidateEntity>)info.GetValue("_importSeriesNameCandidates", typeof(EntityCollection<ImportSeriesNameCandidateEntity>));
         _series = (SeriesEntity)info.GetValue("_series", typeof(SeriesEntity));
         if(_series!=null)
         {
             _series.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
     }
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
コード例 #8
0
ファイル: PersonEntity.cs プロジェクト: MichelZ/TVJunkie
 /// <summary>Gets the member collections queue from the queue (base first)</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 protected override void GetFromMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue)
 {
     base.GetFromMemberEntityCollectionsQueue(collectionsQueue);
     this._artworkToPeople = (EntityCollection<ArtworkToPersonEntity>) collectionsQueue.Dequeue();
     this._roles = (EntityCollection<RoleEntity>) collectionsQueue.Dequeue();
 }
コード例 #9
0
ファイル: SeriesEntity.cs プロジェクト: MichelZ/TVJunkie
 protected SeriesEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     if(SerializationHelper.Optimization != SerializationOptimization.Fast)
     {
         _artworkToSeries = (EntityCollection<ArtworkToSeriesEntity>)info.GetValue("_artworkToSeries", typeof(EntityCollection<ArtworkToSeriesEntity>));
         _genreToSeries = (EntityCollection<GenreToSeriesEntity>)info.GetValue("_genreToSeries", typeof(EntityCollection<GenreToSeriesEntity>));
         _importSeriesNames = (EntityCollection<ImportSeriesNameEntity>)info.GetValue("_importSeriesNames", typeof(EntityCollection<ImportSeriesNameEntity>));
         _roleToSeries = (EntityCollection<RoleToSeriesEntity>)info.GetValue("_roleToSeries", typeof(EntityCollection<RoleToSeriesEntity>));
         _seasons = (EntityCollection<SeasonEntity>)info.GetValue("_seasons", typeof(EntityCollection<SeasonEntity>));
         this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
     }
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
コード例 #10
0
ファイル: FileEntity.cs プロジェクト: MichelZ/TVJunkie
 /// <summary>Gets the member collections queue from the queue (base first)</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 protected override void GetFromMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue)
 {
     base.GetFromMemberEntityCollectionsQueue(collectionsQueue);
     this._episodeToFiles = (EntityCollection<EpisodeToFileEntity>) collectionsQueue.Dequeue();
     this._fileAudioStreams = (EntityCollection<FileAudioStreamEntity>) collectionsQueue.Dequeue();
     this._fileVideoStreams = (EntityCollection<FileVideoStreamEntity>) collectionsQueue.Dequeue();
 }
コード例 #11
0
ファイル: FileEntity.cs プロジェクト: MichelZ/TVJunkie
 protected FileEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     if(SerializationHelper.Optimization != SerializationOptimization.Fast)
     {
         _episodeToFiles = (EntityCollection<EpisodeToFileEntity>)info.GetValue("_episodeToFiles", typeof(EntityCollection<EpisodeToFileEntity>));
         _fileAudioStreams = (EntityCollection<FileAudioStreamEntity>)info.GetValue("_fileAudioStreams", typeof(EntityCollection<FileAudioStreamEntity>));
         _fileVideoStreams = (EntityCollection<FileVideoStreamEntity>)info.GetValue("_fileVideoStreams", typeof(EntityCollection<FileVideoStreamEntity>));
         _importPath = (ImportPathEntity)info.GetValue("_importPath", typeof(ImportPathEntity));
         if(_importPath!=null)
         {
             _importPath.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
     }
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
コード例 #12
0
 /// <summary>Gets the member collections queue from the queue (base first)</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 protected override void GetFromMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue)
 {
     base.GetFromMemberEntityCollectionsQueue(collectionsQueue);
     this._artworks = (EntityCollection<ArtworkEntity>) collectionsQueue.Dequeue();
 }
コード例 #13
0
ファイル: ImportPathEntity.cs プロジェクト: MichelZ/TVJunkie
 protected ImportPathEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     if(SerializationHelper.Optimization != SerializationOptimization.Fast)
     {
         _files = (EntityCollection<FileEntity>)info.GetValue("_files", typeof(EntityCollection<FileEntity>));
         _client = (ClientEntity)info.GetValue("_client", typeof(ClientEntity));
         if(_client!=null)
         {
             _client.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         _contentType = (ContentTypeEntity)info.GetValue("_contentType", typeof(ContentTypeEntity));
         if(_contentType!=null)
         {
             _contentType.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
     }
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
コード例 #14
0
ファイル: GenreEntity.cs プロジェクト: MichelZ/TVJunkie
 /// <summary>Gets the member collections queue from the queue (base first)</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 protected override void GetFromMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue)
 {
     base.GetFromMemberEntityCollectionsQueue(collectionsQueue);
     this._genres = (EntityCollection<GenreEntity>) collectionsQueue.Dequeue();
     this._genreToSeries = (EntityCollection<GenreToSeriesEntity>) collectionsQueue.Dequeue();
 }