Class Select2Provider<T1, T2>
Inheritance
System.Object
Select2Provider<T1, T2>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: FreeSql.dll
Syntax
public abstract class Select2Provider<T1, T2> : Select0Provider<ISelect<T1, T2>, T1>, ISelect<T1, T2>, ISelect0<ISelect<T1, T2>, T1>, ISelect0 where T2 : class
Type Parameters
Constructors
|
Improve this Doc
View Source
Select2Provider(IFreeSql, CommonUtils, CommonExpression, Object)
Declaration
public Select2Provider(IFreeSql orm, CommonUtils commonUtils, CommonExpression commonExpression, object dywhere)
Parameters
Methods
|
Improve this Doc
View Source
ToChunk<TReturn>(Expression<Func<T1, T2, TReturn>>, Int32, Action<FetchCallbackArgs<List<TReturn>>>)
Declaration
public void ToChunk<TReturn>(Expression<Func<T1, T2, TReturn>> select, int size, Action<FetchCallbackArgs<List<TReturn>>> done)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TReturn>> |
select |
|
| System.Int32 |
size |
|
| System.Action<FetchCallbackArgs<System.Collections.Generic.List<TReturn>>> |
done |
|
Type Parameters
|
Improve this Doc
View Source
ToChunk<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>>, Int32, Action<FetchCallbackArgs<List<TReturn>>>)
Declaration
public void ToChunk<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>> select, int size, Action<FetchCallbackArgs<List<TReturn>>> done)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TReturn>> |
select |
|
| System.Int32 |
size |
|
| System.Action<FetchCallbackArgs<System.Collections.Generic.List<TReturn>>> |
done |
|
Type Parameters
Explicit Interface Implementations
|
Improve this Doc
View Source
ISelect<T1, T2>.Aggregate<TReturn>(Expression<Func<ISelectGroupingAggregate<T1>, ISelectGroupingAggregate<T2>, TReturn>>, out TReturn)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.Aggregate<TReturn>(Expression<Func<ISelectGroupingAggregate<T1>, ISelectGroupingAggregate<T2>, TReturn>> select, out TReturn result)
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.Any(Expression<Func<T1, T2, Boolean>>)
Declaration
bool ISelect<T1, T2>.Any(Expression<Func<T1, T2, bool>> exp)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, System.Boolean>> |
exp |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ISelect<T1, T2>.Any(Expression<Func<HzyTuple<T1, T2>, Boolean>>)
Declaration
bool ISelect<T1, T2>.Any(Expression<Func<HzyTuple<T1, T2>, bool>> exp)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, System.Boolean>> |
exp |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ISelect<T1, T2>.AnyAsync(Expression<Func<T1, T2, Boolean>>, CancellationToken)
Declaration
async Task<bool> ISelect<T1, T2>.AnyAsync(Expression<Func<T1, T2, bool>> exp, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, System.Boolean>> |
exp |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
ISelect<T1, T2>.AnyAsync(Expression<Func<HzyTuple<T1, T2>, Boolean>>, CancellationToken)
Declaration
async Task<bool> ISelect<T1, T2>.AnyAsync(Expression<Func<HzyTuple<T1, T2>, bool>> exp, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, System.Boolean>> |
exp |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
ISelect<T1, T2>.Avg<TMember>(Expression<Func<T1, T2, TMember>>)
Declaration
double ISelect<T1, T2>.Avg<TMember>(Expression<Func<T1, T2, TMember>> column)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TMember>> |
column |
|
Returns
| Type |
Description |
| System.Double |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.Avg<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>>)
Declaration
double ISelect<T1, T2>.Avg<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>> column)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TMember>> |
column |
|
Returns
| Type |
Description |
| System.Double |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.AvgAsync<TMember>(Expression<Func<T1, T2, TMember>>, CancellationToken)
Declaration
Task<double> ISelect<T1, T2>.AvgAsync<TMember>(Expression<Func<T1, T2, TMember>> column, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TMember>> |
column |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Double> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.AvgAsync<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>>, CancellationToken)
Declaration
Task<double> ISelect<T1, T2>.AvgAsync<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>> column, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TMember>> |
column |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Double> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.First<TDto>()
Declaration
TDto ISelect<T1, T2>.First<TDto>()
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.First<TReturn>(Expression<Func<T1, T2, TReturn>>)
Declaration
TReturn ISelect<T1, T2>.First<TReturn>(Expression<Func<T1, T2, TReturn>> select)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TReturn>> |
select |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.First<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>>)
Declaration
TReturn ISelect<T1, T2>.First<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>> select)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TReturn>> |
select |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.FirstAsync<TReturn>(Expression<Func<T1, T2, TReturn>>, CancellationToken)
Declaration
async Task<TReturn> ISelect<T1, T2>.FirstAsync<TReturn>(Expression<Func<T1, T2, TReturn>> select, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TReturn>> |
select |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TReturn> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.FirstAsync<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>>, CancellationToken)
Declaration
async Task<TReturn> ISelect<T1, T2>.FirstAsync<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>> select, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TReturn>> |
select |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TReturn> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.FirstAsync<TDto>(CancellationToken)
Declaration
async Task<TDto> ISelect<T1, T2>.FirstAsync<TDto>(CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TDto> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.GroupBy<TKey>(Expression<Func<T1, T2, TKey>>)
Declaration
ISelectGrouping<TKey, NativeTuple<T1, T2>> ISelect<T1, T2>.GroupBy<TKey>(Expression<Func<T1, T2, TKey>> exp)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TKey>> |
exp |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.GroupBy<TKey>(Expression<Func<HzyTuple<T1, T2>, TKey>>)
Declaration
ISelectGrouping<TKey, NativeTuple<T1, T2>> ISelect<T1, T2>.GroupBy<TKey>(Expression<Func<HzyTuple<T1, T2>, TKey>> exp)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TKey>> |
exp |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.InnerJoin(Expression<Func<T1, T2, Boolean>>)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.InnerJoin(Expression<Func<T1, T2, bool>> exp)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, System.Boolean>> |
exp |
|
Returns
|
Improve this Doc
View Source
ISelect<T1, T2>.InnerJoin(Expression<Func<HzyTuple<T1, T2>, Boolean>>)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.InnerJoin(Expression<Func<HzyTuple<T1, T2>, bool>> exp)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, System.Boolean>> |
exp |
|
Returns
|
Improve this Doc
View Source
ISelect<T1, T2>.InsertInto<TTargetEntity>(String, Expression<Func<T1, T2, TTargetEntity>>)
Declaration
int ISelect<T1, T2>.InsertInto<TTargetEntity>(string tableName, Expression<Func<T1, T2, TTargetEntity>> select)
where TTargetEntity : class
Parameters
| Type |
Name |
Description |
| System.String |
tableName |
|
| System.Linq.Expressions.Expression<System.Func<T1, T2, TTargetEntity>> |
select |
|
Returns
| Type |
Description |
| System.Int32 |
|
Type Parameters
| Name |
Description |
| TTargetEntity |
|
|
Improve this Doc
View Source
ISelect<T1, T2>.InsertInto<TTargetEntity>(String, Expression<Func<HzyTuple<T1, T2>, TTargetEntity>>)
Declaration
int ISelect<T1, T2>.InsertInto<TTargetEntity>(string tableName, Expression<Func<HzyTuple<T1, T2>, TTargetEntity>> select)
where TTargetEntity : class
Parameters
| Type |
Name |
Description |
| System.String |
tableName |
|
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TTargetEntity>> |
select |
|
Returns
| Type |
Description |
| System.Int32 |
|
Type Parameters
| Name |
Description |
| TTargetEntity |
|
|
Improve this Doc
View Source
ISelect<T1, T2>.InsertIntoAsync<TTargetEntity>(String, Expression<Func<T1, T2, TTargetEntity>>, CancellationToken)
Declaration
Task<int> ISelect<T1, T2>.InsertIntoAsync<TTargetEntity>(string tableName, Expression<Func<T1, T2, TTargetEntity>> select, CancellationToken cancellationToken)
where TTargetEntity : class
Parameters
| Type |
Name |
Description |
| System.String |
tableName |
|
| System.Linq.Expressions.Expression<System.Func<T1, T2, TTargetEntity>> |
select |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Int32> |
|
Type Parameters
| Name |
Description |
| TTargetEntity |
|
|
Improve this Doc
View Source
ISelect<T1, T2>.InsertIntoAsync<TTargetEntity>(String, Expression<Func<HzyTuple<T1, T2>, TTargetEntity>>, CancellationToken)
Declaration
Task<int> ISelect<T1, T2>.InsertIntoAsync<TTargetEntity>(string tableName, Expression<Func<HzyTuple<T1, T2>, TTargetEntity>> select, CancellationToken cancellationToken)
where TTargetEntity : class
Parameters
| Type |
Name |
Description |
| System.String |
tableName |
|
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TTargetEntity>> |
select |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Int32> |
|
Type Parameters
| Name |
Description |
| TTargetEntity |
|
|
Improve this Doc
View Source
ISelect<T1, T2>.LeftJoin(Expression<Func<T1, T2, Boolean>>)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.LeftJoin(Expression<Func<T1, T2, bool>> exp)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, System.Boolean>> |
exp |
|
Returns
|
Improve this Doc
View Source
ISelect<T1, T2>.LeftJoin(Expression<Func<HzyTuple<T1, T2>, Boolean>>)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.LeftJoin(Expression<Func<HzyTuple<T1, T2>, bool>> exp)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, System.Boolean>> |
exp |
|
Returns
|
Improve this Doc
View Source
ISelect<T1, T2>.Max<TMember>(Expression<Func<T1, T2, TMember>>)
Declaration
TMember ISelect<T1, T2>.Max<TMember>(Expression<Func<T1, T2, TMember>> column)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TMember>> |
column |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.Max<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>>)
Declaration
TMember ISelect<T1, T2>.Max<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>> column)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TMember>> |
column |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.MaxAsync<TMember>(Expression<Func<T1, T2, TMember>>, CancellationToken)
Declaration
Task<TMember> ISelect<T1, T2>.MaxAsync<TMember>(Expression<Func<T1, T2, TMember>> column, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TMember>> |
column |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TMember> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.MaxAsync<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>>, CancellationToken)
Declaration
Task<TMember> ISelect<T1, T2>.MaxAsync<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>> column, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TMember>> |
column |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TMember> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.Min<TMember>(Expression<Func<T1, T2, TMember>>)
Declaration
TMember ISelect<T1, T2>.Min<TMember>(Expression<Func<T1, T2, TMember>> column)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TMember>> |
column |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.Min<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>>)
Declaration
TMember ISelect<T1, T2>.Min<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>> column)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TMember>> |
column |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.MinAsync<TMember>(Expression<Func<T1, T2, TMember>>, CancellationToken)
Declaration
Task<TMember> ISelect<T1, T2>.MinAsync<TMember>(Expression<Func<T1, T2, TMember>> column, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TMember>> |
column |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TMember> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.MinAsync<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>>, CancellationToken)
Declaration
Task<TMember> ISelect<T1, T2>.MinAsync<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>> column, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TMember>> |
column |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TMember> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.OrderBy<TMember>(Expression<Func<T1, T2, TMember>>)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.OrderBy<TMember>(Expression<Func<T1, T2, TMember>> column)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TMember>> |
column |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.OrderBy<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>>)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.OrderBy<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>> column)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TMember>> |
column |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.OrderByDescending<TMember>(Expression<Func<T1, T2, TMember>>)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.OrderByDescending<TMember>(Expression<Func<T1, T2, TMember>> column)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TMember>> |
column |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.OrderByDescending<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>>)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.OrderByDescending<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>> column)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TMember>> |
column |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.OrderByIf<TMember>(Boolean, Expression<Func<T1, T2, TMember>>, Boolean)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.OrderByIf<TMember>(bool condition, Expression<Func<T1, T2, TMember>> column, bool descending)
Parameters
| Type |
Name |
Description |
| System.Boolean |
condition |
|
| System.Linq.Expressions.Expression<System.Func<T1, T2, TMember>> |
column |
|
| System.Boolean |
descending |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.OrderByIf<TMember>(Boolean, Expression<Func<HzyTuple<T1, T2>, TMember>>, Boolean)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.OrderByIf<TMember>(bool condition, Expression<Func<HzyTuple<T1, T2>, TMember>> column, bool descending)
Parameters
| Type |
Name |
Description |
| System.Boolean |
condition |
|
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TMember>> |
column |
|
| System.Boolean |
descending |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.RightJoin(Expression<Func<T1, T2, Boolean>>)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.RightJoin(Expression<Func<T1, T2, bool>> exp)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, System.Boolean>> |
exp |
|
Returns
|
Improve this Doc
View Source
ISelect<T1, T2>.RightJoin(Expression<Func<HzyTuple<T1, T2>, Boolean>>)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.RightJoin(Expression<Func<HzyTuple<T1, T2>, bool>> exp)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, System.Boolean>> |
exp |
|
Returns
|
Improve this Doc
View Source
ISelect<T1, T2>.Sum<TMember>(Expression<Func<T1, T2, TMember>>)
Declaration
decimal ISelect<T1, T2>.Sum<TMember>(Expression<Func<T1, T2, TMember>> column)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TMember>> |
column |
|
Returns
| Type |
Description |
| System.Decimal |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.Sum<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>>)
Declaration
decimal ISelect<T1, T2>.Sum<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>> column)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TMember>> |
column |
|
Returns
| Type |
Description |
| System.Decimal |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.SumAsync<TMember>(Expression<Func<T1, T2, TMember>>, CancellationToken)
Declaration
Task<decimal> ISelect<T1, T2>.SumAsync<TMember>(Expression<Func<T1, T2, TMember>> column, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TMember>> |
column |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Decimal> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.SumAsync<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>>, CancellationToken)
Declaration
Task<decimal> ISelect<T1, T2>.SumAsync<TMember>(Expression<Func<HzyTuple<T1, T2>, TMember>> column, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TMember>> |
column |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Decimal> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToAggregate<TReturn>(Expression<Func<ISelectGroupingAggregate<T1>, ISelectGroupingAggregate<T2>, TReturn>>)
Declaration
TReturn ISelect<T1, T2>.ToAggregate<TReturn>(Expression<Func<ISelectGroupingAggregate<T1>, ISelectGroupingAggregate<T2>, TReturn>> select)
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToAggregateAsync<TReturn>(Expression<Func<ISelectGroupingAggregate<T1>, ISelectGroupingAggregate<T2>, TReturn>>, CancellationToken)
Declaration
Task<TReturn> ISelect<T1, T2>.ToAggregateAsync<TReturn>(Expression<Func<ISelectGroupingAggregate<T1>, ISelectGroupingAggregate<T2>, TReturn>> select, CancellationToken cancellationToken)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TReturn> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToDataTable<TReturn>(Expression<Func<T1, T2, TReturn>>)
Declaration
DataTable ISelect<T1, T2>.ToDataTable<TReturn>(Expression<Func<T1, T2, TReturn>> select)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TReturn>> |
select |
|
Returns
| Type |
Description |
| System.Data.DataTable |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToDataTable<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>>)
Declaration
DataTable ISelect<T1, T2>.ToDataTable<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>> select)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TReturn>> |
select |
|
Returns
| Type |
Description |
| System.Data.DataTable |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToDataTableAsync<TReturn>(Expression<Func<T1, T2, TReturn>>, CancellationToken)
Declaration
Task<DataTable> ISelect<T1, T2>.ToDataTableAsync<TReturn>(Expression<Func<T1, T2, TReturn>> select, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TReturn>> |
select |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Data.DataTable> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToDataTableAsync<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>>, CancellationToken)
Declaration
Task<DataTable> ISelect<T1, T2>.ToDataTableAsync<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>> select, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TReturn>> |
select |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Data.DataTable> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToList<TDto>()
Declaration
List<TDto> ISelect<T1, T2>.ToList<TDto>()
Returns
| Type |
Description |
| System.Collections.Generic.List<TDto> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToList<TReturn>(Expression<Func<T1, T2, TReturn>>)
Declaration
List<TReturn> ISelect<T1, T2>.ToList<TReturn>(Expression<Func<T1, T2, TReturn>> select)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TReturn>> |
select |
|
Returns
| Type |
Description |
| System.Collections.Generic.List<TReturn> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToList<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>>)
Declaration
List<TReturn> ISelect<T1, T2>.ToList<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>> select)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TReturn>> |
select |
|
Returns
| Type |
Description |
| System.Collections.Generic.List<TReturn> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToListAsync<TReturn>(Expression<Func<T1, T2, TReturn>>, CancellationToken)
Declaration
Task<List<TReturn>> ISelect<T1, T2>.ToListAsync<TReturn>(Expression<Func<T1, T2, TReturn>> select, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TReturn>> |
select |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Collections.Generic.List<TReturn>> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToListAsync<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>>, CancellationToken)
Declaration
Task<List<TReturn>> ISelect<T1, T2>.ToListAsync<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>> select, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TReturn>> |
select |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Collections.Generic.List<TReturn>> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToListAsync<TDto>(CancellationToken)
Declaration
Task<List<TDto>> ISelect<T1, T2>.ToListAsync<TDto>(CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Collections.Generic.List<TDto>> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToOne<TReturn>(Expression<Func<T1, T2, TReturn>>)
Declaration
TReturn ISelect<T1, T2>.ToOne<TReturn>(Expression<Func<T1, T2, TReturn>> select)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TReturn>> |
select |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToOne<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>>)
Declaration
TReturn ISelect<T1, T2>.ToOne<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>> select)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TReturn>> |
select |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToOneAsync<TReturn>(Expression<Func<T1, T2, TReturn>>, CancellationToken)
Declaration
async Task<TReturn> ISelect<T1, T2>.ToOneAsync<TReturn>(Expression<Func<T1, T2, TReturn>> select, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TReturn>> |
select |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TReturn> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToOneAsync<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>>, CancellationToken)
Declaration
async Task<TReturn> ISelect<T1, T2>.ToOneAsync<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>> select, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TReturn>> |
select |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TReturn> |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToSql<TReturn>(Expression<Func<T1, T2, TReturn>>, FieldAliasOptions)
Declaration
string ISelect<T1, T2>.ToSql<TReturn>(Expression<Func<T1, T2, TReturn>> select, FieldAliasOptions fieldAlias)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TReturn>> |
select |
|
| FieldAliasOptions |
fieldAlias |
|
Returns
| Type |
Description |
| System.String |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.ToSql<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>>, FieldAliasOptions)
Declaration
string ISelect<T1, T2>.ToSql<TReturn>(Expression<Func<HzyTuple<T1, T2>, TReturn>> select, FieldAliasOptions fieldAlias)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TReturn>> |
select |
|
| FieldAliasOptions |
fieldAlias |
|
Returns
| Type |
Description |
| System.String |
|
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.Where(Expression<Func<T1, T2, Boolean>>)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.Where(Expression<Func<T1, T2, bool>> exp)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, System.Boolean>> |
exp |
|
Returns
|
Improve this Doc
View Source
ISelect<T1, T2>.Where(Expression<Func<HzyTuple<T1, T2>, Boolean>>)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.Where(Expression<Func<HzyTuple<T1, T2>, bool>> exp)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, System.Boolean>> |
exp |
|
Returns
|
Improve this Doc
View Source
ISelect<T1, T2>.WhereIf(Boolean, Expression<Func<T1, T2, Boolean>>)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.WhereIf(bool condition, Expression<Func<T1, T2, bool>> exp)
Parameters
| Type |
Name |
Description |
| System.Boolean |
condition |
|
| System.Linq.Expressions.Expression<System.Func<T1, T2, System.Boolean>> |
exp |
|
Returns
|
Improve this Doc
View Source
ISelect<T1, T2>.WhereIf(Boolean, Expression<Func<HzyTuple<T1, T2>, Boolean>>)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.WhereIf(bool condition, Expression<Func<HzyTuple<T1, T2>, bool>> exp)
Parameters
| Type |
Name |
Description |
| System.Boolean |
condition |
|
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, System.Boolean>> |
exp |
|
Returns
|
Improve this Doc
View Source
ISelect<T1, T2>.WithSql(String, String, Object)
Declaration
ISelect<T1, T2> ISelect<T1, T2>.WithSql(string sqlT1, string sqlT2, object parms)
Parameters
| Type |
Name |
Description |
| System.String |
sqlT1 |
|
| System.String |
sqlT2 |
|
| System.Object |
parms |
|
Returns
|
Improve this Doc
View Source
ISelect<T1, T2>.WithTempQuery<TDto>(Expression<Func<T1, T2, TDto>>)
Declaration
ISelect<TDto> ISelect<T1, T2>.WithTempQuery<TDto>(Expression<Func<T1, T2, TDto>> selector)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<T1, T2, TDto>> |
selector |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ISelect<T1, T2>.WithTempQuery<TDto>(Expression<Func<HzyTuple<T1, T2>, TDto>>)
Declaration
ISelect<TDto> ISelect<T1, T2>.WithTempQuery<TDto>(Expression<Func<HzyTuple<T1, T2>, TDto>> selector)
Parameters
| Type |
Name |
Description |
| System.Linq.Expressions.Expression<System.Func<HzyTuple<T1, T2>, TDto>> |
selector |
|
Returns
Type Parameters
Implements
Extension Methods
FreeSqlGlobalExtensions.OrderByRandom<TSelect, T1>(FreeSql.ISelect0<TSelect, T1>)