ok but i need to insert values in this table whenever new product added so i have confusion that when i install plugin to other portal then how it will insert entries into this table because product page is different and plugin is different
Once your plugin creates the table then of course there needs to be some other code to write the values to the table. As New York says best look at other similar plugin to see how it works If it is extending the Product Table did you look at using Product Attributes ? Otherwise you will need to look at how to create new razor pages and how to override existing methods
ok but i need to insert values in this table whenever new product added so i have confusion that when i install plugin to other portal then how it will insert entries into this table because product page is different and plugin is different
"other portal"?? Please clarify what your trying to do. (Is there an external system involved? Which system is inserting records into custom table? Which system needs to read those records, and when? )