Errata in AddBusinessRegions.snippet

Errata in AddBusinessRegions.snippet

Old forum URL: forums.lhotka.net/forums/t/92.aspx


kbaltrinic posted on Saturday, May 13, 2006

I am not sure if this is the correct place to post errata but here goes.  The AddBusinessRegions.snippet file from csla20cs-RTM-060321.zip contains the following piece of code:

  protected override void AddValidationRules()
  {
    // TODO: add validation rules
  }

which will not compile when added to class that derives from BusinessBase as BusinessBase has no such method to override.  It seem to me that the correct override is as follows:

 protected override void AddBusinessRules()
 {
  // TODO: add validation rules
 }

ChrisD replied on Sunday, May 14, 2006

Thats correct and you have implemented the correct change. I'm sure I let Rocky know about this a while back... maybe not as he is pretty good at posting errata.

ChrisD

RockfordLhotka replied on Thursday, May 18, 2006

This has now been fixed in cvs.

Copyright (c) Marimer LLC