Condividi tramite


ReferenceReferenceBuilder.HasForeignKeyBuilder Metodo

Definizione

Overload

HasForeignKeyBuilder(EntityType, String, IReadOnlyList<PropertyInfo>)

Questa API supporta l'infrastruttura Entity Framework Core e non deve essere usata direttamente dal codice. Questa API può cambiare o essere rimossa nelle versioni future.

HasForeignKeyBuilder(EntityType, String, IReadOnlyList<String>)

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in nessuna versione. È consigliabile usarlo direttamente nel codice con attenzione estrema e sapere che ciò può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di Entity Framework Core.

HasForeignKeyBuilder(EntityType, String, IReadOnlyList<MemberInfo>)

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in nessuna versione. È consigliabile usarlo direttamente nel codice con attenzione estrema e sapere che ciò può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di Entity Framework Core.

HasForeignKeyBuilder(EntityType, String, IReadOnlyList<PropertyInfo>)

Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs

Questa API supporta l'infrastruttura Entity Framework Core e non deve essere usata direttamente dal codice. Questa API può cambiare o essere rimossa nelle versioni future.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasForeignKeyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType dependentEntityType, string dependentEntityTypeName, System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> foreignKeyProperties);
abstract member HasForeignKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasForeignKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function HasForeignKeyBuilder (dependentEntityType As EntityType, dependentEntityTypeName As String, foreignKeyProperties As IReadOnlyList(Of PropertyInfo)) As InternalRelationshipBuilder

Parametri

dependentEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
dependentEntityTypeName
String
foreignKeyProperties
IReadOnlyList<PropertyInfo>

Restituisce

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

Si applica a

HasForeignKeyBuilder(EntityType, String, IReadOnlyList<String>)

Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in nessuna versione. È consigliabile usarlo direttamente nel codice con attenzione estrema e sapere che ciò può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di Entity Framework Core.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasForeignKeyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType dependentEntityType, string dependentEntityTypeName, System.Collections.Generic.IReadOnlyList<string> foreignKeyPropertyNames);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasForeignKeyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType dependentEntityType, string dependentEntityTypeName, System.Collections.Generic.IReadOnlyList<string> foreignKeyPropertyNames);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder HasForeignKeyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType dependentEntityType, string dependentEntityTypeName, System.Collections.Generic.IReadOnlyList<string> foreignKeyPropertyNames);
abstract member HasForeignKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasForeignKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasForeignKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasForeignKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasForeignKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
override this.HasForeignKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Protected Overridable Function HasForeignKeyBuilder (dependentEntityType As EntityType, dependentEntityTypeName As String, foreignKeyPropertyNames As IReadOnlyList(Of String)) As InternalRelationshipBuilder
Protected Overridable Function HasForeignKeyBuilder (dependentEntityType As EntityType, dependentEntityTypeName As String, foreignKeyPropertyNames As IReadOnlyList(Of String)) As InternalForeignKeyBuilder

Parametri

dependentEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
dependentEntityTypeName
String
foreignKeyPropertyNames
IReadOnlyList<String>

Restituisce

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Attributi

Si applica a

HasForeignKeyBuilder(EntityType, String, IReadOnlyList<MemberInfo>)

Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs
Origine:
ReferenceReferenceBuilder.cs

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in nessuna versione. È consigliabile usarlo direttamente nel codice con attenzione estrema e sapere che ciò può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di Entity Framework Core.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasForeignKeyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType dependentEntityType, string dependentEntityTypeName, System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> foreignKeyProperties);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder HasForeignKeyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType dependentEntityType, string dependentEntityTypeName, System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> foreignKeyMembers);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasForeignKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasForeignKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasForeignKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
override this.HasForeignKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Protected Overridable Function HasForeignKeyBuilder (dependentEntityType As EntityType, dependentEntityTypeName As String, foreignKeyProperties As IReadOnlyList(Of MemberInfo)) As InternalRelationshipBuilder
Protected Overridable Function HasForeignKeyBuilder (dependentEntityType As EntityType, dependentEntityTypeName As String, foreignKeyMembers As IReadOnlyList(Of MemberInfo)) As InternalForeignKeyBuilder

Parametri

dependentEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
dependentEntityTypeName
String
foreignKeyPropertiesforeignKeyMembers
IReadOnlyList<MemberInfo>

Restituisce

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Attributi

Si applica a