C# 클래스 Habanero.Base.DataMappers.ByteArrayDataMapper

data mapper that is used for reading and writing byte[] (Byte array) from a database
상속: Habanero.Base.DataMappers.DataMapper
파일 보기 프로젝트 열기: Chillisoft/habanero 1 사용 예제들

공개 메소드들

메소드 설명
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