Beispiel #1
0
 /// <summary>
 /// Pushes part of an input parameter value down before execution. This value
 /// should be stored for use later during execution.
 ///
 /// This method may only be called once for any parameter set/parameter
 /// combination (a "parameter cell") where the parameter has a
 /// non-character/binary data type.
 ///
 /// For parameters with character or binary data types, this method may be
 /// called multiple times for the same parameter set/parameter combination.
 /// The multiple parts should be concatenated together in order to get the
 /// complete value. For character data, the byte array passed down for one
 /// chunk may NOT necessarily be a complete UTF-8 string representation.
 /// There may be bytes provided in the previous or subsequent chunk to
 /// complete codepoints at the start and/or end.
 ///
 /// The metadata passed in should be taken notice of because it may not match
 /// metadata supplied by a possible call to GetMetadataForParameters(), as
 /// the ODBC consumer is able to change parameter metadata themselves.
 /// </summary>
 /// <param name="parameterSet">The parameter set the pushed value belongs to.</param>
 /// <param name="value">The pushed parameter value, including metadata for identification.</param>
 public void PushParamData(
     Int32 parameterSet,
     ParameterInputValue value)
 {
     LogUtilities.LogFunctionEntrance(_log, parameterSet, value);
 }
Beispiel #2
0
        /// <summary>
        /// Pushes part of an input parameter value down before execution. This value
        /// should be stored for use later during execution.
        /// 
        /// This method may only be called once for any parameter set/parameter
        /// combination (a "parameter cell") where the parameter has a
        /// non-character/binary data type.
        /// 
        /// For parameters with character or binary data types, this method may be
        /// called multiple times for the same parameter set/parameter combination.
        /// The multiple parts should be concatenated together in order to get the
        /// complete value. For character data, the byte array passed down for one
        /// chunk may NOT necessarily be a complete UTF-8 string representation.
        /// There may be bytes provided in the previous or subsequent chunk to
        /// complete codepoints at the start and/or end.
        /// 
        /// The metadata passed in should be taken notice of because it may not match
        /// metadata supplied by a possible call to GetMetadataForParameters(), as
        /// the ODBC consumer is able to change parameter metadata themselves.
        /// </summary>
        /// <param name="parameterSet">The parameter set the pushed value belongs to.</param>
        /// <param name="value">The pushed parameter value, including metadata for identification.</param>
        public void PushParamData(int parameterSet, ParameterInputValue value)
        {
            LogUtilities.LogFunctionEntrance(Log, parameterSet, value);

            // This is where pushed parameter data would be cached, to be used during execution.
        }
Beispiel #3
0
        /// <summary>
        /// Pushes part of an input parameter value down before execution. This value
        /// should be stored for use later during execution.
        ///
        /// This method may only be called once for any parameter set/parameter
        /// combination (a "parameter cell") where the parameter has a
        /// non-character/binary data type.
        ///
        /// For parameters with character or binary data types, this method may be
        /// called multiple times for the same parameter set/parameter combination.
        /// The multiple parts should be concatenated together in order to get the
        /// complete value. For character data, the byte array passed down for one
        /// chunk may NOT necessarily be a complete UTF-8 string representation.
        /// There may be bytes provided in the previous or subsequent chunk to
        /// complete codepoints at the start and/or end.
        ///
        /// The metadata passed in should be taken notice of because it may not match
        /// metadata supplied by a possible call to GetMetadataForParameters(), as
        /// the ODBC consumer is able to change parameter metadata themselves.
        /// </summary>
        /// <param name="parameterSet">The parameter set the pushed value belongs to.</param>
        /// <param name="value">The pushed parameter value, including metadata for identification.</param>
        public void PushParamData(int parameterSet, ParameterInputValue value)
        {
            LogUtilities.LogFunctionEntrance(Log, parameterSet, value);

            // This is where pushed parameter data would be cached, to be used during execution.
        }