views:

64

answers:

0

I encountered the following troubles: i have two table that have same structure: t_collectingResult_live and t_collectingResult_history, i need to operate them in a same session and i don't think i have to define two entity classes with same structure, but i found that switch the NHibernate.Mapping.PersistentClass.Table.Name between "t_collectingResult_live" and "t_collectingResult_history" in the same session doesn't work. Thanks for any help in advance.

related questions