StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Question about underlying datatables in BOExpand / Collapse
Author
Message
Posted 07/27/2006 2:52:05 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 07/09/2008 2:20:16 PM
Posts: 436, Visits: 944
I have a business object that has more than one data table in it. How do I reference one datatable and how do I get a row count for that datatable?

Also How can I iterate through all the datatables in a single BO?

Thanks
Post #1963
Posted 07/27/2006 3:39:56 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 09/26/2008 8:30:36 AM
Posts: 2,685, Visits: 1,886
A business object only has a single ADO.NET data table within it so I assume you are pulling from a view of some sort.  With that in mind, you can access and use the following properties on any business object.

CurrentDataTable
CurrentRow
CurrentView
Count

For more information on these properties you can refer to the documentation.  You may want to download the new documentation from the My Account area that includes a class library reference for every class, method, property, and event within StrataFrame.


www.bungie.net
Post #1964
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 5:52am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 12 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.