Exposed Adaptive Server functions

Use the AseFunction class methods to call Adaptive Server-specific functions in LINQ.

Table 5: Adaptive Server Functions Available in LINQ

Adaptive Server Function

AseFunction Class Equivalent

acos

Acos

ascii

Ascii

asin

Asin

atan

Atan

atn2

Atn2

biginttohex

BigIntToHex

bintostr

BinaryToString

char

Char

char_length

CharLength

cos

Cos

cot

Cot

current_bigdatetime

CurrentBigDatetime

current_bigtime

CurrentBigTime

current_date

CurrentDate

current_time

CurrentTime

datalength

DataLength

datename

DateName

degrees

Degrees

difference

Difference

exp

Exp

hextobigint

HexToBigInt

hextoint

HexToInt

inttohex

IntToHex

isdate

IsDate

isnumeric

IsNumeric

log

Log

log10

Log10

pi

Pi

radians

Radians

rand

Rand

rand2

Rand2

replicate

Replicate

sign

Sign

sin

Sin

soundex

SoundCode

space

Space

sqrt

SquareRoot

square

Square

str

StringConvert

strtobin

StringToBinary

stuff

Stuff

tan

Tan

to_unichar

ToUnicodeChar

uhighsurr

UnicodeHighSurrogate

ulowsurr

UnicodeLowSurrogate

uscalar

UnicodeScalar

user_name

UserName