Entity Framework Effort


Downloaded more than
0
times !
// 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();
}

What&#39;s EF Effort?

What's EF Effort?

Effort stands for Entity Framework Fake ObjectContext Realization Tool. It is a powerful tool that enables a convenient way to create automated tests for Entity Framework based applications.

When should I use EF Effort?

When should I use EF Effort?

Whenever you need to create a fake or mock database. So you can test your Business Logic Layer (BLL) without worrying about your Data Access Layer (DAL).

Which version of EF is supported?

Which version of EF is supported?

You can use Entity Framework Effort with EF5 and EF6.

Is EF Core supported?

Is EF Core supported?

No, this library doesn't support EF Core yet. There is no planned date yet.

Need more performance?

Need more performance?

Find out how to dramatically improve EF performances with
Entity Framework Extensions

Where can I find examples?

Where can I find examples?

Online examples are now available!

Online Examples

We need your help to support this Entity Framework Effort!

Entity Framework Effort is FREE and always will be.

However, last year alone, we spent over 3000 hours maintaining our free projects! We need resources to keep developing our open-source projects.

We highly appreciate any contribution!


> 3,000+ Requests answered per year
> $100,000 USD investment per year
> 500 Commits per year
> 100 Releases per year