Jaa


ODataUtils.SetNullValueReaderBehavior Method

Definition

Adds a transient annotation to indicate how null values for the specified property should be read.

public static void SetNullValueReaderBehavior (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.IEdmProperty property, Microsoft.OData.ODataNullValueBehaviorKind nullValueReadBehaviorKind);
static member SetNullValueReaderBehavior : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.IEdmProperty * Microsoft.OData.ODataNullValueBehaviorKind -> unit
<Extension()>
Public Sub SetNullValueReaderBehavior (model As IEdmModel, property As IEdmProperty, nullValueReadBehaviorKind As ODataNullValueBehaviorKind)

Parameters

model
IEdmModel

The IEdmModel containing the annotations.

property
IEdmProperty

The IEdmProperty to modify.

nullValueReadBehaviorKind
ODataNullValueBehaviorKind

The new behavior for reading null values for this property.

Applies to