Beispiel #1
0
        /// <summary>
        /// Escapes the wildcard characters and the escape character in the given argument.
        /// </summary>
        /// <param name="argument"></param>
        /// <returns>Equivalent to the argument, with the wildcard characters and the escape character escaped</returns>
        public override string EscapeLikeArgument(string argument)
        {
            EntityUtil.CheckArgumentNull(argument, "argument");

            bool usedEscapeCharacter;

            return(SqlProviderManifest.EscapeLikeText(argument, true, out usedEscapeCharacter));
        }