ITypeBase.FindComplexProperty 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.
Overloads
FindComplexProperty(MemberInfo) |
Gets a complex property with the given member info. Returns |
FindComplexProperty(String) |
Gets the complex property with a given name. Returns |
FindComplexProperty(MemberInfo)
Gets a complex property with the given member info. Returns null
if no property is found.
public virtual Microsoft.EntityFrameworkCore.Metadata.IComplexProperty? FindComplexProperty (System.Reflection.MemberInfo memberInfo);
abstract member FindComplexProperty : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IComplexProperty
override this.FindComplexProperty : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IComplexProperty
Public Overridable Function FindComplexProperty (memberInfo As MemberInfo) As IComplexProperty
Parameters
- memberInfo
- MemberInfo
The member on the entity class.
Returns
The property, or null
if none is found.
Remarks
This API only finds complex properties and does not find navigation, scalar or service properties.
Applies to
FindComplexProperty(String)
Gets the complex property with a given name. Returns null
if no property with the given name is defined.
public Microsoft.EntityFrameworkCore.Metadata.IComplexProperty? FindComplexProperty (string name);
abstract member FindComplexProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IComplexProperty
Public Function FindComplexProperty (name As String) As IComplexProperty
Parameters
- name
- String
The name of the property.
Returns
The property, or null
if none is found.
Remarks
This API only finds complex properties and does not find navigation, scalar or service properties.
Applies to
Entity Framework