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

Missing Key options for SubclassMap<T> and Join mapping #121

Open
NOtherDev opened this issue Jan 22, 2012 · 0 comments
Open

Missing Key options for SubclassMap<T> and Join mapping #121

NOtherDev opened this issue Jan 22, 2012 · 0 comments
Labels

Comments

@NOtherDev
Copy link

In Fluent NHibernate 1.3 there's no way to set up key column options other than name in SubclassMap<T> maps for joined subclass inheritance strategy. It'll be useful to define different DDL options, like on-delete, foreign-key, unique, etc.

The only key-related method in SubclassMap<T> is:

public void KeyColumn(string column);

Similiar issue is with Join mapping - there's no possibility to map DDL-level key column options apart for name.

See also: http://notherdev.blogspot.com/2012/01/mapping-by-code-inheritance.html and http://notherdev.blogspot.com/2012/01/mapping-by-code-join.html

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

No branches or pull requests

1 participant