| | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 4:58:13 AM Posts: 4,379, Visits: 4,421 |
| Any comment ? I 'm trying to find easy way ? (Shared) Central point to write the code. (EnsureColumnsExist) I generally do this immediately after calling a Fill ... or even in some cases an Add since those columns would not exist on the Add. This really is up to you and depends on if this is an isolated element of a single maintenance form or will happen for the entire BO no matter where it is used. If it is the latter, then you may want to override the FillDataTable method on your BO. Then call this method after you call the MyBase.FillDataTable(...) method. |
| | | | StrataFrame User
       
Group: StrataFrame Users Last Login: Yesterday @ 3:31:12 AM Posts: 146, Visits: 438 |
| | | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 4:58:13 AM Posts: 4,379, Visits: 4,421 |
| No, not really. What do you mean? I already gave you my comment on the previous post. |
| | | | StrataFrame User
       
Group: StrataFrame Users Last Login: Yesterday @ 3:31:12 AM Posts: 146, Visits: 438 |
| | I had thought that I had to write for every property of a class to ensure specified column exist in CurrentDataTable. But It was only for extended properties. So, It is not hard to write. |
| |
|
|