StrataFrame Forum

Question about underlying datatables in BO

http://forum.strataframe.net/Topic1963.aspx

By StarkMike - 7/27/2006

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
By StrataFrame Team - 7/27/2006

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.