Lenguaje

SqlServerPropertyExtensions.SetIsHidden Method

Definition

Overloads

Name Description
SetIsHidden(IMutableProperty, Nullable<Boolean>)

Sets a value indicating whether the property's column is defined with the SQL Server HIDDEN flag.

SetIsHidden(IConventionProperty, Nullable<Boolean>, Boolean)

Sets a value indicating whether the property's column is defined with the SQL Server HIDDEN flag.

SetIsHidden(IMutableProperty, Nullable<Boolean>)

Source:
SqlServerPropertyExtensions.cs

Sets a value indicating whether the property's column is defined with the SQL Server HIDDEN flag.

public static void SetIsHidden(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, bool? hidden);
static member SetIsHidden : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<bool> -> unit
<Extension()>
Public Sub SetIsHidden (property As IMutableProperty, hidden As Nullable(Of Boolean))

Parameters

property
IMutableProperty

The property.

hidden
Nullable<Boolean>

The value to set; null to remove the explicit configuration.

Applies to

SetIsHidden(IConventionProperty, Nullable<Boolean>, Boolean)

Source:
SqlServerPropertyExtensions.cs

Sets a value indicating whether the property's column is defined with the SQL Server HIDDEN flag.

public static bool? SetIsHidden(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, bool? hidden, bool fromDataAnnotation = false);
static member SetIsHidden : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<bool> * bool -> Nullable<bool>
<Extension()>
Public Function SetIsHidden (property As IConventionProperty, hidden As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)

Parameters

property
IConventionProperty

The property.

hidden
Nullable<Boolean>

The value to set; null to remove the explicit configuration.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to