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

            if (row == null)
            {
                row = this.dataSet.ttbltaxtabledtl.NewttbltaxtabledtlRow();
                Taxtabledtl.BuildMinimalRow(ref row, record);
                this.dataSet.ttbltaxtabledtl.AddttbltaxtabledtlRow((pdstaxtabledtlDataSet.ttbltaxtabledtlRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }