MutableEntityTypeExtensions.FindProperty(IMutableEntityType, PropertyInfo) Yöntem

Tanım

Verilen varlık türü üzerinde bir özellik alır. Özellik null bulunamasa döndürür.

Bu API yalnızca skaler özellikleri bulur ve gezinti özelliklerini bulamaz. Gezinti FindNavigation(IMutableEntityType, MemberInfo) özelliğini bulmak için kullanın.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableProperty FindProperty (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, System.Reflection.PropertyInfo propertyInfo);
static member FindProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * System.Reflection.PropertyInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
<Extension()>
Public Function FindProperty (entityType As IMutableEntityType, propertyInfo As PropertyInfo) As IMutableProperty

Parametreler

entityType
IMutableEntityType

Varlık türü.

propertyInfo
PropertyInfo

Varlık sınıfındaki özelliği.

Döndürülenler

IMutableProperty

özelliği veya null bulunamıyorsa.

Şunlara uygulanır