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!