public static IApplicationBuilder UseDapper(this IApplicationBuilder builder, Action <DapperOption> option = null)
        {
            DapperOption opt = new DapperOption();

            if (option != null)
            {
                option(opt);
            }
            return(builder.UseMiddleware <DapperMiddleWare>(opt));
        }
 public DapperMiddleWare(RequestDelegate next, DapperOption option)
 {
     _next        = next;
     this._option = option;
 }