Language

IRelationalCommandBuilder インターフェイス

定義

リレーショナル データベースに対して実行されるコマンドをビルドします。

この型は、通常、データベース プロバイダー (およびその他の拡張機能) によって使用されます。 通常、アプリケーション コードでは使用されません。

public interface IRelationalCommandBuilder : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder>
public interface IRelationalCommandBuilder
type IRelationalCommandBuilder = interface
    interface IInfrastructure<IndentedStringBuilder>
type IRelationalCommandBuilder = interface
Public Interface IRelationalCommandBuilder
Implements IInfrastructure(Of IndentedStringBuilder)
Public Interface IRelationalCommandBuilder
派生
実装
IInfrastructure<Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder>

注釈

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

プロパティ

Name 説明
CommandTextLength

コマンド テキストの長さを取得します。

Instance

非表示になっているプロパティの値を取得します。

(継承元 IInfrastructure<T>)
ParameterBuilder

このコマンドに関連付けられているパラメーターをビルドします。

Parameters

パラメーターのコレクション。

TypeMappingSource
古い.

使用する RelationalTypeMappingのソース。

メソッド

Name 説明
AddParameter(IRelationalParameter)

指定されたパラメーターをこのコマンドに追加します。

Append(FormattableString, Boolean)

コマンド テキストにオブジェクトを追加します。

Append(Object)

コマンド テキストにオブジェクトを追加します。

Append(String, Boolean)

コマンド テキストにオブジェクトを追加します。

Append(String)

コマンド テキストにオブジェクトを追加します。

AppendLine()

コマンド テキストに空白行を追加します。

Build()

コマンドを作成します。

DecrementIndent()

後続の行のインデントをデクリメントします。

IncrementIndent()

後続の行のインデントをインクリメントします。

RemoveParameterAt(Int32)

指定したインデックスを持つパラメーターをこのコマンドから削除します。

拡張メソッド

Name 説明
AddCompositeParameter(IRelationalCommandBuilder, String, Action<IRelationalParameterBuilder>)

最終的に最後のコマンドで複数の DbParameterとして表されるパラメーターを追加します。

AddCompositeParameter(IRelationalCommandBuilder, String, IReadOnlyList<IRelationalParameter>)

最終的に最後のコマンドで複数の DbParameterとして表されるパラメーターを追加します。

AddParameter(IRelationalCommandBuilder, String, String, IProperty)
古い.

パラメーターを追加します。

AddParameter(IRelationalCommandBuilder, String, String, RelationalTypeMapping, Boolean)

パラメーターを追加します。

AddParameter(IRelationalCommandBuilder, String, String, RelationalTypeMapping, Nullable<Boolean>, ParameterDirection)

パラメーターを追加します。

AddParameter(IRelationalCommandBuilder, String, String, RelationalTypeMapping, Nullable<Boolean>)

パラメーターを追加します。

AddParameter(IRelationalCommandBuilder, String, String)
古い.

パラメーターを追加します。

AddPropertyParameter(IRelationalCommandBuilder, String, String, IProperty)
古い.

パラメーターを追加します。

AddRawParameter(IRelationalCommandBuilder, String, DbParameter)

パラメーターを追加します。

Append(IRelationalCommandBuilder, Object)

コマンド テキストにオブジェクトを追加します。

AppendLine(IRelationalCommandBuilder, FormattableString)

新しい行のコマンド テキストにオブジェクトを追加します。

AppendLine(IRelationalCommandBuilder, Object)

新しい行のコマンド テキストにオブジェクトを追加します。

AppendLine(IRelationalCommandBuilder, String)

新しい行のコマンド テキストにオブジェクトを追加します。

AppendLine(IRelationalCommandBuilder)

コマンド テキストに空白行を追加します。

AppendLines(IRelationalCommandBuilder, Object, Boolean)

複数行のテキストを含むオブジェクトをコマンド テキストに追加します。 オブジェクトから読み取られた各行は、新しい行に追加されます。

AppendLines(IRelationalCommandBuilder, Object)

複数行のテキストを含むオブジェクトをコマンド テキストに追加します。 オブジェクトから読み取られた各行は、新しい行に追加されます。

AppendLines(IRelationalCommandBuilder, String, Boolean)

複数行のテキストを含むオブジェクトをコマンド テキストに追加します。 オブジェクトから読み取られた各行は、新しい行に追加されます。

DecrementIndent(IRelationalCommandBuilder)

後続の行のインデントをデクリメントします。

GetInfrastructure<T>(IInfrastructure<T>)

IInfrastructure<T>を使用して非表示になっているプロパティから値を取得します。

このメソッドは、通常、データベース プロバイダー (およびその他の拡張機能) によって使用されます。 通常、アプリケーション コードでは使用されません。

GetLength(IRelationalCommandBuilder)

コマンド テキストの長さを取得します。

IncrementIndent(IRelationalCommandBuilder)

後続の行のインデントをインクリメントします。

Indent(IRelationalCommandBuilder)

コマンド テキストのインデントを増やします。

適用対象