public AddJoinByPathMap ( string path, NHibernate.Hql.Ast.ANTLR.Tree.FromElement destination ) : void | ||
path | string | |
destination | NHibernate.Hql.Ast.ANTLR.Tree.FromElement | |
리턴 | void |
public ComponentJoin(FromClause fromClause, FromElement origin, string alias, string componentPath, ComponentType componentType) : base(fromClause, origin, alias) { this.componentPath = componentPath; this.componentType = componentType; componentProperty = StringHelper.Unqualify(componentPath); fromClause.AddJoinByPathMap(componentPath, this); InitializeComponentJoin(new ComponentFromElementType(this)); string[] cols = origin.GetPropertyMapping("").ToColumns(TableAlias, componentProperty); columns = string.Join(", ", cols); }
public ComponentJoin(FromClause fromClause, FromElement origin, string alias, string componentPath, ComponentType componentType) : base(fromClause, origin, alias) { this.componentPath = componentPath; this.componentType = componentType; componentProperty = StringHelper.Unqualify(componentPath); fromClause.AddJoinByPathMap(componentPath, this); InitializeComponentJoin(new ComponentFromElementType(this)); string[] cols = origin.GetPropertyMapping("").ToColumns(TableAlias, componentProperty); columns = string.Join(", ", cols); }
private FromElement InitializeJoin( string path, FromElement destination, JoinSequence joinSequence, string[] columns, FromElement origin, bool manyToMany) { destination.Type = HqlSqlWalker.JOIN_FRAGMENT; destination.JoinSequence = joinSequence; destination.Columns = columns; destination.SetOrigin(origin, manyToMany); _fromClause.AddJoinByPathMap(path, destination); return(destination); }