/// <summary> /// Deprecated Method for adding a new object to the PayrollGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPayrollGroups(PayrollGroup payrollGroup) { base.AddObject("PayrollGroups", payrollGroup); }
/// <summary> /// Create a new PayrollGroup 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="code">Initial value of the Code property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="type">Initial value of the Type property.</param> /// <param name="basic">Initial value of the Basic property.</param> /// <param name="unit">Initial value of the Unit property.</param> /// <param name="startDate">Initial value of the StartDate property.</param> /// <param name="endDate">Initial value of the EndDate property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static PayrollGroup CreatePayrollGroup(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.Byte rowStatus, global::System.String code, global::System.String name, global::System.String type, global::System.Decimal basic, global::System.Byte unit, global::System.DateTime startDate, global::System.DateTime endDate, global::System.String createdBy, global::System.DateTime createdDate) { PayrollGroup payrollGroup = new PayrollGroup(); payrollGroup.Id = id; payrollGroup.RowVersion = rowVersion; payrollGroup.RowStatus = rowStatus; payrollGroup.Code = code; payrollGroup.Name = name; payrollGroup.Type = type; payrollGroup.Basic = basic; payrollGroup.Unit = unit; payrollGroup.StartDate = startDate; payrollGroup.EndDate = endDate; payrollGroup.CreatedBy = createdBy; payrollGroup.CreatedDate = createdDate; return payrollGroup; }