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

            if (row == null)
            {
                row = this.dataSet.ttblabc.NewttblabcRow();
                Abc.BuildMinimalRow(ref row, record);
                this.dataSet.ttblabc.AddttblabcRow((pdsabcDataSet.ttblabcRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }