Jaa


StructuralTypeConfiguration.AddProperty(PropertyInfo) Method

Definition

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.

Applies to