/// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _customerCustomerDemo = new SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.CustomerCustomerDemoCollection();
            _customerCustomerDemo.SetContainingEntityInfo(this, "CustomerDemographics");
            _customersCollectionViaCustomerCustomerDemo = new SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.CustomerCollection();
            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
Example #2
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _orders = new SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.OrderCollection();
            _orders.SetContainingEntityInfo(this, "Shippers");
            _customersCollectionViaOrders = new SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.CustomerCollection();
            _employeesCollectionViaOrders = new SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.EmployeeCollection();
            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.Auditing.CollectionClasses.CustomerCustomerDemoCollection)info.GetValue("_customerCustomerDemo", typeof(SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.CustomerCustomerDemoCollection));
     _alwaysFetchCustomerCustomerDemo                          = info.GetBoolean("_alwaysFetchCustomerCustomerDemo");
     _alreadyFetchedCustomerCustomerDemo                       = info.GetBoolean("_alreadyFetchedCustomerCustomerDemo");
     _customersCollectionViaCustomerCustomerDemo               = (SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.CustomerCollection)info.GetValue("_customersCollectionViaCustomerCustomerDemo", typeof(SD.LLBLGen.Pro.Examples.Auditing.CollectionClasses.CustomerCollection));
     _alwaysFetchCustomersCollectionViaCustomerCustomerDemo    = info.GetBoolean("_alwaysFetchCustomersCollectionViaCustomerCustomerDemo");
     _alreadyFetchedCustomersCollectionViaCustomerCustomerDemo = info.GetBoolean("_alreadyFetchedCustomersCollectionViaCustomerCustomerDemo");
     this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }