DomainObjects Class Library

ConvertTo Constructor (String, SqlDbType, Nullable<T>, Nullable<T>)

Converts the value of the given string to the given convertToType.

public ConvertTo(
   String stringValueToConvert,
   SqlDbType convertToType,
   Nullable<T> convertToLength,
   Nullable<T> style
);

Parameters

stringValueToConvert
The string value to convert.
convertToType
The database type to which the field will be converted.
convertToLength
The length to which the field will be converted.
style
The date format to use when converting a date to a string, or the string format to use when converting float, real, money, or smallmoney data to a string.

See Also

ConvertTo Class | DomainObjects.Facade.Command.Function Namespace | ConvertTo Constructor Overload List