예제 #1
0
		/// <summary>
		/// Performs processing on a value before it is used to set
		/// the parameter of a IDbCommand.
		/// </summary>
		/// <param name="dataParameter"></param>
		/// <param name="parameterValue">The value to be set</param>
		/// <param name="dbType">Data base type</param>
		public override void SetParameter(IDataParameter dataParameter, object parameterValue, string dbType)
		{
			IParameterSetter setter = new ParameterSetterImpl(dataParameter);
			_callback.SetParameter(setter, parameterValue);
		}
예제 #2
0
        /// <summary>
        /// Performs processing on a value before it is used to set
        /// the parameter of a IDbCommand.
        /// </summary>
        /// <param name="dataParameter"></param>
        /// <param name="parameterValue">The value to be set</param>
        /// <param name="dbType">Data base type</param>
        public override void SetParameter(IDataParameter dataParameter, object parameterValue, string dbType)
        {
            IParameterSetter setter = new ParameterSetterImpl(dataParameter);

            _callback.SetParameter(setter, parameterValue);
        }