Giter Site home page Giter Site logo

phongnguyend / entityframeworkcore.sqlserver.simplebulks Goto Github PK

View Code? Open in Web Editor NEW
144.0 6.0 23.0 186 KB

Very simple .net library that supports bulk insert (retain client populated Ids or return db generated Ids), bulk update, bulk delete and bulk merge operations. Lambda Expression is supported.

License: MIT License

C# 100.00%
efcore netcore bulkinsert bulkupdate entityframeworkcore bulkdelete bulkmerge net

entityframeworkcore.sqlserver.simplebulks's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

entityframeworkcore.sqlserver.simplebulks's Issues

Get the generated identity value for BulkMerge

First I want to thank you for this excellent project. It works great and it is really fast.

The only thing I'd love to have is to be able to get the entities updated with the PK when I call BulkMerge. With BulkInsert I can get the PK using the options.KeepIdentity = false but there is no equivalent property for BulkMerge. It would be awesome if that can be added.

Benchmark about.

Is there any performance comparison between datatable and zlib libraries?

BulkInsert - Error Cannot access destination table '[SchemaName.TableName]' (Invalid square brackets)

Hi! Excelent works with your library! but when execute a BulkInsert basic without parameters....
I get this error "Error Cannot access destination table '[SchemaName.TableName]'" but the schema and table name exists.
I debug your code and the the problem is the "[]" brackets around the [SchemaName.TableName], see the next example:

image

SELECT * FROM [vad.VadeResults] --> It is not work (Current Behavior)

SELECT * FROM vad.VadeResults --> It's Works (Expected)
SELECT * FROM [vad].[VadeResults] --> It's Works (Expected Better)

I thinks that the expression to complete the "DestinationTableName" property must be something like that [SchemaName].[TableName] to be compatible with differents schemas, and also avoid tables with reserved words...

As Workaround, I remove the brackets concatenation from this code, and works fine:

image

Thanks in advanced!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.