Hello, is it possible to automatically create the entities from an existing database, or do I have to write the entities by hand?



asked Dec 06 '10 at 08:24

Eric's gravatar image


edited Dec 07 '10 at 04:24

Alex%20Yakunin's gravatar image

Alex Yakunin

2 Answers:

Hello Eric,

Unfortunately, DataObjects.Net doesn't have such a feature yet, so you have to write the appropriate classes by hand.

This link might be useful for you to set up mapping configuration.

answered Dec 06 '10 at 09:25

Dmitri%20Maximov's gravatar image

Dmitri Maximov

You could use Entity Framework 4 and T4 templates.

answered Jan 07 '11 at 14:24

Janosh's gravatar image


Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA