C# Class NHibernate.Hql.Ast.ANTLR.Tree.DotNode

Inheritance: NHibernate.Hql.Ast.ANTLR.Tree.FromReferenceNode, ISelectExpression
Afficher le fichier Open project: nhibernate/nhibernate-core Class Usage Examples

Méthodes publiques

Свойство Type Description
REGRESSION_STYLE_JOIN_SUPPRESSION bool
UseThetaStyleImplicitJoins bool

Private Properties

Свойство Type Description
AreSame bool
BuildIllegalCollectionDereferenceException QueryException
CheckForCorrelatedSubquery void
CheckLhsIsNotCollection void
CheckSubclassOrSuperclassPropertyReference void
DereferenceCollection void
DereferenceComponent void
DereferenceEntity void
DereferenceEntityIdentifier void
DereferenceEntityJoin void
GetColumns string[]
GetDataType IType
InitText void
IsDotNode bool
IsReferenceToPrimaryKey bool
PrepareLhs IType
SetImpliedJoin void
SetPropertyNameAndPath void

Méthodes publiques

Méthode Description
DotNode ( IToken token ) : System
GetImpliedJoin ( ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement
GetLhs ( ) : NHibernate.Hql.Ast.ANTLR.Tree.FromReferenceNode
Resolve ( bool generateJoin, bool implicitJoin, string classAlias, IASTNode parent ) : void
ResolveFirstChild ( ) : void
ResolveInFunctionCall ( bool generateJoin, bool implicitJoin ) : void
ResolveIndex ( IASTNode parent ) : void
ResolveSelectExpression ( ) : void
SetResolvedConstant ( string text ) : void
SetScalarColumnText ( int i ) : void

Private Methods

Méthode Description
AreSame ( String alias1, String alias2 ) : bool
BuildIllegalCollectionDereferenceException ( string propertyName, IASTNode lhs ) : QueryException
CheckForCorrelatedSubquery ( string methodName ) : void
CheckLhsIsNotCollection ( ) : void
CheckSubclassOrSuperclassPropertyReference ( NHibernate.Hql.Ast.ANTLR.Tree.AbstractSelectExpression lhs, String propertyName ) : void
DereferenceCollection ( NHibernate.Type.CollectionType collectionType, bool implicitJoin, bool indexed, string classAlias ) : void
DereferenceComponent ( IASTNode parent ) : void
DereferenceEntity ( NHibernate.Type.EntityType entityType, bool implicitJoin, string classAlias, bool generateJoin, IASTNode parent ) : void
DereferenceEntityIdentifier ( string propertyName, DotNode dotParent ) : void
DereferenceEntityJoin ( string classAlias, NHibernate.Type.EntityType propertyType, bool impliedJoin, IASTNode parent ) : void
GetColumns ( ) : string[]
GetDataType ( ) : IType
InitText ( ) : void
IsDotNode ( IASTNode n ) : bool
IsReferenceToPrimaryKey ( string propertyName, NHibernate.Type.EntityType owningType ) : bool

Is the given property name a reference to the primary key of the associated entity construed by the given entity type? For example, consider a fragment like order.customer.id (where order is a from-element alias). Here, we'd have: propertyName = "id" AND owningType = ManyToOneType(Customer) and are being asked to determine whether "customer.id" is a reference to customer's PK...

PrepareLhs ( ) : IType
SetImpliedJoin ( NHibernate.Hql.Ast.ANTLR.Tree.FromElement elem ) : void
SetPropertyNameAndPath ( IASTNode parent ) : void

Method Details

DotNode() public méthode

public DotNode ( IToken token ) : System
token IToken
Résultat System

GetImpliedJoin() public méthode

public GetImpliedJoin ( ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement
Résultat NHibernate.Hql.Ast.ANTLR.Tree.FromElement

GetLhs() public méthode

public GetLhs ( ) : NHibernate.Hql.Ast.ANTLR.Tree.FromReferenceNode
Résultat NHibernate.Hql.Ast.ANTLR.Tree.FromReferenceNode

Resolve() public méthode

public Resolve ( bool generateJoin, bool implicitJoin, string classAlias, IASTNode parent ) : void
generateJoin bool
implicitJoin bool
classAlias string
parent IASTNode
Résultat void

ResolveFirstChild() public méthode

public ResolveFirstChild ( ) : void
Résultat void

ResolveInFunctionCall() public méthode

public ResolveInFunctionCall ( bool generateJoin, bool implicitJoin ) : void
generateJoin bool
implicitJoin bool
Résultat void

ResolveIndex() public méthode

public ResolveIndex ( IASTNode parent ) : void
parent IASTNode
Résultat void

ResolveSelectExpression() public méthode

public ResolveSelectExpression ( ) : void
Résultat void

SetResolvedConstant() public méthode

public SetResolvedConstant ( string text ) : void
text string
Résultat void

SetScalarColumnText() public méthode

public SetScalarColumnText ( int i ) : void
i int
Résultat void

Property Details

REGRESSION_STYLE_JOIN_SUPPRESSION public_oe static_oe property

public static bool REGRESSION_STYLE_JOIN_SUPPRESSION
Résultat bool

UseThetaStyleImplicitJoins public_oe static_oe property

public static bool UseThetaStyleImplicitJoins
Résultat bool