Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to fluently map subclass for class mapped by hbm files #198

Open
xorets opened this issue Dec 14, 2012 · 2 comments
Open

Ability to fluently map subclass for class mapped by hbm files #198

xorets opened this issue Dec 14, 2012 · 2 comments

Comments

@xorets
Copy link

xorets commented Dec 14, 2012

In our project we have a lot of classes that are already mapped by "traditional" method - hbm.xml file for each class. In new subprojects we started to introduce fluent nhibernate and encountered the problem - one can not map fluently a class that should be a joined-subclass of a class mapped with a file.

Generally it shouldn't be a problem. In configuration XML it is possible to separate sublclasses to different files.

@chester89
Copy link
Collaborator

I'll take a look, but if it's possible to do it, the solution is unlikely to be included in next planned release

@Meberem
Copy link

Meberem commented Jun 13, 2019

I'm trying to do this as well, I am using NHibernate.AspNetCore.Identity so I can get NHiberate to replace EntityFramework in my ASP project but I cannot use SubclassMap<AppUser> as the type is not mapped. Is this still a possibility?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants