Skip to content

Commit dae15ee

Browse files
committed
Fix name of method
1 parent aedf360 commit dae15ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orm/Xtensive.Orm/Orm/Query.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ public static T SingleOrDefault<T>(params object[] keyValues)
379379
/// The <see cref="Entity"/> specified <paramref name="keyValues"/> identify.
380380
/// <see langword="null"/>, if there is no such entity.
381381
/// </returns>
382-
public static Task<T> SingleOrDefault<T>(object[] keyValues, CancellationToken token)
382+
public static Task<T> SingleOrDefaultAsync<T>(object[] keyValues, CancellationToken token)
383383
where T : class, IEntity
384384
{
385385
return Session.Demand().Query.SingleOrDefaultAsync<T>(keyValues, token);

0 commit comments

Comments
 (0)