示例#1
0
        public void Delete(Iceaa record)
        {
            var row = this.GetRowByRowId(record.rowID, string.Empty);

            if (row == null)
            {
                row = this.dataSet.ttbliceaa.NewttbliceaaRow();
                Iceaa.BuildMinimalRow(ref row, record);
                this.dataSet.ttbliceaa.AddttbliceaaRow((pdsiceaaDataSet.ttbliceaaRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }