/// <summary>Private CTor for deserialization</summary> /// <param name="info"></param> /// <param name="context"></param> protected CityEntity(SerializationInfo info, StreamingContext context) : base(info, context) { _storeInformations = (ProductSearchEngine.CollectionClasses.StoreInformationCollection)info.GetValue("_storeInformations", typeof(ProductSearchEngine.CollectionClasses.StoreInformationCollection)); _alwaysFetchStoreInformations = info.GetBoolean("_alwaysFetchStoreInformations"); _alreadyFetchedStoreInformations = info.GetBoolean("_alreadyFetchedStoreInformations"); 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() { _storeInformations = new ProductSearchEngine.CollectionClasses.StoreInformationCollection(); _storeInformations.SetContainingEntityInfo(this, "City"); PerformDependencyInjection(); // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers // __LLBLGENPRO_USER_CODE_REGION_END OnInitClassMembersComplete(); }