Exemple #1
0
        public void TestListFixedTermsForSpecifiedDoctor(int doctorId, int day)
        {
            SqlCalendar sql = new SqlCalendar();

            IEnumerable <ClassFixedTerms> query =
                from elem in sql.ListFixedTermsForSpecifiedDoctor(doctorId)
                where elem.Day == day
                select elem;

            Assert.Single(query);
        }