Hi,
My current project connects to two separate databases almost identical in every respect except for the primary keys. Using NHibernate is it possible to map the ID to some kind of generic type?
Primarily my concern is with mapping the ID to an Int64 or Guid.
Recompiling the project to make the switch is not a problem, I am aware that the mapping file will need to know the correct type, I just want to try and avoid having two separate classes for every table.
Thanks,
Paul