Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Layer class errors
Message
From
11/04/2007 14:40:18
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Business Layer class errors
Miscellaneous
Thread ID:
01214606
Message ID:
01214606
Views:
60
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
Next
Reply
Map
View

Click here to load this message in the networking platform