Monday, February 06, 2012 Register    Login
Instructions

In order to add new threads or reply to existing posts, you have to be logged-in. If you are not registered yet, you need to register first, and then login with your personal credentials.

   

CslaFactory Forums
HomeHomeSupportSupportCslaFactory CTPCslaFactory CTP'Identifier expected' on AddCommonRules method
Previous
 
Next
New Post
5/29/2008 7:52 PM
 

Hello everybody,

 when I build my solutions, the compiler show me this error message:
'Identifier expected'

This is caused by this code:
private void AddCommonRules()
{
 Csla.Validation.DecoratedRuleArgs args;
 //
 args = new DecoratedRuleArgs("Id", "", RuleSeverity.Error, false);
       ValidationRules.AddRule(Csla.Validation.CommonRules., args, 0); 
}
 On line: ValidationRules.AddRule(Csla.Validation.CommonRules., args, 0);

Note that the object "Csla.Validation.CommonRules." is incomplete

This is a BUG?

Thanks

Rogerio

 
New Post
5/29/2008 10:18 PM
 

Thanks for the hint. This occurs due to the type of your property (System.Guid) which is not recognized correctly in the CTP version.

Marcel

 
Previous
 
Next
HomeHomeSupportSupportCslaFactory CTPCslaFactory CTP'Identifier expected' on AddCommonRules method


   

UsersOnline
Membership Membership:
Latest New User Latest: erymn
Past 24 Hours Past 24 Hours: 1
Prev. 24 Hours Prev. 24 Hours: 0
User Count Overall: 1585

People Online People Online:
Visitors Visitors: 3
Members Members: 0
Total Total: 3

Online Now Online Now: