private void LoadSalesData() { CD_DomainContext context = new CD_DomainContext(); string cdIds = DBUtils.Get_CD_ProductIDs(Utils.GetBrandCode(_productBrand)); if (GetDosageSaCodes() != "") cdIds = DBUtils.GetCdProductIds(GetDosageSaCodes()); if (this._regionType == SanofiRegionTypes.Province) context.Load(context.GetProvince_PerCustomer_PerChannelQuery(cdIds, _startDate, _endDate, DBUtils.Get_CD_ProvinceIds(_groupRegionMapId, _productBrand)), ProvincePerCustomerPerChannel_Callback, null); else if (this._regionType == SanofiRegionTypes.TotalIR) context.Load(context.GetTotal_PerCustomer_PerChannelQuery(cdIds, _startDate, _endDate), TotalPerCustomerPerChannel_Callback, null); }