EntityParameterCollection 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示一个与 EntityCommand 关联的参数集合。
public ref class EntityParameterCollection sealed : System::Data::Common::DbParameterCollectionpublic sealed class EntityParameterCollection : System.Data.Common.DbParameterCollectiontype EntityParameterCollection = class
    inherit DbParameterCollectionPublic NotInheritable Class EntityParameterCollection
Inherits DbParameterCollection- 继承
属性
| Count | 获取一个包含 EntityParameterCollection 中的元素数的整数。 | 
| IsFixedSize | 获取一个值,该值指示 EntityParameterCollection 是否具有固定大小。 | 
| IsReadOnly | 获取一个值,该值指示 EntityParameterCollection 是否为只读。 | 
| IsSynchronized | 获取一个值,该值指示 EntityParameterCollection 是否已同步。 | 
| Item[Int32] | 获取位于指定索引处的 EntityParameter。 | 
| Item[String] | 获取具有指定名称的 EntityParameter。 | 
| SyncRoot | 获取可用于同步对 EntityParameterCollection 的访问的对象。 | 
方法
显式接口实现
| IDataParameterCollection.Item[String] | 获取或设置指定索引处的参数。(继承自 DbParameterCollection) | 
| IList.Item[Int32] | 获取或设置指定索引处的元素。(继承自 DbParameterCollection) | 
扩展方法
| Cast<TResult>(IEnumerable) | 将 IEnumerable 的元素强制转换为指定的类型。 | 
| OfType<TResult>(IEnumerable) | 根据指定类型筛选 IEnumerable 的元素。 | 
| AsParallel(IEnumerable) | 启用查询的并行化。 | 
| AsQueryable(IEnumerable) | 将 IEnumerable 转换为 IQueryable。 |