語言

IMemberClassifier.IsCandidateComplexProperty 方法

定義

回傳一個值,表示該成員是否為候選複性質。

public bool IsCandidateComplexProperty(System.Reflection.MemberInfo memberInfo, Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, bool useAttributes, out Type? elementType, out bool explicitlyConfigured);
abstract member IsCandidateComplexProperty : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IConventionModel * bool * Type * bool -> bool
Public Function IsCandidateComplexProperty (memberInfo As MemberInfo, model As IConventionModel, useAttributes As Boolean, ByRef elementType As Type, ByRef explicitlyConfigured As Boolean) As Boolean

參數

memberInfo
MemberInfo

成員要分類。

model
IConventionModel

模型。

useAttributes
Boolean

是否應該考慮成員身上的屬性。

elementType
Type

當此方法回傳時,若成員為複集合,則元素類型。

explicitlyConfigured
Boolean

當此方法回傳時,表示該型別是否已被明確設定。

傳回

true 若該構件為候選複數性質;否則 false。

適用於