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

            if (row == null)
            {
                row = this.dataSet.ttblslst.NewttblslstRow();
                Slst.BuildMinimalRow(ref row, record);
                this.dataSet.ttblslst.AddttblslstRow((pdsslstDataSet.ttblslstRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }