Exemple #1
0
        public void TestDeleteCalendarDay()
        {
            SqlCalendar sql = new SqlCalendar();

            sql.DeleteCalendarDay(1);

            IEnumerable <ClassCalendarDay> query =
                from elem in sql.ListOfCalendarDays(1)
                where elem.CalendarDayId == 1
                select elem;

            Assert.Empty(query);
        }