상속: MySqlScriptEventArgs
예제 #1
0
 private bool OnScriptError(Exception ex)
 {
     if (Error != null)
     {
         MySqlScriptErrorEventArgs args = new MySqlScriptErrorEventArgs(ex);
         Error(this, args);
         return(args.Ignore);
     }
     return(false);
 }
예제 #2
0
 private bool OnScriptError(Exception ex)
 {
     if (Error != null)
       {
     MySqlScriptErrorEventArgs args = new MySqlScriptErrorEventArgs(ex);
     Error(this, args);
     return args.Ignore;
       }
       return false;
 }
예제 #3
0
파일: Program.cs 프로젝트: romovs/mysv
 static void ScriptErrorHandler(object sender, MySqlScriptErrorEventArgs args)
 {
     Console.Error.WriteLine("\n\n Error occured! ");
     Console.Error.WriteLine(" Last successfully executed statement: " + lastExecutedStatement);
     Console.Error.WriteLine(" Exception: " + args.Exception.Message);
     throw new SQLExecuteException();
 }