I ready the forum thread that has resulted in the DomainUpgradeMode.Legacy mode.

Can I use TableMapping to map to one of the views generated by DO3 for read only access to the DO3 class data?.

I have a number of persistent classes in a large DO3 database that I needed to use in a new module I am developing using DO4.

This thread was imported from our support forum. The original discussion may contain more detailed answer.

asked Mar 02 '10 at 14:14

Tony's gravatar image

Tony
53262628


One Answer:

DO4 still doesn't support mapping for views, even in Legacy mode. Although it's a good idea to implement this ;) We'll think about adding this quickly.

Concerning DO3 databases: as far as I can judge, now it must be possible to map new entities to them in Legacy mode: custom type discriminators are there, so this must work. On the other hand, I'd implement IModule providing values for these type discriminators automatically based on [doSysTypes] table content (or simply adding this info to definitions model).

Summary:

  • There is no view support, but we'll consider implementing it in Legacy mode

  • Most likely, you already can consume v3.9 databases, but ideally you need a module automating extraction & assignment of type discriminator values.

answered Mar 02 '10 at 21:11

Alex%20Yakunin's gravatar image

Alex Yakunin
29714412

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