SqlServerOnDeleteConvention Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Uma convenção que configura o comportamento onDelete para chaves estrangeiras no tipo de entidade de junção para navegação de salto de referência automática
[System.Runtime.CompilerServices.Nullable(0)]
public class SqlServerOnDeleteConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.CascadeDeleteConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationForeignKeyChangedConvention
public class SqlServerOnDeleteConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.CascadeDeleteConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationForeignKeyChangedConvention
public class SqlServerOnDeleteConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.CascadeDeleteConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationForeignKeyChangedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type SqlServerOnDeleteConvention = class
inherit CascadeDeleteConvention
interface ISkipNavigationForeignKeyChangedConvention
interface IConvention
interface IEntityTypeAnnotationChangedConvention
type SqlServerOnDeleteConvention = class
inherit CascadeDeleteConvention
interface ISkipNavigationForeignKeyChangedConvention
interface IConvention
type SqlServerOnDeleteConvention = class
inherit CascadeDeleteConvention
interface ISkipNavigationForeignKeyChangedConvention
interface IConvention
interface IEntityTypeAnnotationChangedConvention
Public Class SqlServerOnDeleteConvention
Inherits CascadeDeleteConvention
Implements IEntityTypeAnnotationChangedConvention, ISkipNavigationForeignKeyChangedConvention
Public Class SqlServerOnDeleteConvention
Inherits CascadeDeleteConvention
Implements ISkipNavigationForeignKeyChangedConvention
- Herança
- Atributos
- Implementações
Comentários
Consulte as convenções de criação de modelo e acessando bancos de dados SQL Server e SQL do Azure com o EF Core para obter mais informações e exemplos.
Construtores
| Nome | Descrição |
|---|---|
| SqlServerOnDeleteConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies) |
Cria uma nova instância de SqlServerOnDeleteConvention. |
Propriedades
| Nome | Descrição |
|---|---|
| Dependencies |
Dependências para esse serviço. (Herdado de CascadeDeleteConvention) |
| RelationalDependencies |
Dependências específicas do provedor relacional para esse serviço. |