Esempio n. 1
0
        public void Delete(Links record)
        {
            var row = this.GetRowByRowId(record.rowID, string.Empty);

            if (row == null)
            {
                row = this.dataSet.ttbllinks.NewttbllinksRow();
                Links.BuildMinimalRow(ref row, record);
                this.dataSet.ttbllinks.AddttbllinksRow((pdslinksDataSet.ttbllinksRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }