public void Delete(Hlp record) { var row = this.GetRowByRowId(record.rowID, string.Empty); if (row == null) { row = this.dataSet.ttblhlp.NewttblhlpRow(); Hlp.BuildMinimalRow(ref row, record); this.dataSet.ttblhlp.AddttblhlpRow((pdshlpDataSet.ttblhlpRow)row); } row.Delete(); this.SaveChanges(); }