SqlServerEntityTypeExtensions.IsMemoryOptimized 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
IsMemoryOptimized(IEntityType) |
Returns a value indicating whether the entity type is mapped to a memory-optimized table. |
IsMemoryOptimized(IReadOnlyEntityType) |
Returns a value indicating whether the entity type is mapped to a memory-optimized table. |
IsMemoryOptimized(IEntityType)
Returns a value indicating whether the entity type is mapped to a memory-optimized table.
public static bool IsMemoryOptimized (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member IsMemoryOptimized : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> bool
<Extension()>
Public Function IsMemoryOptimized (entityType As IEntityType) As Boolean
Parameters
- entityType
- IEntityType
The entity type.
Returns
true
if the entity type is mapped to a memory-optimized table.
Applies to
IsMemoryOptimized(IReadOnlyEntityType)
Returns a value indicating whether the entity type is mapped to a memory-optimized table.
public static bool IsMemoryOptimized (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member IsMemoryOptimized : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> bool
<Extension()>
Public Function IsMemoryOptimized (entityType As IReadOnlyEntityType) As Boolean
Parameters
- entityType
- IReadOnlyEntityType
The entity type.
Returns
true
if the entity type is mapped to a memory-optimized table.
Applies to
Entity Framework