Share via


ODataUtils.NullValueReadBehaviorKind(IEdmModel, IEdmProperty) Method

Definition

Gets the reader behavior for null property value on the specified property.

public static Microsoft.OData.ODataNullValueBehaviorKind NullValueReadBehaviorKind (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.IEdmProperty property);
static member NullValueReadBehaviorKind : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.IEdmProperty -> Microsoft.OData.ODataNullValueBehaviorKind
<Extension()>
Public Function NullValueReadBehaviorKind (model As IEdmModel, property As IEdmProperty) As ODataNullValueBehaviorKind

Parameters

model
IEdmModel

The model containing the annotation.

property
IEdmProperty

The property to check.

Returns

The behavior to use when reading null value for this property.

Applies to