예제 #1
0
        public void Delete(Wave record)
        {
            var row = this.GetRowByRowId(record.rowID, string.Empty);

            if (row == null)
            {
                row = this.dataSet.ttblwave.NewttblwaveRow();
                Wave.BuildMinimalRow(ref row, record);
                this.dataSet.ttblwave.AddttblwaveRow((pdswaveDataSet.ttblwaveRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }