Hi everybody.
During the "try it out" at page 299 I'm facing the following error when I execute my app (step 6):
"A data item was not found in the container. The container must either implement IDataItemContainer, or have a property named DataItem."
I've noticed I needed to add a
Code:
using RentMyWrox.Models;
in order to the code
Code:
Hobby hobby = new Hobby();
to work, but when running (it compiles without errors) it crashes.
Couldn't debug either... breakpoints are never reached.
Does it anybody faced this problem?
Thanks.