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

Thanks

Eric

asked Dec 06 '10 at 08:24

Eric's gravatar image

Eric
5111

edited Dec 07 '10 at 04:24

Alex%20Yakunin's gravatar image

Alex Yakunin
29714412


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
22111211

You could use Entity Framework 4 and T4 templates.

answered Jan 07 '11 at 14:24

Janosh's gravatar image

Janosh
47101015

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