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); }
public static RootObjectPropertyGraph BuildMappedObjetPropertyGraph <TResult>(this Dsl.IPager <TResult> builder) { var mapper = (QueryMapper <TResult>)builder; var compiled = (CompiledQuery <TResult>)mapper .Compile(); return(compiled.PropertyGraph); }