Example #1
0
        public TestSingleResult <Customer> Get(int key)
        {
            ResetDataSource();
            var db = new AggregationContext();

            return(TestSingleResult.Create(db.Customers.Where(c => c.Id == key)));
        }
Example #2
0
        public IQueryable <Customer> Get()
        {
            ResetDataSource();
            var db = new AggregationContext();

            return(db.Customers);
        }
Example #3
0
 public override bool CleanCommands()
 {
     AggregationContext.CleanCommands();
     return(true);
 }