private void FillDistributorNamesList(ProvincePerCustomerPerDistributorPerChannel dataItem)
 {
     if (_distributors == null)
         _distributors = new Dictionary<int, IdNameObj>();
     if (!_distributors.ContainsKey(dataItem.DistID))
         _distributors.Add(dataItem.DistID, new IdNameObj { Id = dataItem.DistID, Name = dataItem.DistNameEnglish });
 }
 /// <summary>
 /// Create a new ProvincePerCustomerPerDistributorPerChannel object.
 /// </summary>
 /// <param name="channel">Initial value of the Channel property.</param>
 /// <param name="channelType">Initial value of the ChannelType property.</param>
 /// <param name="checkGDate">Initial value of the CheckGDate property.</param>
 /// <param name="distID">Initial value of the DistID property.</param>
 /// <param name="distNameEnglish">Initial value of the DistNameEnglish property.</param>
 /// <param name="dSID">Initial value of the DSID property.</param>
 /// <param name="dSName">Initial value of the DSName property.</param>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="provinceID">Initial value of the ProvinceID property.</param>
 /// <param name="salesQty">Initial value of the SalesQty property.</param>
 /// <param name="id">Initial value of the ID property.</param>
 public static ProvincePerCustomerPerDistributorPerChannel CreateProvincePerCustomerPerDistributorPerChannel(global::System.String channel, global::System.String channelType, global::System.DateTime checkGDate, global::System.Int32 distID, global::System.String distNameEnglish, global::System.Int32 dSID, global::System.String dSName, global::System.Int32 productID, global::System.Int32 provinceID, global::System.Int32 salesQty, global::System.Int32 id)
 {
     ProvincePerCustomerPerDistributorPerChannel provincePerCustomerPerDistributorPerChannel = new ProvincePerCustomerPerDistributorPerChannel();
     provincePerCustomerPerDistributorPerChannel.Channel = channel;
     provincePerCustomerPerDistributorPerChannel.ChannelType = channelType;
     provincePerCustomerPerDistributorPerChannel.CheckGDate = checkGDate;
     provincePerCustomerPerDistributorPerChannel.DistID = distID;
     provincePerCustomerPerDistributorPerChannel.DistNameEnglish = distNameEnglish;
     provincePerCustomerPerDistributorPerChannel.DSID = dSID;
     provincePerCustomerPerDistributorPerChannel.DSName = dSName;
     provincePerCustomerPerDistributorPerChannel.ProductID = productID;
     provincePerCustomerPerDistributorPerChannel.ProvinceID = provinceID;
     provincePerCustomerPerDistributorPerChannel.SalesQty = salesQty;
     provincePerCustomerPerDistributorPerChannel.ID = id;
     return provincePerCustomerPerDistributorPerChannel;
 }