Exemplo n.º 1
0
 /// <summary>
 /// Create a new TotalActualPerDistrictPerMonth object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="monthT">Initial value of the MonthT property.</param>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="yearT">Initial value of the YearT property.</param>
 /// <param name="qTY">Initial value of the QTY property.</param>
 /// <param name="districtID">Initial value of the DistrictID property.</param>
 public static TotalActualPerDistrictPerMonth CreateTotalActualPerDistrictPerMonth(global::System.Int32 id, global::System.Int32 monthT, global::System.Int32 productID, global::System.Int32 yearT, global::System.Int32 qTY, global::System.Int32 districtID)
 {
     TotalActualPerDistrictPerMonth totalActualPerDistrictPerMonth = new TotalActualPerDistrictPerMonth();
     totalActualPerDistrictPerMonth.ID = id;
     totalActualPerDistrictPerMonth.MonthT = monthT;
     totalActualPerDistrictPerMonth.ProductID = productID;
     totalActualPerDistrictPerMonth.YearT = yearT;
     totalActualPerDistrictPerMonth.QTY = qTY;
     totalActualPerDistrictPerMonth.DistrictID = districtID;
     return totalActualPerDistrictPerMonth;
 }
Exemplo n.º 2
0
 public static bool Null_Handled(TotalActualPerDistrictPerMonth dataItem)
 {
     if (dataItem == null)
         return false;
     if (dataItem.QTY == null || dataItem.MonthT == null || dataItem.YearT == null
         || dataItem.ProductID == null || dataItem.DistrictID == null)
         return false;
     return true;
 }