I have one database, but I need two domains. One domain is main and the other one, for example, is included into application plugin DLL. So I need to use it separately, but with one storage (database). How can I deal with it in correct way (with keygenerators etc)? Thanks in advance. |
The easiest way is to use different schemes for each of these domains (see Alternatively, you can use different table mapping names and explicitly specify key generators. If you're interested, I can explain this as well. Likely, further we'll offer more easy options here. E.g. it should be possible to specify table name prefix, as is was possible in v3.X. See this question as well. And this one. Ok, thanks. At that moment I don't need such function, but now I'm sure it exists :) |