Skip to content

Repository files navigation

Funcky.EntityFrameworkCore

BuildNugetChangelog: changelog.mdLicence: MITLicence: Apache

Features

Extension Methods for IQueryable<T>

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}!"));

About

Interoperability between Funcky and EF Core

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Contributors

Languages