% group # Execute Methods %>
The ExecuteForEach method executes an SQL statement for every item in the provided collection and returns the number of rows affected.
ExecuteForEach.cs <% ..\..\..\HowTo\Data\ExecuteForEach.cs %> Person.cs <% ..\..\..\HowTo\DataAccess\Person.cs %> Gender.cs <% ..\..\..\HowTo\DataAccess\Gender.cs %> App.config <% Doc\Data\App.config %> Create.sql script