示例#1
0
 /// <summary>Private CTor for deserialization</summary>
 /// <param name="info"></param>
 /// <param name="context"></param>
 protected CampaignTypeEntity(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     _campaigns               = (Mecca.CMT.DAL.CollectionClasses.CampaignCollection)info.GetValue("_campaigns", typeof(Mecca.CMT.DAL.CollectionClasses.CampaignCollection));
     _alwaysFetchCampaigns    = info.GetBoolean("_alwaysFetchCampaigns");
     _alreadyFetchedCampaigns = info.GetBoolean("_alreadyFetchedCampaigns");
     this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
示例#2
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _campaigns = new Mecca.CMT.DAL.CollectionClasses.CampaignCollection();
            _campaigns.SetContainingEntityInfo(this, "CampaignType");
            PerformDependencyInjection();

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