Adds a new from element to the from node.

Namespace: NHibernate.Hql.Ast.ANTLR.Tree
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public FromElement AddFromElement(
	string path,
	IASTNode alias
)
Visual Basic
Public Function AddFromElement ( _
	path As String, _
	alias As IASTNode _
) As FromElement
Visual C++
public:
FromElement^ AddFromElement(
	String^ path, 
	IASTNode^ alias
)

Parameters

path
Type: System..::..String
The reference to the class.
alias
Type: NHibernate.Hql.Ast.ANTLR.Tree..::..IASTNode
The alias AST.

Return Value

The new FROM element.

See Also