protected IList <Employee> GetBdayEmployeesNextDayFromToday() { return(GetSession.CreateQuery("from Employee where IsActive=:IsActive and month(BDay)=:Month and day(BDay)=:Day") .SetBoolean("IsActive", true) .SetInt32("Month", DateTime.Now.Month) .SetInt32("Day", DateTime.Now.AddDays(1).Day) .List <Employee>()); }