C# Class Hd.QueryExtensions.SqlConstant

Mostrar archivo Open project: TargetProcess/Tp.HelpDesk Class Usage Examples

Public Methods

Method Description
Date ( System.DateTime val ) : SqlConstant

Creates a SqlConstant which represents a date value.

Number ( decimal val ) : SqlConstant

Creates a SqlConstant which represents a numeric value.

Number ( double val ) : SqlConstant

Creates a SqlConstant which represents a numeric value.

Number ( int val ) : SqlConstant

Creates a SqlConstant which represents a numeric value.

SqlConstant ( ) : System
SqlConstant ( SqlDataType type, object val ) : System

Creates a new SqlConstant instance

String ( string val ) : SqlConstant

Creates a SqlConstant which represents a textual value.

Method Details

Date() public static method

Creates a SqlConstant which represents a date value.
public static Date ( System.DateTime val ) : SqlConstant
val System.DateTime Value of the expression
return SqlConstant

Number() public static method

Creates a SqlConstant which represents a numeric value.
public static Number ( decimal val ) : SqlConstant
val decimal Value of the expression
return SqlConstant

Number() public static method

Creates a SqlConstant which represents a numeric value.
public static Number ( double val ) : SqlConstant
val double Value of the expression
return SqlConstant

Number() public static method

Creates a SqlConstant which represents a numeric value.
public static Number ( int val ) : SqlConstant
val int Value of the expression
return SqlConstant

SqlConstant() public method

public SqlConstant ( ) : System
return System

SqlConstant() public method

Creates a new SqlConstant instance
public SqlConstant ( SqlDataType type, object val ) : System
type SqlDataType Constant's date type
val object Constant's value
return System

String() public static method

Creates a SqlConstant which represents a textual value.
public static String ( string val ) : SqlConstant
val string Value of the expression
return SqlConstant