Base solution for your next web application
Open Closed

Batch insert list in application service? #1567


User avatar
0
jamsecgmbh created

Hi, is it somehow possible to insert a complete list (mapped with Automapper) within an application service method? Or is it only possible to iterate the list and use single insert of IRepository? Thank you very much!


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    AspNet Zero does not have such a feature, you can use a batch insert library like EntityFramework.Extended. We haven't tried any of them but I think you can find a a good one.

  • User Avatar
    0
    jamsecgmbh created

    OK, thank you!