EntityTypeConfiguration.RemoveProperty Method
Removes the property from the entity.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Overrides Sub RemoveProperty ( _
propertyInfo As PropertyInfo _
)
'Usage
Dim instance As EntityTypeConfiguration
Dim propertyInfo As PropertyInfo
instance.RemoveProperty(propertyInfo)
public override void RemoveProperty(
PropertyInfo propertyInfo
)
public:
virtual void RemoveProperty(
PropertyInfo^ propertyInfo
) override
abstract RemoveProperty :
propertyInfo:PropertyInfo -> unit
override RemoveProperty :
propertyInfo:PropertyInfo -> unit
public override function RemoveProperty(
propertyInfo : PropertyInfo
)
Parameters
- propertyInfo
Type: System.Reflection.PropertyInfo
The PropertyInfo of the property to be removed.