Пример #1
0
 /// <summary>
 /// Exception from native connection
 /// </summary>
 /// <param name="nativeConnection"></param>
 /// <param name="message"></param>
 public MySqlException(NativeConnection nativeConnection, string message = null)
 {
     Number  = nativeConnection.mysql_errno();
     Message = nativeConnection.mysql_error() + " (" + Number + ")" + (message != null ? "\nContext:\n" + message : "");
 }