IMutableTypeBase.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 on the given type. Returns |
FindComplexProperty(String) |
Gets the complex property with a given name. Returns |
FindComplexProperty(MemberInfo)
Gets a complex property on the given type. Returns null
if no property is found.
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty? FindComplexProperty (System.Reflection.MemberInfo memberInfo);
abstract member FindComplexProperty : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
override this.FindComplexProperty : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Overridable Function FindComplexProperty (memberInfo As MemberInfo) As IMutableComplexProperty
Parameters
- memberInfo
- MemberInfo
The member on the CLR type.
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.IMutableComplexProperty? FindComplexProperty (string name);
abstract member FindComplexProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Function FindComplexProperty (name As String) As IMutableComplexProperty
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