public void TruncateTableWithoutContextTest()
        {
            DestinationTableTruncator d = new DestinationTableTruncator(pipelineContext.DestinationTableName);

            d.TruncateTable();
            Assert.AreEqual(expected: 0, actual: CheckRowCount());
        }
Ejemplo n.º 2
0
        /// <summary>
        /// truncates a table based on the given context
        /// </summary>
        /// <param name="context"></param>
        protected void TruncateTable(PipelineContext context)
        {
            var truncate = new DestinationTableTruncator(context);

            truncate.TruncateTable();
        }