Could anybody help me to find a good tutorial about how can I implement DAO pattern and also tools that help me to create this classes in automated way.
closed as off-topic by durron597, MichaelT, Snowman, amon, Kilian Foth Oct 12 at 9:25
This question appears to be off-topic. The users who voted to close gave this specific reason:
I think it might help you more to google for the repository pattern. It's nearly the same as a DAO, only that DAOs can be finer grained while a repository usually just encapsulates an aggregate root. The principle behind both is the same, though.
As for the code generation: You could just setup a T4 template for them or use an other template engine like NVelocity to create those DAOs automatically. However, if you implement DAOs/Repositories in a generic fashion, then there's little need for code generation in my opinion.
Here's also a tutorial for implementing DAOs with entity framework.