/// <summary>Private CTor for deserialization</summary> /// <param name="info"></param> /// <param name="context"></param> protected CustomerDemographicEntity(SerializationInfo info, StreamingContext context) : base(info, context) { _customerCustomerDemos = (Northwind.SSDAL.CollectionClasses.CustomerCustomerDemoCollection)info.GetValue("_customerCustomerDemos", typeof(Northwind.SSDAL.CollectionClasses.CustomerCustomerDemoCollection)); _alwaysFetchCustomerCustomerDemos = info.GetBoolean("_alwaysFetchCustomerCustomerDemos"); _alreadyFetchedCustomerCustomerDemos = info.GetBoolean("_alreadyFetchedCustomerCustomerDemos"); 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() { _customerCustomerDemos = new Northwind.SSDAL.CollectionClasses.CustomerCustomerDemoCollection(); _customerCustomerDemos.SetContainingEntityInfo(this, "CustomerDemographic"); PerformDependencyInjection(); // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers // __LLBLGENPRO_USER_CODE_REGION_END OnInitClassMembersComplete(); }