Skip to content

[Feature] Create a convention interface for NaturalId (INaturalIdConvention) #607

Open
@alexmurari

Description

@alexmurari

Discussed in #518

Originally posted by alexmurari January 13, 2022
Hi,

I'm looking for an interface like INaturalIdConvention, so I can apply the same casing style to the names of the columns that make up the natural id of my table.

NaturalId().Property(t => t.SomeProperty, /* Make column name snake case */); // <-- I want to move these to a convention.

Is there some way to do it using conventions? Or just manually for each natural id map?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions