Skip to content

Nextended.EF — API reference ​

🇩🇪 Diese Seite auf Deutsch

The complete public surface of Nextended.EF, generated from the compiled assembly.

Generated

This page is generated by tools/ApiRef from the compiled assembly — it includes members with no XML comment and therefore cannot drift from the code. Do not edit by hand.

↩ Back to the package page

Nextended.EF ​

AlternateQueryMatchExtensions ​

static class

No description.

Extension methods

  • WhereKeyMatches<T>(this IQueryable<T> query, Expression<Func<T, object>>[] propertySelectors, string key) : IQueryable<T>
  • WhereKeyMatches<T>(this IQueryable<T> query, string[] propertyNames, string key) : IQueryable<T>

BulkExtensions ​

static class

Bulk-style operations layered on top of EF Core 7+'s ExecuteUpdateAsync/ExecuteDeleteAsync plus convenience batchers for insert and upsert that don't require a third-party library.

DbContextExtensions ​

static class

Helpers around DbContext for metadata, change-tracker manipulation, and the find-or-create pattern.

DbSetExtensions ​

static class

No description.

IncludeDetailsExtensions ​

static class

No description.

Extension methods

  • DistinctPaths(this IIncludePathDefinition def) : IEnumerable<string>
  • IncludeDetails<TNav>(this IQueryable<TNav> query, IIncludePathDefinition def) : IQueryable<TNav>
  • IncludeDetails<TParent, TNav>(this IQueryable<TParent> query, Expression<Func<TParent, IEnumerable<TNav>>> navigation, IIncludePathDefinition def) : IQueryable<TParent>
  • IncludeDetails<TParent, TNav>(this IQueryable<TParent> query, Expression<Func<TParent, TNav>> navigation, IIncludePathDefinition def) : IQueryable<TParent>

PagedResult<T> ​

class

Result of a paged query: the slice of items plus the total count and paging metadata.

Constructors

  • PagedResult()

Methods

  • Empty(int pageIndex = 0, int pageSize = 0) : PagedResult<T>

Properties

  • HasNext : bool { get; }
  • HasPrevious : bool { get; }
  • Items : IReadOnlyList<T> { get; set; }
  • PageIndex : int { get; set; }
  • PageSize : int { get; set; }
  • TotalCount : int { get; set; }
  • TotalPages : int { get; }

PagingSortingExtensions ​

static class

Paging and dynamic sorting helpers for IQueryable1`.

Extension methods

  • OrderByMember<T>(this IQueryable<T> source, string memberPath, bool descending = false) : IOrderedQueryable<T>
  • OrderByMembers<T>(this IQueryable<T> source, IEnumerable<ValueTuple<string, bool>> orderings) : IQueryable<T>
  • Page<T>(this IQueryable<T> source, int pageIndex, int pageSize) : IQueryable<T>
  • ThenByMember<T>(this IOrderedQueryable<T> source, string memberPath, bool descending = false) : IOrderedQueryable<T>
  • ToPagedResultAsync<T>(this IQueryable<T> source, int pageIndex, int pageSize, CancellationToken cancellationToken = null) : Task<PagedResult<T>>
  • WhereIf<T>(this IQueryable<T> source, bool condition, Expression<Func<T, bool>> predicate) : IQueryable<T>

QueryableExtensions ​

static class

No description.

Extension methods

  • WhereContains<T>(this IQueryable<T> source, string search, Expression<Func<T, string>>[] propertySelectors) : IQueryable<T>

QueryComfortExtensions ​

static class

Convenience extensions that round out common query patterns: range filters, set membership, conditional Include / tracking, existence checks.

Extension methods

  • AsNoTrackingIf<T>(this IQueryable<T> source, bool condition) : IQueryable<T>
  • AsTrackingIf<T>(this IQueryable<T> source, bool condition) : IQueryable<T>
  • ExistsAsync<T>(this IQueryable<T> source, CancellationToken cancellationToken = null) : Task<bool>
  • ExistsAsync<T>(this IQueryable<T> source, Expression<Func<T, bool>> predicate, CancellationToken cancellationToken = null) : Task<bool>
  • IncludeIf<T, TProperty>(this IQueryable<T> source, bool condition, Expression<Func<T, TProperty>> navigation) : IQueryable<T>
  • IncludeIf<T>(this IQueryable<T> source, bool condition, string navigationPath) : IQueryable<T>
  • WhereBetween<T, TKey>(this IQueryable<T> source, Expression<Func<T, TKey>> selector, TKey from, TKey to) : IQueryable<T>
  • WhereIn<T, TKey>(this IQueryable<T> source, Expression<Func<T, TKey>> selector, IEnumerable<TKey> values) : IQueryable<T>

↩ Back to the package page