FDO .NET API Reference Feature Data Objects

OSGeo::FDO::Commands Namespace Reference


Classes

class  BatchParameterValueCollection
 The BatchParameterValueCollection class represents a collection of parameter value collections that is used for optimized batch inserts. More...
interface  ICommand
 The ICommand interface defines behavior common to all commands in FDO. In order to be executed, commands must have an association to a connection. Commands can also be optionally associated with a transaction if the connection supports transactions. The parameter values collection allows values to be specified for commands that support expressions and/or filters. More...
class  ICommandImp
 The ICommandImp class is a concrete instantiation of interface ICommand. ICommand defines behavior common to all commands in FDO. In order to be executed, commands must have an association to a connection. Commands can also be optionally associated with a transaction if the connection supports transactions. The parameter values collection allows values to be specified for commands that support expressions and/or filters. More...
class  IdentifierCollection
 The IdentifierCollection class represents a collection of FDO Identifier objects. More...
interface  IFeatureCommand
 The IFeatureCommand interface defines the behavior common to all commands that operate on feature instances. The features to be operated on are identified by their class and a filter. If the feature provider supports inheritance in the schema capabilities, then the command will operate on instances of that class and any derived classes. In addition, feature commands can operate on related features if one or more relation directives are specified. Each relation directive specifies the relation to follow and how many levels of depth to follow it. More...
class  IFeatureCommandImp
 The IFeatureCommandImp class is a concrete implementation of IFeatureCommand. IFeatureCommand defines the behavior common to all commands that operate on feature instances. The features to be operated on are identified by their class and a filter. If the feature provider supports inheritance in the schema capabilities, then the command will operate on instances of that class and any derived classes. In addition, feature commands can operate on related features if one or more relation directives are specified. Each relation directive specifies the relation to follow and how many levels of depth to follow it. More...
class  ParameterValue
 The ParameterValue class specifies a value for a particular parameter. Instances of this class are used to specify a value to bind to a parameter when a command is executed. More...
class  ParameterValueCollection
 The ParameterValueCollection class represents a collection of ParameterValue objects. More...
class  PropertyValue
 The PropertyValue class represents a property name/value pair. Instances of this class are used to specify or hold onto a reference to a property name and the properties value. More...
class  PropertyValueCollection
 The PropertyValueCollection class represents a collection of PropertyValue objects. More...

Namespaces

namespace  DataStore
namespace  Feature
namespace  Locking
namespace  LongTransaction
namespace  Network
namespace  Schema
namespace  SpatialContext
namespace  SQL
namespace  UnitOfMeasure

Functions

System::Void Cancel ()
 Attempts to cancel command execution. Cancel may be called on a separate thread after the commands Execute method has been called and before Execute has returned. If successful, an exception is thrown from the Execute method. If there is nothing to cancel, nothing happens. If command execution is in process, and the attempt to cancel fails or is not supported, an exception is thrown.
__property System::Int32 get_CommandTimeOut ()
 Gets the number of milliseconds to wait before terminating the attempt to execute a command and generating an error. If the provider does not support the timeout capability, 0 is returned.
__property OSGeo::FDO::Filter::Filterget_Filter ()
 Gets the filter as a filter tree.
__property OSGeo::FDO::Commands::ParameterValueCollectionget_ParameterValues ()
 Returns an ParameterValueCollection. If the command requires parameters, the literal values to bind to each of those named parameters must be added to this collection.
__property OSGeo::FDO::Connections::ITransactionget_Transaction ()
 Gets the transaction in which the command executes.
System::Void Prepare ()
 Validates and optimizes the command for execution. Calling this method is optional, but recommended if bound to different sets of parameters and executed multiple times.
__property System::Void set_CommandTimeOut (System::Int32 value)
 Sets the number of milliseconds to wait before terminating the attempt to execute a command and generating an error. If the provider does not support the timeout capability, then attempting to set a timeout will result in an exception.
__property System::Void set_FeatureClassName (OSGeo::FDO::Expression::Identifier *value)
 Sets the name of the class to be operated upon as an identifier.
__property System::Void set_Filter (OSGeo::FDO::Filter::Filter *value)
 Sets the filter as a Filter tree.
__property System::Void set_Transaction (OSGeo::FDO::Connections::ITransaction *value)
 Sets the transaction in which the command executes.
System::Void SetFeatureClassName (System::String *value)
 Sets the name of the class to be operated upon as an identifier.
System::Void SetFilter (System::String *value)
 Sets the filter as a Filter tree.

Variables

public __gc __interface ICommand
public __gc __interface ICommand
public __gc __interface ICommand
public __gc __interface IFeatureCommand

Comments or suggestions? Send us feedback.