Example #1
0
        public void DeleteTFileTest()
        {
            var file = treatFileQueryHql.GetTreat_fileByID(10);

            treatFileQueryHql.DeleteTreat_file(file);
            var testFile = treatFileQueryHql.GetTreat_fileByID(10);

            Assert.IsNull(testFile);
        }
Example #2
0
        public void DeleteTFileById(int id)
        {
            Treat_file tFile = GetTFileById(id);

            helperT.DeleteTreat_file(tFile);
        }