Bagikan melalui


IEntityType.FindProperties(IReadOnlyList<String>) Metode

Definisi

Menemukan properti yang cocok pada jenis entitas yang diberikan. Mengembalikan null jika ada properti yang tidak ditemukan.

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>? FindProperties (System.Collections.Generic.IReadOnlyList<string> propertyNames);
abstract member FindProperties : System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>
override this.FindProperties : System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>
Public Overridable Function FindProperties (propertyNames As IReadOnlyList(Of String)) As IReadOnlyList(Of IProperty)

Parameter

propertyNames
IReadOnlyList<String>

Nama properti.

Mengembalikan

Properti, atau null jika ada properti yang tidak ditemukan.

Penerapan

Keterangan

API ini hanya menemukan properti skalar dan tidak menemukan properti navigasi.

Berlaku untuk