/// <summary> /// Deprecated Method for adding a new object to the PayrollTransactions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPayrollTransactions(PayrollTransaction payrollTransaction) { base.AddObject("PayrollTransactions", payrollTransaction); }
/// <summary> /// Create a new PayrollTransaction object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="rowStatus">Initial value of the RowStatus property.</param> /// <param name="processDate">Initial value of the ProcessDate property.</param> /// <param name="processBy">Initial value of the ProcessBy property.</param> /// <param name="printDate">Initial value of the PrintDate property.</param> /// <param name="printBy">Initial value of the PrintBy property.</param> /// <param name="printCount">Initial value of the PrintCount property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="value">Initial value of the Value property.</param> /// <param name="isDeduction">Initial value of the IsDeduction property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static PayrollTransaction CreatePayrollTransaction(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.Byte rowStatus, global::System.DateTime processDate, global::System.String processBy, global::System.DateTime printDate, global::System.String printBy, global::System.Int32 printCount, global::System.String name, global::System.Decimal value, global::System.Boolean isDeduction, global::System.String createdBy, global::System.DateTime createdDate) { PayrollTransaction payrollTransaction = new PayrollTransaction(); payrollTransaction.Id = id; payrollTransaction.RowVersion = rowVersion; payrollTransaction.RowStatus = rowStatus; payrollTransaction.ProcessDate = processDate; payrollTransaction.ProcessBy = processBy; payrollTransaction.PrintDate = printDate; payrollTransaction.PrintBy = printBy; payrollTransaction.PrintCount = printCount; payrollTransaction.Name = name; payrollTransaction.Value = value; payrollTransaction.IsDeduction = isDeduction; payrollTransaction.CreatedBy = createdBy; payrollTransaction.CreatedDate = createdDate; return payrollTransaction; }