Base solution for your next web application
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

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    verrrrrrrrrrrrrdi created

    Hi,

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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>

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)