Link to home
Start Free TrialLog in
Avatar of ulf-jzl
ulf-jzlFlag for Sweden

asked on

EF 4.3: Code First - UnitOfWork & Generic Repository

Hi guys!

I need some help to find some good examples that uses the following:

- Code First (POCO)
- DbContext
- Mapping
- Generic Repository, IRepository<T>
- UnitOfWork, IUnitOfWork

I found this code (http://code.google.com/p/ef4prs/), it has the things I need but it uses a bit too much special code, what I need is a more simpler approach, then using  his ObjectContextBuilder.


Any tips of good examples on this?

Thx :-)
ASKER CERTIFIED SOLUTION
Avatar of ukerandi
ukerandi
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ulf-jzl

ASKER

Thx!

I'm looking for a example that shows UnitOfWork "separated" from the Context class. Where you will have one IUnitOfWork and one UnitOfWork, where these classes are not tightly coupled with the context class.