EntitySet<TEntity>.Insert Method (Int32, TEntity)

 

Inserts an entity at an index position.

Namespace:   System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public void Insert(
	int index,
	TEntity entity
)

Parameters

index
Type: System.Int32

The index representing the position at which to insert the entity.

entity
Type: TEntity

The entity to be inserted.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: