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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for