Skip to content

Allow configuring period columns as not hidden #36608

@AndriySvyryd

Description

@AndriySvyryd
builder.Entity<MyEntity>(e => {
    e.ToTable(b => b.IsTemporal(t =>
    {
        t.PeriodColumnsHidden(false);
        t.HasPeriodStart("PeriodStart").HasColumnName("PeriodStart");
        t.HasPeriodEnd("PeriodEnd").HasColumnName("PeriodEnd");
    }));
});

The implementation would involve adding IsHidden, SetIsHidden and related extension methods at the IMutableProperty level, then flowing this through the RelationalModel to SqlServerMigrationsSqlGenerator.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions