예제 #1
0
        public void DeletePFileTest()
        {
            var file = postFileQueryHql.GetPost_fileById(10);

            postFileQueryHql.DeletePost_file(file);
            var testFile = postFileQueryHql.GetPost_fileById(10);

            Assert.IsNull(testFile);
        }
예제 #2
0
 public Post_file GetPFileById(int id)
 {
     return(helperP.GetPost_fileById(id));
 }