EntitySet<TEntity>.AddRange(IEnumerable<TEntity>) EntitySet<TEntity>.AddRange(IEnumerable<TEntity>) EntitySet<TEntity>.AddRange(IEnumerable<TEntity>) EntitySet<TEntity>.AddRange(IEnumerable<TEntity>) Method

定义

添加实体的集合。Adds a collection of entities.

public:
 void AddRange(System::Collections::Generic::IEnumerable<TEntity> ^ collection);
public void AddRange (System.Collections.Generic.IEnumerable<TEntity> collection);
member this.AddRange : seq<'Entity (requires 'Entity : null)> -> unit
Public Sub AddRange (collection As IEnumerable(Of TEntity))

参数

collection
IEnumerable<TEntity>

要添加的集合。The collection to be added.

适用于