daelmo wrote:
No. There is not thing like that. What do you need?
Here is the scenario:
In model first, I model my entities (let's say a customer, orders and order details) and the relationships between entities
So there will be a relationship between order and order details
I want in the model to specify that the relationship is an aggregation relation: when I delete an order, I want to automatically delete the order details, no confirmation required
So: from the model, the database schema should be generated with a relationship between order and orderdetails with CASCADE DELETE ON
Obviously the relationships can't by default be generated with Cascade delete, should be only when specified as so in model.
When using LLBLGEN in a database first scenario that was not a problem since you create the schema, thus can add cascade delete relationships
When using LLBLGEN in a full model first approach, we should have a way to model relationships that results to relationships with CASCADE DELETE
Makes sense?