예제 #1
0
 private Result ConnectDb(string path, out DbCore db)
 {
     db = null;
     try
     {
         db = new DbCore(_dbPath);
         db.Connect();
         return(new Result(ResultEnum.No_Error, ""));
     }
     catch (Exception e)
     {
         return(new Result(ResultEnum.Err_connect, e));
     }
 }