示例#1
0
 /// <summary>
 /// Create a new tblTarget object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="costCentreId">Initial value of the CostCentreId property.</param>
 /// <param name="periodId">Initial value of the PeriodId property.</param>
 /// <param name="targetValue">Initial value of the TargetValue property.</param>
 /// <param name="isQuantityTarget">Initial value of the IsQuantityTarget property.</param>
 /// <param name="iM_DateCreated">Initial value of the IM_DateCreated property.</param>
 /// <param name="iM_DateLastUpdated">Initial value of the IM_DateLastUpdated property.</param>
 /// <param name="iM_Status">Initial value of the IM_Status property.</param>
 public static tblTarget CreatetblTarget(global::System.Guid id, global::System.Guid costCentreId, global::System.Guid periodId, global::System.Decimal targetValue, global::System.Boolean isQuantityTarget, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status)
 {
     tblTarget tblTarget = new tblTarget();
     tblTarget.id = id;
     tblTarget.CostCentreId = costCentreId;
     tblTarget.PeriodId = periodId;
     tblTarget.TargetValue = targetValue;
     tblTarget.IsQuantityTarget = isQuantityTarget;
     tblTarget.IM_DateCreated = iM_DateCreated;
     tblTarget.IM_DateLastUpdated = iM_DateLastUpdated;
     tblTarget.IM_Status = iM_Status;
     return tblTarget;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblTarget EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblTarget(tblTarget tblTarget)
 {
     base.AddObject("tblTarget", tblTarget);
 }