コード例 #1
0
 public IEnumerable <Event> GetEventTransactions(DateTime start, DateTime end)
 {
     using (var context = new ETLChatContext())
     {
         return(context.GetEventDetails(start, end));
     }
 }
コード例 #2
0
        public void GetEventDetailsTestWithoutParameters()
        {
            var events = context.GetEventDetails(null, null);

            Assert.IsTrue(events.Count() > 0);
        }