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

            if (row == null)
            {
                row = this.dataSet.ttblbisk.NewttblbiskRow();
                Bisk.BuildMinimalRow(ref row, record);
                this.dataSet.ttblbisk.AddttblbiskRow((pdsbiskDataSet.ttblbiskRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }