public static void ExecuteLeaves(this SqlPreCommand preCommand, CommandType commandType = CommandType.Text) { foreach (var simple in preCommand.Leaves()) { simple.ExecuteNonQuery(commandType); } }