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.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för