Exemple #1
0
        /// <summary>
        /// Returns new SQL parameter with specified parameter.
        /// </summary>
        public virtual DbParameter CreateParameter(string parameterName, int type, int size = 0)
        {
            var dbType = GetDbType();

            return(AssemblyHelper.CreateParameterWithTypeAndSize(TypeParameter, parameterName, type, size, dbType ?? typeof(int)));
        }