I am using version 2.3 of the framework and getting errors right after a successful business layer generation. I have not added a single line of code to the classess generated but when I build I get errors in the classess. Here is one of them.
Identifier expected
The code is this
public string ValidateButton_Flagged( button_Flagged)
And it is in the Rules object for one of the business objects. Button_Flagged is a field in the table.
Another also in the Rules object is:
"Type Expected"
in this code:
public string ValidateCompany(? company)
{
string Msg = null;
if (mmType.IsEmpty(company))
{
this.EntityPropertyDisplayName = "Company";
Msg = this.RequiredFieldMessagePrefix +
this.EntityPropertyDisplayName +
this.RequiredFieldMessageSuffix;
AddErrorProviderBrokenRule("Company", Msg);
}
return Msg;
}
There are actually several errors flagged within this block of code.
My data is an Access table. Should I expect to create business objects with the generator without any errors if the BLG completes successful?
Timothy Bryan