- Notifications
You must be signed in to change notification settings - Fork 684
Closed
Description
Hello,
HasMany (OneToManyPart) allows you to specify multiple cascades by doing .Cascade.SaveUpdate().Cascade.Delete()
collectionAttributes.Set("Cascade", Layer.UserSupplied, current == null ? value : string.Format("{0},{1}", current, value)); |
HasOne (OneToOnePart) only takes the last cascade option specified.
cascade = new CascadeExpression<OneToOnePart<TOther>>(this, value => attributes.Set("Cascade", Layer.UserSupplied, value)); |
Is this by design or a bug?