The name 'data' does not exist in the current context

Jun 18, 2013 at 8:58 AM
Edited Jun 18, 2013 at 9:43 AM
Hi,
I have downloaded the 4.3 RC from the web site with the template and codesmith. I also downloaded CSLA4.3.12. This is the first time doing this on this PC and I located the templates and codesmith correctly. The csla classes are generated from the database table correctly. But when I add them to the project and compile i get the "The name 'data' does not exist in the current context" error. And I see some undefined variable on the LoadProperty method(see code below). It used to be
dr.GetInt32("TableColumn1") in older versions of the cslagenfork.
private void Fetch(SafeDataReader dr)
{ ...
LoadProperty(tableColumn1Property, data.tableColumn1);
...}
I changed several options on the project but none changed the result. I removed everything and reinstalled them again but nothing changed. Probably I am missing something but cant find. Please help. Can somebody confirm this is not related to latest templates I downloaded.
Developer
Jun 18, 2013 at 11:26 AM
See my reply to the Safedatadeader thread from a few days ago.

https://cslagenfork.codeplex.com/discussions/446247

Bill