I am attempting to populate a POINT object (with lat long coordinates) using the ADO.net connector in the following way:
command.Parameters.Add("@PointField",MySqlDbType.Geometry);
command.Parameters["@PointField"].Value = /* what do I put here ? */
I'm assuming I need some kind of object that will generate WKB blob data for the point, but have been unable to find something that will do this.
Any advice would be appreciated.
command.Parameters.Add("@PointField",MySqlDbType.Geometry);
command.Parameters["@PointField"].Value = /* what do I put here ? */
I'm assuming I need some kind of object that will generate WKB blob data for the point, but have been unable to find something that will do this.
Any advice would be appreciated.