I’m working with 2 different DB’s in my app, a big(oracle) one for the online mode and a small(sqlce) one for offline mode.
The problem is with the mappings, the id generation strategy is not the same, I need a custom implementation on the sqlce(something like sequences but for the negative direction).
How can I achieve this ability, without my mapping contain IF’s
here is a good way to implement this http://kinnrot.blogspot.com/2011/02/per-db-conventions-with.html