public void Delete(Conv record) { var row = this.GetRowByRowId(record.rowID, string.Empty); if (row == null) { row = this.dataSet.ttblconv.NewttblconvRow(); Conv.BuildMinimalRow(ref row, record); this.dataSet.ttblconv.AddttblconvRow((pdsconvDataSet.ttblconvRow)row); } row.Delete(); this.SaveChanges(); }