EntityParameterCollection 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表 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
- 屬性
屬性
| 名稱 | Description |
|---|---|
| Count |
得到一個整數,包含 中 EntityParameterCollection 元素的數量。 |
| IsFixedSize |
取得值,這個值表示 EntityParameterCollection 是否有固定大小。 |
| IsReadOnly |
取得值,這個值表示 EntityParameterCollection 是否為唯讀。 |
| IsSynchronized |
會得到一個表示是否 EntityParameterCollection 同步的值。 |
| Item[Int32] |
在指定的索引處得到 。EntityParameter |
| Item[String] |
得到指定名稱的 。EntityParameter |
| SyncRoot |
取得一個物件,可用來同步存取 EntityParameterCollection 。 |