コード例 #1
0
 private void RefreshFields(CustomerCustomerCustomerDemo tmp)
 {
     _CustomerCustomerDemoInfoExtension.Refresh(this);
     _MyCustomer            = null;
     _MyCustomerDemographic = null;
     OnChange();            // raise an event
 }
コード例 #2
0
        public static void Refresh(Customer myCustomer, CustomerCustomerCustomerDemo tmp)
        {
            CustomerCustomerDemoInfo tmpInfo = GetExistingByPrimaryKey(myCustomer.CustomerID, tmp.CustomerTypeID);

            if (tmpInfo == null)
            {
                return;
            }
            tmpInfo.RefreshFields(tmp);
        }