C# Class FdoToolbox.Core.Feature.FeatureQueryOptions

Use this class to set filter criteria for selecting features from a FDO datastore
Mostrar archivo Open project: jumpinjackie/fdotoolbox Class Usage Examples

Public Methods

Method Description
AddComputedProperty ( NameValueCollection computedProperties ) : void

Adds a series of computed expressions to be part of the query result

AddComputedProperty ( string alias, string expression ) : void

Adds a computed expression to be part of the query result

AddFeatureProperty ( IEnumerable propertyNames ) : void

Adds a series of properties that are to be part of the query result

AddFeatureProperty ( string propertyName ) : void

Adds a property that is to be part of the query result

AddJoinCriteria ( FdoJoinCriteriaInfo criteria ) : void

Adds a join criteria to the query result

FeatureQueryOptions ( string className ) : System

Constructor

RemoveComputedProperty ( string alias ) : void

Removes a computed expression that is to be part of the query result

RemoveFeatureProperty ( string propertyName ) : void

Removes a property that is to be part of the query result

RemoveJoinCriteria ( FdoJoinCriteriaInfo criteria ) : void

Removes a join criteria that is to be part of the query result

SetOrderingOption ( IEnumerable propertyNames, OrderingOption option ) : void

Sets the ordering options for this query. Note that most providers do not support ordering.

SetOrderingOption ( IEnumerable propertyNames, OrderingOption option, bool useAlias ) : void

Sets the ordering options for this query. Note that most providers do not support ordering.

Method Details

AddComputedProperty() public method

Adds a series of computed expressions to be part of the query result
public AddComputedProperty ( NameValueCollection computedProperties ) : void
computedProperties System.Collections.Specialized.NameValueCollection
return void

AddComputedProperty() public method

Adds a computed expression to be part of the query result
public AddComputedProperty ( string alias, string expression ) : void
alias string
expression string
return void

AddFeatureProperty() public method

Adds a series of properties that are to be part of the query result
public AddFeatureProperty ( IEnumerable propertyNames ) : void
propertyNames IEnumerable
return void

AddFeatureProperty() public method

Adds a property that is to be part of the query result
public AddFeatureProperty ( string propertyName ) : void
propertyName string
return void

AddJoinCriteria() public method

Adds a join criteria to the query result
public AddJoinCriteria ( FdoJoinCriteriaInfo criteria ) : void
criteria FdoJoinCriteriaInfo
return void

FeatureQueryOptions() public method

Constructor
public FeatureQueryOptions ( string className ) : System
className string
return System

RemoveComputedProperty() public method

Removes a computed expression that is to be part of the query result
public RemoveComputedProperty ( string alias ) : void
alias string
return void

RemoveFeatureProperty() public method

Removes a property that is to be part of the query result
public RemoveFeatureProperty ( string propertyName ) : void
propertyName string
return void

RemoveJoinCriteria() public method

Removes a join criteria that is to be part of the query result
public RemoveJoinCriteria ( FdoJoinCriteriaInfo criteria ) : void
criteria FdoJoinCriteriaInfo
return void

SetOrderingOption() public method

Sets the ordering options for this query. Note that most providers do not support ordering.
public SetOrderingOption ( IEnumerable propertyNames, OrderingOption option ) : void
propertyNames IEnumerable
option OrderingOption
return void

SetOrderingOption() public method

Sets the ordering options for this query. Note that most providers do not support ordering.
public SetOrderingOption ( IEnumerable propertyNames, OrderingOption option, bool useAlias ) : void
propertyNames IEnumerable
option OrderingOption
useAlias bool
return void