public DocumentMasterRowChangeEvent(DocumentMasterRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void AddDocumentMasterRow(DocumentMasterRow row) { this.Rows.Add(row); }
public void RemoveDocumentMasterRow(DocumentMasterRow row) { this.Rows.Remove(row); }
public DocumentChecklistTableRow AddDocumentChecklistTableRow(ValuationFormRow parentValuationFormRowByFK_DocumentChecklistTable_ValuationForm, DocumentMasterRow parentDocumentMasterRowByFK_DocumentChecklistTable_DocumentMaster, bool Submitted, bool NotApplicable, string DocumentNumber, string Remarks, string CreatedBy, System.DateTime CreatedAt, string ModifiedBy, System.DateTime ModifiedAt) { DocumentChecklistTableRow rowDocumentChecklistTableRow = ((DocumentChecklistTableRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, null, Submitted, NotApplicable, DocumentNumber, Remarks, CreatedBy, CreatedAt, ModifiedBy, ModifiedAt}; if ((parentValuationFormRowByFK_DocumentChecklistTable_ValuationForm != null)) { columnValuesArray[0] = parentValuationFormRowByFK_DocumentChecklistTable_ValuationForm[0]; } if ((parentDocumentMasterRowByFK_DocumentChecklistTable_DocumentMaster != null)) { columnValuesArray[1] = parentDocumentMasterRowByFK_DocumentChecklistTable_DocumentMaster[0]; } rowDocumentChecklistTableRow.ItemArray = columnValuesArray; this.Rows.Add(rowDocumentChecklistTableRow); return rowDocumentChecklistTableRow; }