SqlTable.AddRange(Object[]) Method
Recursively executes INSERT commands for the specified entities and all their one-to-one and one-to-many associations.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Overloads
| Name | Description |
|---|---|
| AddRange(IEnumerable<Object>) | Recursively executes INSERT commands for the specified entities and all their one-to-one and one-to-many associations. |
| AddRange(Object[]) | Recursively executes INSERT commands for the specified entities and all their one-to-one and one-to-many associations. |
Syntax
public void AddRange(
params Object[] entities
)
Parameters
entities Object[]
The entities whose INSERT commands are to be executed.