Example #1
0
 public ItemMasterRow AddItemMasterRow(System.Guid ItemID, string Name, string Description, UOMMasterRow parentUOMMasterRowByFK_ItemMaster_UOMMaster, string CreatedBy, System.DateTime CreatedAt, string ModifiedBy, System.DateTime ModifiedAt, bool IsDeleted) {
     ItemMasterRow rowItemMasterRow = ((ItemMasterRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             ItemID,
             Name,
             Description,
             null,
             CreatedBy,
             CreatedAt,
             ModifiedBy,
             ModifiedAt,
             IsDeleted};
     if ((parentUOMMasterRowByFK_ItemMaster_UOMMaster != null)) {
         columnValuesArray[3] = parentUOMMasterRowByFK_ItemMaster_UOMMaster[0];
     }
     rowItemMasterRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowItemMasterRow);
     return rowItemMasterRow;
 }
Example #2
0
 public void AddUOMMasterRow(UOMMasterRow row) {
     this.Rows.Add(row);
 }
Example #3
0
 public void RemoveUOMMasterRow(UOMMasterRow row) {
     this.Rows.Remove(row);
 }
Example #4
0
 public UOMMasterRowChangeEvent(UOMMasterRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }