Share via


AffectedCountModificationCommandBatch クラス

定義

ReaderModificationCommandBatch影響を受けた行数を調べる値を返すプロバイダーの 。

この型は通常、データベース プロバイダーによって使用されます。通常、アプリケーション コードでは使用されません。

public abstract class AffectedCountModificationCommandBatch : Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch
type AffectedCountModificationCommandBatch = class
    inherit ReaderModificationCommandBatch
Public MustInherit Class AffectedCountModificationCommandBatch
Inherits ReaderModificationCommandBatch
継承
AffectedCountModificationCommandBatch
派生

注釈

詳細と例については、「 データベース プロバイダーと拡張機能の実装 」を参照してください。

コンストラクター

AffectedCountModificationCommandBatch(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IUpdateSqlGenerator, IRelationalValueBufferFactoryFactory)

新しい AffectedCountModificationCommandBatch のインスタンスを作成します。

AffectedCountModificationCommandBatch(ModificationCommandBatchFactoryDependencies)

新しい AffectedCountModificationCommandBatch のインスタンスを作成します。

AffectedCountModificationCommandBatch(ModificationCommandBatchFactoryDependencies, Nullable<Int32>)

新しい AffectedCountModificationCommandBatch のインスタンスを作成します。

プロパティ

AreMoreBatchesExpected

このバッチの後にさらにバッチが必要かどうかを示します。

(継承元 ReaderModificationCommandBatch)
CachedCommandText

バッチ内のコマンドのキャッシュされたコマンド テキストを取得または設定します。

(継承元 ReaderModificationCommandBatch)
CommandResultSet

ResultSetMapping各コマンドの ModificationCommandss。

(継承元 ReaderModificationCommandBatch)
Dependencies

このサービスのリレーショナル プロバイダー固有の依存関係。

(継承元 ReaderModificationCommandBatch)
IsCommandTextEmpty

バッチ コマンド テキストに SQL が既に追加されているかどうか。

(継承元 ReaderModificationCommandBatch)
LastCachedCommandIndex

コマンド テキストが作成された最後のコマンドの序数。

(継承元 ReaderModificationCommandBatch)
MaxBatchSize

1 つのバッチに追加できるインスタンスの最大数 ModificationCommand

(継承元 ReaderModificationCommandBatch)
ModificationCommands

バッチ内の概念的な挿入、更新、削除 ModificationCommandsの一覧。

(継承元 ReaderModificationCommandBatch)
ParameterValues

バッチ内のコマンドのパラメーター値を取得します。

(継承元 ReaderModificationCommandBatch)
RelationalCommandBuilder

バッチ内のコマンドのリレーショナル コマンド ビルダーを取得します。

(継承元 ReaderModificationCommandBatch)
RequiresTransaction

バッチが正しく実行するためにトランザクションを必要とするかどうかを示します。

(継承元 ReaderModificationCommandBatch)
ResultSetMappings

ResultSetMapping各コマンドの ModificationCommandss。

(継承元 ReaderModificationCommandBatch)
SqlBuilder

バッチ内のコマンドのコマンド テキスト ビルダーを取得します。

(継承元 ReaderModificationCommandBatch)
SqlGenerationHelper

SQL 生成のヘルパー。

(継承元 ReaderModificationCommandBatch)
StoreCommand

が呼び出されたときに Complete(Boolean) このバッチから生成された store コマンド。

(継承元 ReaderModificationCommandBatch)
UpdateSqlGenerator

更新プログラム SQL ジェネレーター。

(継承元 ReaderModificationCommandBatch)

メソッド

AddCommand(IReadOnlyModificationCommand)

リスト内更新指定した位置にコマンドのコマンド テキストをModificationCommands追加します。

(継承元 ReaderModificationCommandBatch)
AddCommand(ModificationCommand)

指定された挿入/更新/削除 ModificationCommands をバッチに追加します。

(継承元 ReaderModificationCommandBatch)
AddParameter(IColumnModification)

このバッチ用 columnModification にビルドされるリレーショナル コマンドに、 のパラメーターを追加します。

(継承元 ReaderModificationCommandBatch)
AddParameters(IReadOnlyModificationCommand)

指定された 内 modificationCommand のすべての列変更のパラメーターを、このバッチ用にビルドされているリレーショナル コマンドに追加します。

(継承元 ReaderModificationCommandBatch)
CanAddCommand(IReadOnlyModificationCommand)

新しいコマンドをバッチに追加できるかどうかを確認します。

(継承元 ReaderModificationCommandBatch)
CanAddCommand(ModificationCommand)

新しいコマンドをバッチに追加できるかどうかを確認します。

(継承元 ReaderModificationCommandBatch)
Complete(Boolean)

このバッチにコマンドが追加されなくなり、実行用に準備されることを示します。

(継承元 ReaderModificationCommandBatch)
Consume(DbDataReader)

ReaderModificationCommandBatch影響を受けた行数を調べる値を返すプロバイダーの 。

この型は通常、データベース プロバイダーによって使用されます。通常、アプリケーション コードでは使用されません。

Consume(DbDataReader)

ReaderModificationCommandBatch影響を受けた行数を調べる値を返すプロバイダーの 。

この型は通常、データベース プロバイダーによって使用されます。通常、アプリケーション コードでは使用されません。

(継承元 ReaderModificationCommandBatch)
Consume(RelationalDataReader)

によって作成されたデータ リーダーを Execute(IRelationalConnection)使用します。

Consume(RelationalDataReader)

によって作成されたデータ リーダーを Execute(IRelationalConnection)使用します。

(継承元 ReaderModificationCommandBatch)
ConsumeAsync(DbDataReader, CancellationToken)

ReaderModificationCommandBatch影響を受けた行数を調べる値を返すプロバイダーの 。

この型は通常、データベース プロバイダーによって使用されます。通常、アプリケーション コードでは使用されません。

ConsumeAsync(DbDataReader, CancellationToken)

ReaderModificationCommandBatch影響を受けた行数を調べる値を返すプロバイダーの 。

この型は通常、データベース プロバイダーによって使用されます。通常、アプリケーション コードでは使用されません。

(継承元 ReaderModificationCommandBatch)
ConsumeAsync(RelationalDataReader, CancellationToken)

によって作成されたデータ リーダーを ExecuteAsync(IRelationalConnection, CancellationToken)使用します。

ConsumeAsync(RelationalDataReader, CancellationToken)

によって作成されたデータ リーダーを ExecuteAsync(IRelationalConnection, CancellationToken)使用します。

(継承元 ReaderModificationCommandBatch)
ConsumeResultSet(Int32, RelationalDataReader)

によって作成されたデータ リーダーを使用して Execute(IRelationalConnection)、値を に反映します ModificationCommand

ConsumeResultSetAsync(Int32, RelationalDataReader, CancellationToken)

によって作成されたデータ リーダーを使用して ExecuteAsync(IRelationalConnection, CancellationToken)、値を に反映します ModificationCommand

ConsumeResultSetWithoutPropagation(Int32, DbDataReader)

ReaderModificationCommandBatch影響を受けた行数を調べる値を返すプロバイダーの 。

この型は通常、データベース プロバイダーによって使用されます。通常、アプリケーション コードでは使用されません。

ConsumeResultSetWithoutPropagation(Int32, RelationalDataReader)

値を に反映せずに、 によって Execute(IRelationalConnection) 作成されたデータ リーダーを使用します ModificationCommand

ConsumeResultSetWithoutPropagationAsync(Int32, DbDataReader, CancellationToken)

ReaderModificationCommandBatch影響を受けた行数を調べる値を返すプロバイダーの 。

この型は通常、データベース プロバイダーによって使用されます。通常、アプリケーション コードでは使用されません。

ConsumeResultSetWithoutPropagationAsync(Int32, RelationalDataReader, CancellationToken)

値を に反映せずに、 によって ExecuteAsync(IRelationalConnection, CancellationToken) 作成されたデータ リーダーを使用します ModificationCommand

ConsumeResultSetWithPropagation(Int32, DbDataReader)

ReaderModificationCommandBatch影響を受けた行数を調べる値を返すプロバイダーの 。

この型は通常、データベース プロバイダーによって使用されます。通常、アプリケーション コードでは使用されません。

ConsumeResultSetWithPropagation(Int32, RelationalDataReader)

によって作成されたデータ リーダーを使用して Execute(IRelationalConnection)、値を に反映します ModificationCommand

ConsumeResultSetWithPropagationAsync(Int32, DbDataReader, CancellationToken)

ReaderModificationCommandBatch影響を受けた行数を調べる値を返すプロバイダーの 。

この型は通常、データベース プロバイダーによって使用されます。通常、アプリケーション コードでは使用されません。

ConsumeResultSetWithPropagationAsync(Int32, RelationalDataReader, CancellationToken)

によって作成されたデータ リーダーを使用して ExecuteAsync(IRelationalConnection, CancellationToken)、値を に反映します ModificationCommand

ConsumeResultSetWithRowsAffectedOnly(Int32, RelationalDataReader)

値を に反映せずに、 によって Execute(IRelationalConnection) 作成されたデータ リーダーを使用します ModificationCommand

ConsumeResultSetWithRowsAffectedOnlyAsync(Int32, RelationalDataReader, CancellationToken)

値を に反映せずに、 によって ExecuteAsync(IRelationalConnection, CancellationToken) 作成されたデータ リーダーを使用します ModificationCommand

CreateStoreCommand()

バッチの を RawSqlCommand 生成します。

(継承元 ReaderModificationCommandBatch)
CreateValueBufferFactory(IReadOnlyList<ColumnModification>)

データ リーダーを使用する を IRelationalValueBufferFactory 作成するために使用する を作成 ValueBuffer します。

(継承元 ReaderModificationCommandBatch)
CreateValueBufferFactory(IReadOnlyList<IColumnModification>)

データ リーダーを使用する を IRelationalValueBufferFactory 作成するために使用する を作成 ValueBuffer します。

(継承元 ReaderModificationCommandBatch)
Execute(IRelationalConnection)

指定された接続を使用して、このバッチによって生成されたコマンドをデータベースに対して実行します。

(継承元 ReaderModificationCommandBatch)
ExecuteAsync(IRelationalConnection, CancellationToken)

指定された接続を使用して、このバッチによって生成されたコマンドをデータベースに対して実行します。

(継承元 ReaderModificationCommandBatch)
GetCommandText()

現在のバッチ内のすべてのコマンドのコマンド テキストを取得し、 にも CachedCommandTextキャッシュします。

(継承元 ReaderModificationCommandBatch)
GetParameterCount()

バッチに必要なパラメーターの合計数を取得します。

(継承元 ReaderModificationCommandBatch)
IsCommandTextValid()

コマンド テキストが有効かどうかを確認します。

(継承元 ReaderModificationCommandBatch)
IsValid()

コマンド テキストが有効かどうかを確認します。

(継承元 ReaderModificationCommandBatch)
ResetCommandText()

ビルダーをリセットして、新しいバッチの作成を開始します。

(継承元 ReaderModificationCommandBatch)
RollbackLastCommand(IReadOnlyModificationCommand)

最後に追加したコマンドをロールバックします。 コマンドを追加するときに使用され、バッチが無効になります (CommandText が長すぎます)。

(継承元 ReaderModificationCommandBatch)
SetRequiresTransaction(Boolean)

バッチが正しく実行するためにトランザクションを必要とするかどうかを設定します。

(継承元 ReaderModificationCommandBatch)
ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

コマンドが予期しない行数に影響したことを示す例外をスローします。

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

コマンドが予期しない行数に影響したことを示す例外をスローします。

ThrowAggregateUpdateConcurrencyExceptionAsync(RelationalDataReader, Int32, Int32, Int32, CancellationToken)

コマンドが予期しない行数に影響したことを示す例外をスローします。

TryAddCommand(IReadOnlyModificationCommand)

指定された挿入、更新、削除 modificationCommand をバッチに追加しようとします。

(継承元 ReaderModificationCommandBatch)
UpdateCachedCommandText(Int32)

リスト内の指定した位置ModificationCommandsにあるコマンドのコマンド テキストを更新します。

(継承元 ReaderModificationCommandBatch)

適用対象