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

Add KeyColumn override to AutoMapping<> #468

Merged
merged 2 commits into from
Sep 20, 2020

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
1 participant