IConventionBatch Interface

Definition

Represents an object that delays any convention invocations until it is run or disposed.

C#‎
public interface IConventionBatch : IDisposable
Implements

Remarks

See Model building conventions for more information and examples.

Methods

Run(IConventionForeignKey)

Runs the delayed conventions while tracking changes to the given foreign key.

Track(IConventionForeignKey)

Starts tracking changes to the given foreign key.

Applies to

מוצר גירסאות
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0