CommandBatchPreparer CommandBatchPreparer Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class CommandBatchPreparer : ICommandBatchPreparerPublic Class CommandBatchPreparer
    Implements ICommandBatchPreparer

Inheritance Hierarchy

  • System.Object
    System.Object
  • CommandBatchPreparer
    CommandBatchPreparer

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Constructors

  • CommandBatchPreparer(IModificationCommandBatchFactory, IParameterNameGeneratorFactory, IComparer<ModificationCommand>, IRelationalAnnotationProvider, IKeyValueIndexFactorySource)
    CommandBatchPreparer(IModificationCommandBatchFactory, IParameterNameGeneratorFactory, IComparer(Of ModificationCommand), IRelationalAnnotationProvider, IKeyValueIndexFactorySource)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public CommandBatchPreparer(IModificationCommandBatchFactory modificationCommandBatchFactory, IParameterNameGeneratorFactory parameterNameGeneratorFactory, IComparer<ModificationCommand> modificationCommandComparer, IRelationalAnnotationProvider annotations, IKeyValueIndexFactorySource keyValueIndexFactoryFactory)Public Sub New(modificationCommandBatchFactory As IModificationCommandBatchFactory, parameterNameGeneratorFactory As IParameterNameGeneratorFactory, modificationCommandComparer As IComparer(Of ModificationCommand), annotations As IRelationalAnnotationProvider, keyValueIndexFactoryFactory As IKeyValueIndexFactorySource)

    Parameters

Methods

  • BatchCommands(IReadOnlyList<IUpdateEntry>)
    BatchCommands(IReadOnlyList(Of IUpdateEntry))

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual IEnumerable<ModificationCommandBatch> BatchCommands(IReadOnlyList<IUpdateEntry> entries)Public Overridable Function BatchCommands(entries As IReadOnlyList(Of IUpdateEntry)) As IEnumerable(Of ModificationCommandBatch)

    Parameters

    • entries
      System.Collections.Generic.IReadOnlyList<T><IUpdateEntry>
      System.Collections.Generic.IReadOnlyList<T>(Of IUpdateEntry)

    Returns

  • CreateModificationCommands(IReadOnlyList<IUpdateEntry>, Func<String>)
    CreateModificationCommands(IReadOnlyList(Of IUpdateEntry), Func(Of String))

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    protected virtual IEnumerable<ModificationCommand> CreateModificationCommands(IReadOnlyList<IUpdateEntry> entries, Func<string> generateParameterName)Protected Overridable Function CreateModificationCommands(entries As IReadOnlyList(Of IUpdateEntry), generateParameterName As Func(Of String)) As IEnumerable(Of ModificationCommand)

    Parameters

    • entries
      System.Collections.Generic.IReadOnlyList<T><IUpdateEntry>
      System.Collections.Generic.IReadOnlyList<T>(Of IUpdateEntry)
    • generateParameterName
      System.Func<TResult><System.String>
      System.Func<TResult>(Of System.String)

    Returns

  • TopologicalSort(IEnumerable<ModificationCommand>)
    TopologicalSort(IEnumerable(Of ModificationCommand))

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    protected virtual IReadOnlyList<List<ModificationCommand>> TopologicalSort(IEnumerable<ModificationCommand> commands)Protected Overridable Function TopologicalSort(commands As IEnumerable(Of ModificationCommand)) As IReadOnlyList(Of List(Of ModificationCommand))

    Parameters

    Returns

    • System.Collections.Generic.IReadOnlyList<T><System.Collections.Generic.List<T><ModificationCommand>>
      System.Collections.Generic.IReadOnlyList<T>(Of System.Collections.Generic.List<T>(Of ModificationCommand))

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll