I am using nopCommerce 3.50. I have implementing plugin in nopCommerce. I have create stored procedure in SQL server. Now I want to create stored procedure from plugin by code. When plugin is installed, it will create stored procedure.
How can I create stored procedure from plugin in nopCommerce?
Refer to the stock plugin Nop.Plugin.Shipping.ByWeight
Your ObjectContext will have an Install() method, use that to create your stored procedure. Remove it in the Uninstall method.