Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Layer class errors
Message
De
11/04/2007 14:40:18
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Business Layer class errors
Divers
Thread ID:
01214606
Message ID:
01214606
Vues:
61
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform