Conventions? Tuna Toksöz Eternal sunshine of the open source mind.
http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Aug 31, 2009 at 8:24 PM, Bruce <[email protected]> wrote: > > I've tried searching on this quite a bit, so hopefully it isn't > something I just plain missed. > > I have a situation where I may need up to three different instances of > the same application sharing a physical database because of a shared- > hosting scenario. To make this work I need to "prefix" the table > names with something to make them unique (e.g. db1_users, db2_users, > etc.). > > It is actually quite easy to automap or directly map the Table name > with the ClassMap, but I can't figure out how to add on a prefix to > all table names globally for the application. > > Any ideas/pointers/advice would be appreciated. > > Bruce > > p.s. If there is a more appropriate forum/discussion for this type of > question, please let me know. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
