EntityParameterCollection.Insert Method

Definition

Inserts an EntityParameter object into the EntityParameterCollection.

Overloads

Insert(Int32, EntityParameter)

Inserts a EntityParameter object into the EntityParameterCollection at the specified index.

Insert(Int32, Object)

Inserts an Object into the EntityParameterCollection at the specified index.

Insert(Int32, EntityParameter)

Inserts a EntityParameter object into the EntityParameterCollection at the specified index.

C#
public void Insert(int index, System.Data.EntityClient.EntityParameter value);

Parameters

index
Int32

The zero-based index at which value should be inserted.

value
EntityParameter

A EntityParameter object to be inserted in the EntityParameterCollection.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Insert(Int32, Object)

Inserts an Object into the EntityParameterCollection at the specified index.

C#
public override void Insert(int index, object value);

Parameters

index
Int32

The zero-based index at which value should be inserted.

value
Object

An Object to be inserted in the EntityParameterCollection.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1