提交 95a6a668 编写于 作者: A Adam Schroder

Add where to first expression #598

上级 d707af2b
......@@ -237,7 +237,7 @@ public Task<T> First()
public async Task<T> First(Expression<Func<T, bool>> whereExpression)
{
AddWhere(null);
AddWhere(whereExpression);
return (await ToEnumerable().ConfigureAwait(false)).First();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册