EntityParameterCollection 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表一組與 EntityCommand相關的參數。
public ref class EntityParameterCollection sealed : System::Data::Common::DbParameterCollection
public sealed class EntityParameterCollection : System.Data.Common.DbParameterCollection
type EntityParameterCollection = class
inherit DbParameterCollection
Public NotInheritable Class EntityParameterCollection
Inherits DbParameterCollection
- 繼承
屬性
| 名稱 | Description |
|---|---|
| Count |
得到一個整數,包含 中 EntityParameterCollection元素的數量。 |
| IsFixedSize |
會得到一個表示是否 EntityParameterCollection 固定大小的值。 |
| IsReadOnly |
會得到一個值,表示 是否 EntityParameterCollection 為唯讀。 |
| IsSynchronized |
會得到一個表示是否 EntityParameterCollection 同步的值。 |
| Item[Int32] |
在指定的索引處得到 。EntityParameter |
| Item[String] |
得到指定名稱的 。EntityParameter |
| SyncRoot |
取得一個物件,可用來同步存取 EntityParameterCollection。 |
方法
明確介面實作
| 名稱 | Description |
|---|---|
| IDataParameterCollection.Item[String] |
取得或設定參數於指定的索引。 (繼承來源 DbParameterCollection) |
| IList.Item[Int32] |
取得或設定位於指定索引處的專案。 (繼承來源 DbParameterCollection) |
擴充方法
| 名稱 | Description |
|---|---|
| AsParallel(IEnumerable) |
啟用查詢的平行處理。 |
| AsQueryable(IEnumerable) |
將 IEnumerable 轉換成 IQueryable。 |
| Cast<TResult>(IEnumerable) |
將 IEnumerable 的項目轉換成指定的型別。 |
| OfType<TResult>(IEnumerable) |
根據指定的型別篩選 IEnumerable 的專案。 |