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

            if (row == null)
            {
                row = this.dataSet.ttblmovemst.NewttblmovemstRow();
                Movemst.BuildMinimalRow(ref row, record);
                this.dataSet.ttblmovemst.AddttblmovemstRow((pdsmovemstDataSet.ttblmovemstRow)row);
            }
            row.Delete();
            this.SaveChanges();
        }