Hello, I have created an Entity called “Portfolio”. I’d like to populate the table with a bunch of portfolios. For example, when a user clicks a button, my code will persist PortA and PortB.
Could you share some code to remove all entries? Ideally, I would like:
- a method to delete all records in the Portfolio table
- a method to upsert records in the Portfolio table (i.e. if the record doesn’t exist, insert it).