IConventionTypeBase.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(IConventionComplexProperty) |
Removes a property from this type. |
RemoveComplexProperty(String) |
Removes a property from this type. |
RemoveComplexProperty(IConventionComplexProperty)
Removes a property from this type.
public Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty? RemoveComplexProperty (Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty property);
abstract member RemoveComplexProperty : Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty -> Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty
Public Function RemoveComplexProperty (property As IConventionComplexProperty) As IConventionComplexProperty
Parameters
- property
- IConventionComplexProperty
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.IConventionComplexProperty? RemoveComplexProperty (string name);
abstract member RemoveComplexProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty
Public Function RemoveComplexProperty (name As String) As IConventionComplexProperty
Parameters
- name
- String
The name of the property to remove.
Returns
The property that was removed.
Applies to
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