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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework