/// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _stores = new ProductSearchEngine.CollectionClasses.StoreCollection();
            _stores.SetContainingEntityInfo(this, "Membership");
            _storeInformationReturnsNewIfNotFound = false;
            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
 /// <summary>Private CTor for deserialization</summary>
 /// <param name="info"></param>
 /// <param name="context"></param>
 protected MembershipEntity(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     _stores               = (ProductSearchEngine.CollectionClasses.StoreCollection)info.GetValue("_stores", typeof(ProductSearchEngine.CollectionClasses.StoreCollection));
     _alwaysFetchStores    = info.GetBoolean("_alwaysFetchStores");
     _alreadyFetchedStores = info.GetBoolean("_alreadyFetchedStores");
     _storeInformation     = (StoreInformationEntity)info.GetValue("_storeInformation", typeof(StoreInformationEntity));
     if (_storeInformation != null)
     {
         _storeInformation.AfterSave += new EventHandler(OnEntityAfterSave);
     }
     _storeInformationReturnsNewIfNotFound = info.GetBoolean("_storeInformationReturnsNewIfNotFound");
     _alwaysFetchStoreInformation          = info.GetBoolean("_alwaysFetchStoreInformation");
     _alreadyFetchedStoreInformation       = info.GetBoolean("_alreadyFetchedStoreInformation");
     this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _stores = new ProductSearchEngine.CollectionClasses.StoreCollection();
            _stores.SetContainingEntityInfo(this, "Membership");
            _storeInformationReturnsNewIfNotFound = false;
            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
 /// <summary>Private CTor for deserialization</summary>
 /// <param name="info"></param>
 /// <param name="context"></param>
 protected MembershipEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     _stores = (ProductSearchEngine.CollectionClasses.StoreCollection)info.GetValue("_stores", typeof(ProductSearchEngine.CollectionClasses.StoreCollection));
     _alwaysFetchStores = info.GetBoolean("_alwaysFetchStores");
     _alreadyFetchedStores = info.GetBoolean("_alreadyFetchedStores");
     _storeInformation = (StoreInformationEntity)info.GetValue("_storeInformation", typeof(StoreInformationEntity));
     if(_storeInformation!=null)
     {
         _storeInformation.AfterSave+=new EventHandler(OnEntityAfterSave);
     }
     _storeInformationReturnsNewIfNotFound = info.GetBoolean("_storeInformationReturnsNewIfNotFound");
     _alwaysFetchStoreInformation = info.GetBoolean("_alwaysFetchStoreInformation");
     _alreadyFetchedStoreInformation = info.GetBoolean("_alreadyFetchedStoreInformation");
     this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }