SqlServerMemoryOptimizedTablesConvention Class
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.
A convention that configures indexes as non-clustered for memory-optimized tables.
public class SqlServerMemoryOptimizedTablesConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IIndexAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IKeyAddedConvention
type SqlServerMemoryOptimizedTablesConvention = class
interface IEntityTypeAnnotationChangedConvention
interface IConvention
interface IKeyAddedConvention
interface IIndexAddedConvention
Public Class SqlServerMemoryOptimizedTablesConvention
Implements IEntityTypeAnnotationChangedConvention, IIndexAddedConvention, IKeyAddedConvention
- Inheritance
-
SqlServerMemoryOptimizedTablesConvention
- Implements
See Model building conventions, and Accessing SQL Server and Azure SQL databases with EF Core for more information and examples.
Sql |
Creates a new instance of SqlServerMemoryOptimizedTablesConvention. |
Dependencies |
Dependencies for this service. |
Relational |
Relational provider-specific dependencies for this service. |
Process |
Called after an annotation is changed on an entity type. |
Process |
Called after an index is added to the entity type. |
Process |
Called after a key is added to the entity type. |
מוצר | גירסאות |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
משוב של Entity Framework
Entity Framework הוא פרויקט קוד פתוח. בחר קישור כדי לספק משוב: