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

            if (row == null)
            {
                row = this.dataSet.ttblarscl.NewttblarsclRow();
                Arscl.BuildMinimalRow(ref row, record);
                this.dataSet.ttblarscl.AddttblarsclRow((pdsarsclDataSet.ttblarsclRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }