/// <summary>
 /// Create a new TotalActualPerProvincePerMonth object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static TotalActualPerProvincePerMonth CreateTotalActualPerProvincePerMonth(global::System.Int32 id)
 {
     TotalActualPerProvincePerMonth totalActualPerProvincePerMonth = new TotalActualPerProvincePerMonth();
     totalActualPerProvincePerMonth.ID = id;
     return totalActualPerProvincePerMonth;
 }
Exemple #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="dataItem"></param>
 /// <returns>Returns true if ther is no null property</returns>
 public static bool Null_Handled(TotalActualPerProvincePerMonth dataItem)
 {
     if (dataItem == null)
         return false;
     if (dataItem.QTY == null || dataItem.MonthT == null  || dataItem.YearT == null
         || dataItem.ProductID == null || dataItem.ProvinceID == null)
         return false;
     return true;
 }