Instantiate Business Object Dynamically


Author
Message
Tim Dol
Tim Dol
Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
This may be a dumb question but I can't quite get this to work.



I have a string variable containing the fully qualified name of a business object.



Example: Dim var as String = "Avanti.DTS.BusinessObject.CustomersBO"





I want to instantiate the actual business object based on the string value so I can access the field names and lengths etc...



can someone let me know how to do this?



Thanks,

Tim

Reply
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Charles R Hankey (10/02/2009)
Darn I with there were a way to see the question while we are typing an anwer ... or is there ?





Yes there is, and I have been there before too Smile.



While replying down at the bottom of the page there is header named "Last 10 Post in Descending Order" and on the right side there is a plus sign, just click the plus sign and you will see (guess what?) the last 10 post in descending order Hehe

Edhy Rijo

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search