StrataFrame Forum

Adding Broken Rules for a Custom Property

http://forum.strataframe.net/Topic15885.aspx

By Trent L. Taylor - 4/25/2008

There have been several posts asking about how to create and show a broken rule for a custom field property on a business object.  This sample uses the StrataFrameSample database and adds a custom field property and rules that must be applied to that custom field property.  It also shows how to properly add a BrokenRule for a custom property so that all of the error provider logic will appear.
By Trent L. Taylor - 4/29/2008

Updated version that includes 3 projects:

  • Winforms Project
  • Business Class Library
  • Web Application

There was some confusion as to how to make this work on a web form, which really there isn't any additional logic within the BO that is required...so I added a Web Application so that you could see how it gets plumbed in.  Hope this helps. Smile