Platform Core .NET Assemblies API
CreateCastFunction Method
See Also  Send Feedback
Terrasoft.Core.Entities Namespace > EntitySchemaQuery Class : CreateCastFunction Method
columnPath
Path to column in relation to the root schema.
castType
The target data type.

Glossary Item Box

Returns an instance of the EntitySchemaCastQueryFunction function for the specified column expression by the specified path relative to the root schema and specified target data type.

Syntax

 
C#
 
 

Parameters

columnPath
Path to column in relation to the root schema.
castType
The target data type.

Return Value

The instance of the created EntitySchemaCastQueryFunction function.

Exceptions

ExceptionDescription
Terrasoft.Common.ArgumentNullOrEmptyExceptionIf an empty string or null is received as the columnPath parameter.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.