StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Using a BusinessLayer to fill a specific BO
Using a BusinessLayer to fill a specific BO
Post Reply
Like
0
Using a BusinessLayer to fill a specific BO
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Greg McGuffey
Greg McGuffey
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 2K,
Visits: 6.6K
Can I use a generic BusinessLayer to fill a specific BO if the datatable in the BusinessLayer is filled in a way that the BO can handle?
I.e. I have a CustomersBO with these fields:
CustID
CustName
Then I instantiate a BusinessLayer and use FillDataTable with SQL like this:
Dim bo As New BusinessLayer()
bo.FillDataTable("Select CustID, CustName From Customers")
Can I then do:
CustomersBO.CopyDataFrom(bo,ClearAndFillFromCompleteTable)
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
Using a BusinessLayer to fill a specific BO
Greg McGuffey
-
17 Years Ago
bump...
Greg McGuffey
-
17 Years Ago
Greg, I'm not sure what you a trying to do but why not something like...
Paul Chase
-
17 Years Ago
That could work...and it saves the extra overhead of the BO. I'll try...
Greg McGuffey
-
17 Years Ago
Paul's option is a good one and it does save the overhead of...
StrataFrame Team
-
17 Years Ago
Thanks for the reply Ben. It is all making sense now. I haven't done...
Greg McGuffey
-
17 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