ReaderModificationCommandBatch ReaderModificationCommandBatch Class

Syntax

Declaration

public abstract class ReaderModificationCommandBatch : ModificationCommandBatchPublic MustInherit Class ReaderModificationCommandBatch
    Inherits ModificationCommandBatch

Inheritance Hierarchy

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

Properties summary

Methods summary

Constructors

  • ReaderModificationCommandBatch(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IUpdateSqlGenerator, IRelationalValueBufferFactoryFactory)
    ReaderModificationCommandBatch(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IUpdateSqlGenerator, IRelationalValueBufferFactoryFactory)
    protected ReaderModificationCommandBatch(IRelationalCommandBuilderFactory commandBuilderFactory, ISqlGenerationHelper sqlGenerationHelper, IUpdateSqlGenerator updateSqlGenerator, IRelationalValueBufferFactoryFactory valueBufferFactoryFactory)Protected Sub New(commandBuilderFactory As IRelationalCommandBuilderFactory, sqlGenerationHelper As ISqlGenerationHelper, updateSqlGenerator As IUpdateSqlGenerator, valueBufferFactoryFactory As IRelationalValueBufferFactoryFactory)

    Parameters

Properties

  • CachedCommandText
    CachedCommandText
    protected virtual StringBuilder CachedCommandText { get; set; }Protected Overridable Property CachedCommandText As StringBuilder

    Property Value

    • System.Text.StringBuilder
      System.Text.StringBuilder
  • CommandResultSet
    CommandResultSet
    protected virtual IList<ResultSetMapping> CommandResultSet { get; }Protected Overridable ReadOnly Property CommandResultSet As IList(Of ResultSetMapping)

    Property Value

  • LastCachedCommandIndex
    LastCachedCommandIndex
    protected virtual int LastCachedCommandIndex { get; set; }Protected Overridable Property LastCachedCommandIndex As Integer

    Property Value

    • System.Int32
      System.Int32
  • ModificationCommands
    ModificationCommands
    public override IReadOnlyList<ModificationCommand> ModificationCommands { get; }Public Overrides ReadOnly Property ModificationCommands As IReadOnlyList(Of ModificationCommand)

    Property Value

  • SqlGenerationHelper
    SqlGenerationHelper
    protected virtual ISqlGenerationHelper SqlGenerationHelper { get; }Protected Overridable ReadOnly Property SqlGenerationHelper As ISqlGenerationHelper

    Property Value

  • UpdateSqlGenerator
    UpdateSqlGenerator
    protected virtual IUpdateSqlGenerator UpdateSqlGenerator { get; }Protected Overridable ReadOnly Property UpdateSqlGenerator As IUpdateSqlGenerator

    Property Value

Methods

  • AddCommand(ModificationCommand)
    AddCommand(ModificationCommand)
    public override bool AddCommand(ModificationCommand modificationCommand)Public Overrides Function AddCommand(modificationCommand As ModificationCommand) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • CanAddCommand(ModificationCommand)
    CanAddCommand(ModificationCommand)
    protected abstract bool CanAddCommand(ModificationCommand modificationCommand)Protected MustOverride Function CanAddCommand(modificationCommand As ModificationCommand) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • Consume(DbDataReader)
    Consume(DbDataReader)
    protected abstract void Consume(DbDataReader reader)Protected MustOverride Sub Consume(reader As DbDataReader)

    Parameters

    • reader
      System.Data.Common.DbDataReader
      System.Data.Common.DbDataReader
  • ConsumeAsync(DbDataReader, CancellationToken)
    ConsumeAsync(DbDataReader, CancellationToken)
    protected abstract Task ConsumeAsync(DbDataReader reader, CancellationToken cancellationToken = null)Protected MustOverride Function ConsumeAsync(reader As DbDataReader, cancellationToken As CancellationToken = Nothing) As Task

    Parameters

    • reader
      System.Data.Common.DbDataReader
      System.Data.Common.DbDataReader
    • cancellationToken
      System.Threading.CancellationToken
      System.Threading.CancellationToken

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • CreateStoreCommand()
    CreateStoreCommand()
    protected virtual RawSqlCommand CreateStoreCommand()Protected Overridable Function CreateStoreCommand As RawSqlCommand

    Returns

  • CreateValueBufferFactory(IReadOnlyList<ColumnModification>)
    CreateValueBufferFactory(IReadOnlyList(Of ColumnModification))
    protected virtual IRelationalValueBufferFactory CreateValueBufferFactory(IReadOnlyList<ColumnModification> columnModifications)Protected Overridable Function CreateValueBufferFactory(columnModifications As IReadOnlyList(Of ColumnModification)) As IRelationalValueBufferFactory

    Parameters

    Returns

  • Execute(IRelationalConnection)
    Execute(IRelationalConnection)
    public override void Execute(IRelationalConnection connection)Public Overrides Sub Execute(connection As IRelationalConnection)

    Parameters

  • ExecuteAsync(IRelationalConnection, CancellationToken)
    ExecuteAsync(IRelationalConnection, CancellationToken)
    public override Task ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken = null)Public Overrides Function ExecuteAsync(connection As IRelationalConnection, cancellationToken As CancellationToken = Nothing) As Task

    Parameters

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • GetCommandText()
    GetCommandText()
    protected virtual string GetCommandText()Protected Overridable Function GetCommandText As String

    Returns

    • System.String
      System.String
  • GetParameterCount()
    GetParameterCount()
    protected virtual int GetParameterCount()Protected Overridable Function GetParameterCount As Integer

    Returns

    • System.Int32
      System.Int32
  • IsCommandTextValid()
    IsCommandTextValid()
    protected abstract bool IsCommandTextValid()Protected MustOverride Function IsCommandTextValid As Boolean

    Returns

    • System.Boolean
      System.Boolean
  • ResetCommandText()
    ResetCommandText()
    protected virtual void ResetCommandText()Protected Overridable Sub ResetCommandText
  • UpdateCachedCommandText(Int32)
    UpdateCachedCommandText(Int32)
    protected virtual void UpdateCachedCommandText(int commandPosition)Protected Overridable Sub UpdateCachedCommandText(commandPosition As Integer)

    Parameters

    • commandPosition
      System.Int32
      System.Int32

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll