Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 88a46f1

Browse files
committed
Update docs to use LoadSelect
1 parent 80afdc2 commit 88a46f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ServiceStack.OrmLite/Expressions/ReadConnectionExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public static long Count<T>(this IDbConnection dbConn)
221221

222222
/// <summary>
223223
/// Returns results with references from using a LINQ Expression. E.g:
224-
/// <para>db.Load&lt;Person&gt;(x =&gt; x.Age &gt; 40)</para>
224+
/// <para>db.LoadSelect&lt;Person&gt;(x =&gt; x.Age &gt; 40)</para>
225225
/// </summary>
226226
public static List<T> LoadSelect<T>(this IDbConnection dbConn, Expression<Func<T, bool>> predicate)
227227
{
@@ -230,7 +230,7 @@ public static List<T> LoadSelect<T>(this IDbConnection dbConn, Expression<Func<T
230230

231231
/// <summary>
232232
/// Returns results with references from using an SqlExpression lambda. E.g:
233-
/// <para>db.Load&lt;Person&gt;(q =&gt; q.Where(x =&gt; x.Age &gt; 40))</para>
233+
/// <para>db.LoadSelect&lt;Person&gt;(q =&gt; q.Where(x =&gt; x.Age &gt; 40))</para>
234234
/// </summary>
235235
public static List<T> LoadSelect<T>(this IDbConnection dbConn, Func<SqlExpression<T>, SqlExpression<T>> expression)
236236
{
@@ -239,7 +239,7 @@ public static List<T> LoadSelect<T>(this IDbConnection dbConn, Func<SqlExpressio
239239

240240
/// <summary>
241241
/// Returns results with references from using an SqlExpression lambda. E.g:
242-
/// <para>db.Load(db.From&lt;Person&gt;().Where(x =&gt; x.Age &gt; 40))</para>
242+
/// <para>db.LoadSelect(db.From&lt;Person&gt;().Where(x =&gt; x.Age &gt; 40))</para>
243243
/// </summary>
244244
public static List<T> LoadSelect<T>(this IDbConnection dbConn, SqlExpression<T> expression = null)
245245
{

0 commit comments

Comments
 (0)