public void Delete(Edih record) { var row = this.GetRowByRowId(record.rowID, string.Empty); if (row == null) { row = this.dataSet.ttbledih.NewttbledihRow(); Edih.BuildMinimalRow(ref row, record); this.dataSet.ttbledih.AddttbledihRow((pdsedihDataSet.ttbledihRow)row); } row.Delete(); this.SaveChanges(); }