Skip to content

Add option to mark non-primary columns as database generated. #11

Closed
@TwentyFourMinutes

Description

Any column should be able to be marked as database generated.

API Proposal

As the configuration possibilities for a single column stack up by now, we should consider adding a new fluent API just for columns.
This could look something like this:

entityBuilder.Property(x => x.Column).WithName("column");

With the option to mark it as database generated:

entityBuilder.Property(x => x.Column).HasDefault();

// Or

entityBuilder.Property(x => x.Column).IsGenerated();

Activity

TwentyFourMinutes

TwentyFourMinutes commented on Sep 5, 2021

@TwentyFourMinutes
OwnerAuthor

Related to #13.

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

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

    Participants

    @TwentyFourMinutes

    Issue actions

      Add option to mark non-primary columns as database generated. · Issue #11 · TwentyFourMinutes/Venflow