Partilhar via


SqliteDbContextOptionsBuilder.SuppressForeignKeyEnforcement Método

Definição

Sobrecargas

SuppressForeignKeyEnforcement()

Suprime a imposição de chaves estrangeiras no banco de dados.

SuppressForeignKeyEnforcement(Boolean)

Suprime a imposição de chaves estrangeiras no banco de dados.

SuppressForeignKeyEnforcement()

Suprime a imposição de chaves estrangeiras no banco de dados.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder SuppressForeignKeyEnforcement ();
abstract member SuppressForeignKeyEnforcement : unit -> Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder
override this.SuppressForeignKeyEnforcement : unit -> Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder
Public Overridable Function SuppressForeignKeyEnforcement () As SqliteDbContextOptionsBuilder

Retornos

A mesma instância do construtor para que várias chamadas possam ser encadeadas.

Aplica-se a

SuppressForeignKeyEnforcement(Boolean)

Origem:
SqliteDbContextOptionsBuilder.cs
Origem:
SqliteDbContextOptionsBuilder.cs

Suprime a imposição de chaves estrangeiras no banco de dados.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder SuppressForeignKeyEnforcement (bool suppressForeignKeyEnforcement = true);
abstract member SuppressForeignKeyEnforcement : bool -> Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder
override this.SuppressForeignKeyEnforcement : bool -> Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder
Public Overridable Function SuppressForeignKeyEnforcement (Optional suppressForeignKeyEnforcement As Boolean = true) As SqliteDbContextOptionsBuilder

Parâmetros

suppressForeignKeyEnforcement
Boolean

Retornos

A mesma instância do construtor para que várias chamadas possam ser encadeadas.

Aplica-se a