Partager via


ExpressionToProfilesWhereClauseConverter Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Helper class to convert Expressions into a 'WHERE' clause that is supported by the OLE DB Provider for Commerce Server.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)

Syntax

'Declaration
Public NotInheritable Class ExpressionToProfilesWhereClauseConverter
'Usage
Dim instance As ExpressionToProfilesWhereClauseConverter
public sealed class ExpressionToProfilesWhereClauseConverter
public ref class ExpressionToProfilesWhereClauseConverter sealed
public final class ExpressionToProfilesWhereClauseConverter

Remarks

Since the OLE DB Provider does not support queries against multiple Profile Objects, the Expression should only reference one Profile Object. This class internally creates a BusinessDataAdminInterop object to validate the profile properties that are referenced by the expression. Since BusinessDataAdminInterop object is expensive to create, it is recommended that the instance of ExpressionToProfilesWhereClauseConverter be cached by the caller and reused.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Marketing..::.ExpressionToProfilesWhereClauseConverter

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ExpressionToProfilesWhereClauseConverter Members

Microsoft.CommerceServer.Marketing Namespace