Пример #1
0
        public void Delete(Icsv record)
        {
            var row = this.GetRowByRowId(record.rowID, string.Empty);

            if (row == null)
            {
                row = this.dataSet.ttblicsv.NewttblicsvRow();
                Icsv.BuildMinimalRow(ref row, record);
                this.dataSet.ttblicsv.AddttblicsvRow((pdsicsvDataSet.ttblicsvRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }