/// <summary>Initializes the class members</summary> private void InitClassMembers() { _customerCustomerDemo = new SD.LLBLGen.Pro.Examples.CollectionClasses.CustomerCustomerDemoCollection(); _customerCustomerDemo.SetContainingEntityInfo(this, "CustomerDemography"); _customerCollectionViaCustomerCustomerDemo = new SD.LLBLGen.Pro.Examples.CollectionClasses.CustomerCollection(); 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 CustomerDemographyEntity(SerializationInfo info, StreamingContext context) : base(info, context) { _customerCustomerDemo = (SD.LLBLGen.Pro.Examples.CollectionClasses.CustomerCustomerDemoCollection)info.GetValue("_customerCustomerDemo", typeof(SD.LLBLGen.Pro.Examples.CollectionClasses.CustomerCustomerDemoCollection)); _alwaysFetchCustomerCustomerDemo = info.GetBoolean("_alwaysFetchCustomerCustomerDemo"); _alreadyFetchedCustomerCustomerDemo = info.GetBoolean("_alreadyFetchedCustomerCustomerDemo"); _customerCollectionViaCustomerCustomerDemo = (SD.LLBLGen.Pro.Examples.CollectionClasses.CustomerCollection)info.GetValue("_customerCollectionViaCustomerCustomerDemo", typeof(SD.LLBLGen.Pro.Examples.CollectionClasses.CustomerCollection)); _alwaysFetchCustomerCollectionViaCustomerCustomerDemo = info.GetBoolean("_alwaysFetchCustomerCollectionViaCustomerCustomerDemo"); _alreadyFetchedCustomerCollectionViaCustomerCustomerDemo = info.GetBoolean("_alreadyFetchedCustomerCollectionViaCustomerCustomerDemo"); this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance()); // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor // __LLBLGENPRO_USER_CODE_REGION_END }