示例#1
0
        private void DeleteUseRowID(Arsg record)
        {
            var row = this.GetRowByRowId(record.rowID, string.Empty);

            if (row == null)
            {
                row = this.dataSet.ttblarsg.NewttblarsgRow();
                Arsg.BuildMinimalRow(ref row, record);
                this.dataSet.ttblarsg.AddttblarsgRow((pdsarsgDataSet.ttblarsgRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }