示例#1
0
    private readonly Encoding _fileEncoding; // or null for automatic

    // must be run from the SQLite thread
    public static void Run(Notebook notebook, ScriptEnv env, ScriptRunner runner, Ast.ImportTxtStmt stmt)
    {
        var importer = new ImportTxtStmtRunner(notebook, env, runner, stmt);

        SqlUtil.WithTransaction(notebook, importer.Import);
    }
示例#2
0
 private void ExecuteImportTxtStmt(Ast.ImportTxtStmt stmt, ScriptEnv env)
 {
     ImportTxtStmtRunner.Run(_notebook, env, this, stmt);
 }