Langue

IMemberClassifier.IsCandidateComplexProperty Method

Definition

Returns a value indicating whether the given member is a candidate complex property.

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

Parameters

memberInfo
MemberInfo

The member to classify.

model
IConventionModel

The model.

useAttributes
Boolean

Whether attributes found on the member should be considered.

elementType
Type

When this method returns, the element type if the member is a complex collection.

explicitlyConfigured
Boolean

When this method returns, indicates whether the type was explicitly configured.

Returns

true if the member is a candidate complex property; otherwise false.

Applies to