RuntimeEntityType.IReadOnlyEntityType.FindIndex Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
IReadOnlyEntityType.FindIndex(String) |
Mendapatkan indeks dengan nama yang diberikan. Mengembalikan |
IReadOnlyEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>) |
Mendapatkan indeks yang tidak disebutkan namanya yang ditentukan pada properti yang diberikan. Mengembalikan |
IReadOnlyEntityType.FindIndex(String)
Mendapatkan indeks dengan nama yang diberikan. Mengembalikan null
jika tidak ada indeks tersebut.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex? IReadOnlyEntityType.FindIndex (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex IReadOnlyEntityType.FindIndex (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
Function FindIndex (name As String) As IReadOnlyIndex Implements IReadOnlyEntityType.FindIndex
Parameter
- name
- String
Nama indeks yang akan ditemukan.
Mengembalikan
Indeks, atau null
jika tidak ada yang ditemukan.
Penerapan
- Atribut
Berlaku untuk
IReadOnlyEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)
Mendapatkan indeks yang tidak disebutkan namanya yang ditentukan pada properti yang diberikan. Mengembalikan null
jika tidak ada indeks seperti itu yang ditentukan.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex? IReadOnlyEntityType.FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex IReadOnlyEntityType.FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
Function FindIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As IReadOnlyIndex Implements IReadOnlyEntityType.FindIndex
Parameter
- properties
- IReadOnlyList<IReadOnlyProperty>
Properti untuk menemukan indeks.
Mengembalikan
Indeks, atau null
jika tidak ada yang ditemukan.
Penerapan
- Atribut
Berlaku untuk
Entity Framework
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk