ForeignKeyIndexConvention.ProcessForeignKeyAdded Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
ProcessForeignKeyAdded(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>) |
Chiamato dopo l'aggiunta di una chiave esterna al tipo di entità. |
ProcessForeignKeyAdded(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>) |
Chiamato dopo l'aggiunta di una chiave esterna al tipo di entità. |
ProcessForeignKeyAdded(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)
Chiamato dopo l'aggiunta di una chiave esterna al tipo di entità.
public virtual void ProcessForeignKeyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> context);
abstract member ProcessForeignKeyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> -> unit
override this.ProcessForeignKeyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> -> unit
Public Overridable Sub ProcessForeignKeyAdded (relationshipBuilder As IConventionForeignKeyBuilder, context As IConventionContext(Of IConventionForeignKeyBuilder))
Parametri
- relationshipBuilder
- IConventionForeignKeyBuilder
Generatore per la chiave esterna.
Informazioni aggiuntive associate all'esecuzione della convenzione.
Implementazioni
Si applica a
ProcessForeignKeyAdded(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)
Chiamato dopo l'aggiunta di una chiave esterna al tipo di entità.
public virtual void ProcessForeignKeyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> context);
abstract member ProcessForeignKeyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> -> unit
override this.ProcessForeignKeyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> -> unit
Public Overridable Sub ProcessForeignKeyAdded (relationshipBuilder As IConventionRelationshipBuilder, context As IConventionContext(Of IConventionRelationshipBuilder))
Parametri
- relationshipBuilder
- IConventionRelationshipBuilder
Generatore per la chiave esterna.
Informazioni aggiuntive associate all'esecuzione della convenzione.