IMutableModel.DelayConventions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prevents conventions from being executed immediately when a metadata aspect is modified. All the delayed conventions will be executed after the returned object is disposed.
public Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionBatch DelayConventions ();
abstract member DelayConventions : unit -> Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionBatch
Public Function DelayConventions () As IConventionBatch
Returns
An object that should be disposed to execute the delayed conventions.
Remarks
This is useful when performing multiple operations that depend on each other.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for