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