Changes between Version 30 and Version 31 of FDORfc33


Ignore:
Timestamp:
04/16/09 09:52:21 (16 years ago)
Author:
gregboone
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc33

    v30 v31  
    4848TODO:
    4949
    50 -- Figure out how providers can determine what are input/output parameters[[BR]]
    51 -- Procedure calls, input/output parameters, etc....[[BR]]
    52 -- Examples[[BR]]
     50-- Examples
    5351
    5452== Requirements ==
     
    8381}}}
    8482
     83
     84==== FdoParameterDirection Enumeration ====
     85
     86A new enumeration, !FdoParameterDirection, will be added to the FDO API for use within FDO Commands that utilize parameters. !FdoParameterDirection defines the direction in which the command will utilize the parameter upon execution. Parameter direction values are typically Input, Output, InputOutput and Return, with the  default value is typically Input.
     87
     88{{{
     89/// \brief
     90/// The FdoParameterDirection enumeration defines the direction in which a
     91/// Parameter value will be used within the context of an FDO Command. Parameter
     92/// Direction values are typically Input, Output, InputOutput and Return.
     93/// The default value is typically Input.
     94enum FdoParameterDirection
     95{
     96    FdoParameterDirection_Input,
     97    FdoParameterDirection_Ouput,
     98    FdoParameterDirection_InputOutput,
     99    FdoParameterDirection_Return
     100};
     101}}}
     102
     103==== Parameter Value Interface ====
     104
     105The !FdoParameterValue class will be updated to add an additional property Direction, which will indicate the direction in which the parameter will be used within the context of command using the parameters within the context of their execution.
     106
     107/// \brief
     108/// The FdoParameterValue class specifies a value for a particular parameter.
     109/// Instances of this class are used to specify a value to bind to a parameter
     110/// when a command is executed.
     111class FdoParameterValue : public FdoIDisposable
     112{
     113public:
     114...
     115...
     116...
     117    /// \brief
     118    /// Sets the function direction of the parameter value.
     119    /// Values can be Input, Output, InputOutput and Return.
     120    ///
     121    /// \param value
     122    /// Input the direction enumeration value
     123    ///
     124    /// \return
     125    /// Returns nothing
     126    ///
     127    FDO_API void SetDirection(FdoParameterDirection value);
     128
     129    /// \brief
     130    /// Gets the function direction of the the command parameter.
     131    /// Values can be Input, Output, InputOutput and Return.
     132    ///
     133    /// \return
     134    /// Returns the direction enumeration value
     135    ///
     136    FDO_API FdoParameterDirection GetDirection();
     137};
    85138
    86139==== SQLCommandType Enumeration ====