A Sandcastle Documented Class Library

# ProviderExpression Class

Class that represents an expression query to be executed by a DataProvider.
Inheritance Hierarchy
System
Object
Dundas.BI.Data.Metadata
DescriptorBase
Dundas.BI.Data.Metadata
ExpressionDescriptor
Dundas.BI.Data.DataProviders
ProviderExpression

Namespace: Dundas.BI.Data.DataProviders
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public sealed class ProviderExpression : ExpressionDescriptor,
    	IDataSource

    Public NotInheritable Class ProviderExpression
    	Inherits ExpressionDescriptor
    	Implements IDataSource

    public ref class ProviderExpression sealed : public ExpressionDescriptor,
    	IDataSource

    [<SealedAttribute>]
    type ProviderExpression =
        class
            inherit ExpressionDescriptor
            interface IDataSource
        end

The ProviderExpression type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| DataConnector | Gets the data connector.
| Description | Gets or sets the object description. (Inherited from DescriptorBase.)
| Format | Gets the statement format. (Inherited from ExpressionDescriptor.)
| Id | Gets the object ID. (Inherited from DescriptorBase.)
| IsQueryEnabled | Gets or sets a value indicating whether the query is enabled.
| Name | Gets or sets the object name. (Inherited from DescriptorBase.)
| Parameters | Gets the expression parameters. (Inherited from ExpressionDescriptor.)
| Placeholders | Gets the expression parameter placeholders. (Inherited from ExpressionDescriptor.)
| Statement | Gets or sets the expression statement. (Inherited from ExpressionDescriptor.)

Top
Methods

| Name | Description
--- | --- | ---
| DefineBooleanParameter(String, String, String, ParameterToken) | Defines a parameter placeholder that expects Boolean values for resolution. (Inherited from ExpressionDescriptor.)
| DefineBooleanParameter(String, String, String, Boolean) | Defines a parameter placeholder that expects Boolean values for resolution. (Inherited from ExpressionDescriptor.)
| DefineCollectionDateTimeParameter(String, String, String, IEnumerable DateTime ) | Defines a parameter placeholder that expects a DateTime collection. (Inherited from ExpressionDescriptor.)
| DefineCollectionDateTimeParameter(String, String, String, String, ParameterToken) | Defines a manual provider parameter that accepts a collection of strings for value.
| DefineCollectionDateTimeParameter(String, String, String, String, IEnumerable DateTime ) | Defines a manual provider parameter that accepts a collection of strings for value.
| DefineCollectionNumberParameter(String, String, String, IEnumerable Number ) | Defines a parameter placeholder that expects a number collection. (Inherited from ExpressionDescriptor.)
| DefineCollectionNumberParameter(String, String, String, String, ParameterToken) | Defines a manual provider parameter that accepts a collection of strings for value.
| DefineCollectionNumberParameter(String, String, String, String, IEnumerable Number ) | Defines a manual provider parameter that accepts a collection of strings for value.
| DefineCollectionStringParameter(String, String, String, IEnumerable String ) | Defines a parameter placeholder that expects a string collection. (Inherited from ExpressionDescriptor.)
| DefineCollectionStringParameter(String, String, String, String, ParameterToken) | Defines a manual provider parameter that accepts a collection of strings for value.
| DefineCollectionStringParameter(String, String, String, String, IEnumerable String ) | Defines a manual provider parameter that accepts a collection of strings for value.
| DefineDateTimeParameter(String, String, String, ParameterToken, ValidValuesSource) | Defines a parameter placeholder that expects DateTime for resolution. (Inherited from ExpressionDescriptor.)
| DefineDateTimeParameter(String, String, String, DateTime, ValidValuesSource) | Defines a parameter placeholder that expects DateTime for resolution. (Inherited from ExpressionDescriptor.)
| DefineDateTimeParameter(String, String, String, ParameterToken, DateTime, DateTime) | Defines a parameter placeholder that expects DateTime values for resolution. (Inherited from ExpressionDescriptor.)
| DefineDateTimeParameter(String, String, String, DateTime, DateTime, DateTime) | Defines a parameter placeholder that expects DateTime values for resolution. (Inherited from ExpressionDescriptor.)
| DefineNumericParameter(String, String, String, ParameterToken, ValidValuesSource) | Defines a parameter placeholder that expects Number values for resolution. (Inherited from ExpressionDescriptor.)
| DefineNumericParameter(String, String, String, Number, ValidValuesSource) | Defines a parameter placeholder that expects Number values for resolution. (Inherited from ExpressionDescriptor.)
| DefineNumericParameter(String, String, String, ParameterToken, Number, Number) | Defines a parameter placeholder that expects Number values for resolution. (Inherited from ExpressionDescriptor.)
| DefineNumericParameter(String, String, String, Number, Number, Number) | Defines a parameter placeholder that expects Number values for resolution. (Inherited from ExpressionDescriptor.)
| DefineStringParameter(String, String, String, ParameterToken, ValidValuesSource) | Defines a parameter placeholder that expects string values for resolution. (Inherited from ExpressionDescriptor.)
| DefineStringParameter(String, String, String, ParameterToken, Int32) | Defines a parameter placeholder that expects string values for resolution. (Inherited from ExpressionDescriptor.)
| DefineStringParameter(String, String, String, String, ValidValuesSource) | Defines a parameter placeholder that expects string values for resolution. (Inherited from ExpressionDescriptor.)
| DefineStringParameter(String, String, String, String, Int32) | Defines a parameter placeholder that expects string values for resolution. (Inherited from ExpressionDescriptor.)
| EnumeratePlaceholders | Enumerates the placeholder matches found in the Statement.
| GetQuery(ProcessPlaceholder) | Generates the query by substituting placeholders.
| GetQuery(String, ICollection DataParameterValue , Dictionary String, String ) | Generates the query by substituting placeholders with generated parameter names.
| RemovePlaceholder | Removes the specified expression placeholder. (Inherited from ExpressionDescriptor.)
| RemoveUnusedPlaceholders | Removes unused placeholders, by checking if their caption is part of the expression statement. (Inherited from ExpressionDescriptor.)
| ToString | Returns a string that represents the current object. (Inherited from DescriptorBase.)

Top
See Also

#### Reference

Dundas.BI.Data.DataProviders Namespace