StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
How to use BO.FillByPrimaryKey(Int64 (Long) Parameter Array)?
How to use BO.FillByPrimaryKey(Int64 (Long) Parameter Array)?
Post Reply
Like
0
How to use BO.FillByPrimaryKey(Int64 (Long) Parameter Array)?
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Edhy Rijo
E
Edhy Rijo
posted 15 Years Ago
ANSWER
Topic Details
Share Topic
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
I have a BO1 with some records, I need to fill another BO2 with the same records in BO1, I think that using the BO.FillByPrimaryKey(Int64 (Long) Parameter Array) may be a quick solution. Now I don't know how to code to create the Long parameter array needed for BO2.FillByPrimaryPK(), can somebody post some quick code on how to do this?
So far, I can enumerate the BO2 like this:
' Here I need to code to create the Parameter Array
For Each ItemsBO As bizTransactionItems In Me.BizTransactionItems1.GetEnumerable
' Here I need the code to increment the Parameter Array
Next
' BO.FillByPrimaryKey(Int64 (Long) Parameter Array)
Thanks!
Edhy Rijo
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
How to use BO.FillByPrimaryKey(Int64 (Long) Parameter Array)?
Edhy Rijo
-
15 Years Ago
You will just need to create a collection of PKs. The easiest way is...
Trent L. Taylor
-
15 Years Ago
[quote][b]Trent L. Taylor (05/26/2009)[/b][hr]Let me know if this is...
Edhy Rijo
-
15 Years Ago
Cool :cool:
Trent L. Taylor
-
15 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