public void ResolveField <T, TKey>(SqlPartType type, Expression <Func <T, TKey> > expression) { resolveType = typeof(T); builder.PartType = type; var node = this.Visit(expression.Body); builder.BuildField((dynamic)node); }
public void ResolveField <T, TKey>(SqlPartType type, Expression <Func <T, TKey> > expression) { this.resolveType = typeof(T); builder.PartType = type; builder.TableType = resolveType; var nodes = ResolveField(expression.Body); builder.BuildField(nodes); }