コード例 #1
0
ファイル: SqlWriter.cs プロジェクト: WouterDemuynck/popsql
        /// <summary>
        /// Writes the specified SQL parameter to the output stream.
        /// </summary>
        /// <param name="parameterName">
        /// The value to write to the output stream.
        /// </param>
        public void WriteParameter(string parameterName)
        {
            EnsureNotDisposed();

            if (string.IsNullOrWhiteSpace(parameterName))
            {
                throw new ArgumentNullException(nameof(parameterName));
            }
            Write(Dialect.FormatParameterName(parameterName));
        }