Condividi tramite


IEntityType.FindForeignKeys Metodo

Definizione

Overload

FindForeignKeys(IReadOnlyProperty)

Ottiene le chiavi esterne definite nella proprietà specificata. Vengono restituite solo chiavi esterne definite in base alla proprietà specificata. Le chiavi esterne composte che includono la proprietà specificata non vengono restituite.

FindForeignKeys(IReadOnlyList<IReadOnlyProperty>)

Ottiene le chiavi esterne definite nelle proprietà specificate. Vengono restituite solo chiavi esterne definite nel set specificato di proprietà.

FindForeignKeys(IReadOnlyProperty)

Ottiene le chiavi esterne definite nella proprietà specificata. Vengono restituite solo chiavi esterne definite in base alla proprietà specificata. Le chiavi esterne composte che includono la proprietà specificata non vengono restituite.

public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> FindForeignKeys (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
abstract member FindForeignKeys : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
override this.FindForeignKeys : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
Public Overridable Function FindForeignKeys (property As IReadOnlyProperty) As IEnumerable(Of IForeignKey)

Parametri

property
IReadOnlyProperty

Proprietà su cui trovare le chiavi esterne.

Restituisce

Chiavi esterne.

Si applica a

FindForeignKeys(IReadOnlyList<IReadOnlyProperty>)

Ottiene le chiavi esterne definite nelle proprietà specificate. Vengono restituite solo chiavi esterne definite nel set specificato di proprietà.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> FindForeignKeys (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
abstract member FindForeignKeys : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
Public Function FindForeignKeys (properties As IReadOnlyList(Of IReadOnlyProperty)) As IEnumerable(Of IForeignKey)

Parametri

properties
IReadOnlyList<IReadOnlyProperty>

Proprietà su cui trovare le chiavi esterne.

Restituisce

Chiavi esterne.

Si applica a