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

            if (row == null)
            {
                row = this.dataSet.ttblgleba.NewttblglebaRow();
                Gleba.BuildMinimalRow(ref row, record);
                this.dataSet.ttblgleba.AddttblglebaRow((pdsglebaDataSet.ttblglebaRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }