Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Repository Bulk Insert #4105


User avatar
0
verrrrrrrrrrrrrdi created

Hello,

Can you provide me a solution to bulk insert instead of using for each and insert 1 by 1? Thanks


5 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    ASP.NET Zero does not provide this out-of-the-box, but you can use other libraries. Related issue: https://github.com/aspnetboilerplate/aspnetboilerplate/issues/648

  • User Avatar
    0
    verrrrrrrrrrrrrdi created

    Hi @aaron,

    This is paid libraries! Can you provide other free & open source libraries ? Also can i custom IRepository using this libraries? Thanks

  • User Avatar
    0
    aaron created
    Support Team

    I do not have any recommendations at the moment. Yes, you should create a custom repository using a library of your choice.

  • User Avatar
    0
    verrrrrrrrrrrrrdi created

    Hi,

    How to do that? can you give me a step by step sample ?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can check below documentations for defining custom repositories.

    <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Repositories#custom-repositories">https://aspnetboilerplate.com/Pages/Doc ... positories</a> <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/EntityFramework-Integration#DocCustomRepositoryMethods">https://aspnetboilerplate.com/Pages/Doc ... oryMethods</a>