SqlTable<TEntity>.AddRange Method (IEnumerable<TEntity>)
Recursively executes INSERT commands for the specified entities and all their one-to-one and one-to-many associations.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Syntax
public void AddRange(
IEnumerable<TEntity> entities
)
Parameters
entities
Type: System.Collections.Generic.IEnumerable<TEntity>
The entities whose INSERT commands are to be executed.