Entity Framework Effort

Download Count:
EASY TO
USE
Extend Entity Framework DbContext
// Returns categories stored in the database.
using(NorthwindEntities context =
new NorthwindEntities())
{
return context.Categories.ToList();
}

// Returns categories from in-memory database.
using(NorthwindEntities context =
Effort.ObjectContextFactory
.CreateTransient<NorthwindEntities>())
{
return context.Categories.ToList();
}
EASY TO
CUSTOMIZE
Flexible and feature-rich API
IDataLoader loader = 
new EntityDataLoader("name=NorthwindEntities");

using(NorthwindEntities context =
ObjectContextFactory
.CreateTransient<NorthwindEntities>(loader))
{
return context.Categories.ToList();
}