Condividi tramite


IMutableEntityType.FindForeignKeys Metodo

Definizione

Overload

FindForeignKeys(IReadOnlyProperty)

Ottiene le chiavi esterne definite nella proprietà specificata. Vengono restituite solo le chiavi esterne definite esattamente sulla proprietà specificata. Le chiavi esterne composite che includono la proprietà specificata non vengono restituite.

FindForeignKeys(IReadOnlyList<IReadOnlyProperty>)

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

FindForeignKeys(IReadOnlyProperty)

Ottiene le chiavi esterne definite nella proprietà specificata. Vengono restituite solo le chiavi esterne definite esattamente sulla proprietà specificata. Le chiavi esterne composite che includono la proprietà specificata non vengono restituite.

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

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 le chiavi esterne definite esattamente nel set specificato di proprietà.

public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey> 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.IMutableForeignKey>
override this.FindForeignKeys : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey>
Public Overridable Function FindForeignKeys (properties As IReadOnlyList(Of IReadOnlyProperty)) As IEnumerable(Of IMutableForeignKey)

Parametri

properties
IReadOnlyList<IReadOnlyProperty>

Proprietà su cui trovare le chiavi esterne.

Restituisce

Chiavi esterne.

Si applica a