Exemplo n.º 1
0
        public void Delete(Icsru record)
        {
            var row = this.GetRowByRowId(record.rowID, string.Empty);

            if (row == null)
            {
                row = this.dataSet.ttblicsru.NewttblicsruRow();
                Icsru.BuildMinimalRow(ref row, record);
                this.dataSet.ttblicsru.AddttblicsruRow((pdsicsruDataSet.ttblicsruRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }