Ezocel.RowsQuerier.EntityFrameworkCore 2.1.0

dotnet add package Ezocel.RowsQuerier.EntityFrameworkCore --version 2.1.0
                    
NuGet\Install-Package Ezocel.RowsQuerier.EntityFrameworkCore -Version 2.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ezocel.RowsQuerier.EntityFrameworkCore" Version="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ezocel.RowsQuerier.EntityFrameworkCore" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Ezocel.RowsQuerier.EntityFrameworkCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ezocel.RowsQuerier.EntityFrameworkCore --version 2.1.0
                    
#r "nuget: Ezocel.RowsQuerier.EntityFrameworkCore, 2.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ezocel.RowsQuerier.EntityFrameworkCore@2.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ezocel.RowsQuerier.EntityFrameworkCore&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Ezocel.RowsQuerier.EntityFrameworkCore&version=2.1.0
                    
Install as a Cake Tool

Ezocel RowsQuerier for Entity Framework Core

Entity Framework Core integration for Ezocel RowsQuerier. Registers your DbContext as the default queryable provider so attribute-based connectors automatically resolve their IQueryable<T> via DbContext.Set<T>().AsNoTracking().

Installation

dotnet add package Ezocel.RowsQuerier.EntityFrameworkCore

This package depends on Ezocel.RowsQuerier and Microsoft.EntityFrameworkCore, both installed automatically.

Quick Start

Use AddDefaultEntityFrameworkFactoryProvider when your DbContext is registered via AddDbContextFactory or when you need singleton-safe data access:

using Ezocel.RowsQuerier;
using Ezocel.RowsQuerier.EntityFrameworkCore;

builder.Services.AddDbContextFactory<AppDbContext>(options =>
    options.UseSqlServer(connectionString));

builder.Services.AddRowsQuerier()
    .AddDefaultEntityFrameworkFactoryProvider<AppDbContext>()
    .AddConnectors(typeof(Program).Assembly)
    .SetLicense(LicenseData.FromFilePath("license.ezolicac"));

Using DbContext directly

Use AddDefaultEntityFrameworkProvider when your DbContext is registered with AddDbContext (scoped lifetime):

builder.Services.AddDbContext<AppDbContext>(options =>
    options.UseSqlServer(connectionString));

builder.Services.AddRowsQuerier()
    .AddDefaultEntityFrameworkProvider<AppDbContext>()
    .AddConnectors(typeof(Program).Assembly)
    .SetLicense(LicenseData.FromFilePath("license.ezolicac"));

How it works

Once a default EF Core provider is registered, any connector defined with [RowsQuerierConnector] that does not specify its own IQueryableProvider will automatically resolve its data from DbContext.Set<T>().AsNoTracking():

// No queryableProviderType needed - the EF Core default provider handles it
[RowsQuerierConnector("products")]
public class Product
{
    [RowsQuerierProperty(Options = PropertyOptions.SortedDesc)]
    public int Id { get; set; }
    public string Name { get; set; }
    public decimal Price { get; set; }
}

Documentation

Full documentation, examples, and guides are available at rowsquerier.com/documentation.

License

This package is provided under the Ezocel RowsQuerier Software License Agreement. Free for development and evaluation. A purchased license key is required for production use. Visit rowsquerier.com for details.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.0 161 4/15/2026