Ejemplo n.º 1
0
        /// <summary> Initializes the class members</summary>
        protected virtual void InitClassMembers()
        {
            _category2Post = null;
            _postCollectionViaCategory2Post = null;
            _category1 = null;

            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
Ejemplo n.º 2
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._category2Post = (EntityCollection<Category2PostEntity>) collectionsQueue.Dequeue();
     this._postCollectionViaCategory2Post = (EntityCollection<PostEntity>) collectionsQueue.Dequeue();
 }
Ejemplo n.º 3
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._teamPost = (EntityCollection<TeamPostEntity>) collectionsQueue.Dequeue();
     this._weeklyProgrammeMatch_ = (EntityCollection<WeeklyProgrammeMatchEntity>) collectionsQueue.Dequeue();
     this._weeklyProgrammeMatch = (EntityCollection<WeeklyProgrammeMatchEntity>) collectionsQueue.Dequeue();
     this._postCollectionViaTeamPost = (EntityCollection<PostEntity>) collectionsQueue.Dequeue();
     this._weeklyProgrammeDayCollectionViaWeeklyProgrammeMatch_ = (EntityCollection<WeeklyProgrammeDayEntity>) collectionsQueue.Dequeue();
     this._weeklyProgrammeDayCollectionViaWeeklyProgrammeMatch = (EntityCollection<WeeklyProgrammeDayEntity>) collectionsQueue.Dequeue();
 }
Ejemplo n.º 4
0
        protected Category2Entity(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
            if(SerializationHelper.Optimization != SerializationOptimization.Fast)
            {
                _category2Post = (EntityCollection<Category2PostEntity>)info.GetValue("_category2Post", typeof(EntityCollection<Category2PostEntity>));
                _postCollectionViaCategory2Post = (EntityCollection<PostEntity>)info.GetValue("_postCollectionViaCategory2Post", typeof(EntityCollection<PostEntity>));
                _category1 = (Category1Entity)info.GetValue("_category1", typeof(Category1Entity));
                if(_category1!=null)
                {
                    _category1.AfterSave+=new EventHandler(OnEntityAfterSave);
                }

                base.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
            }

            // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
            // __LLBLGENPRO_USER_CODE_REGION_END
        }
Ejemplo n.º 5
0
        protected TeamEntity(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
            if(SerializationHelper.Optimization != SerializationOptimization.Fast)
            {
                _teamPost = (EntityCollection<TeamPostEntity>)info.GetValue("_teamPost", typeof(EntityCollection<TeamPostEntity>));
                _weeklyProgrammeMatch_ = (EntityCollection<WeeklyProgrammeMatchEntity>)info.GetValue("_weeklyProgrammeMatch_", typeof(EntityCollection<WeeklyProgrammeMatchEntity>));
                _weeklyProgrammeMatch = (EntityCollection<WeeklyProgrammeMatchEntity>)info.GetValue("_weeklyProgrammeMatch", typeof(EntityCollection<WeeklyProgrammeMatchEntity>));
                _postCollectionViaTeamPost = (EntityCollection<PostEntity>)info.GetValue("_postCollectionViaTeamPost", typeof(EntityCollection<PostEntity>));
                _weeklyProgrammeDayCollectionViaWeeklyProgrammeMatch_ = (EntityCollection<WeeklyProgrammeDayEntity>)info.GetValue("_weeklyProgrammeDayCollectionViaWeeklyProgrammeMatch_", typeof(EntityCollection<WeeklyProgrammeDayEntity>));
                _weeklyProgrammeDayCollectionViaWeeklyProgrammeMatch = (EntityCollection<WeeklyProgrammeDayEntity>)info.GetValue("_weeklyProgrammeDayCollectionViaWeeklyProgrammeMatch", typeof(EntityCollection<WeeklyProgrammeDayEntity>));

                base.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
            }

            // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
            // __LLBLGENPRO_USER_CODE_REGION_END
        }
Ejemplo n.º 6
0
        /// <summary> Initializes the class members</summary>
        protected virtual void InitClassMembers()
        {
            _teamPost = null;
            _weeklyProgrammeMatch_ = null;
            _weeklyProgrammeMatch = null;
            _postCollectionViaTeamPost = null;
            _weeklyProgrammeDayCollectionViaWeeklyProgrammeMatch_ = null;
            _weeklyProgrammeDayCollectionViaWeeklyProgrammeMatch = null;

            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
Ejemplo n.º 7
0
        protected TagEntity(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
            if(SerializationHelper.Optimization != SerializationOptimization.Fast)
            {
                _postTag = (EntityCollection<PostTagEntity>)info.GetValue("_postTag", typeof(EntityCollection<PostTagEntity>));
                _postCollectionViaPostTag = (EntityCollection<PostEntity>)info.GetValue("_postCollectionViaPostTag", typeof(EntityCollection<PostEntity>));

                base.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
            }

            // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
            // __LLBLGENPRO_USER_CODE_REGION_END
        }
Ejemplo n.º 8
0
        protected Category1Entity(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
            if(SerializationHelper.Optimization != SerializationOptimization.Fast)
            {
                _category1Post = (EntityCollection<Category1PostEntity>)info.GetValue("_category1Post", typeof(EntityCollection<Category1PostEntity>));
                _category2 = (EntityCollection<Category2Entity>)info.GetValue("_category2", typeof(EntityCollection<Category2Entity>));
                _mainPageBanner = (EntityCollection<MainPageBannerEntity>)info.GetValue("_mainPageBanner", typeof(EntityCollection<MainPageBannerEntity>));
                _postCollectionViaCategory1Post = (EntityCollection<PostEntity>)info.GetValue("_postCollectionViaCategory1Post", typeof(EntityCollection<PostEntity>));

                base.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
            }

            // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
            // __LLBLGENPRO_USER_CODE_REGION_END
        }
Ejemplo n.º 9
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._category1Post = (EntityCollection<Category1PostEntity>) collectionsQueue.Dequeue();
     this._category2Post = (EntityCollection<Category2PostEntity>) collectionsQueue.Dequeue();
     this._postAttachment = (EntityCollection<PostAttachmentEntity>) collectionsQueue.Dequeue();
     this._postTag = (EntityCollection<PostTagEntity>) collectionsQueue.Dequeue();
     this._teamPost = (EntityCollection<TeamPostEntity>) collectionsQueue.Dequeue();
     this._category1CollectionViaCategory1Post = (EntityCollection<Category1Entity>) collectionsQueue.Dequeue();
     this._category2CollectionViaCategory2Post = (EntityCollection<Category2Entity>) collectionsQueue.Dequeue();
     this._tagCollectionViaPostTag = (EntityCollection<TagEntity>) collectionsQueue.Dequeue();
     this._teamCollectionViaTeamPost = (EntityCollection<TeamEntity>) collectionsQueue.Dequeue();
 }
Ejemplo n.º 10
0
        protected PostEntity(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
            if(SerializationHelper.Optimization != SerializationOptimization.Fast)
            {
                _category1Post = (EntityCollection<Category1PostEntity>)info.GetValue("_category1Post", typeof(EntityCollection<Category1PostEntity>));
                _category2Post = (EntityCollection<Category2PostEntity>)info.GetValue("_category2Post", typeof(EntityCollection<Category2PostEntity>));
                _postAttachment = (EntityCollection<PostAttachmentEntity>)info.GetValue("_postAttachment", typeof(EntityCollection<PostAttachmentEntity>));
                _postTag = (EntityCollection<PostTagEntity>)info.GetValue("_postTag", typeof(EntityCollection<PostTagEntity>));
                _teamPost = (EntityCollection<TeamPostEntity>)info.GetValue("_teamPost", typeof(EntityCollection<TeamPostEntity>));
                _category1CollectionViaCategory1Post = (EntityCollection<Category1Entity>)info.GetValue("_category1CollectionViaCategory1Post", typeof(EntityCollection<Category1Entity>));
                _category2CollectionViaCategory2Post = (EntityCollection<Category2Entity>)info.GetValue("_category2CollectionViaCategory2Post", typeof(EntityCollection<Category2Entity>));
                _tagCollectionViaPostTag = (EntityCollection<TagEntity>)info.GetValue("_tagCollectionViaPostTag", typeof(EntityCollection<TagEntity>));
                _teamCollectionViaTeamPost = (EntityCollection<TeamEntity>)info.GetValue("_teamCollectionViaTeamPost", typeof(EntityCollection<TeamEntity>));
                _sysUser = (SysUserEntity)info.GetValue("_sysUser", typeof(SysUserEntity));
                if(_sysUser!=null)
                {
                    _sysUser.AfterSave+=new EventHandler(OnEntityAfterSave);
                }

                base.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
            }

            // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
            // __LLBLGENPRO_USER_CODE_REGION_END
        }
Ejemplo n.º 11
0
        /// <summary> Initializes the class members</summary>
        protected virtual void InitClassMembers()
        {
            _category1Post = null;
            _category2Post = null;
            _postAttachment = null;
            _postTag = null;
            _teamPost = null;
            _category1CollectionViaCategory1Post = null;
            _category2CollectionViaCategory2Post = null;
            _tagCollectionViaPostTag = null;
            _teamCollectionViaTeamPost = null;
            _sysUser = null;

            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }