This package provides the extension methods FirstOrNoneAsync, LastOrNoneAsync and SingleOrNoneAsync for EF Core's IQueryable<T> objects.
These are analogous to the ones provided by EntityFrameworkQueryableExtensions.
Example:
usingSystem;usingFuncky.Extensions;usingMicrosoft.EntityFrameworkCore;DbContextcontext;varfirstPerson=awaitcontext.Set<Person>().FirstOrNoneAsync();firstPerson.AndThen(p =>Console.WriteLine($"Hello {p.FirstName}!"));