Hai Umbraco Genious,
I'm Working in Umbraco 7.15.2 version and creating a new package for my development.i have created a new database table. now I want to perform bulk insert and bulk update function. currently, I am using dapper for doing this.but my question is do we have any possible way to achieve this using Umbraco inbuilt functions without using another ORM like dapper?
Thank you for your response Ismail Mayat.
I am looking for bulk insert and bulk update helper methods. As per my knowledge, there is no way to achieve this using PetaPoco.
Umbraco Bulk insert/update
Hai Umbraco Genious, I'm Working in Umbraco 7.15.2 version and creating a new package for my development.i have created a new database table. now I want to perform bulk insert and bulk update function. currently, I am using dapper for doing this.but my question is do we have any possible way to achieve this using Umbraco inbuilt functions without using another ORM like dapper?
Umbraco under the hood uses petapoco, you can get access to it and use that instead see for working example https://www.wiliam.com.au/wiliam-blog/using-petapoco-with-umbraco-is-pretty-sweet if you want crud for this custom table with a nice ui in umbraco back office i highly recommend package fluidity https://our.umbraco.com/packages/backoffice-extensions/fluidity/
Thank you for your response Ismail Mayat. I am looking for bulk insert and bulk update helper methods. As per my knowledge, there is no way to achieve this using PetaPoco.
Ah yes you are right, you could try sqlbulk copy https://www.c-sharpcorner.com/UploadFile/sourabh_mishra1/sqlbulkcopy-in-C-Sharp/ google you may find better examples of using it.
is working on a reply...