-
Re: How to show WPF controls during run script
Replace the call to Thread.Sleep with: await Task.Delay(1000); Another option, if you need just a simple button and not a WPF button, is to use LINQPad's HTML controls, i.e., LINQPad.Controls.Button:… (View Post) -
Re: How to use FromSqlRaw, FromSqlInterpolated and ExecuteSqlRaw, ExecuteSqlInterpolated
Also note that when you create the connection in LINQPad 6, you have the option of choosing EF Core instead of LINQ-to-SQL. If you choose EF Core, you'll be able to call this.Database.ExecuteSqlInter… (View Post) -
Re: LinqPad 6 and xUnit test framework
This is a good use-case. I will be adding explicit support for xunit soon, to make this easier. (View Post) -
Re: DbContext Driver needs to support other options
LINQPad supports lazy loading with EF Core, and always has. Are you using a DbContext defined in your own assembly? If so, you must enable lazy loading in the OnConfiguring method: protected override… (View Post) -
Re: Entity Framework DbCommandInterceptor vs. SQL panel (LINQPad 5)
The behavior makes sense, because LINQPad installs its DbCommandInterceptor first. You can tell LINQPad not to write SQL translations by doing this in your setup code: ExecutionEngine.SqlTranslations… (View Post)