Export (0) Print
Expand All

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)

public bool IgnoreMissingProperties { get; set; }

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:
© 2014 Microsoft