fm.EntityFrameworkCore.Relational 2.4.0-preview.1

Extends Microsoft.EntityFrameworkCore.Relational with some useful extension methods. Directly invoke ExecuteScalar/ExecuteReader on DbContext. Bulk update/delete

Commonly used Types:
DbContextExtensions
DbSetBulkExtensions
RelationalDatabaseFacadeExtensions

Commonly used methods:
ClearCommandTimeout()
ExecuteScalarAsync(string sql)
ExecuteScalarAsync(string sql, IEnumerable<object> parameters)
ExecuteReaderAsync(string sql)
ExecuteReaderAsync(string sql, IEnumerable<object> parameters)

SqlDeleteWhereAsync(string propertyName, object equalsValue)
SqlUpdateWhereAsync(string wherePropertyName, object whereValue, string setPropertyName, object setValue)
SqlUpdateWhereInAsync(string whereInPropertyName, object[] whereInValues, string setPropertyName, object setValue)
SqlUpdateWhereInAsync(string wherePropertyName, object whereValue, string whereInPropertyName, object[] whereInValues, string setPropertyName, object setValue)

This is a prerelease version of fm.EntityFrameworkCore.Relational.
This package has a SemVer 2.0.0 package version.
This package will only be available to download with SemVer 2.0.0 compatible NuGet clients, such as Visual Studio 2017 (version 15.3) and above or NuGet client 4.3.0 and above. Read more
Install-Package fm.EntityFrameworkCore.Relational -Version 2.4.0-preview.1
dotnet add package fm.EntityFrameworkCore.Relational --version 2.4.0-preview.1
<PackageReference Include="fm.EntityFrameworkCore.Relational" Version="2.4.0-preview.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add fm.EntityFrameworkCore.Relational --version 2.4.0-preview.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added DbSetBulkExtensions with .SqlDeleteWhereAsync(...) .SqlUpdateWhereAsync(...) .SqlUpdateWhereInAsync(...)

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.4.0-preview.1 54 5/7/2019
2.3.0 420 12/19/2018
2.2.0 195 10/19/2018
2.0.0 2,228 9/1/2017
1.0.1 600 7/22/2016