| | | 
StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 6:22:15 PM Posts: 363, Visits: 1,798 |
| The addition of support for compound primary keys is great . It would be nice if the framework added a ReadOnly CompoundPrimaryKey Property of type PrimaryKeyValue when generating the designer file for an object. This would save having to code a custom CompoundPrimaryKey property that could be used as a Tag value for listviews, etc. It would also be nice if SeekToPrimayKey included an overload that accepted type PrimayKeyValue instead of having to pass each PrimaryKey individually. -Larry |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 09/26/2008 8:30:36 AM Posts: 2,685, Visits: 1,886 |
| Very valid points, Larry... I'll check on the SeekToPrimaryKey, but I think there is already an overload (or there should be). And there is already a GetPrimaryKeyValue() method on the business object that will return a PrimaryKeyValue object for the CurrentRow and an overload that will allow you to create one for a given row.
But, I'll check on the SeekToPrimaryKey and make sure it's in the next version 
www.bungie.net |
| | | | 
StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 6:22:15 PM Posts: 363, Visits: 1,798 |
| Ben, Thanks for the info, I missed the updates to GetPrimaryKeyValue(). However I’m not clear on how I would use this to set a tag value for say a listview? If I create a custom CompundPrimaryKey Property for my BO, it appears in the drop down list of available tag fields. An Example would help. -Larry |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 09/26/2008 8:30:36 AM Posts: 2,685, Visits: 1,886 |
| Oh, I gotcha... you need a property that is created that is bindable, not just the ability to get the property. Yes, I'll look into that 
www.bungie.net |
| |
|
|