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