You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the call to EnableAutomaticForeignKeys should only happen once, but there could be cases where you would want to override previous configured settings. For instance, you might want AddMissingForeignKeys turned on by default, but you might want to configure DependencyTraversalStrategy on a case-by-case basis. I think i would like the idea to defer the handling until just before execution so you can re-configure the strategy up until then.
An idea could be to just store the settings in the context when the call to EnableAutomaticForeignKeys is made, so that multiple calls safely can be made.
The text was updated successfully, but these errors were encountered:
Currently the call to
EnableAutomaticForeignKeys
should only happen once, but there could be cases where you would want to override previous configured settings. For instance, you might wantAddMissingForeignKeys
turned on by default, but you might want to configureDependencyTraversalStrategy
on a case-by-case basis. I think i would like the idea to defer the handling until just before execution so you can re-configure the strategy up until then.An idea could be to just store the settings in the context when the call to
EnableAutomaticForeignKeys
is made, so that multiple calls safely can be made.The text was updated successfully, but these errors were encountered: