PropertyDiscoveryConvention.IsCandidatePrimitiveProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value indicating whether the given member is a primitive property candidate.
protected virtual bool IsCandidatePrimitiveProperty (System.Reflection.MemberInfo memberInfo, Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase structuralType, out Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? mapping);
abstract member IsCandidatePrimitiveProperty : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase * CoreTypeMapping -> bool
override this.IsCandidatePrimitiveProperty : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase * CoreTypeMapping -> bool
Protected Overridable Function IsCandidatePrimitiveProperty (memberInfo As MemberInfo, structuralType As IConventionTypeBase, ByRef mapping As CoreTypeMapping) As Boolean
Parameters
- memberInfo
- MemberInfo
The member.
- structuralType
- IConventionTypeBase
The type for which the properties will be discovered.
- mapping
- CoreTypeMapping
The type mapping for the property.
Returns
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Entity Framework