public void Delete(Sasgl record) { var row = this.GetRowByRowId(record.rowID, string.Empty); if (row == null) { row = this.dataSet.ttblsasgl.NewttblsasglRow(); Sasgl.BuildMinimalRow(ref row, record); this.dataSet.ttblsasgl.AddttblsasglRow((pdssasglDataSet.ttblsasglRow)row); } row.Delete(); this.SaveChanges(); }