Aracılığıyla paylaş


EntityTypeExtensions.FindForeignKeys Yöntem

Tanım

Aşırı Yüklemeler

FindForeignKeys(IEntityType, IProperty)

Verilen özellikte tanımlanan yabancı anahtarları alır. Yalnızca tam olarak belirtilen özellikte tanımlanan yabancı anahtarlar döndürülür. Belirtilen özelliği içeren bileşik yabancı anahtarlar döndürülmüyor.

FindForeignKeys(IEntityType, IReadOnlyList<IProperty>)

Verilen özelliklerde tanımlanan yabancı anahtarları alır. Yalnızca tam olarak belirtilen özellik kümesinde tanımlanan yabancı anahtarlar döndürülür.

FindForeignKeys(IEntityType, IProperty)

Verilen özellikte tanımlanan yabancı anahtarları alır. Yalnızca tam olarak belirtilen özellikte tanımlanan yabancı anahtarlar döndürülür. Belirtilen özelliği içeren bileşik yabancı anahtarlar döndürülmüyor.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> FindForeignKeys (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member FindForeignKeys : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IProperty -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
<Extension()>
Public Function FindForeignKeys (entityType As IEntityType, property As IProperty) As IEnumerable(Of IForeignKey)

Parametreler

entityType
IEntityType

Varlık türü.

property
IProperty

Yabancı anahtarların bulunacak özelliği.

Döndürülenler

Yabancı anahtarlar.

Şunlara uygulanır

FindForeignKeys(IEntityType, IReadOnlyList<IProperty>)

Verilen özelliklerde tanımlanan yabancı anahtarları alır. Yalnızca tam olarak belirtilen özellik kümesinde tanımlanan yabancı anahtarlar döndürülür.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> FindForeignKeys (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.EntityTypeExtensions+<FindForeignKeys>d__8))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> FindForeignKeys (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.EntityTypeExtensions+<FindForeignKeys>d__27))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> FindForeignKeys (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties);
static member FindForeignKeys : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.EntityTypeExtensions+<FindForeignKeys>d__8))>]
static member FindForeignKeys : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.EntityTypeExtensions+<FindForeignKeys>d__27))>]
static member FindForeignKeys : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
<Extension()>
Public Function FindForeignKeys (entityType As IEntityType, properties As IReadOnlyList(Of IProperty)) As IEnumerable(Of IForeignKey)
<Extension()>
Public Iterator Function FindForeignKeys (entityType As IEntityType, properties As IReadOnlyList(Of IProperty)) As IEnumerable(Of IForeignKey)

Parametreler

entityType
IEntityType

Varlık türü.

properties
IReadOnlyList<IProperty>

Yabancı anahtarların bulunacak özellikler.

Döndürülenler

Yabancı anahtarlar.

Öznitelikler

Şunlara uygulanır