Bagikan melalui


MutableEntityTypeExtensions.FindProperties Metode

Definisi

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

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

public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> FindProperties (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, System.Collections.Generic.IReadOnlyList<string> propertyNames);
static member FindProperties : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty>
<Extension()>
Public Function FindProperties (entityType As IMutableEntityType, propertyNames As IReadOnlyList(Of String)) As IReadOnlyList(Of IMutableProperty)

Parameter

entityType
IMutableEntityType

Jenis entitas.

propertyNames
IReadOnlyList<String>

Nama properti.

Mengembalikan

Properti, atau null jika ada properti yang tidak ditemukan.

Berlaku untuk