EntityTypeExtensions.FindForeignKeys Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| FindForeignKeys(IEntityType, IProperty) |
Verilen özellikte tanımlanan yabancı anahtarları alır. Yalnızca belirtilen özellikte tam olarak tanımlanan yabancı anahtarlar döndürülür. Belirtilen özelliği içeren bileşik yabancı anahtarlar döndürülemez. |
| FindForeignKeys(IEntityType, IReadOnlyList<IProperty>) |
Verilen özelliklerde tanımlanan yabancı anahtarları alır. Yalnızca belirtilen özellikler kümesi için tanımlanan yabancı anahtarlar döndürülür. |
FindForeignKeys(IEntityType, IProperty)
Verilen özellikte tanımlanan yabancı anahtarları alır. Yalnızca belirtilen özellikte tam olarak tanımlanan yabancı anahtarlar döndürülür. Belirtilen özelliği içeren bileşik yabancı anahtarlar döndürülemez.
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 bulunacağı özellik.
Döndürülenler
Yabancı anahtarlar.
Şunlara uygulanır
FindForeignKeys(IEntityType, IReadOnlyList<IProperty>)
Verilen özelliklerde tanımlanan yabancı anahtarları alır. Yalnızca belirtilen özellikler kümesi için 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 bulunacağı Özellikler.
Döndürülenler
Yabancı anahtarlar.
- Öznitelikler