在使用流畅的nhibernate设置映射之后,有没有办法从类类型中获取实体的表名?
我已经阅读了常规的nhiberante,你可以做类似的事情cfg.GetClassMapping(typeof (Employee)).我想做类型的事情来检索数据库表名称.
cfg.GetClassMapping(typeof (Employee))
这可能是标准的,或者我将如何解决这个问题?
fluent-nhibernate
fluent-nhibernate ×1