public InspectionDetailsRowChangeEvent(InspectionDetailsRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveInspectionDetailsRow(InspectionDetailsRow row) { this.Rows.Remove(row); }
public void AddInspectionDetailsRow(InspectionDetailsRow row) { this.Rows.Add(row); }
public InspectingOfficerRow AddInspectingOfficerRow(InspectionDetailsRow parentInspectionDetailsRowByFK_InspectingOfficer_InspectionDetails, System.Guid InspectingOfficerId) { InspectingOfficerRow rowInspectingOfficerRow = ((InspectingOfficerRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, InspectingOfficerId}; if ((parentInspectionDetailsRowByFK_InspectingOfficer_InspectionDetails != null)) { columnValuesArray[0] = parentInspectionDetailsRowByFK_InspectingOfficer_InspectionDetails[0]; } rowInspectingOfficerRow.ItemArray = columnValuesArray; this.Rows.Add(rowInspectingOfficerRow); return rowInspectingOfficerRow; }
public InspectionQueriesRow AddInspectionQueriesRow(System.Guid QueryId, InspectionDetailsRow parentInspectionDetailsRowByFK_InspectionQueries_InspectionDetails, System.Guid CheckListId, string Query, bool Received, string Remarks, string CreatedBy, System.DateTime CreatedAt, string ModifiedBy, System.DateTime ModifiedAt, bool IsDeleted, string DeletedBy, System.DateTime DeletedAt) { InspectionQueriesRow rowInspectionQueriesRow = ((InspectionQueriesRow)(this.NewRow())); object[] columnValuesArray = new object[] { QueryId, null, CheckListId, Query, Received, Remarks, CreatedBy, CreatedAt, ModifiedBy, ModifiedAt, IsDeleted, DeletedBy, DeletedAt}; if ((parentInspectionDetailsRowByFK_InspectionQueries_InspectionDetails != null)) { columnValuesArray[1] = parentInspectionDetailsRowByFK_InspectionQueries_InspectionDetails[0]; } rowInspectionQueriesRow.ItemArray = columnValuesArray; this.Rows.Add(rowInspectionQueriesRow); return rowInspectionQueriesRow; }
public CheckListInspectionRow AddCheckListInspectionRow(InspectionDetailsRow parentInspectionDetailsRowByFK_CheckListInspection_InspectionDetails, InspectionCheckListMasterRow parentInspectionCheckListMasterRowByFK_CheckListInspection_InspectionCheckListMaster, bool Checked, string Remarks, string CreatedBy, System.DateTime CreatedAt, string ModifiedBy, System.DateTime ModifiedAt) { CheckListInspectionRow rowCheckListInspectionRow = ((CheckListInspectionRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, null, Checked, Remarks, CreatedBy, CreatedAt, ModifiedBy, ModifiedAt}; if ((parentInspectionDetailsRowByFK_CheckListInspection_InspectionDetails != null)) { columnValuesArray[0] = parentInspectionDetailsRowByFK_CheckListInspection_InspectionDetails[0]; } if ((parentInspectionCheckListMasterRowByFK_CheckListInspection_InspectionCheckListMaster != null)) { columnValuesArray[1] = parentInspectionCheckListMasterRowByFK_CheckListInspection_InspectionCheckListMaster[0]; } rowCheckListInspectionRow.ItemArray = columnValuesArray; this.Rows.Add(rowCheckListInspectionRow); return rowCheckListInspectionRow; }