Udostępnij za pośrednictwem


ODataUndeclaredPropertyBehaviorKinds Enumeration

Enumerates the behavior of readers when reading undeclared property.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration ODataUndeclaredPropertyBehaviorKinds
'Usage
Dim instance As ODataUndeclaredPropertyBehaviorKinds
[FlagsAttribute]
public enum ODataUndeclaredPropertyBehaviorKinds
[FlagsAttribute]
public enum class ODataUndeclaredPropertyBehaviorKinds
[<FlagsAttribute>]
type ODataUndeclaredPropertyBehaviorKinds
public enum ODataUndeclaredPropertyBehaviorKinds

Members

Member name Description
IgnoreUndeclaredValueProperty The reader will skip reading the property if it's not declared by the model.

None The default behavior - the reader will fail if it finds a property which is not declared by the model and the type is not open.

ReportUndeclaredLinkProperty The reader will read and report link properties which are not declared by the model.

See Also

Reference

Microsoft.Data.OData Namespace