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);
        }
Example #2
0
        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);
        }