robconery/massive — Issue #105: Readme example has small error with Save.
Author: jbtule
Created: 2011-11-11 01:31:12+00:00
State: open

Came across this issue of documentation due to a question on [stack overflow](http://stackoverflow.com/questions/8088376/unable-to-save-listdynamic-using-rob-conerys-massive).

In your readme you have the following code.

```C#
var table = new Products();
//OH NO YOU DIDN't just pass in an integer inline without a parameter!
//I think I might have... yes
var drinks = table.All("WHERE CategoryID = 8");
//what we get back here is an IEnumerable < ExpandoObject > - we can go to town
foreach(var item in drinks){
//turn them into Haack Snacks
item.CategoryID = 12;
}
//Let's update these in bulk, in a transaction shall we?
table.Save(drinks);
```

`drinks` is an `IEnumerable` but `Save` takes a `params object[]` so the `drinks` is treated like one entity to save.