Class FieldValueParser
Parse string values to the correct .NET type, for a given database field
Inherited Members
Namespace: SuperOffice.Data.Dialect
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public static class FieldValueParser
Methods
ParseValue(object, FieldDataType, bool)
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 | |
| bool | nullAllowed |
Returns
| Type | Description |
|---|---|
| object |