I am trying to extract smart object data by making use of a sql statement.
My smart object is called DirectorsBoard and my method is called getCompanyDirectors which required the smart object property CompanyID.
I use the following Syntax:
SELECTÂ Â Â Â Position], Principal
FROMÂ Â Â Â Â Â Â Â DirectorsBoard.getCompanyDirectors]
WHEREÂ Â Â Â (CompanyID = @CompanyID)
When I test the query I am getting an error: Smartobject property CompanyID is a required property for selected method getCompanyDirectors.
Even when I set my parameter value, any reason for this? It work fine when I cal the method using the stored procedure syntax.Â