Language

EntityParameterCollection クラス

定義

EntityCommand で使用されるパラメーター コレクションを表すクラス

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1010:CollectionsShouldImplementGenericInterface")]
public sealed class EntityParameterCollection : System.Data.Common.DbParameterCollection
type EntityParameterCollection = class
    inherit DbParameterCollection
Public NotInheritable Class EntityParameterCollection
Inherits DbParameterCollection
継承
EntityParameterCollection
属性

プロパティ

Name 説明
Count

EntityParameterCollection内の要素の数を含む整数を取得します。

IsFixedSize

EntityParameterCollectionに固定サイズがあるかどうかを示す値を取得します。

IsReadOnly

EntityParameterCollection が読み取り専用かどうかを示す値を取得します。

IsSynchronized

EntityParameterCollectionが同期されているかどうかを示す値を取得します。

Item[Int32]

指定したインデックス位置にある EntityParameter を取得します。

Item[String]

指定した名前の EntityParameter を取得します。

SyncRoot

EntityParameterCollectionへのアクセスを同期するために使用できるオブジェクトを取得します。

メソッド

Name 説明
Add(EntityParameter)

指定した EntityParameter オブジェクトを EntityParameterCollection に追加します。

Add(Object)

指定したオブジェクトを EntityParameterCollectionに追加します。

Add(String, DbType, Int32)

パラメーター名、データ型、および列の長さを使用して、EntityParameterにEntityParameterCollectionを追加します。

Add(String, DbType)

パラメーター名とデータ型を指定して、EntityParameterにEntityParameterCollectionを追加します。

AddRange(Array)

EntityParameterCollectionの末尾に値の配列を追加します。

AddRange(EntityParameter[])

EntityParameterCollectionの末尾にEntityParameter値の配列を追加します。

AddWithValue(String, Object)

EntityParameterCollectionの末尾に値を追加します。

Clear()

EntityParameterCollectionからすべてのEntityParameter オブジェクトを削除します。

Contains(Object)

指定した Object がこの EntityParameterCollection 内にあるかどうかを判断します。

Contains(String)

指定した EntityParameter がこの EntityParameterCollection 内にあるかどうかを判断します。

CopyTo(Array, Int32)

現在のEntityParameterCollectionのすべての要素を、指定したコピー先のインデックスから始まる指定した 1 次元ArrayArrayコピーします。

CopyTo(EntityParameter[], Int32)

現在の EntityParameterCollection のすべての要素を、指定したコピー先インデックスから始まる指定した EntityParameterCollection にコピーします。

GetEnumerator()

EntityParameterCollectionを反復処理する列挙子を返します。

IndexOf(EntityParameter)

コレクション内の指定した EntityParameter の場所を取得します。

IndexOf(Object)

コレクション内の指定した Object の場所を取得します。

IndexOf(String)

指定した名前の指定した EntityParameter の場所を取得します。

Insert(Int32, EntityParameter)

指定したインデックス位置にあるEntityParameterにEntityParameterCollection オブジェクトを挿入します。

Insert(Int32, Object)

指定したインデックス位置にあるObjectにEntityParameterCollectionを挿入します。

Remove(EntityParameter)

指定した EntityParameter をコレクションから削除します。

Remove(Object)

指定したパラメーターをコレクションから削除します。

RemoveAt(Int32)

指定したインデックス位置にあるEntityParameterからEntityParameterCollectionを削除します。

RemoveAt(String)

指定したパラメーター名のEntityParameterからEntityParameterCollectionを削除します。

適用対象