DomainObjects Class Library

ConvertTo Class

Converts the return value of a field from one data type to another and formats the output according to the specified Style. Only supported for SQL Server.

For a list of all members of this type, see ConvertTo Members.

System.Object
   Field
      ScalarFunction
         ConvertTo

public class ConvertTo : ScalarFunction, IEquatable<T>

Example

The following unit test demonstrates the usage of the ConvertTo function: see FunctionTests.ConvertTo().

Requirements

Namespace: DomainObjects.Facade.Command.Function

Assembly: DomainObjects.Core (in DomainObjects.Core.dll)

See Also

ConvertTo Members | DomainObjects.Facade.Command.Function Namespace