ITableBase.IsOptional Method

Definition

Overloads

IsOptional(IEntityType)

Gets the value indicating whether an entity of the given type might not be present in a row.

IsOptional(ITypeBase)

Gets the value indicating whether an entity of the given type might not be present in a row.

IsOptional(IEntityType)

Gets the value indicating whether an entity of the given type might not be present in a row.

public bool IsOptional (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member IsOptional : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> bool
Public Function IsOptional (entityType As IEntityType) As Boolean

Parameters

entityType
IEntityType

Returns

Applies to

IsOptional(ITypeBase)

Gets the value indicating whether an entity of the given type might not be present in a row.

public bool IsOptional (Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
abstract member IsOptional : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> bool
Public Function IsOptional (typeBase As ITypeBase) As Boolean

Parameters

typeBase
ITypeBase

Returns

Applies to