LocalView<TEntity>.CopyTo(TEntity[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies to an array all entities of type TEntity that are being tracked and are not marked as Deleted.
public virtual void CopyTo (TEntity[] array, int arrayIndex);
abstract member CopyTo : 'Entity[] * int -> unit
override this.CopyTo : 'Entity[] * int -> unit
Public Overridable Sub CopyTo (array As TEntity(), arrayIndex As Integer)
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework