EFUtilities 0.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package EFUtilities --version 0.3.0                
NuGet\Install-Package EFUtilities -Version 0.3.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="EFUtilities" Version="0.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EFUtilities --version 0.3.0                
#r "nuget: EFUtilities, 0.3.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.
// Install EFUtilities as a Cake Addin
#addin nuget:?package=EFUtilities&version=0.3.0

// Install EFUtilities as a Cake Tool
#tool nuget:?package=EFUtilities&version=0.3.0                

Adds batch operations to Entity Framework when using MS Sql server

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on EFUtilities:

Package Downloads
Funcular.DataProviders

•Provides easy bulk insert, delete and update methods without round trips to the database (New in 0.8.5) •Automatically scans assemblies in your AppDomain for configurable entities •No EDMXs •Sets up a SQL Server context with no configuration but a connection string •Does not require you to manually add entity types to your DbSet •By default, picks up any classes derived from EntityTypeConfiguration •One line of code—a predicate—specifies which Types from your assembly are entities Currently supports SQL Server; eventually will handle MongoDB and other underlying stores.

A1MahoCore

A1MahoCore

DataImport

EF批量导入文件数据

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 1,338,774 7/29/2015
1.0.1 11,849 6/10/2015
1.0.0 14,384 5/14/2015
0.5.0 45,262 10/28/2014
0.4.2 3,225 10/21/2014
0.4.1 4,991 8/31/2014
0.4.0 2,901 6/27/2014
0.3.4 1,380 5/1/2014
0.3.3 1,327 1/10/2014
0.3.2 1,261 1/9/2014
0.3.1 1,256 1/4/2014
0.3.0 1,478 1/1/2014
0.2.0 1,351 12/25/2013
0.1.0 2,936 12/22/2013

New in 0.3.0:

Large refactoring to support more complex updates and provide an API that better communicates that these operations are separate from EF Core.

Also refactored all operations to use the provider model which makes it easier to support newer storage models. Also added fallbacks for Update/Delete.

New API examples:
EFBatchOperation.For(db, db.Comments).InsertAll(comments);
EFBatchOperation.For(db, db.Comments).Where(x => x.Text == "a").Update(x => x.Reads, x => x.Reads + 1);
EFBatchOperation.For(db, db.Comments).Where(x => x.Text == "a").Delete();

The update query should now support many of the DbFunctions that EF support. For example AddDays which will translate to a DATEADD:

EFBatchOperation.For(db, db.BlogPosts).Where(b => b.Title == "T2").Update(b => b.Created, b => DbFunctions.AddDays(b.Created, 1));

Now all 3 methods support the case where property names doesn't match the sql column name.

See more at: https://github.com/MikaelEliasson/EntityFramework.Utilities/pull/4