ServicePropertyDiscoveryConvention.IsCandidateServiceProperty Method
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 service property candidate.
C#
protected virtual bool IsCandidateServiceProperty (System.Reflection.MemberInfo memberInfo, Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase structuralType, out Microsoft.EntityFrameworkCore.Metadata.IParameterBindingFactory? factory);
abstract member IsCandidateServiceProperty : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase * IParameterBindingFactory -> bool
override this.IsCandidateServiceProperty : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase * IParameterBindingFactory -> bool
Protected Overridable Function IsCandidateServiceProperty (memberInfo As MemberInfo, structuralType As IConventionTypeBase, ByRef factory As IParameterBindingFactory) As Boolean
- memberInfo
- MemberInfo
The member.
- structuralType
- IConventionTypeBase
The type for which the properties will be discovered.
- factory
- IParameterBindingFactory
The parameter binding factory for the property.
Product | Versions |
---|---|
Entity Framework Core | 9.0 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: