/// <summary> /// Create a new ProvinceClientsPerDistPerQuarter object. /// </summary> /// <param name="yearT">Initial value of the YearT property.</param> /// <param name="nUMOFCLIENTS">Initial value of the NUMOFCLIENTS property.</param> /// <param name="dISTRIBUTORNAME">Initial value of the DISTRIBUTORNAME property.</param> /// <param name="quarter">Initial value of the Quarter property.</param> /// <param name="distID">Initial value of the DistID property.</param> public static ProvinceClientsPerDistPerQuarter CreateProvinceClientsPerDistPerQuarter(global::System.Int32 yearT, global::System.Int32 nUMOFCLIENTS, global::System.String dISTRIBUTORNAME, global::System.Int32 quarter, global::System.Int32 distID) { ProvinceClientsPerDistPerQuarter provinceClientsPerDistPerQuarter = new ProvinceClientsPerDistPerQuarter(); provinceClientsPerDistPerQuarter.YearT = yearT; provinceClientsPerDistPerQuarter.NUMOFCLIENTS = nUMOFCLIENTS; provinceClientsPerDistPerQuarter.DISTRIBUTORNAME = dISTRIBUTORNAME; provinceClientsPerDistPerQuarter.Quarter = quarter; provinceClientsPerDistPerQuarter.DistID = distID; return provinceClientsPerDistPerQuarter; }
private void FillDistributorNamesList(ProvinceClientsPerDistPerQuarter 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 }); }