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:

Commonly used methods:
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.
There is a newer version of this package available.
See the version list below for details.
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
3.1.0-rc.2 62 1/3/2020
3.0.0-rc.1 47 10/22/2019
2.4.0 234 9/4/2019
2.4.0-preview.1 84 5/7/2019
2.3.0 900 12/19/2018
2.2.0 248 10/19/2018
2.0.0 2,397 9/1/2017
1.0.1 667 7/22/2016