コード例 #1
0
        public static RootObjectPropertyGraph BuildObjetPropertyGraph <TResult>(this Dsl.IPager <TResult> builder)
        {
            var select   = (SqlSelect <TResult>)builder;
            var compiled = (CompiledQuery <object, TResult>)select
                           .Compile();

            return(compiled.PropertyGraph);
        }
コード例 #2
0
        public static RootObjectPropertyGraph BuildMappedObjetPropertyGraph <TResult>(this Dsl.IPager <TResult> builder)
        {
            var mapper   = (QueryMapper <TResult>)builder;
            var compiled = (CompiledQuery <TResult>)mapper
                           .Compile();

            return(compiled.PropertyGraph);
        }