IObjectClass.

Compare(IObjectAttribute) Method

Summary

registers an attribute provider for special query behavior.
Assembly
Db4objects.Db4o-2010.dll
Namespace
Db4objects.Db4o.Config
Containing Type
IObjectClass

Syntax

[System.ObsoleteAttribute(@"since version 7.0")]
void Compare(IObjectAttribute attributeProvider)

Remarks

registers an attribute provider for special query behavior.

The query processor will compare the object returned by the attribute provider instead of the actual object, both for the constraint and the candidate persistent object.

In client-server environment this setting should be used on both client and server.

Attributes

Type Description
ObsoleteAttribute

Parameters

Name Type Description
attributeProvider IObjectAttribute the attribute provider to be used

Return Value

Type Description
void