Edit

Share via


DataServiceContext.IgnoreMissingProperties Property

Definition

Gets or sets whether the properties read from the type must be mapped to properties on the client-side type.

public:
 property bool IgnoreMissingProperties { bool get(); void set(bool value); };
public bool IgnoreMissingProperties { get; set; }
member this.IgnoreMissingProperties : bool with get, set
Public Property IgnoreMissingProperties As Boolean

Property Value

A Boolean value that indicates whether the properties read from the type must be mapped to properties on the client-side type.

Remarks

If true, materialization succeeds even if properties from the type cannot be mapped to properties of the client type. If false, the property mismatch raises an exception during object materialization.

Applies to