8000 Add KeyColumn override to AutoMapping<> by hazzik · Pull Request #468 · nhibernate/fluent-nhibernate · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@hazzik
Copy link
Member
@hazzik hazzik commented Sep 20, 2020
var autoMapper = AutoMap.AssemblyOf<ExampleClass>()
    .Where(t => t.Namespace == "FluentNHibernate.Automapping.TestFixtures")
    .Override<ExampleInheritedClass>(m => m.KeyColumn("MyKey")); // ExampleInheritedClass is joined-subclass

Closes #42

@hazzik hazzik added this to the 3.0.0 milestone Sep 20, 2020
@hazzik hazzik merged commit 7729277 into master Sep 20, 2020
@hazzik hazzik deleted the automapping-override-KeyColumn branch September 20, 2020 01:32
@hazzik hazzik added the feature label Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't override key colum name in JoinedSubClass Automapping

2 participants

0