NHibernate HiLo - one table for all entities

后端 未结 3 1727
醉梦人生
醉梦人生 2021-02-04 17:03

I\'m using NHibernate HiLo as my identity generator. I currently have a sepperate table in my database for each of my entity tables. For example I have Customer and CustomerKey

3条回答
  •  北荒
    北荒 (楼主)
    2021-02-04 17:11

    I have written about this here: http://daniel.wertheim.se/2011/03/08/nhibernate-custom-id-generator/

提交回复
热议问题