Difference Between the Queries types

Hey Friends,

I have one doubt in Query in Dynamic AX-2009.

The have used the below mentioned ways for Select record from Table to bind in Form.

But Anyone help me the difference of these.

And Which senerio which ways we have to handle…Please Expain in detail…

this.query().dataSourceName

this.query().addDataSource

this.query().dataSourceNo

this.query().dataSourceTable

Thanks in Advance.

You’ll find description of these methods on MSDN.