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

            if (row == null)
            {
                row = this.dataSet.ttblarsde.NewttblarsdeRow();
                Arsde.BuildMinimalRow(ref row, record);
                this.dataSet.ttblarsde.AddttblarsdeRow((pdsarsdeDataSet.ttblarsdeRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }