コード例 #1
0
 public async Task MsgLogSql([Remainder] string query)
 {
     try
     {
         MessageHistory messageHistory = new MessageHistory();
         await SendMsg((await messageHistory.ExecuteNonquery(query)).ToString());
     }
     catch (Exception e)
     {
         await SendMsg(e.Message + "\n" + e.StackTrace);
     }
 }