Table of Contents

Class Sql.Types

Namespace
LinqToDB
Assembly
linq2db.dll
public static class Sql.Types
Inheritance
object
Sql.Types

Properties

BigInt

public static long BigInt { get; }

Property Value

long

Bit

public static bool Bit { get; }

Property Value

bool

Date

public static DateTime Date { get; }

Property Value

DateTime

DateTime

public static DateTime DateTime { get; }

Property Value

DateTime

DateTime2

public static DateTime DateTime2 { get; }

Property Value

DateTime

DateTimeOffset

public static DateTimeOffset DateTimeOffset { get; }

Property Value

DateTimeOffset

DefaultChar

public static string DefaultChar { get; }

Property Value

string

DefaultDecimal

public static decimal DefaultDecimal { get; }

Property Value

decimal

DefaultNChar

public static string DefaultNChar { get; }

Property Value

string

DefaultNVarChar

public static string DefaultNVarChar { get; }

Property Value

string

DefaultVarChar

public static string DefaultVarChar { get; }

Property Value

string

Float

public static double Float { get; }

Property Value

double

Int

public static int Int { get; }

Property Value

int

Money

public static decimal Money { get; }

Property Value

decimal

Real

public static float Real { get; }

Property Value

float

SmallDateTime

public static DateTime SmallDateTime { get; }

Property Value

DateTime

SmallInt

public static short SmallInt { get; }

Property Value

short

SmallMoney

public static decimal SmallMoney { get; }

Property Value

decimal

Time

public static DateTime Time { get; }

Property Value

DateTime

TinyInt

public static byte TinyInt { get; }

Property Value

byte

Methods

Char(int)

public static string Char(int length)

Parameters

length int

Returns

string

Decimal(int)

public static decimal Decimal(int precision)

Parameters

precision int

Returns

decimal

Decimal(int, int)

public static decimal Decimal(int precision, int scale)

Parameters

precision int
scale int

Returns

decimal

NChar(int)

public static string NChar(int length)

Parameters

length int

Returns

string

NVarChar(int)

public static string NVarChar(int length)

Parameters

length int

Returns

string

VarChar(int)

public static string VarChar(int length)

Parameters

length int

Returns

string