示例#1
0
        /// <summary>
        /// Splits the statements in the script using the ";" character or
        /// DELIMITER if specified.
        /// </summary>
        /// <param name="scriptContents">The contents of the script to split.</param>
        public override IEnumerable <string> SplitScriptIntoCommands(string scriptContents)
        {
            var commandSplitter  = new MySqlCommandSplitter();
            var scriptStatements = commandSplitter.SplitScriptIntoCommands(scriptContents);

            return(scriptStatements);
        }
示例#2
0
 /// <summary>
 /// Splits the statements in the script using the ";" character or 
 /// DELIMITER if specified.
 /// </summary>
 /// <param name="scriptContents">The contents of the script to split.</param>
 public override IEnumerable<string> SplitScriptIntoCommands(string scriptContents)
 {
     var commandSplitter = new MySqlCommandSplitter();
     var scriptStatements = commandSplitter.SplitScriptIntoCommands(scriptContents);
     return scriptStatements;
 }