Skip to main content

Provides the SqlQueryAsync<T> method to help you populate arbitrary classes from a raw SQL query

Total Downloads
57.9K
57,858
Published
Oct 13, 2022
4y ago

Deprecated Package Version

Reason: Legacy

Get Started

dotnet add package ErikEJ.EntityFrameworkCore.SqlServer.SqlQuery --version 7.0.0-preview1
ProductVersions
.NET
net6.0

README

Materialize abritary classes from EF Core using raw SQL

Nuget

Provides the SqlQueryAsync<T> method to help you populate arbitrary classes from a raw SQL query.

Sample usage

var context = new ChinookContext();

var result = await context.SqlQueryAsync<MyDto>("SELECT * FROM MyTable");

Feedback

Please report any issues, questions and suggestions here

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.