I'd like to request an enhancement also to be able to clear the cache of the business rules. Our application loads some business rules dynamically because each of our customers can configure which properties of a class are required or not. The only reason I would like to be able to clear the cache is so that I can reload some different business rules in my Nunit testing. My Nunit tests do the following (which is not working)
1) Set a string datatype property in the database to required
2) Test that saving the object without specifying the string fails
3) Test that saving the object with the string succeeds
4) Set the string datatype in the database back to not required
5) Set an int datatype in the database to required
6) Test that saving the object with the int succeeds (it does NOT succeed because the string value from the previous test is still required).
I guess for now, I will set a property of each datatype to required at the beginning, then run each test providing all the "other" values for each test.
Rob Kraft