/// <summary>
 /// Create a new ProvincePerDistributor object.
 /// </summary>
 /// <param name="dISTRIBUTORNAME">Initial value of the DISTRIBUTORNAME property.</param>
 /// <param name="qTY">Initial value of the QTY property.</param>
 /// <param name="monthT">Initial value of the MonthT property.</param>
 /// <param name="yearT">Initial value of the YearT property.</param>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="distID">Initial value of the DistID property.</param>
 public static ProvincePerDistributor CreateProvincePerDistributor(global::System.String dISTRIBUTORNAME, global::System.Int32 qTY, global::System.Int32 monthT, global::System.Int32 yearT, global::System.Int32 productID, global::System.Int32 distID)
 {
     ProvincePerDistributor provincePerDistributor = new ProvincePerDistributor();
     provincePerDistributor.DISTRIBUTORNAME = dISTRIBUTORNAME;
     provincePerDistributor.QTY = qTY;
     provincePerDistributor.MonthT = monthT;
     provincePerDistributor.YearT = yearT;
     provincePerDistributor.ProductID = productID;
     provincePerDistributor.DistID = distID;
     return provincePerDistributor;
 }
 private void FillDistributorNamesList(ProvincePerDistributor 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.DISTRIBUTORNAME });
 }