public void Delete(Vaspsasv record) { var row = this.GetRowByRowId(record.rowID, string.Empty); if (row == null) { row = this.dataSet.ttblvaspsasv.NewttblvaspsasvRow(); Vaspsasv.BuildMinimalRow(ref row, record); this.dataSet.ttblvaspsasv.AddttblvaspsasvRow((pdsvaspsasvDataSet.ttblvaspsasvRow)row); } row.Delete(); this.SaveChanges(); }