Condividi tramite


SqliteDbContextOptionsBuilder.SuppressForeignKeyEnforcement Metodo

Definizione

Overload

SuppressForeignKeyEnforcement()

Elimina l'imposizione delle chiavi esterne nel database.

SuppressForeignKeyEnforcement(Boolean)

Elimina l'imposizione delle chiavi esterne nel database.

SuppressForeignKeyEnforcement()

Elimina l'imposizione delle chiavi esterne nel database.

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

Restituisce

Stessa istanza del generatore in modo che più chiamate possano essere concatenati.

Si applica a

SuppressForeignKeyEnforcement(Boolean)

Elimina l'imposizione delle chiavi esterne nel database.

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

Parametri

suppressForeignKeyEnforcement
Boolean

Restituisce

Stessa istanza del generatore in modo che più chiamate possano essere concatenati.

Si applica a