public void RemoveInspectionYearlySheduleRow(InspectionYearlySheduleRow row) { this.Rows.Remove(row); }
public void AddInspectionYearlySheduleRow(InspectionYearlySheduleRow row) { this.Rows.Add(row); }
public InspectionItenaryRow AddInspectionItenaryRow(System.Guid ItenaryId, InspectionYearlySheduleRow parentInspectionYearlySheduleRowByFK_InspectionItenary_InspectionYearlyShedule, System.DateTime InspectingDate, System.Guid InspectingOfficeId, System.DateTime EndDate, string ItenaryDetails, string CreatedBy, System.DateTime CreatedAt, string ModifiedBy, System.DateTime ModifiedAt, string Month) { InspectionItenaryRow rowInspectionItenaryRow = ((InspectionItenaryRow)(this.NewRow())); object[] columnValuesArray = new object[] { ItenaryId, null, InspectingDate, InspectingOfficeId, EndDate, ItenaryDetails, CreatedBy, CreatedAt, ModifiedBy, ModifiedAt, Month}; if ((parentInspectionYearlySheduleRowByFK_InspectionItenary_InspectionYearlyShedule != null)) { columnValuesArray[1] = parentInspectionYearlySheduleRowByFK_InspectionItenary_InspectionYearlyShedule[0]; } rowInspectionItenaryRow.ItemArray = columnValuesArray; this.Rows.Add(rowInspectionItenaryRow); return rowInspectionItenaryRow; }
public InspectionYearlySheduleRowChangeEvent(InspectionYearlySheduleRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public InspectionYearlyScheduleDetailRow AddInspectionYearlyScheduleDetailRow(System.Guid DetailScheduleId, InspectionYearlySheduleRow parentInspectionYearlySheduleRowByFK_InspectionYearlyScheduleDetail_InspectionYearlyShedule, decimal Month, string Remarks, string CreatedBy, System.DateTime CreatedAt, string ModifiedBy, System.DateTime ModifiedAt) { InspectionYearlyScheduleDetailRow rowInspectionYearlyScheduleDetailRow = ((InspectionYearlyScheduleDetailRow)(this.NewRow())); object[] columnValuesArray = new object[] { DetailScheduleId, null, Month, Remarks, CreatedBy, CreatedAt, ModifiedBy, ModifiedAt}; if ((parentInspectionYearlySheduleRowByFK_InspectionYearlyScheduleDetail_InspectionYearlyShedule != null)) { columnValuesArray[1] = parentInspectionYearlySheduleRowByFK_InspectionYearlyScheduleDetail_InspectionYearlyShedule[0]; } rowInspectionYearlyScheduleDetailRow.ItemArray = columnValuesArray; this.Rows.Add(rowInspectionYearlyScheduleDetailRow); return rowInspectionYearlyScheduleDetailRow; }