Method GetFieldVarChar
- Namespace
- YndigoBlue.Velocity.Model
- Assembly
- YndigoBlue.Velocity.dll
GetFieldVarChar(string)
Gets the value of a VARCHAR field as a string. Also returns values from string, clob, char, and geometry (as WKT) fields.
public string GetFieldVarChar(string fieldName)
Parameters
fieldNamestringThe column name.
Returns
- string
The string value, or
nullif the field is SQL NULL.
Exceptions
- Exception
Thrown when the field name is invalid or no varchar-compatible value can be found.