public void RemoveVendorMasterRow(VendorMasterRow row) {
     this.Rows.Remove(row);
 }
 public VendorMasterRowChangeEvent(VendorMasterRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public void AddVendorMasterRow(VendorMasterRow row) {
     this.Rows.Add(row);
 }
Example #4
0
 public PurchaseRegHeaderRow AddPurchaseRegHeaderRow(System.Guid PurchaseID, string PurRequsitionNo, VendorMasterRow parentVendorMasterRowByFK_PurchaseRegHeader_VendorMaster, System.DateTime PurchaseDate, System.Guid ReqByEmpID, System.DateTime RequestDate, string Status, string CreatedBy, System.DateTime CreatedAt, string ModifiedBy, System.DateTime ModifiedAt) {
     PurchaseRegHeaderRow rowPurchaseRegHeaderRow = ((PurchaseRegHeaderRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             PurchaseID,
             PurRequsitionNo,
             null,
             PurchaseDate,
             ReqByEmpID,
             RequestDate,
             Status,
             CreatedBy,
             CreatedAt,
             ModifiedBy,
             ModifiedAt};
     if ((parentVendorMasterRowByFK_PurchaseRegHeader_VendorMaster != null)) {
         columnValuesArray[2] = parentVendorMasterRowByFK_PurchaseRegHeader_VendorMaster[0];
     }
     rowPurchaseRegHeaderRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowPurchaseRegHeaderRow);
     return rowPurchaseRegHeaderRow;
 }