Class FieldValueParser
Parse string values to the correct .NET type, for a given database field
Namespace: SuperOffice.Data.Dialect
Assembly: SoDataBase.dll
Syntax
public static class FieldValueParser : Object
Methods
ParseValue(Object, FieldDataType, Boolean)
Parse string values to the correct .NET type, for a given database field
Declaration
public static object ParseValue(object val, FieldDataType type, bool nullAllowed = false)
Parameters
Type | Name | Description |
---|---|---|
Object | val | |
FieldDataType | type | |
Boolean | nullAllowed |
Returns
Type | Description |
---|---|
Object |