Table of Contents

Class SqlExtensions

Namespace
LinqToDB.Tools
Assembly
linq2db.dll
public static class SqlExtensions
Inheritance
SqlExtensions

Methods

In<T>(T, IEnumerable<T>)

[ExpressionMethod("InImpl1")]
public static bool In<T>(this T value, IEnumerable<T> sequence)

Parameters

value T
sequence IEnumerable<T>

Returns

bool

Type Parameters

T

In<T>(T, IQueryable<T>)

[ExpressionMethod("InImpl2")]
public static bool In<T>(this T value, IQueryable<T> sequence)

Parameters

value T
sequence IQueryable<T>

Returns

bool

Type Parameters

T

In<T>(T, T, T)

[ExpressionMethod("InImpl4")]
public static bool In<T>(this T value, T cmp1, T cmp2)

Parameters

value T
cmp1 T
cmp2 T

Returns

bool

Type Parameters

T

In<T>(T, T, T, T)

[ExpressionMethod("InImpl5")]
public static bool In<T>(this T value, T cmp1, T cmp2, T cmp3)

Parameters

value T
cmp1 T
cmp2 T
cmp3 T

Returns

bool

Type Parameters

T

In<T>(T, params T[])

[ExpressionMethod("InImpl3")]
public static bool In<T>(this T value, params T[] sequence)

Parameters

value T
sequence T[]

Returns

bool

Type Parameters

T

NotIn<T>(T, IEnumerable<T>)

[ExpressionMethod("NotInImpl1")]
public static bool NotIn<T>(this T value, IEnumerable<T> sequence)

Parameters

value T
sequence IEnumerable<T>

Returns

bool

Type Parameters

T

NotIn<T>(T, IQueryable<T>)

[ExpressionMethod("NotInImpl2")]
public static bool NotIn<T>(this T value, IQueryable<T> sequence)

Parameters

value T
sequence IQueryable<T>

Returns

bool

Type Parameters

T

NotIn<T>(T, T, T)

[ExpressionMethod("NotInImpl4")]
public static bool NotIn<T>(this T value, T cmp1, T cmp2)

Parameters

value T
cmp1 T
cmp2 T

Returns

bool

Type Parameters

T

NotIn<T>(T, T, T, T)

[ExpressionMethod("NotInImpl5")]
public static bool NotIn<T>(this T value, T cmp1, T cmp2, T cmp3)

Parameters

value T
cmp1 T
cmp2 T
cmp3 T

Returns

bool

Type Parameters

T

NotIn<T>(T, params T[])

[ExpressionMethod("NotInImpl3")]
public static bool NotIn<T>(this T value, params T[] sequence)

Parameters

value T
sequence T[]

Returns

bool

Type Parameters

T