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

            if (row == null)
            {
                row = this.dataSet.ttblarsl.NewttblarslRow();
                Arsl.BuildMinimalRow(ref row, record);
                this.dataSet.ttblarsl.AddttblarslRow((pdsarslDataSet.ttblarslRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }