Skip to content

Instantly share code, notes, and snippets.

@nour-s
nour-s / IQueryableExtensions
Last active January 30, 2020 14:02 — forked from rionmonster/IQueryableExtensions
Resolve the SQL being executed behind the scenes in Entity Framework Core
using System.Reflection;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.Internal;
using Microsoft.EntityFrameworkCore.Storage;
public static class IQueryableExtensions
{
private static readonly TypeInfo QueryCompilerTypeInfo = typeof(QueryCompiler).GetTypeInfo();

Those are some snippets that I made to help me use the extention vscode-debug-visualizer

Visualize a JS map

![image](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASMAAADhCAIAAAAMFURxAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAABBeSURBVHhe7dv/c9T1nQfw+xd60x9uU5l+Nk02kw2xJkUCqD2ZXtKKpgVFmwCC4YygocDVC6J8Cd85c1ASIiC9WMEvWO3cFaZtKIp6jkxp8fDaqZQZrEyh/EAbwP4J9wrZI5tnNsN+wuf13vf7Nc/XPH7Z3dcMz8m8noTdhL+rqp9GRNrYNCIX2DQiF9g0IhfYNCIX2DQiF9g0IhfYNCIX2DQiF9g0IhfYNCIX2DQiF9g0IhfYNCIX2DQiF9g0IhcsN+2F/f0lBGEELDgGYQQsOAZhzGPTtEAYAQuOQRgBC45BGPPYNC0QRsCCYxBGwIJjEMY8Nk0LhBGw4BiEEbDgGIQxj03TAmEELDgGYQQsOAZhzGPTtEAYAQuOQRgBC45BGPPYNC0QRsCCYxBGwIJjEMY8Nk0LhBGw4BiEEbDgGIQxj03TAmEELDgGYQQsOAZhzGPTtEAYAQuOQRgBC45BGPPYNC0QRsCCYxBGwIJjEMY8Nk0LhBGw4BiEEbDgGIQxj03TAmEELDgGYQQsOAZhzGPTtEAYAQuOQRgBC45BGPPYNC0QRsCCYxBGwIJjEMY8Nk0LhBGw4BiEEbDgGIQxj03TAmEELDgGYQQsOAZhzGPTtEAYAQuOQRgBC45BGPPYNC0QRsCCYxBGwIJjEMY8Nk