public InspectionDetailsRow AddInspectionDetailsRow(
             System.Guid InspectionId, 
             InspectionTypeMasterRow parentInspectionTypeMasterRowByFK_InspectionDetails_InspectionTypeMaster1, 
             System.Guid InspectingOfficerId, 
             OfficesRow parentOfficesRowByFK_InspectionDetails_Offices, 
             System.Guid LicenseId, 
             string InspectorOfficeName, 
             bool IsDiscrepancyFound, 
             string Remarks, 
             System.Guid InspectionOfficeSI, 
             string InspectorDCName, 
             System.DateTime InspectionSIJoiningDate, 
             string CreatedBy, 
             System.DateTime CreatedAt, 
             string ModifiedBy, 
             System.DateTime ModifiedAt, 
             bool IsDeleted, 
             string DeletedBy, 
             System.DateTime DeletedAt) {
     InspectionDetailsRow rowInspectionDetailsRow = ((InspectionDetailsRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             InspectionId,
             null,
             InspectingOfficerId,
             null,
             LicenseId,
             InspectorOfficeName,
             IsDiscrepancyFound,
             Remarks,
             InspectionOfficeSI,
             InspectorDCName,
             InspectionSIJoiningDate,
             CreatedBy,
             CreatedAt,
             ModifiedBy,
             ModifiedAt,
             IsDeleted,
             DeletedBy,
             DeletedAt};
     if ((parentInspectionTypeMasterRowByFK_InspectionDetails_InspectionTypeMaster1 != null)) {
         columnValuesArray[1] = parentInspectionTypeMasterRowByFK_InspectionDetails_InspectionTypeMaster1[0];
     }
     if ((parentOfficesRowByFK_InspectionDetails_Offices != null)) {
         columnValuesArray[3] = parentOfficesRowByFK_InspectionDetails_Offices[0];
     }
     rowInspectionDetailsRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowInspectionDetailsRow);
     return rowInspectionDetailsRow;
 }
 public InspectionTypeMasterRowChangeEvent(InspectionTypeMasterRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public void RemoveInspectionTypeMasterRow(InspectionTypeMasterRow row) {
     this.Rows.Remove(row);
 }
 public InspectionCheckListMasterRow AddInspectionCheckListMasterRow(System.Guid CheckListId, InspectionTypeMasterRow parentInspectionTypeMasterRowByFK_InspectionCheckListMaster_InspectionTypeMaster, string Description, string CreatedBy, System.DateTime CreatedAt, string ModifiedBy, System.DateTime ModifiedAt, bool IsDeleted, string DeletedBy, System.DateTime DeletedAt, bool IsActive) {
     InspectionCheckListMasterRow rowInspectionCheckListMasterRow = ((InspectionCheckListMasterRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             CheckListId,
             null,
             Description,
             CreatedBy,
             CreatedAt,
             ModifiedBy,
             ModifiedAt,
             IsDeleted,
             DeletedBy,
             DeletedAt,
             IsActive};
     if ((parentInspectionTypeMasterRowByFK_InspectionCheckListMaster_InspectionTypeMaster != null)) {
         columnValuesArray[1] = parentInspectionTypeMasterRowByFK_InspectionCheckListMaster_InspectionTypeMaster[0];
     }
     rowInspectionCheckListMasterRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowInspectionCheckListMasterRow);
     return rowInspectionCheckListMasterRow;
 }
 public void AddInspectionTypeMasterRow(InspectionTypeMasterRow row) {
     this.Rows.Add(row);
 }