コード例 #1
0
 /// <summary>Private CTor for deserialization</summary>
 /// <param name="info"></param>
 /// <param name="context"></param>
 protected RoleEntity(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     _memberships               = (ProductSearchEngine.CollectionClasses.MembershipCollection)info.GetValue("_memberships", typeof(ProductSearchEngine.CollectionClasses.MembershipCollection));
     _alwaysFetchMemberships    = info.GetBoolean("_alwaysFetchMemberships");
     _alreadyFetchedMemberships = info.GetBoolean("_alreadyFetchedMemberships");
     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()
        {
            _memberships = new ProductSearchEngine.CollectionClasses.MembershipCollection();
            _memberships.SetContainingEntityInfo(this, "Role");
            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
コード例 #3
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _memberships = new ProductSearchEngine.CollectionClasses.MembershipCollection();
            _memberships.SetContainingEntityInfo(this, "StoreInformation");
            _cityReturnsNewIfNotFound = false;
            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
コード例 #4
0
 /// <summary>Private CTor for deserialization</summary>
 /// <param name="info"></param>
 /// <param name="context"></param>
 protected StoreInformationEntity(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     _memberships               = (ProductSearchEngine.CollectionClasses.MembershipCollection)info.GetValue("_memberships", typeof(ProductSearchEngine.CollectionClasses.MembershipCollection));
     _alwaysFetchMemberships    = info.GetBoolean("_alwaysFetchMemberships");
     _alreadyFetchedMemberships = info.GetBoolean("_alreadyFetchedMemberships");
     _city = (CityEntity)info.GetValue("_city", typeof(CityEntity));
     if (_city != null)
     {
         _city.AfterSave += new EventHandler(OnEntityAfterSave);
     }
     _cityReturnsNewIfNotFound = info.GetBoolean("_cityReturnsNewIfNotFound");
     _alwaysFetchCity          = info.GetBoolean("_alwaysFetchCity");
     _alreadyFetchedCity       = info.GetBoolean("_alreadyFetchedCity");
     this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
コード例 #5
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _memberships = new ProductSearchEngine.CollectionClasses.MembershipCollection();
            _memberships.SetContainingEntityInfo(this, "Role");
            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
コード例 #6
0
 /// <summary>Private CTor for deserialization</summary>
 /// <param name="info"></param>
 /// <param name="context"></param>
 protected RoleEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     _memberships = (ProductSearchEngine.CollectionClasses.MembershipCollection)info.GetValue("_memberships", typeof(ProductSearchEngine.CollectionClasses.MembershipCollection));
     _alwaysFetchMemberships = info.GetBoolean("_alwaysFetchMemberships");
     _alreadyFetchedMemberships = info.GetBoolean("_alreadyFetchedMemberships");
     this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
コード例 #7
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _memberships = new ProductSearchEngine.CollectionClasses.MembershipCollection();
            _memberships.SetContainingEntityInfo(this, "StoreInformation");
            _cityReturnsNewIfNotFound = false;
            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
コード例 #8
0
 /// <summary>Private CTor for deserialization</summary>
 /// <param name="info"></param>
 /// <param name="context"></param>
 protected StoreInformationEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     _memberships = (ProductSearchEngine.CollectionClasses.MembershipCollection)info.GetValue("_memberships", typeof(ProductSearchEngine.CollectionClasses.MembershipCollection));
     _alwaysFetchMemberships = info.GetBoolean("_alwaysFetchMemberships");
     _alreadyFetchedMemberships = info.GetBoolean("_alreadyFetchedMemberships");
     _city = (CityEntity)info.GetValue("_city", typeof(CityEntity));
     if(_city!=null)
     {
         _city.AfterSave+=new EventHandler(OnEntityAfterSave);
     }
     _cityReturnsNewIfNotFound = info.GetBoolean("_cityReturnsNewIfNotFound");
     _alwaysFetchCity = info.GetBoolean("_alwaysFetchCity");
     _alreadyFetchedCity = info.GetBoolean("_alreadyFetchedCity");
     this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }