コード例 #1
0
        public static Expression Bind(Expression node, IBsonSerializer documentSerializer, IBsonSerializerRegistry serializerRegistry)
        {
            // bind
            var binder = new ProjectionBinder(documentSerializer, serializerRegistry, __methodCallBinder);
            var bound  = binder.Bind(node);

            // post-process
            return(CorrelatedGroupRewriter.Rewrite(bound, serializerRegistry));
        }
コード例 #2
0
        public static Expression Bind(Expression node, IBsonSerializer documentSerializer, IBsonSerializerRegistry serializerRegistry)
        {
            // bind
            var binder = new ProjectionBinder(documentSerializer, serializerRegistry, __methodCallBinder);
            var bound = binder.Bind(node);

            // post-process
            return CorrelatedGroupRewriter.Rewrite(bound, serializerRegistry);
        }