public void GetFlatList(List <SqlJoinRef> res) { Source.GetFlatList(res); foreach (var join in Joins) { join.GetFlatList(res); } }
public void GetFlatList(List <SqlJoinRef> res) { res.Add(new SqlJoinRef { JoinType = JoinPrefix.ClauseWords.CreateDelimitedText(" ") }); Source.GetFlatList(res); if (Condition != null) { res.Add(new SqlJoinRef { Condition = Condition }); } }