Class SqlExtensions
Inheritance
System.Object
SqlExtensions
Assembly: linq2db.dll
public static class SqlExtensions : object
Methods
|
Improve this Doc
View Source
Declaration
public static bool In<T>(this T value, T cmp1, T cmp2)
Parameters
Type |
Name |
Description |
T |
value |
|
T |
cmp1 |
|
T |
cmp2 |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
public static bool In<T>(this T value, T cmp1, T cmp2, T cmp3)
Parameters
Type |
Name |
Description |
T |
value |
|
T |
cmp1 |
|
T |
cmp2 |
|
T |
cmp3 |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
public static bool In<T>(this T value, params T[] sequence)
Parameters
Type |
Name |
Description |
T |
value |
|
T[] |
sequence |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
public static bool In<T>(this T value, IEnumerable<T> sequence)
Parameters
Type |
Name |
Description |
T |
value |
|
IEnumerable<T> |
sequence |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
public static bool In<T>(this T value, IQueryable<T> sequence)
Parameters
Type |
Name |
Description |
T |
value |
|
IQueryable<T> |
sequence |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
public static bool NotIn<T>(this T value, T cmp1, T cmp2)
Parameters
Type |
Name |
Description |
T |
value |
|
T |
cmp1 |
|
T |
cmp2 |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
public static bool NotIn<T>(this T value, T cmp1, T cmp2, T cmp3)
Parameters
Type |
Name |
Description |
T |
value |
|
T |
cmp1 |
|
T |
cmp2 |
|
T |
cmp3 |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
public static bool NotIn<T>(this T value, params T[] sequence)
Parameters
Type |
Name |
Description |
T |
value |
|
T[] |
sequence |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
public static bool NotIn<T>(this T value, IEnumerable<T> sequence)
Parameters
Type |
Name |
Description |
T |
value |
|
IEnumerable<T> |
sequence |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
public static bool NotIn<T>(this T value, IQueryable<T> sequence)
Parameters
Type |
Name |
Description |
T |
value |
|
IQueryable<T> |
sequence |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters