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
- 属性
属性
Count |
获取一个整数,其中包含 中的 EntityParameterCollection 元素数。 |
IsFixedSize |
获取一个值,该值指示 EntityParameterCollection 是否具有固定大小。 |
IsReadOnly |
获取一个值,该值指示 EntityParameterCollection 是否为只读。 |
IsSynchronized |
获取一个值,该值指示 EntityParameterCollection 是否已同步。 |
Item[Int32] |
获取位于指定索引处的 EntityParameter。 |
Item[String] |
获取具有指定名称的 EntityParameter。 |
SyncRoot |
获取可用于同步对 的访问的对象 EntityParameterCollection 。 |