OwnedNavigationTemporalPeriodPropertyBuilder.IsHidden(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures whether the period column is defined with the SQL Server HIDDEN flag,
which excludes it from SELECT * results.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalPeriodPropertyBuilder IsHidden(bool hidden = true);
abstract member IsHidden : bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalPeriodPropertyBuilder
override this.IsHidden : bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalPeriodPropertyBuilder
Public Overridable Function IsHidden (Optional hidden As Boolean = true) As OwnedNavigationTemporalPeriodPropertyBuilder
Parameters
- hidden
- Boolean
A value indicating whether the column should be hidden.
Returns
The same builder instance so that multiple calls can be chained.
Remarks
The default is true for period columns, matching the behavior of EF Core releases prior to this option being introduced. Set to false to make the column visible.
See Using SQL Server temporal tables with EF Core for more information.