StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
PrimaryKeyFields Property on a BO
PrimaryKeyFields Property on a BO
Post Reply
Like
0
PrimaryKeyFields Property on a BO
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Scott
Scott
posted 19 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 176,
Visits: 1.5K
I have a BO that is based on a view. The view has no column marked as the primary key so the BO mapper does not build the key into the designer file. I am using this view to locate records using the BrowseDialog, becuase there is no primary key field, when the data is returned the BO currentrow is set to the first row in the datatable. If I manually add the code to the designer file so that the BO knows what the key field of the view is, everything works fine. Do you have an suggestions on how I can work with this situation?
Thanks
Scott
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
PrimaryKeyFields Property on a BO
Scott
-
19 Years Ago
You can add indexes to views, but not primary keys. So, if you pull...
StrataFrame Team
-
19 Years Ago
Thats kind of what I thought. Thanks
Scott
-
19 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search