public ParseExpression ( |
||
expression | ||
리턴 | IColumn |
private static void GetIncludeExcludes <T>(IList <Expression> expressions, IncludeExcludeParser parser, FetchNode rootNode, bool isInclude /* as opposed to exclude */) where T : class, new() { if (expressions == null) { return; } foreach (var expression in expressions) { parser.ParseExpression <T>(expression, rootNode, isInclude); } }
private static void GetIncludeExcludes <T>(IList <Expression> expressions, ref IDictionary <Type, IList <IColumn> > includes, IncludeExcludeParser parser) where T : class, new() { if (expressions != null) { includes = new Dictionary <Type, IList <IColumn> >(); foreach (var expression in expressions) { var column = parser.ParseExpression(expression); if (!includes.ContainsKey(column.Map.Type)) { includes.Add(column.Map.Type, new List <IColumn>()); } includes[column.Map.Type] .Add(column); } } }