DataServiceContext.IgnoreMissingProperties Property

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

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

'Declaration
Public Property IgnoreMissingProperties As Boolean 
	Get 
	Set
'Usage
Dim instance As DataServiceContext 
Dim value As Boolean 

value = instance.IgnoreMissingProperties

instance.IgnoreMissingProperties = value

Property Value

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

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.

Show: