public LFS_FM_UNITRowChangeEvent(LFS_FM_UNITRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public void AddLFS_FM_UNITRow(LFS_FM_UNITRow row) {
     this.Rows.Add(row);
 }
 public void RemoveLFS_FM_UNITRow(LFS_FM_UNITRow row) {
     this.Rows.Remove(row);
 }
 public LFS_FM_UNIT_COST_HISTORYRow AddLFS_FM_UNIT_COST_HISTORYRow(LFS_FM_UNITRow parentLFS_FM_UNITRowByLFS_FM_UNIT_LFS_FM_UNIT_COST_HISTORY, int UnitID, System.DateTime Date, string UnitOfMeasurement, decimal CostCad, decimal CostUsd, bool Deleted, int COMPANY_ID) {
     LFS_FM_UNIT_COST_HISTORYRow rowLFS_FM_UNIT_COST_HISTORYRow = ((LFS_FM_UNIT_COST_HISTORYRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             null,
             UnitID,
             Date,
             UnitOfMeasurement,
             CostCad,
             CostUsd,
             Deleted,
             COMPANY_ID};
     if ((parentLFS_FM_UNITRowByLFS_FM_UNIT_LFS_FM_UNIT_COST_HISTORY != null)) {
         columnValuesArray[0] = parentLFS_FM_UNITRowByLFS_FM_UNIT_LFS_FM_UNIT_COST_HISTORY[0];
     }
     rowLFS_FM_UNIT_COST_HISTORYRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowLFS_FM_UNIT_COST_HISTORYRow);
     return rowLFS_FM_UNIT_COST_HISTORYRow;
 }
 public LFS_FM_UNIT_VEHICLERow AddLFS_FM_UNIT_VEHICLERow(
             LFS_FM_UNITRow parentLFS_FM_UNITRowByFK_LFS_FM_UNIT_VEHICLE_LFS_FM_UNIT, 
             long LicenseCountry, 
             long LicenseState, 
             string LicensePlateNumbver, 
             string AportionedTagNumber, 
             string ActualWeight, 
             string RegisteredWeight, 
             string TireSizeFront, 
             string TireSizeBack, 
             string NumberOfAxes, 
             string FuelType, 
             string BeginningOdometer, 
             bool IsReeferEquipped, 
             bool IsPTOEquipped, 
             bool Deleted, 
             int COMPANY_ID) {
     LFS_FM_UNIT_VEHICLERow rowLFS_FM_UNIT_VEHICLERow = ((LFS_FM_UNIT_VEHICLERow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             null,
             LicenseCountry,
             LicenseState,
             LicensePlateNumbver,
             AportionedTagNumber,
             ActualWeight,
             RegisteredWeight,
             TireSizeFront,
             TireSizeBack,
             NumberOfAxes,
             FuelType,
             BeginningOdometer,
             IsReeferEquipped,
             IsPTOEquipped,
             Deleted,
             COMPANY_ID};
     if ((parentLFS_FM_UNITRowByFK_LFS_FM_UNIT_VEHICLE_LFS_FM_UNIT != null)) {
         columnValuesArray[0] = parentLFS_FM_UNITRowByFK_LFS_FM_UNIT_VEHICLE_LFS_FM_UNIT[0];
     }
     rowLFS_FM_UNIT_VEHICLERow.ItemArray = columnValuesArray;
     this.Rows.Add(rowLFS_FM_UNIT_VEHICLERow);
     return rowLFS_FM_UNIT_VEHICLERow;
 }
 public LFS_FM_UNIT_INSPECTIONRow AddLFS_FM_UNIT_INSPECTIONRow(LFS_FM_UNITRow parentLFS_FM_UNITRowByFK_LFS_FM_UNIT_INSPECTION_LFS_FM_UNIT, int InspectionID, System.DateTime Date_, long Country, long State, string Type, string Result, decimal Cost, string Notes, string InspectedBy, string Attach, bool Deleted, int COMPANY_ID) {
     LFS_FM_UNIT_INSPECTIONRow rowLFS_FM_UNIT_INSPECTIONRow = ((LFS_FM_UNIT_INSPECTIONRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             null,
             InspectionID,
             Date_,
             Country,
             State,
             Type,
             Result,
             Cost,
             Notes,
             InspectedBy,
             Attach,
             Deleted,
             COMPANY_ID};
     if ((parentLFS_FM_UNITRowByFK_LFS_FM_UNIT_INSPECTION_LFS_FM_UNIT != null)) {
         columnValuesArray[0] = parentLFS_FM_UNITRowByFK_LFS_FM_UNIT_INSPECTION_LFS_FM_UNIT[0];
     }
     rowLFS_FM_UNIT_INSPECTIONRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowLFS_FM_UNIT_INSPECTIONRow);
     return rowLFS_FM_UNIT_INSPECTIONRow;
 }
 public LFS_FM_UNIT_CATEGORYRow AddLFS_FM_UNIT_CATEGORYRow(LFS_FM_UNITRow parentLFS_FM_UNITRowByFK_LFS_FM_UNIT_CATEGORY_LFS_FM_UNIT, int CategoryID, bool Deleted, int COMPANY_ID) {
     LFS_FM_UNIT_CATEGORYRow rowLFS_FM_UNIT_CATEGORYRow = ((LFS_FM_UNIT_CATEGORYRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             null,
             CategoryID,
             Deleted,
             COMPANY_ID};
     if ((parentLFS_FM_UNITRowByFK_LFS_FM_UNIT_CATEGORY_LFS_FM_UNIT != null)) {
         columnValuesArray[0] = parentLFS_FM_UNITRowByFK_LFS_FM_UNIT_CATEGORY_LFS_FM_UNIT[0];
     }
     rowLFS_FM_UNIT_CATEGORYRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowLFS_FM_UNIT_CATEGORYRow);
     return rowLFS_FM_UNIT_CATEGORYRow;
 }
 public LFS_FM_UNIT_NOTERow AddLFS_FM_UNIT_NOTERow(LFS_FM_UNITRow parentLFS_FM_UNITRowByFK_LFS_FM_UNIT_NOTE_LFS_FM_UNIT, int RefID, string Subject, int UserID, System.DateTime DateTime_, string Note, bool Deleted, int COMPANY_ID, int LIBRARY_FILES_ID) {
     LFS_FM_UNIT_NOTERow rowLFS_FM_UNIT_NOTERow = ((LFS_FM_UNIT_NOTERow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             null,
             RefID,
             Subject,
             UserID,
             DateTime_,
             Note,
             Deleted,
             COMPANY_ID,
             LIBRARY_FILES_ID};
     if ((parentLFS_FM_UNITRowByFK_LFS_FM_UNIT_NOTE_LFS_FM_UNIT != null)) {
         columnValuesArray[0] = parentLFS_FM_UNITRowByFK_LFS_FM_UNIT_NOTE_LFS_FM_UNIT[0];
     }
     rowLFS_FM_UNIT_NOTERow.ItemArray = columnValuesArray;
     this.Rows.Add(rowLFS_FM_UNIT_NOTERow);
     return rowLFS_FM_UNIT_NOTERow;
 }