| | | 
StrataFrame Novice
       
Group: StrataFrame Users Last Login: 05/30/2008 10:52:28 AM Posts: 72, Visits: 251 |
| | Here's another issue. My form is a MicroFour.StrataFrame.UI.Windows.Forms.StandardForm. The property AutoShowBrokenRulesAlert is (by default) true, but the alert does not show. I add the Broken rules in the BO, the little arrow of the build-in ErrorProvider shows fine, but the broken rules alert is not shown. I have searched the code and found that the property is only used by an event handler, when IsChildForm is true. Nevertheless, in your tutorial the alerts works fine, and the options are exactly the same as mine, and IsChildForm is false. Any directions? Thank you... |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 06/17/2008 9:28:35 AM Posts: 2,649, Visits: 1,863 |
| Try calling .Save() on the form instead of .Save() on the business object and see if that gets the alert to show.
www.bungie.net |
| | | | 
StrataFrame Novice
       
Group: StrataFrame Users Last Login: 05/30/2008 10:52:28 AM Posts: 72, Visits: 251 |
| | This works. Thanks Ben. By the way, how many database connections does the data layer need? In my connection string I have enabled connection pooling with maximum pool size of 1, and I get an exception from time to time of a timeout, because the pool has no more available connections. What is a safe number? Thank you again... |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 06/17/2008 9:28:35 AM Posts: 2,649, Visits: 1,863 |
| I think the default number of connections is fine... we've never had any problem with the defaults. In fact, I don't think we ever even set any of the pooling settings within the connection string. Off the top of my head, I would say that 3-5 would be plenty. I've never seen one of our clients even use more than 4.
www.bungie.net |
| |
|
|