ITableBase.IsOptional 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.
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)
- Source:
- ITableBase.cs
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)
- Source:
- ITableBase.cs
- Source:
- ITableBase.cs
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
Entity Framework