IConventionModel.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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework