Skip to content

Instantly share code, notes, and snippets.

@RemiBou
Created September 12, 2012 10:26
Show Gist options
  • Save RemiBou/3705793 to your computer and use it in GitHub Desktop.
Save RemiBou/3705793 to your computer and use it in GitHub Desktop.
public class FakeMyDbContext : IMyDbContext
{
public FakeMyDbContext(IEnumerable<Customer> customers )
{
Customers = customers.AsQueryable();
}
public IQueryable<Customer> Customers { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment