Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Z.EntityFramework.Extensions with ASP.Net Core #44

Closed
guan919 opened this issue Jul 21, 2017 · 2 comments
Closed

Z.EntityFramework.Extensions with ASP.Net Core #44

guan919 opened this issue Jul 21, 2017 · 2 comments
Assignees

Comments

@guan919
Copy link

guan919 commented Jul 21, 2017

I was Installed Z.EntityFramework.Extensions.EFCore -Pre

Install-Package Z.EntityFramework.Extensions.EFCore -Pre

bulkUpdate is fine but bulkInsert is not working

`

List lvs = new List();

        for (var i = 0; i < 100; i++)
        {
            VehicleStockLot vs = new VehicleStockLot();
            vs.lotNumber = i.ToString();
            vs.status = 1;
            vs.finishCount = 0;
            vs.totalCount = 100;
            vs.vehicleSupplierId = 8 + i;
            vs.vehicleSupplierId = 1;
            vs.addTime = DateTime.Now;
            lvs.Add(vs);
        }
        _ctx.BulkInsert(lvs);

`

@JonathanMagnan JonathanMagnan self-assigned this Jul 21, 2017
@JonathanMagnan
Copy link
Member

Hello @guan919 ,

Could you report the error message?

On our side, this kind of example is working very fine. In addition, let us know the EF Core version used.

Best Regards,

Jonathan

@JonathanMagnan
Copy link
Member

Hello @guan919 ,

We will close this issue since we received no answer.

Please reopen it if you can add some information.

Best Regards,

Jonathan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants