LinkMenuExpand(external link)DocumentSearchCopyCopied

MySqlBulkCopyColumnMapping.Expression property

An optional expression for setting a destination column. To use an expression, the DestinationColumn should be set to the name of a user-defined variable and this expression should set a column using that variable.

public string? Expression { get; set; }

Remarks

To populate a binary column, you must set DestinationColumn to a variable name, and Expression to an expression that uses

UNHEX

to set the column value, e.g.,

`destColumn` = UNHEX(@variableName)

.

See Also