Converts a string obtained from the database into an enum to be loaded into an entity field.

Namespace:  Mindscape.LightSpeed.FieldConverters
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
protected override TEnum ConvertFromDatabase(
	string databaseValue
)
Visual Basic (Declaration)
Protected Overrides Function ConvertFromDatabase ( _
	databaseValue As String _
) As TEnum

Parameters

databaseValue
Type: System..::.String
The string obtained from the database.

Return Value

The enum to which to set the entity field.

See Also