Share via


Query.addDataSource Method

Definition

Overloads

addDataSource(Int32, String, UnionType, Boolean)
addDataSource(Int32, String, UnionType)
addDataSource(Int32)

Adds a data source to the top level of the query.

addDataSource(Int32, String)

addDataSource(Int32, String, UnionType, Boolean)

public:
 virtual Dynamics::AX::Application::QueryBuildDataSource ^ addDataSource(int _table, System::String ^ _name, Microsoft::Dynamics::Ax::Xpp::UnionType _unionType, bool _emptyFieldList);
public virtual Dynamics.AX.Application.QueryBuildDataSource addDataSource (int _table, string _name, Microsoft.Dynamics.Ax.Xpp.UnionType _unionType, bool _emptyFieldList);
abstract member addDataSource : int * string * Microsoft.Dynamics.Ax.Xpp.UnionType * bool -> Dynamics.AX.Application.QueryBuildDataSource
override this.addDataSource : int * string * Microsoft.Dynamics.Ax.Xpp.UnionType * bool -> Dynamics.AX.Application.QueryBuildDataSource
Public Overridable Function addDataSource (_table As Integer, _name As String, _unionType As UnionType, _emptyFieldList As Boolean) As QueryBuildDataSource

Parameters

_table
Int32
_name
String
_unionType
Microsoft.Dynamics.Ax.Xpp.UnionType
_emptyFieldList
Boolean

Returns

Applies to

addDataSource(Int32, String, UnionType)

public:
 virtual Dynamics::AX::Application::QueryBuildDataSource ^ addDataSource(int num1, System::String ^ text1, Microsoft::Dynamics::Ax::Xpp::UnionType type1);
public virtual Dynamics.AX.Application.QueryBuildDataSource addDataSource (int num1, string text1, Microsoft.Dynamics.Ax.Xpp.UnionType type1);
abstract member addDataSource : int * string * Microsoft.Dynamics.Ax.Xpp.UnionType -> Dynamics.AX.Application.QueryBuildDataSource
override this.addDataSource : int * string * Microsoft.Dynamics.Ax.Xpp.UnionType -> Dynamics.AX.Application.QueryBuildDataSource
Public Overridable Function addDataSource (num1 As Integer, text1 As String, type1 As UnionType) As QueryBuildDataSource

Parameters

num1
Int32
text1
String
type1
Microsoft.Dynamics.Ax.Xpp.UnionType

Returns

Applies to

addDataSource(Int32)

Adds a data source to the top level of the query.

public:
 virtual Dynamics::AX::Application::QueryBuildDataSource ^ addDataSource(int num1);
public virtual Dynamics.AX.Application.QueryBuildDataSource addDataSource (int num1);
abstract member addDataSource : int -> Dynamics.AX.Application.QueryBuildDataSource
override this.addDataSource : int -> Dynamics.AX.Application.QueryBuildDataSource
Public Overridable Function addDataSource (num1 As Integer) As QueryBuildDataSource

Parameters

num1
Int32

Returns

The data source object that is created.

Remarks

A name value can be specified for documentation purposes. You can use the name to fetch the data source by using the dataSourceName method.

Applies to

addDataSource(Int32, String)

public:
 virtual Dynamics::AX::Application::QueryBuildDataSource ^ addDataSource(int num1, System::String ^ text1);
public virtual Dynamics.AX.Application.QueryBuildDataSource addDataSource (int num1, string text1);
abstract member addDataSource : int * string -> Dynamics.AX.Application.QueryBuildDataSource
override this.addDataSource : int * string -> Dynamics.AX.Application.QueryBuildDataSource
Public Overridable Function addDataSource (num1 As Integer, text1 As String) As QueryBuildDataSource

Parameters

num1
Int32
text1
String

Returns

Applies to