private void RefreshFields(CustomerCustomerCustomerDemo tmp)
 {
     _CustomerCustomerDemoInfoExtension.Refresh(this);
     _MyCustomer            = null;
     _MyCustomerDemographic = null;
     OnChange();            // raise an event
 }
Пример #2
0
 private void ProcessRefreshList()
 {
     foreach (CustomerDemographic tmp in _RefreshCustomerDemographics)
     {
         CustomerDemographicInfo.Refresh(tmp);
     }
     foreach (CustomerDemographicCustomerCustomerDemo tmp in _RefreshCustomerDemographicCustomerCustomerDemos)
     {
         CustomerCustomerDemoInfo.Refresh(this, tmp);
     }
 }
 private void ProcessRefreshList()
 {
     foreach (CustomerCustomerDemo tmp in _RefreshCustomerCustomerDemos)
     {
         CustomerCustomerDemoInfo.Refresh(tmp);
         if (tmp._MyCustomerDemographic != null)
         {
             CustomerDemographicInfo.Refresh(tmp._MyCustomerDemographic);
         }
         if (tmp._MyCustomer != null)
         {
             CustomerInfo.Refresh(tmp._MyCustomer);
         }
     }
 }
 // Default Refresh
 public virtual void Refresh(CustomerDemographicInfo tmp)
 {
 }