StructuralTypeConfiguration.AddEnumProperty(PropertyInfo) 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.
Adds an enum property to this edm type.
public virtual Microsoft.AspNet.OData.Builder.EnumPropertyConfiguration AddEnumProperty (System.Reflection.PropertyInfo propertyInfo);
abstract member AddEnumProperty : System.Reflection.PropertyInfo -> Microsoft.AspNet.OData.Builder.EnumPropertyConfiguration
override this.AddEnumProperty : System.Reflection.PropertyInfo -> Microsoft.AspNet.OData.Builder.EnumPropertyConfiguration
Public Overridable Function AddEnumProperty (propertyInfo As PropertyInfo) As EnumPropertyConfiguration
Parameters
- propertyInfo
- PropertyInfo
The property being added.
Returns
The EnumPropertyConfiguration so that the property can be configured further.