IMutableTypeBase.RemoveComplexProperty 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
RemoveComplexProperty(IReadOnlyProperty) |
Removes a property from this type. |
RemoveComplexProperty(String) |
Removes a property from this type. |
RemoveComplexProperty(IReadOnlyProperty)
Removes a property from this type.
public Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty? RemoveComplexProperty (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
abstract member RemoveComplexProperty : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Function RemoveComplexProperty (property As IReadOnlyProperty) As IMutableComplexProperty
Parameters
- property
- IReadOnlyProperty
The property to remove.
Returns
The removed property, or null
if the property was not found.
Applies to
RemoveComplexProperty(String)
Removes a property from this type.
public Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty? RemoveComplexProperty (string name);
abstract member RemoveComplexProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Function RemoveComplexProperty (name As String) As IMutableComplexProperty
Parameters
- name
- String
The name of the property to remove.
Returns
The removed property, or null
if the property was not found.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for