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); }