Accessing BBS Instance of the Business Object


Author
Message
Ertan Deniz
Ertan Deniz
StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)
Group: Forum Members
Posts: 163, Visits: 493
How can I access the BBS instance that wraps my business object at runtime ?
Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
If you will use the new Custom Business Binding Source the internal BO is exposed through the SourceBO property.  You must be on the most recent 1.6.6 beta build, but this will handle a vast majority of the logic that I think that you are trying to code manually at the moment.  There is a new template for this as well when you add a new item (Custom Business Binding Source).  Then in code you can access it like this:

Talking to the strong-typed properties

MyBBS.SourceBO.cust_LastName;

Talking to the standard BO methods

MyBBS.SourceBO.MoveFirst();

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