DataServiceContext.IgnoreMissingProperties Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.