fm.EntityFrameworkCore.Relational 5.0.1

.NET 7.0
dotnet add package fm.EntityFrameworkCore.Relational --version 5.0.1
NuGet\Install-Package fm.EntityFrameworkCore.Relational -Version 5.0.1
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="fm.EntityFrameworkCore.Relational" Version="5.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add fm.EntityFrameworkCore.Relational --version 5.0.1
#r "nuget: fm.EntityFrameworkCore.Relational, 5.0.1"
#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.
// Install fm.EntityFrameworkCore.Relational as a Cake Addin
#addin nuget:?package=fm.EntityFrameworkCore.Relational&version=5.0.1

// Install fm.EntityFrameworkCore.Relational as a Cake Tool
#tool nuget:?package=fm.EntityFrameworkCore.Relational&version=5.0.1

Extends Microsoft.EntityFrameworkCore.Relational with some raw SQL methods. Directly invoke ExecuteScalar/ExecuteReader on DbContext. Bulk update and delete rows.

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)
Product Versions
.NET net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
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
5.0.1 111 3/5/2023
4.2.1 378 10/13/2022
4.2.0 13,499 11/11/2021
4.1.0 1,365 8/11/2021
4.0.0 2,021 11/17/2020
3.1.0 562 8/20/2020
2.4.0 1,832 9/4/2019
2.3.0 2,014 12/19/2018
2.2.0 769 10/19/2018
2.0.0 3,483 9/1/2017
1.0.1 1,232 7/22/2016

BREAKING: Target .NET 7