Cleaning the unittest database

            using (var logic = new LogicBase())
            {
                var truncateScript = @"EXEC sp_msforeachtable ""ALTER TABLE ? NOCHECK CONSTRAINT all"" " +
                                     @"EXEC sp_MSForEachTable ""DELETE FROM ? "" " +
                                     @"EXEC sp_msforeachtable ""ALTER TABLE ? WITH CHECK CHECK CONSTRAINT all"" ";

                 logic.db.Database.ExecuteSqlCommand(truncateScript);
            }

{{opmerking.Naam}}:

{{opmerking.OpmerkingText}}

            

Saving your comment....

Naam is verplicht!
Email is verplicht!
Opmerking is verplicht!