Files
FreeSql/api/FreeSql.ISelect-2.html
2023-07-07 17:27:43 +00:00

4739 lines
228 KiB
HTML

<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Interface ISelect&lt;T1, T2&gt;
| FreeSql API Docs </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Interface ISelect&lt;T1, T2&gt;
| FreeSql API Docs ">
<meta name="generator" content="docfx 2.59.4.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
<meta property="docfx:rel" content="../">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src=".././images/logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list">Search Results for <span></span></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="FreeSql.ISelect`2">
<h1 id="FreeSql_ISelect_2" data-uid="FreeSql.ISelect`2" class="text-break">Interface ISelect&lt;T1, T2&gt;
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToDataTableAsync_System_String_System_Threading_CancellationToken_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToDataTableAsync(String, CancellationToken)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToDataTableByPropertyNameAsync_System_String___System_Threading_CancellationToken_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToDataTableByPropertyNameAsync(String[], CancellationToken)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToDictionaryAsync__1_System_Func__1___0__System_Threading_CancellationToken_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToDictionaryAsync&lt;TKey&gt;(Func&lt;T1, TKey&gt;, CancellationToken)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToDictionaryAsync__2_System_Func__1___0__System_Func__1___1__System_Threading_CancellationToken_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToDictionaryAsync&lt;TKey, TElement&gt;(Func&lt;T1, TKey&gt;, Func&lt;T1, TElement&gt;, CancellationToken)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToListAsync_System_Threading_CancellationToken_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToListAsync(CancellationToken)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToListAsync_System_Boolean_System_Threading_CancellationToken_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToListAsync(Boolean, CancellationToken)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToListAsync__1_System_String_System_Threading_CancellationToken_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToListAsync&lt;TTuple&gt;(String, CancellationToken)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToOneAsync_System_Threading_CancellationToken_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToOneAsync(CancellationToken)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_FirstAsync_System_Threading_CancellationToken_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.FirstAsync(CancellationToken)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_AnyAsync_System_Threading_CancellationToken_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.AnyAsync(CancellationToken)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_CountAsync_System_Threading_CancellationToken_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.CountAsync(CancellationToken)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_Cancel_System_Func_System_Boolean__">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.Cancel(Func&lt;Boolean&gt;)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_WithTransaction_System_Data_Common_DbTransaction_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.WithTransaction(DbTransaction)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_WithConnection_System_Data_Common_DbConnection_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.WithConnection(DbConnection)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_WithParameters_System_Collections_Generic_List_System_Data_Common_DbParameter__">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.WithParameters(List&lt;DbParameter&gt;)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_CommandTimeout_System_Int32_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.CommandTimeout(Int32)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_TrackToList_System_Action_System_Object__">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.TrackToList(Action&lt;Object&gt;)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToDataTable_System_String_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToDataTable(String)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToDataTableByPropertyName_System_String___">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToDataTableByPropertyName(String[])</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToDictionary__1_System_Func__1___0__">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToDictionary&lt;TKey&gt;(Func&lt;T1, TKey&gt;)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToDictionary__2_System_Func__1___0__System_Func__1___1__">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToDictionary&lt;TKey, TElement&gt;(Func&lt;T1, TKey&gt;, Func&lt;T1, TElement&gt;)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToList">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToList()</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToList_System_Boolean_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToList(Boolean)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToChunk_System_Int32_System_Action_FreeSql_Internal_Model_FetchCallbackArgs_System_Collections_Generic_List__1____System_Boolean_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToChunk(Int32, Action&lt;FetchCallbackArgs&lt;List&lt;T1&gt;&gt;&gt;, Boolean)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToList__1_System_String_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToList&lt;TTuple&gt;(String)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToOne">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToOne()</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_First">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.First()</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToDelete">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToDelete()</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToUpdate">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToUpdate()</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_AsTable_System_Func_System_Type_System_String_System_String__">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.AsTable(Func&lt;Type, String, String&gt;)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_AsAlias_System_Func_System_Type_System_String_System_String__">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.AsAlias(Func&lt;Type, String, String&gt;)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_AsType_System_Type_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.AsType(Type)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ToSql_System_String_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ToSql(String)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_Any">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.Any()</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_Count">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.Count()</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_Count_System_Int64__">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.Count(Int64)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_Master">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.Master()</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_LeftJoin_System_Linq_Expressions_Expression_System_Func__1_System_Boolean___">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.LeftJoin(Expression&lt;Func&lt;T1, Boolean&gt;&gt;)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_InnerJoin_System_Linq_Expressions_Expression_System_Func__1_System_Boolean___">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.InnerJoin(Expression&lt;Func&lt;T1, Boolean&gt;&gt;)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_RightJoin_System_Linq_Expressions_Expression_System_Func__1_System_Boolean___">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.RightJoin(Expression&lt;Func&lt;T1, Boolean&gt;&gt;)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_LeftJoin__1_System_Linq_Expressions_Expression_System_Func__1___0_System_Boolean___">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.LeftJoin&lt;T2&gt;(Expression&lt;Func&lt;T1, T2, Boolean&gt;&gt;)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_InnerJoin__1_System_Linq_Expressions_Expression_System_Func__1___0_System_Boolean___">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.InnerJoin&lt;T2&gt;(Expression&lt;Func&lt;T1, T2, Boolean&gt;&gt;)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_RightJoin__1_System_Linq_Expressions_Expression_System_Func__1___0_System_Boolean___">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.RightJoin&lt;T2&gt;(Expression&lt;Func&lt;T1, T2, Boolean&gt;&gt;)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_LeftJoin_System_String_System_Object_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.LeftJoin(String, Object)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_InnerJoin_System_String_System_Object_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.InnerJoin(String, Object)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_RightJoin_System_String_System_Object_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.RightJoin(String, Object)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_RawJoin_System_String_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.RawJoin(String)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_Where_System_String_System_Object_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.Where(String, Object)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_WhereIf_System_Boolean_System_String_System_Object_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.WhereIf(Boolean, String, Object)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_WhereDynamicFilter_FreeSql_Internal_Model_DynamicFilterInfo_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.WhereDynamicFilter(DynamicFilterInfo)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_DisableGlobalFilter_System_String___">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.DisableGlobalFilter(String[])</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_ForUpdate_System_Boolean_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.ForUpdate(Boolean)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_GroupBy_System_String_System_Object_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.GroupBy(String, Object)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_Having_System_String_System_Object_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.Having(String, Object)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_OrderBy_System_String_System_Object_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.OrderBy(String, Object)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_OrderBy_System_Boolean_System_String_System_Object_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.OrderBy(Boolean, String, Object)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_OrderByPropertyName_System_String_System_Boolean_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.OrderByPropertyName(String, Boolean)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_OrderByPropertyNameIf_System_Boolean_System_String_System_Boolean_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.OrderByPropertyNameIf(Boolean, String, Boolean)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_Skip_System_Int32_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.Skip(Int32)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_Offset_System_Int32_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.Offset(Int32)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_Limit_System_Int32_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.Limit(Int32)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_Take_System_Int32_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.Take(Int32)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_Page_System_Int32_System_Int32_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.Page(Int32, Int32)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_Page_FreeSql_Internal_Model_BasePagingInfo_">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.Page(BasePagingInfo)</a>
</div>
<div>
<a class="xref" href="FreeSql.ISelect0-2.html#FreeSql_ISelect0_2_Distinct">ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;.Distinct()</a>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="FreeSql.html">FreeSql</a></h6>
<h6><strong>Assembly</strong>: FreeSql.dll</h6>
<h5 id="FreeSql_ISelect_2_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public interface ISelect&lt;T1, T2&gt; : ISelect0&lt;ISelect&lt;T1, T2&gt;, T1&gt;, ISelect0 where T2 : class</code></pre>
</div>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">T1</span></td>
<td></td>
</tr>
<tr>
<td><span class="parametername">T2</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_Aggregate__1_System_Linq_Expressions_Expression_System_Func_FreeSql_ISelectGroupingAggregate__0__FreeSql_ISelectGroupingAggregate__1____0_____0__.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.Aggregate%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.ISelectGroupingAggregate%7B%600%7D%2CFreeSql.ISelectGroupingAggregate%7B%601%7D%2C%60%600%7D%7D%2C%60%600%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L73">View Source</a>
</span>
<a id="FreeSql_ISelect_2_Aggregate_" data-uid="FreeSql.ISelect`2.Aggregate*"></a>
<h4 id="FreeSql_ISelect_2_Aggregate__1_System_Linq_Expressions_Expression_System_Func_FreeSql_ISelectGroupingAggregate__0__FreeSql_ISelectGroupingAggregate__1____0_____0__" data-uid="FreeSql.ISelect`2.Aggregate``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0},FreeSql.ISelectGroupingAggregate{`1},``0}},``0@)">Aggregate&lt;TReturn&gt;(Expression&lt;Func&lt;ISelectGroupingAggregate&lt;T1&gt;, ISelectGroupingAggregate&lt;T2&gt;, TReturn&gt;&gt;, out TReturn)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; Aggregate&lt;TReturn&gt;(Expression&lt;Func&lt;ISelectGroupingAggregate&lt;T1&gt;, ISelectGroupingAggregate&lt;T2&gt;, TReturn&gt;&gt; select, out TReturn result)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.ISelectGroupingAggregate-1.html">ISelectGroupingAggregate</a>&lt;T1&gt;, <a class="xref" href="FreeSql.ISelectGroupingAggregate-1.html">ISelectGroupingAggregate</a>&lt;T2&gt;, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">TReturn</span></td>
<td><span class="parametername">result</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_Any_System_Linq_Expressions_Expression_System_Func__0__1_System_Boolean___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.Any(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2CSystem.Boolean%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L60">View Source</a>
</span>
<a id="FreeSql_ISelect_2_Any_" data-uid="FreeSql.ISelect`2.Any*"></a>
<h4 id="FreeSql_ISelect_2_Any_System_Linq_Expressions_Expression_System_Func__0__1_System_Boolean___" data-uid="FreeSql.ISelect`2.Any(System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}})">Any(Expression&lt;Func&lt;T1, T2, Boolean&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">bool Any(Expression&lt;Func&lt;T1, T2, bool&gt;&gt; exp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, <span class="xref">System.Boolean</span>&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_Any_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1__System_Boolean___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.Any(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2CSystem.Boolean%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L98">View Source</a>
</span>
<a id="FreeSql_ISelect_2_Any_" data-uid="FreeSql.ISelect`2.Any*"></a>
<h4 id="FreeSql_ISelect_2_Any_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1__System_Boolean___" data-uid="FreeSql.ISelect`2.Any(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},System.Boolean}})">Any(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, Boolean&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">bool Any(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, bool&gt;&gt; exp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, <span class="xref">System.Boolean</span>&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_AnyAsync_System_Linq_Expressions_Expression_System_Func__0__1_System_Boolean___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.AnyAsync(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2CSystem.Boolean%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L25">View Source</a>
</span>
<a id="FreeSql_ISelect_2_AnyAsync_" data-uid="FreeSql.ISelect`2.AnyAsync*"></a>
<h4 id="FreeSql_ISelect_2_AnyAsync_System_Linq_Expressions_Expression_System_Func__0__1_System_Boolean___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.AnyAsync(System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}},System.Threading.CancellationToken)">AnyAsync(Expression&lt;Func&lt;T1, T2, Boolean&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;bool&gt; AnyAsync(Expression&lt;Func&lt;T1, T2, bool&gt;&gt; exp, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, <span class="xref">System.Boolean</span>&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;<span class="xref">System.Boolean</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_AnyAsync_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1__System_Boolean___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.AnyAsync(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2CSystem.Boolean%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L43">View Source</a>
</span>
<a id="FreeSql_ISelect_2_AnyAsync_" data-uid="FreeSql.ISelect`2.AnyAsync*"></a>
<h4 id="FreeSql_ISelect_2_AnyAsync_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1__System_Boolean___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.AnyAsync(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},System.Boolean}},System.Threading.CancellationToken)">AnyAsync(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, Boolean&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;bool&gt; AnyAsync(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, bool&gt;&gt; exp, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, <span class="xref">System.Boolean</span>&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;<span class="xref">System.Boolean</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_Avg__1_System_Linq_Expressions_Expression_System_Func__0__1___0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.Avg%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L77">View Source</a>
</span>
<a id="FreeSql_ISelect_2_Avg_" data-uid="FreeSql.ISelect`2.Avg*"></a>
<h4 id="FreeSql_ISelect_2_Avg__1_System_Linq_Expressions_Expression_System_Func__0__1___0___" data-uid="FreeSql.ISelect`2.Avg``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}})">Avg&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">double Avg&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt; column)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Double</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_Avg__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.Avg%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L111">View Source</a>
</span>
<a id="FreeSql_ISelect_2_Avg_" data-uid="FreeSql.ISelect`2.Avg*"></a>
<h4 id="FreeSql_ISelect_2_Avg__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___" data-uid="FreeSql.ISelect`2.Avg``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}})">Avg&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">double Avg&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt; column)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Double</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_AvgAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.AvgAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L39">View Source</a>
</span>
<a id="FreeSql_ISelect_2_AvgAsync_" data-uid="FreeSql.ISelect`2.AvgAsync*"></a>
<h4 id="FreeSql_ISelect_2_AvgAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.AvgAsync``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}},System.Threading.CancellationToken)">AvgAsync&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;double&gt; AvgAsync&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt; column, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;<span class="xref">System.Double</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_AvgAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.AvgAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L54">View Source</a>
</span>
<a id="FreeSql_ISelect_2_AvgAsync_" data-uid="FreeSql.ISelect`2.AvgAsync*"></a>
<h4 id="FreeSql_ISelect_2_AvgAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.AvgAsync``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}},System.Threading.CancellationToken)">AvgAsync&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;double&gt; AvgAsync&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt; column, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;<span class="xref">System.Double</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_First__1.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.First%60%601%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L69">View Source</a>
</span>
<a id="FreeSql_ISelect_2_First_" data-uid="FreeSql.ISelect`2.First*"></a>
<h4 id="FreeSql_ISelect_2_First__1" data-uid="FreeSql.ISelect`2.First``1">First&lt;TDto&gt;()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">TDto First&lt;TDto&gt;()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TDto</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TDto</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_First__1_System_Linq_Expressions_Expression_System_Func__0__1___0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.First%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L68">View Source</a>
</span>
<a id="FreeSql_ISelect_2_First_" data-uid="FreeSql.ISelect`2.First*"></a>
<h4 id="FreeSql_ISelect_2_First__1_System_Linq_Expressions_Expression_System_Func__0__1___0___" data-uid="FreeSql.ISelect`2.First``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}})">First&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">TReturn First&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt; select)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_First__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.First%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L105">View Source</a>
</span>
<a id="FreeSql_ISelect_2_First_" data-uid="FreeSql.ISelect`2.First*"></a>
<h4 id="FreeSql_ISelect_2_First__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___" data-uid="FreeSql.ISelect`2.First``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}})">First&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">TReturn First&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt; select)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_FirstAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.FirstAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L32">View Source</a>
</span>
<a id="FreeSql_ISelect_2_FirstAsync_" data-uid="FreeSql.ISelect`2.FirstAsync*"></a>
<h4 id="FreeSql_ISelect_2_FirstAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.FirstAsync``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}},System.Threading.CancellationToken)">FirstAsync&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;TReturn&gt; FirstAsync&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt; select, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;TReturn&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_FirstAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.FirstAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L49">View Source</a>
</span>
<a id="FreeSql_ISelect_2_FirstAsync_" data-uid="FreeSql.ISelect`2.FirstAsync*"></a>
<h4 id="FreeSql_ISelect_2_FirstAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.FirstAsync``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}},System.Threading.CancellationToken)">FirstAsync&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;TReturn&gt; FirstAsync&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt; select, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;TReturn&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_FirstAsync__1_System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.FirstAsync%60%601(System.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L33">View Source</a>
</span>
<a id="FreeSql_ISelect_2_FirstAsync_" data-uid="FreeSql.ISelect`2.FirstAsync*"></a>
<h4 id="FreeSql_ISelect_2_FirstAsync__1_System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.FirstAsync``1(System.Threading.CancellationToken)">FirstAsync&lt;TDto&gt;(CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;TDto&gt; FirstAsync&lt;TDto&gt;(CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;TDto&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TDto</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_GroupBy__1_System_Linq_Expressions_Expression_System_Func__0__1___0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.GroupBy%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L86">View Source</a>
</span>
<a id="FreeSql_ISelect_2_GroupBy_" data-uid="FreeSql.ISelect`2.GroupBy*"></a>
<h4 id="FreeSql_ISelect_2_GroupBy__1_System_Linq_Expressions_Expression_System_Func__0__1___0___" data-uid="FreeSql.ISelect`2.GroupBy``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}})">GroupBy&lt;TKey&gt;(Expression&lt;Func&lt;T1, T2, TKey&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelectGrouping&lt;TKey, NativeTuple&lt;T1, T2&gt;&gt; GroupBy&lt;TKey&gt;(Expression&lt;Func&lt;T1, T2, TKey&gt;&gt; exp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TKey&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelectGrouping-2.html">ISelectGrouping</a>&lt;TKey, <a class="xref" href="FreeSql.Internal.Model.NativeTuple-2.html">NativeTuple</a>&lt;T1, T2&gt;&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TKey</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_GroupBy__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.GroupBy%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L120">View Source</a>
</span>
<a id="FreeSql_ISelect_2_GroupBy_" data-uid="FreeSql.ISelect`2.GroupBy*"></a>
<h4 id="FreeSql_ISelect_2_GroupBy__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___" data-uid="FreeSql.ISelect`2.GroupBy``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}})">GroupBy&lt;TKey&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TKey&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelectGrouping&lt;TKey, NativeTuple&lt;T1, T2&gt;&gt; GroupBy&lt;TKey&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TKey&gt;&gt; exp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TKey&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelectGrouping-2.html">ISelectGrouping</a>&lt;TKey, <a class="xref" href="FreeSql.Internal.Model.NativeTuple-2.html">NativeTuple</a>&lt;T1, T2&gt;&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TKey</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_InnerJoin_System_Linq_Expressions_Expression_System_Func__0__1_System_Boolean___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.InnerJoin(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2CSystem.Boolean%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L80">View Source</a>
</span>
<a id="FreeSql_ISelect_2_InnerJoin_" data-uid="FreeSql.ISelect`2.InnerJoin*"></a>
<h4 id="FreeSql_ISelect_2_InnerJoin_System_Linq_Expressions_Expression_System_Func__0__1_System_Boolean___" data-uid="FreeSql.ISelect`2.InnerJoin(System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}})">InnerJoin(Expression&lt;Func&lt;T1, T2, Boolean&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; InnerJoin(Expression&lt;Func&lt;T1, T2, bool&gt;&gt; exp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, <span class="xref">System.Boolean</span>&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_InnerJoin_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1__System_Boolean___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.InnerJoin(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2CSystem.Boolean%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L114">View Source</a>
</span>
<a id="FreeSql_ISelect_2_InnerJoin_" data-uid="FreeSql.ISelect`2.InnerJoin*"></a>
<h4 id="FreeSql_ISelect_2_InnerJoin_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1__System_Boolean___" data-uid="FreeSql.ISelect`2.InnerJoin(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},System.Boolean}})">InnerJoin(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, Boolean&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; InnerJoin(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, bool&gt;&gt; exp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, <span class="xref">System.Boolean</span>&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_InsertInto__1_System_String_System_Linq_Expressions_Expression_System_Func__0__1___0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.InsertInto%60%601(System.String%2CSystem.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L61">View Source</a>
</span>
<a id="FreeSql_ISelect_2_InsertInto_" data-uid="FreeSql.ISelect`2.InsertInto*"></a>
<h4 id="FreeSql_ISelect_2_InsertInto__1_System_String_System_Linq_Expressions_Expression_System_Func__0__1___0___" data-uid="FreeSql.ISelect`2.InsertInto``1(System.String,System.Linq.Expressions.Expression{System.Func{`0,`1,``0}})">InsertInto&lt;TTargetEntity&gt;(String, Expression&lt;Func&lt;T1, T2, TTargetEntity&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">int InsertInto&lt;TTargetEntity&gt;(string tableName, Expression&lt;Func&lt;T1, T2, TTargetEntity&gt;&gt; select)
where TTargetEntity : class</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">tableName</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TTargetEntity&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TTargetEntity</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_InsertInto__1_System_String_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.InsertInto%60%601(System.String%2CSystem.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L99">View Source</a>
</span>
<a id="FreeSql_ISelect_2_InsertInto_" data-uid="FreeSql.ISelect`2.InsertInto*"></a>
<h4 id="FreeSql_ISelect_2_InsertInto__1_System_String_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___" data-uid="FreeSql.ISelect`2.InsertInto``1(System.String,System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}})">InsertInto&lt;TTargetEntity&gt;(String, Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TTargetEntity&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">int InsertInto&lt;TTargetEntity&gt;(string tableName, Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TTargetEntity&gt;&gt; select)
where TTargetEntity : class</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">tableName</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TTargetEntity&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TTargetEntity</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_InsertIntoAsync__1_System_String_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.InsertIntoAsync%60%601(System.String%2CSystem.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L26">View Source</a>
</span>
<a id="FreeSql_ISelect_2_InsertIntoAsync_" data-uid="FreeSql.ISelect`2.InsertIntoAsync*"></a>
<h4 id="FreeSql_ISelect_2_InsertIntoAsync__1_System_String_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.InsertIntoAsync``1(System.String,System.Linq.Expressions.Expression{System.Func{`0,`1,``0}},System.Threading.CancellationToken)">InsertIntoAsync&lt;TTargetEntity&gt;(String, Expression&lt;Func&lt;T1, T2, TTargetEntity&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;int&gt; InsertIntoAsync&lt;TTargetEntity&gt;(string tableName, Expression&lt;Func&lt;T1, T2, TTargetEntity&gt;&gt; select, CancellationToken cancellationToken = default(CancellationToken))
where TTargetEntity : class</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">tableName</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TTargetEntity&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;<span class="xref">System.Int32</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TTargetEntity</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_InsertIntoAsync__1_System_String_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.InsertIntoAsync%60%601(System.String%2CSystem.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L44">View Source</a>
</span>
<a id="FreeSql_ISelect_2_InsertIntoAsync_" data-uid="FreeSql.ISelect`2.InsertIntoAsync*"></a>
<h4 id="FreeSql_ISelect_2_InsertIntoAsync__1_System_String_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.InsertIntoAsync``1(System.String,System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}},System.Threading.CancellationToken)">InsertIntoAsync&lt;TTargetEntity&gt;(String, Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TTargetEntity&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;int&gt; InsertIntoAsync&lt;TTargetEntity&gt;(string tableName, Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TTargetEntity&gt;&gt; select, CancellationToken cancellationToken = default(CancellationToken))
where TTargetEntity : class</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">tableName</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TTargetEntity&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;<span class="xref">System.Int32</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TTargetEntity</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_LeftJoin_System_Linq_Expressions_Expression_System_Func__0__1_System_Boolean___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.LeftJoin(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2CSystem.Boolean%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L79">View Source</a>
</span>
<a id="FreeSql_ISelect_2_LeftJoin_" data-uid="FreeSql.ISelect`2.LeftJoin*"></a>
<h4 id="FreeSql_ISelect_2_LeftJoin_System_Linq_Expressions_Expression_System_Func__0__1_System_Boolean___" data-uid="FreeSql.ISelect`2.LeftJoin(System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}})">LeftJoin(Expression&lt;Func&lt;T1, T2, Boolean&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; LeftJoin(Expression&lt;Func&lt;T1, T2, bool&gt;&gt; exp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, <span class="xref">System.Boolean</span>&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_LeftJoin_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1__System_Boolean___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.LeftJoin(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2CSystem.Boolean%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L113">View Source</a>
</span>
<a id="FreeSql_ISelect_2_LeftJoin_" data-uid="FreeSql.ISelect`2.LeftJoin*"></a>
<h4 id="FreeSql_ISelect_2_LeftJoin_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1__System_Boolean___" data-uid="FreeSql.ISelect`2.LeftJoin(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},System.Boolean}})">LeftJoin(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, Boolean&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; LeftJoin(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, bool&gt;&gt; exp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, <span class="xref">System.Boolean</span>&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_Max__1_System_Linq_Expressions_Expression_System_Func__0__1___0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.Max%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L76">View Source</a>
</span>
<a id="FreeSql_ISelect_2_Max_" data-uid="FreeSql.ISelect`2.Max*"></a>
<h4 id="FreeSql_ISelect_2_Max__1_System_Linq_Expressions_Expression_System_Func__0__1___0___" data-uid="FreeSql.ISelect`2.Max``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}})">Max&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">TMember Max&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt; column)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_Max__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.Max%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L110">View Source</a>
</span>
<a id="FreeSql_ISelect_2_Max_" data-uid="FreeSql.ISelect`2.Max*"></a>
<h4 id="FreeSql_ISelect_2_Max__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___" data-uid="FreeSql.ISelect`2.Max``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}})">Max&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">TMember Max&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt; column)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_MaxAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.MaxAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L38">View Source</a>
</span>
<a id="FreeSql_ISelect_2_MaxAsync_" data-uid="FreeSql.ISelect`2.MaxAsync*"></a>
<h4 id="FreeSql_ISelect_2_MaxAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.MaxAsync``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}},System.Threading.CancellationToken)">MaxAsync&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;TMember&gt; MaxAsync&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt; column, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;TMember&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_MaxAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.MaxAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L53">View Source</a>
</span>
<a id="FreeSql_ISelect_2_MaxAsync_" data-uid="FreeSql.ISelect`2.MaxAsync*"></a>
<h4 id="FreeSql_ISelect_2_MaxAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.MaxAsync``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}},System.Threading.CancellationToken)">MaxAsync&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;TMember&gt; MaxAsync&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt; column, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;TMember&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_Min__1_System_Linq_Expressions_Expression_System_Func__0__1___0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.Min%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L75">View Source</a>
</span>
<a id="FreeSql_ISelect_2_Min_" data-uid="FreeSql.ISelect`2.Min*"></a>
<h4 id="FreeSql_ISelect_2_Min__1_System_Linq_Expressions_Expression_System_Func__0__1___0___" data-uid="FreeSql.ISelect`2.Min``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}})">Min&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">TMember Min&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt; column)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_Min__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.Min%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L109">View Source</a>
</span>
<a id="FreeSql_ISelect_2_Min_" data-uid="FreeSql.ISelect`2.Min*"></a>
<h4 id="FreeSql_ISelect_2_Min__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___" data-uid="FreeSql.ISelect`2.Min``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}})">Min&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">TMember Min&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt; column)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_MinAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.MinAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L37">View Source</a>
</span>
<a id="FreeSql_ISelect_2_MinAsync_" data-uid="FreeSql.ISelect`2.MinAsync*"></a>
<h4 id="FreeSql_ISelect_2_MinAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.MinAsync``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}},System.Threading.CancellationToken)">MinAsync&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;TMember&gt; MinAsync&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt; column, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;TMember&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_MinAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.MinAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L52">View Source</a>
</span>
<a id="FreeSql_ISelect_2_MinAsync_" data-uid="FreeSql.ISelect`2.MinAsync*"></a>
<h4 id="FreeSql_ISelect_2_MinAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.MinAsync``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}},System.Threading.CancellationToken)">MinAsync&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;TMember&gt; MinAsync&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt; column, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;TMember&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_OrderBy__1_System_Linq_Expressions_Expression_System_Func__0__1___0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.OrderBy%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L88">View Source</a>
</span>
<a id="FreeSql_ISelect_2_OrderBy_" data-uid="FreeSql.ISelect`2.OrderBy*"></a>
<h4 id="FreeSql_ISelect_2_OrderBy__1_System_Linq_Expressions_Expression_System_Func__0__1___0___" data-uid="FreeSql.ISelect`2.OrderBy``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}})">OrderBy&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; OrderBy&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt; column)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_OrderBy__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.OrderBy%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L122">View Source</a>
</span>
<a id="FreeSql_ISelect_2_OrderBy_" data-uid="FreeSql.ISelect`2.OrderBy*"></a>
<h4 id="FreeSql_ISelect_2_OrderBy__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___" data-uid="FreeSql.ISelect`2.OrderBy``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}})">OrderBy&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; OrderBy&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt; column)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_OrderByDescending__1_System_Linq_Expressions_Expression_System_Func__0__1___0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.OrderByDescending%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L89">View Source</a>
</span>
<a id="FreeSql_ISelect_2_OrderByDescending_" data-uid="FreeSql.ISelect`2.OrderByDescending*"></a>
<h4 id="FreeSql_ISelect_2_OrderByDescending__1_System_Linq_Expressions_Expression_System_Func__0__1___0___" data-uid="FreeSql.ISelect`2.OrderByDescending``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}})">OrderByDescending&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; OrderByDescending&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt; column)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_OrderByDescending__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.OrderByDescending%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L123">View Source</a>
</span>
<a id="FreeSql_ISelect_2_OrderByDescending_" data-uid="FreeSql.ISelect`2.OrderByDescending*"></a>
<h4 id="FreeSql_ISelect_2_OrderByDescending__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___" data-uid="FreeSql.ISelect`2.OrderByDescending``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}})">OrderByDescending&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; OrderByDescending&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt; column)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_OrderByIf__1_System_Boolean_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Boolean_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.OrderByIf%60%601(System.Boolean%2CSystem.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L90">View Source</a>
</span>
<a id="FreeSql_ISelect_2_OrderByIf_" data-uid="FreeSql.ISelect`2.OrderByIf*"></a>
<h4 id="FreeSql_ISelect_2_OrderByIf__1_System_Boolean_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Boolean_" data-uid="FreeSql.ISelect`2.OrderByIf``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,`1,``0}},System.Boolean)">OrderByIf&lt;TMember&gt;(Boolean, Expression&lt;Func&lt;T1, T2, TMember&gt;&gt;, Boolean)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; OrderByIf&lt;TMember&gt;(bool condition, Expression&lt;Func&lt;T1, T2, TMember&gt;&gt; column, bool descending = false)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">condition</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">descending</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_OrderByIf__1_System_Boolean_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Boolean_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.OrderByIf%60%601(System.Boolean%2CSystem.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L124">View Source</a>
</span>
<a id="FreeSql_ISelect_2_OrderByIf_" data-uid="FreeSql.ISelect`2.OrderByIf*"></a>
<h4 id="FreeSql_ISelect_2_OrderByIf__1_System_Boolean_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Boolean_" data-uid="FreeSql.ISelect`2.OrderByIf``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}},System.Boolean)">OrderByIf&lt;TMember&gt;(Boolean, Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt;, Boolean)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; OrderByIf&lt;TMember&gt;(bool condition, Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt; column, bool descending = false)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">condition</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">descending</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_RightJoin_System_Linq_Expressions_Expression_System_Func__0__1_System_Boolean___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.RightJoin(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2CSystem.Boolean%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L81">View Source</a>
</span>
<a id="FreeSql_ISelect_2_RightJoin_" data-uid="FreeSql.ISelect`2.RightJoin*"></a>
<h4 id="FreeSql_ISelect_2_RightJoin_System_Linq_Expressions_Expression_System_Func__0__1_System_Boolean___" data-uid="FreeSql.ISelect`2.RightJoin(System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}})">RightJoin(Expression&lt;Func&lt;T1, T2, Boolean&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; RightJoin(Expression&lt;Func&lt;T1, T2, bool&gt;&gt; exp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, <span class="xref">System.Boolean</span>&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_RightJoin_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1__System_Boolean___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.RightJoin(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2CSystem.Boolean%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L115">View Source</a>
</span>
<a id="FreeSql_ISelect_2_RightJoin_" data-uid="FreeSql.ISelect`2.RightJoin*"></a>
<h4 id="FreeSql_ISelect_2_RightJoin_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1__System_Boolean___" data-uid="FreeSql.ISelect`2.RightJoin(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},System.Boolean}})">RightJoin(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, Boolean&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; RightJoin(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, bool&gt;&gt; exp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, <span class="xref">System.Boolean</span>&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_Sum__1_System_Linq_Expressions_Expression_System_Func__0__1___0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.Sum%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L74">View Source</a>
</span>
<a id="FreeSql_ISelect_2_Sum_" data-uid="FreeSql.ISelect`2.Sum*"></a>
<h4 id="FreeSql_ISelect_2_Sum__1_System_Linq_Expressions_Expression_System_Func__0__1___0___" data-uid="FreeSql.ISelect`2.Sum``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}})">Sum&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">decimal Sum&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt; column)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Decimal</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_Sum__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.Sum%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L108">View Source</a>
</span>
<a id="FreeSql_ISelect_2_Sum_" data-uid="FreeSql.ISelect`2.Sum*"></a>
<h4 id="FreeSql_ISelect_2_Sum__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___" data-uid="FreeSql.ISelect`2.Sum``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}})">Sum&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">decimal Sum&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt; column)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Decimal</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_SumAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.SumAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L36">View Source</a>
</span>
<a id="FreeSql_ISelect_2_SumAsync_" data-uid="FreeSql.ISelect`2.SumAsync*"></a>
<h4 id="FreeSql_ISelect_2_SumAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.SumAsync``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}},System.Threading.CancellationToken)">SumAsync&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;decimal&gt; SumAsync&lt;TMember&gt;(Expression&lt;Func&lt;T1, T2, TMember&gt;&gt; column, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;<span class="xref">System.Decimal</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_SumAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.SumAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L51">View Source</a>
</span>
<a id="FreeSql_ISelect_2_SumAsync_" data-uid="FreeSql.ISelect`2.SumAsync*"></a>
<h4 id="FreeSql_ISelect_2_SumAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.SumAsync``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}},System.Threading.CancellationToken)">SumAsync&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;decimal&gt; SumAsync&lt;TMember&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TMember&gt;&gt; column, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TMember&gt;&gt;</td>
<td><span class="parametername">column</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;<span class="xref">System.Decimal</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TMember</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToAggregate__1_System_Linq_Expressions_Expression_System_Func_FreeSql_ISelectGroupingAggregate__0__FreeSql_ISelectGroupingAggregate__1____0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToAggregate%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.ISelectGroupingAggregate%7B%600%7D%2CFreeSql.ISelectGroupingAggregate%7B%601%7D%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L72">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToAggregate_" data-uid="FreeSql.ISelect`2.ToAggregate*"></a>
<h4 id="FreeSql_ISelect_2_ToAggregate__1_System_Linq_Expressions_Expression_System_Func_FreeSql_ISelectGroupingAggregate__0__FreeSql_ISelectGroupingAggregate__1____0___" data-uid="FreeSql.ISelect`2.ToAggregate``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0},FreeSql.ISelectGroupingAggregate{`1},``0}})">ToAggregate&lt;TReturn&gt;(Expression&lt;Func&lt;ISelectGroupingAggregate&lt;T1&gt;, ISelectGroupingAggregate&lt;T2&gt;, TReturn&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">TReturn ToAggregate&lt;TReturn&gt;(Expression&lt;Func&lt;ISelectGroupingAggregate&lt;T1&gt;, ISelectGroupingAggregate&lt;T2&gt;, TReturn&gt;&gt; select)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.ISelectGroupingAggregate-1.html">ISelectGroupingAggregate</a>&lt;T1&gt;, <a class="xref" href="FreeSql.ISelectGroupingAggregate-1.html">ISelectGroupingAggregate</a>&lt;T2&gt;, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToAggregateAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_ISelectGroupingAggregate__0__FreeSql_ISelectGroupingAggregate__1____0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToAggregateAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.ISelectGroupingAggregate%7B%600%7D%2CFreeSql.ISelectGroupingAggregate%7B%601%7D%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L35">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToAggregateAsync_" data-uid="FreeSql.ISelect`2.ToAggregateAsync*"></a>
<h4 id="FreeSql_ISelect_2_ToAggregateAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_ISelectGroupingAggregate__0__FreeSql_ISelectGroupingAggregate__1____0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.ToAggregateAsync``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0},FreeSql.ISelectGroupingAggregate{`1},``0}},System.Threading.CancellationToken)">ToAggregateAsync&lt;TReturn&gt;(Expression&lt;Func&lt;ISelectGroupingAggregate&lt;T1&gt;, ISelectGroupingAggregate&lt;T2&gt;, TReturn&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;TReturn&gt; ToAggregateAsync&lt;TReturn&gt;(Expression&lt;Func&lt;ISelectGroupingAggregate&lt;T1&gt;, ISelectGroupingAggregate&lt;T2&gt;, TReturn&gt;&gt; select, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.ISelectGroupingAggregate-1.html">ISelectGroupingAggregate</a>&lt;T1&gt;, <a class="xref" href="FreeSql.ISelectGroupingAggregate-1.html">ISelectGroupingAggregate</a>&lt;T2&gt;, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;TReturn&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToChunk__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Int32_System_Action_FreeSql_Internal_Model_FetchCallbackArgs_System_Collections_Generic_List___0____.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToChunk%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D%2CSystem.Int32%2CSystem.Action%7BFreeSql.Internal.Model.FetchCallbackArgs%7BSystem.Collections.Generic.List%7B%60%600%7D%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L65">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToChunk_" data-uid="FreeSql.ISelect`2.ToChunk*"></a>
<h4 id="FreeSql_ISelect_2_ToChunk__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Int32_System_Action_FreeSql_Internal_Model_FetchCallbackArgs_System_Collections_Generic_List___0____" data-uid="FreeSql.ISelect`2.ToChunk``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}},System.Int32,System.Action{FreeSql.Internal.Model.FetchCallbackArgs{System.Collections.Generic.List{``0}}})">ToChunk&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt;, Int32, Action&lt;FetchCallbackArgs&lt;List&lt;TReturn&gt;&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void ToChunk&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt; select, int size, Action&lt;FetchCallbackArgs&lt;List&lt;TReturn&gt;&gt;&gt; done)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">size</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Action</span>&lt;<a class="xref" href="FreeSql.Internal.Model.FetchCallbackArgs-1.html">FetchCallbackArgs</a>&lt;<span class="xref">System.Collections.Generic.List</span>&lt;TReturn&gt;&gt;&gt;</td>
<td><span class="parametername">done</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToChunk__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Int32_System_Action_FreeSql_Internal_Model_FetchCallbackArgs_System_Collections_Generic_List___0____.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToChunk%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D%2CSystem.Int32%2CSystem.Action%7BFreeSql.Internal.Model.FetchCallbackArgs%7BSystem.Collections.Generic.List%7B%60%600%7D%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L102">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToChunk_" data-uid="FreeSql.ISelect`2.ToChunk*"></a>
<h4 id="FreeSql_ISelect_2_ToChunk__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Int32_System_Action_FreeSql_Internal_Model_FetchCallbackArgs_System_Collections_Generic_List___0____" data-uid="FreeSql.ISelect`2.ToChunk``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}},System.Int32,System.Action{FreeSql.Internal.Model.FetchCallbackArgs{System.Collections.Generic.List{``0}}})">ToChunk&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt;, Int32, Action&lt;FetchCallbackArgs&lt;List&lt;TReturn&gt;&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void ToChunk&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt; select, int size, Action&lt;FetchCallbackArgs&lt;List&lt;TReturn&gt;&gt;&gt; done)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">size</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Action</span>&lt;<a class="xref" href="FreeSql.Internal.Model.FetchCallbackArgs-1.html">FetchCallbackArgs</a>&lt;<span class="xref">System.Collections.Generic.List</span>&lt;TReturn&gt;&gt;&gt;</td>
<td><span class="parametername">done</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToDataTable__1_System_Linq_Expressions_Expression_System_Func__0__1___0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToDataTable%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L62">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToDataTable_" data-uid="FreeSql.ISelect`2.ToDataTable*"></a>
<h4 id="FreeSql_ISelect_2_ToDataTable__1_System_Linq_Expressions_Expression_System_Func__0__1___0___" data-uid="FreeSql.ISelect`2.ToDataTable``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}})">ToDataTable&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">DataTable ToDataTable&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt; select)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Data.DataTable</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToDataTable__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToDataTable%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L100">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToDataTable_" data-uid="FreeSql.ISelect`2.ToDataTable*"></a>
<h4 id="FreeSql_ISelect_2_ToDataTable__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___" data-uid="FreeSql.ISelect`2.ToDataTable``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}})">ToDataTable&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">DataTable ToDataTable&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt; select)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Data.DataTable</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToDataTableAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToDataTableAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L27">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToDataTableAsync_" data-uid="FreeSql.ISelect`2.ToDataTableAsync*"></a>
<h4 id="FreeSql_ISelect_2_ToDataTableAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.ToDataTableAsync``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}},System.Threading.CancellationToken)">ToDataTableAsync&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;DataTable&gt; ToDataTableAsync&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt; select, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;<span class="xref">System.Data.DataTable</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToDataTableAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToDataTableAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L45">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToDataTableAsync_" data-uid="FreeSql.ISelect`2.ToDataTableAsync*"></a>
<h4 id="FreeSql_ISelect_2_ToDataTableAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.ToDataTableAsync``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}},System.Threading.CancellationToken)">ToDataTableAsync&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;DataTable&gt; ToDataTableAsync&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt; select, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;<span class="xref">System.Data.DataTable</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToList__1.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToList%60%601%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L64">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToList_" data-uid="FreeSql.ISelect`2.ToList*"></a>
<h4 id="FreeSql_ISelect_2_ToList__1" data-uid="FreeSql.ISelect`2.ToList``1">ToList&lt;TDto&gt;()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">List&lt;TDto&gt; ToList&lt;TDto&gt;()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.List</span>&lt;TDto&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TDto</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToList__1_System_Linq_Expressions_Expression_System_Func__0__1___0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToList%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L63">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToList_" data-uid="FreeSql.ISelect`2.ToList*"></a>
<h4 id="FreeSql_ISelect_2_ToList__1_System_Linq_Expressions_Expression_System_Func__0__1___0___" data-uid="FreeSql.ISelect`2.ToList``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}})">ToList&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">List&lt;TReturn&gt; ToList&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt; select)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.List</span>&lt;TReturn&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToList__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToList%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L101">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToList_" data-uid="FreeSql.ISelect`2.ToList*"></a>
<h4 id="FreeSql_ISelect_2_ToList__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___" data-uid="FreeSql.ISelect`2.ToList``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}})">ToList&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">List&lt;TReturn&gt; ToList&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt; select)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.List</span>&lt;TReturn&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToListAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToListAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L28">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToListAsync_" data-uid="FreeSql.ISelect`2.ToListAsync*"></a>
<h4 id="FreeSql_ISelect_2_ToListAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.ToListAsync``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}},System.Threading.CancellationToken)">ToListAsync&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;List&lt;TReturn&gt;&gt; ToListAsync&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt; select, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;<span class="xref">System.Collections.Generic.List</span>&lt;TReturn&gt;&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToListAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToListAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L46">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToListAsync_" data-uid="FreeSql.ISelect`2.ToListAsync*"></a>
<h4 id="FreeSql_ISelect_2_ToListAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.ToListAsync``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}},System.Threading.CancellationToken)">ToListAsync&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;List&lt;TReturn&gt;&gt; ToListAsync&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt; select, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;<span class="xref">System.Collections.Generic.List</span>&lt;TReturn&gt;&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToListAsync__1_System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToListAsync%60%601(System.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L29">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToListAsync_" data-uid="FreeSql.ISelect`2.ToListAsync*"></a>
<h4 id="FreeSql_ISelect_2_ToListAsync__1_System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.ToListAsync``1(System.Threading.CancellationToken)">ToListAsync&lt;TDto&gt;(CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;List&lt;TDto&gt;&gt; ToListAsync&lt;TDto&gt;(CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;<span class="xref">System.Collections.Generic.List</span>&lt;TDto&gt;&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TDto</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToOne__1_System_Linq_Expressions_Expression_System_Func__0__1___0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToOne%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L67">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToOne_" data-uid="FreeSql.ISelect`2.ToOne*"></a>
<h4 id="FreeSql_ISelect_2_ToOne__1_System_Linq_Expressions_Expression_System_Func__0__1___0___" data-uid="FreeSql.ISelect`2.ToOne``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}})">ToOne&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">TReturn ToOne&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt; select)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToOne__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToOne%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L104">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToOne_" data-uid="FreeSql.ISelect`2.ToOne*"></a>
<h4 id="FreeSql_ISelect_2_ToOne__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___" data-uid="FreeSql.ISelect`2.ToOne``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}})">ToOne&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">TReturn ToOne&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt; select)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToOneAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToOneAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L31">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToOneAsync_" data-uid="FreeSql.ISelect`2.ToOneAsync*"></a>
<h4 id="FreeSql_ISelect_2_ToOneAsync__1_System_Linq_Expressions_Expression_System_Func__0__1___0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.ToOneAsync``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}},System.Threading.CancellationToken)">ToOneAsync&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;TReturn&gt; ToOneAsync&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt; select, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;TReturn&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToOneAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToOneAsync%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D%2CSystem.Threading.CancellationToken)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L48">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToOneAsync_" data-uid="FreeSql.ISelect`2.ToOneAsync*"></a>
<h4 id="FreeSql_ISelect_2_ToOneAsync__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___System_Threading_CancellationToken_" data-uid="FreeSql.ISelect`2.ToOneAsync``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}},System.Threading.CancellationToken)">ToOneAsync&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt;, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;TReturn&gt; ToOneAsync&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt; select, CancellationToken cancellationToken = default(CancellationToken))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Threading.CancellationToken</span></td>
<td><span class="parametername">cancellationToken</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Threading.Tasks.Task</span>&lt;TReturn&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToSql__1_System_Linq_Expressions_Expression_System_Func__0__1___0___FreeSql_FieldAliasOptions_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToSql%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D%2CFreeSql.FieldAliasOptions)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L71">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToSql_" data-uid="FreeSql.ISelect`2.ToSql*"></a>
<h4 id="FreeSql_ISelect_2_ToSql__1_System_Linq_Expressions_Expression_System_Func__0__1___0___FreeSql_FieldAliasOptions_" data-uid="FreeSql.ISelect`2.ToSql``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}},FreeSql.FieldAliasOptions)">ToSql&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt;, FieldAliasOptions)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">string ToSql&lt;TReturn&gt;(Expression&lt;Func&lt;T1, T2, TReturn&gt;&gt; select, FieldAliasOptions fieldAlias = FieldAliasOptions.AsIndex)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="FreeSql.FieldAliasOptions.html">FieldAliasOptions</a></td>
<td><span class="parametername">fieldAlias</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_ToSql__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___FreeSql_FieldAliasOptions_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.ToSql%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D%2CFreeSql.FieldAliasOptions)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L107">View Source</a>
</span>
<a id="FreeSql_ISelect_2_ToSql_" data-uid="FreeSql.ISelect`2.ToSql*"></a>
<h4 id="FreeSql_ISelect_2_ToSql__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___FreeSql_FieldAliasOptions_" data-uid="FreeSql.ISelect`2.ToSql``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}},FreeSql.FieldAliasOptions)">ToSql&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt;, FieldAliasOptions)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">string ToSql&lt;TReturn&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TReturn&gt;&gt; select, FieldAliasOptions fieldAlias = FieldAliasOptions.AsIndex)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TReturn&gt;&gt;</td>
<td><span class="parametername">select</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="FreeSql.FieldAliasOptions.html">FieldAliasOptions</a></td>
<td><span class="parametername">fieldAlias</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TReturn</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_Where_System_Linq_Expressions_Expression_System_Func__0__1_System_Boolean___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.Where(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2CSystem.Boolean%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L83">View Source</a>
</span>
<a id="FreeSql_ISelect_2_Where_" data-uid="FreeSql.ISelect`2.Where*"></a>
<h4 id="FreeSql_ISelect_2_Where_System_Linq_Expressions_Expression_System_Func__0__1_System_Boolean___" data-uid="FreeSql.ISelect`2.Where(System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}})">Where(Expression&lt;Func&lt;T1, T2, Boolean&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; Where(Expression&lt;Func&lt;T1, T2, bool&gt;&gt; exp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, <span class="xref">System.Boolean</span>&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_Where_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1__System_Boolean___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.Where(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2CSystem.Boolean%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L117">View Source</a>
</span>
<a id="FreeSql_ISelect_2_Where_" data-uid="FreeSql.ISelect`2.Where*"></a>
<h4 id="FreeSql_ISelect_2_Where_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1__System_Boolean___" data-uid="FreeSql.ISelect`2.Where(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},System.Boolean}})">Where(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, Boolean&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; Where(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, bool&gt;&gt; exp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, <span class="xref">System.Boolean</span>&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_WhereIf_System_Boolean_System_Linq_Expressions_Expression_System_Func__0__1_System_Boolean___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.WhereIf(System.Boolean%2CSystem.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2CSystem.Boolean%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L84">View Source</a>
</span>
<a id="FreeSql_ISelect_2_WhereIf_" data-uid="FreeSql.ISelect`2.WhereIf*"></a>
<h4 id="FreeSql_ISelect_2_WhereIf_System_Boolean_System_Linq_Expressions_Expression_System_Func__0__1_System_Boolean___" data-uid="FreeSql.ISelect`2.WhereIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}})">WhereIf(Boolean, Expression&lt;Func&lt;T1, T2, Boolean&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; WhereIf(bool condition, Expression&lt;Func&lt;T1, T2, bool&gt;&gt; exp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">condition</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, <span class="xref">System.Boolean</span>&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_WhereIf_System_Boolean_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1__System_Boolean___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.WhereIf(System.Boolean%2CSystem.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2CSystem.Boolean%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L118">View Source</a>
</span>
<a id="FreeSql_ISelect_2_WhereIf_" data-uid="FreeSql.ISelect`2.WhereIf*"></a>
<h4 id="FreeSql_ISelect_2_WhereIf_System_Boolean_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1__System_Boolean___" data-uid="FreeSql.ISelect`2.WhereIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},System.Boolean}})">WhereIf(Boolean, Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, Boolean&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; WhereIf(bool condition, Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, bool&gt;&gt; exp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">condition</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, <span class="xref">System.Boolean</span>&gt;&gt;</td>
<td><span class="parametername">exp</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_WithSql_System_String_System_String_System_Object_.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.WithSql(System.String%2CSystem.String%2CSystem.Object)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L92">View Source</a>
</span>
<a id="FreeSql_ISelect_2_WithSql_" data-uid="FreeSql.ISelect`2.WithSql*"></a>
<h4 id="FreeSql_ISelect_2_WithSql_System_String_System_String_System_Object_" data-uid="FreeSql.ISelect`2.WithSql(System.String,System.String,System.Object)">WithSql(String, String, Object)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;T1, T2&gt; WithSql(string sqlT1, string sqlT2, object parms = null)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">sqlT1</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">sqlT2</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Object</span></td>
<td><span class="parametername">parms</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-2.html">ISelect</a>&lt;T1, T2&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_WithTempQuery__1_System_Linq_Expressions_Expression_System_Func__0__1___0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.WithTempQuery%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7B%600%2C%601%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L94">View Source</a>
</span>
<a id="FreeSql_ISelect_2_WithTempQuery_" data-uid="FreeSql.ISelect`2.WithTempQuery*"></a>
<h4 id="FreeSql_ISelect_2_WithTempQuery__1_System_Linq_Expressions_Expression_System_Func__0__1___0___" data-uid="FreeSql.ISelect`2.WithTempQuery``1(System.Linq.Expressions.Expression{System.Func{`0,`1,``0}})">WithTempQuery&lt;TDto&gt;(Expression&lt;Func&lt;T1, T2, TDto&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;TDto&gt; WithTempQuery&lt;TDto&gt;(Expression&lt;Func&lt;T1, T2, TDto&gt;&gt; selector)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T1, T2, TDto&gt;&gt;</td>
<td><span class="parametername">selector</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-1.html">ISelect</a>&lt;TDto&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TDto</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2_WithTempQuery__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602.WithTempQuery%60%601(System.Linq.Expressions.Expression%7BSystem.Func%7BFreeSql.Internal.Model.HzyTuple%7B%600%2C%601%7D%2C%60%600%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L126">View Source</a>
</span>
<a id="FreeSql_ISelect_2_WithTempQuery_" data-uid="FreeSql.ISelect`2.WithTempQuery*"></a>
<h4 id="FreeSql_ISelect_2_WithTempQuery__1_System_Linq_Expressions_Expression_System_Func_FreeSql_Internal_Model_HzyTuple__0__1____0___" data-uid="FreeSql.ISelect`2.WithTempQuery``1(System.Linq.Expressions.Expression{System.Func{FreeSql.Internal.Model.HzyTuple{`0,`1},``0}})">WithTempQuery&lt;TDto&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TDto&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelect&lt;TDto&gt; WithTempQuery&lt;TDto&gt;(Expression&lt;Func&lt;HzyTuple&lt;T1, T2&gt;, TDto&gt;&gt; selector)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<a class="xref" href="FreeSql.Internal.Model.HzyTuple-2.html">HzyTuple</a>&lt;T1, T2&gt;, TDto&gt;&gt;</td>
<td><span class="parametername">selector</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FreeSql.ISelect-1.html">ISelect</a>&lt;TDto&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TDto</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="extensionmethods">Extension Methods</h3>
<div>
<span class="xref">FreeSqlGlobalExtensions.OrderByRandom&lt;TSelect, T1&gt;(FreeSql.ISelect0&lt;TSelect, T1&gt;)</span>
</div>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
<li>
<a href="https://github.com/dotnetcore/freesql/new/master/apiSpec/new?filename=FreeSql_ISelect_2.md&amp;value=---%0Auid%3A%20FreeSql.ISelect%602%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
</li>
<li>
<a href="https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Interface/Curd/ISelect/ISelect2`16.cs/#L20" class="contribution-link">View Source</a>
</li>
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Generated by <strong>DocFX</strong></span>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>