DataServiceContext::IgnoreMissingProperties Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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:  System.Data.Services.Client (in System.Data.Services.Client.dll)

public:
property bool IgnoreMissingProperties {
	bool get();
	void set(bool 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.

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: