Deliver Awesome UI with the most complete toolboxes for .NET, Web and Mobile development
Automate UI, load and performance testing for web, desktop and mobile
A complete cloud platform for an app or your entire digital business
Detect and predict anomalies by automating machine learning to achieve higher asset uptime and maximized yield
Automate decision processes with a no-code business rules engine
Optimize data integration with high-performance connectivity
Connect to any cloud or on-premises data source using a standard interface
Build engaging multi-channel web and digital experiences with intuitive web content management
Personalize and optimize the customer experience across digital touchpoints
Build, protect and deploy apps across any platform and mobile device
Rapidly develop, manage and deploy business apps, delivered as SaaS in the cloud
I have an action-only ruleset to seed some data for later rulesets. I have a Product entity which has an N:1 association to a ProductGroup entity.
To add Product records, I have lines similar to this:
Product.new[productId='P1', name='Lettuce']Product.new[productId='P2', name='Filet Mignon']Product.new[productId='P3', name='Apple']
To add ProductGroup records, I have:
ProductGroup.new[productGroupId='PG1', 'Produce']ProductGroup.new[productGroupId='PG2', 'Meat']
So what is the syntax to associate the "Lettuce" product to the "Produce" product group?
Product.new[productId='P2', name='Filet Mignon']
this post as spam/abuse.
Thanks. This helps very much.
You can also use the -= notation to remove an entity from an existing collection.
You can also use += and -= in combination to move items in and out of collections.
See this example community.progress.com/.../1377.aspx