语言

ComplexPropertyDiscoveryConvention.IsCandidateComplexProperty 方法

定义

重载

名称 说明
IsCandidateComplexProperty(MemberInfo, IConventionTypeBase, Type)

返回一个值,该值指示给定成员是否为复杂属性候选项。

IsCandidateComplexProperty(MemberInfo, IConventionTypeBase, Type, Boolean)

返回一个值,该值指示给定成员是否为复杂属性候选项。

IsCandidateComplexProperty(MemberInfo, IConventionTypeBase, Type)

Source:
ComplexPropertyDiscoveryConvention.cs

返回一个值,该值指示给定成员是否为复杂属性候选项。

protected virtual bool IsCandidateComplexProperty(System.Reflection.MemberInfo memberInfo, Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase structuralType, out Type? targetClrType);
abstract member IsCandidateComplexProperty : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase * Type -> bool
override this.IsCandidateComplexProperty : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase * Type -> bool
Protected Overridable Function IsCandidateComplexProperty (memberInfo As MemberInfo, structuralType As IConventionTypeBase, ByRef targetClrType As Type) As Boolean

参数

memberInfo
MemberInfo

成员。

structuralType
IConventionTypeBase

将为其发现属性的类型。

targetClrType
Type

复杂类型。

返回

适用于

IsCandidateComplexProperty(MemberInfo, IConventionTypeBase, Type, Boolean)

Source:
ComplexPropertyDiscoveryConvention.cs
Source:
ComplexPropertyDiscoveryConvention.cs

返回一个值,该值指示给定成员是否为复杂属性候选项。

protected virtual bool IsCandidateComplexProperty(System.Reflection.MemberInfo memberInfo, Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase structuralType, out Type? targetClrType, out bool isCollection);
abstract member IsCandidateComplexProperty : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase * Type * bool -> bool
override this.IsCandidateComplexProperty : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase * Type * bool -> bool
Protected Overridable Function IsCandidateComplexProperty (memberInfo As MemberInfo, structuralType As IConventionTypeBase, ByRef targetClrType As Type, ByRef isCollection As Boolean) As Boolean

参数

memberInfo
MemberInfo

成员。

structuralType
IConventionTypeBase

将为其发现属性的类型。

targetClrType
Type

复杂类型。

isCollection
Boolean

属性是否应映射为集合。

返回

适用于