Bug #83302 Sample code is not correct: "MySQLX" not "MySqlX"
Submitted: 7 Oct 2016 13:33 Modified: 31 Jul 2017 16:36
Reporter: Gabriela Martinez Sanchez Email Updates:
Status: Closed Impact on me:
Category:Connector / NET Documentation Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Roberto Ezequiel Garcia Ballesteros CPU Architecture:Any

[7 Oct 2016 13:33] Gabriela Martinez Sanchez
Since C# is case sensitive the sample code above has an error which took me
quite a while to figure out :(
per this document:
the main class for session operations for MySQL Hybrid is named "MySQLX"
not "MySqlX" as you have in these lines above:
// Connect to server on localhost
  var mySession =
that line gives the error:
Type or namespace 'GetSession' does not exist in the namespace 'MySqlX'
(are you missing an assembly reference?)
Hope this help a few folks.

How to repeat:

Suggested fix:
use "MySQLX" not "MySqlX"
[25 Apr 2017 20:06] Christine Cole
Updated the X DevAPI User Guide:
* Replaced MySqlX => MySQLX in syntax examples in concepts.xml and 
[31 Jul 2017 16:35] Stefan Hinz
Posted by developer:
Thanks for reporting! Documentation bug fixed.