Template Documentation
IGenericRepositoryTEntityAddIEnumerable Method |
Add a IEnumerable of new entities to the context, they will be added to the database on Save
Namespace: Template.Core.Interface
Assembly: Template.Repository (in Template.Repository.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
IEnumerable<TEntity> AddIEnumerable( IEnumerable<TEntity> entities )
Parameters
- entities
- Type: System.Collections.GenericIEnumerableTEntity
The list of entities to insert
Return Value
Type: IEnumerableTEntityThe IEnumerable of entities after being added
See Also