StrataFrame Forum

How does business object pass parameters to view?

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

By Wang Tong Yin - 7/10/2006

Some of my business objects mapped to views, which have parameters. How does business object pass parameters to view?
By StrataFrame Team - 7/10/2006

In order to pass parameters to a view when selecting records from the view, you must create a new SqlCommand object and add the parameters to that object.  Once you have built the SqlCommand object, you can pass it to the FillDataTable() method to retrieve the resultset.