コード例 #1
0
        public void TestDeleteTerm()
        {
            SqlCalendar sql = new SqlCalendar();

            sql.DeleteTerm(1);

            IEnumerable <ClassTerm> query =
                from elem in sql.ListOfTerms()
                where elem.TermId == 1
                select elem;

            Assert.Empty(query);
        }