LocalView<TEntity>.CopyTo(TEntity[], Int32) Method

Definition

Copies to an array all entities of type TEntity that are being tracked and are not marked as Deleted.

C#
public virtual void CopyTo (TEntity[] array, int arrayIndex);

Parameters

array
TEntity[]

The array into which to copy entities.

arrayIndex
Int32

The index into the array to start copying.

Implements

Remarks

See Local views of tracked entities in EF Core for more information and examples.

Applies to

Proizvod Verzije
Entity Framework Core 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0