C# Класс Habanero.Base.DataMappers.ByteArrayDataMapper

data mapper that is used for reading and writing byte[] (Byte array) from a database
Наследование: Habanero.Base.DataMappers.DataMapper
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ConvertValueToString ( object value ) : string

Converts the value of a valid type for this property definition to a string relevant. A null value will be oonverted to a zero length string.

TryParsePropValue ( object valueToParse, object &returnValue ) : bool

This method provides the functionality to convert any object to the appropriate type for this mapper. The default behaviour only handles null values, empty strings and DBNull.Value and parses all three to null. This method should be overridden in subtypes to parse values to the type you want.

Описание методов

ConvertValueToString() публичный метод

Converts the value of a valid type for this property definition to a string relevant. A null value will be oonverted to a zero length string.
public ConvertValueToString ( object value ) : string
value object The value to be converted
Результат string

TryParsePropValue() публичный метод

This method provides the functionality to convert any object to the appropriate type for this mapper. The default behaviour only handles null values, empty strings and DBNull.Value and parses all three to null. This method should be overridden in subtypes to parse values to the type you want.
public TryParsePropValue ( object valueToParse, object &returnValue ) : bool
valueToParse object The value to be attempted to parse
returnValue object the parsed value, if parsing was successful
Результат bool