StructuralTypeConfiguration.AddProperty Method (PropertyInfo)
Adds a primitive property to this edm type.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public virtual PrimitivePropertyConfiguration AddProperty(
PropertyInfo propertyInfo
)
public:
virtual PrimitivePropertyConfiguration^ AddProperty(
PropertyInfo^ propertyInfo
)
abstract AddProperty :
propertyInfo:PropertyInfo -> PrimitivePropertyConfiguration
override AddProperty :
propertyInfo:PropertyInfo -> PrimitivePropertyConfiguration
Public Overridable Function AddProperty (
propertyInfo As PropertyInfo
) As PrimitivePropertyConfiguration
Parameters
propertyInfo
Type: System.Reflection.PropertyInfoThe property being added.
Return Value
Type: System.Web.OData.Builder.PrimitivePropertyConfiguration
The PrimitivePropertyConfiguration so that the property can be configured further.
See Also
StructuralTypeConfiguration Class
System.Web.OData.Builder Namespace
Return to top