CommandBatchPreparer CommandBatchPreparer Class

Definition

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 class CommandBatchPreparer : ICommandBatchPreparer
Public Class CommandBatchPreparer
    Implements ICommandBatchPreparer
Inheritance
System.ObjectSystem.Object
CommandBatchPreparerCommandBatchPreparer
Implements

Constructors

CommandBatchPreparer(IModificationCommandBatchFactory, IParameterNameGeneratorFactory, IComparer, 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
modificationCommandComparer
System.Collections.Generic.IComparer<ModificationCommand> System.Collections.Generic.IComparer(Of ModificationCommand)

Methods

BatchCommands(IReadOnlyList) 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<IUpdateEntry> System.Collections.Generic.IReadOnlyList(Of IUpdateEntry)
Returns
System.Collections.Generic.IEnumerable<ModificationCommandBatch> System.Collections.Generic.IEnumerable(Of ModificationCommandBatch)

CreateModificationCommands(IReadOnlyList, Func) 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<IUpdateEntry> System.Collections.Generic.IReadOnlyList(Of IUpdateEntry)
generateParameterName
System.Func<System.String> System.Func(Of System.String)
Returns
System.Collections.Generic.IEnumerable<ModificationCommand> System.Collections.Generic.IEnumerable(Of ModificationCommand)

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

TopologicalSort(IEnumerable) 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
commands
System.Collections.Generic.IEnumerable<ModificationCommand> System.Collections.Generic.IEnumerable(Of ModificationCommand)
Returns
System.Collections.Generic.IReadOnlyList<System.Collections.Generic.List<ModificationCommand>> System.Collections.Generic.IReadOnlyList(Of System.Collections.Generic.List(Of ModificationCommand))

ToString() ToString()

Inherited from System.Object