linqpad Questions

3

Solved

.Dump() only shows 1k results. How do I get it to show more than that with html formatting? The Grid results options doesn't have the formatting I need.
Zion asked 8/1, 2015 at 13:48

3

I created an ordinary text file on Windows 7 64-bit using gnu emacs 23.3.1. I can edit the file with other programs such as LinqPad (the file happens to be a linqpad script, extension .linq). Every...
Maines asked 28/8, 2011 at 23:56

3

Solved

Is it possible to make internal classes from my assembly visible to other assemblies? I know about the AssemblyInfo file and the [assembly: InternalsVisibleTo()] attribute, but it doesn't work in ...
Alan asked 16/1, 2013 at 8:36

3

Solved

is it possible to call/reference functions in another query file beside MyExtensions in LinqPad?
Decolorant asked 4/12, 2012 at 0:29

3

As I was investigating the difference between Include and Join I found that : If the DB does not include a Foreign Keys -it has no navigation props so it's better to use Join If It does have a n...
Unicameral asked 15/9, 2013 at 7:4

3

Solved

In the lower left corner of LINQPad, there is an area for display queries. One tab is My Queries and another one for Samples. I could not find a way to add more than one folder like in My Queries, ...
Sheerness asked 5/12, 2009 at 5:27

3

When running/debugging, calls to MessageBox, or Microsoft.VisualBasic.Interaction.MsgBox hang without showing any dialog. I think it's being blocked, but see no examples on how to resolve this.
Greenroom asked 12/8, 2015 at 21:22

3

Solved

I'm trying to test some code in LINQPad. However, the base class calls Configuration Manager. How can I simulate that when testing in LINQPad. void Main() { var tRepo = new TestRepository(); var...
Reynaldoreynard asked 29/9, 2016 at 13:50

2

Is there a signed version of LinqPad that I could use in order to access internals of signed assemblies?
Iroquoian asked 25/10, 2014 at 11:51

3

Solved

Does anyone know how to get hold of the path to the directory where the LINQPad script file (.linq) resides? Or to the script itself for that matter. Note that I'm not talking about the location ...
Rosenbaum asked 27/9, 2010 at 10:4

3

Solved

In LINQPad, I frequently want to Dump some SQL table, but add a property to each row. I usually default to the simple: Publishers .Select(p => new { p, AppCount = p.Apps.Count() }) But of cours...
Papoose asked 8/2, 2022 at 17:37

1

Solved

I know I can add assemblies to LinqPad and I know I can paste in classes in queris, but is it possible to add CSharp class files(cs) and reference these in a query window? I tried to a few classes ...
Yevette asked 15/1, 2022 at 14:34

3

Is there an easy way to get the connection string of a database listed in the connection window of LINQPad (other than using the object explorer of Visual Studio)?
Altdorfer asked 18/8, 2014 at 10:15

2

Solved

Where do the autorecover files get saved for linqpad? I lost some queries, and like SSMS, I'm hoping the files are still there, but the autorecover is just not pulling them up for some reason when ...
Incalescent asked 21/9, 2016 at 4:16

1

Solved

I've got a simple CSV log file, reading it into a list and charting it is really easy in LINQPad, but I'd like to update the format and the ticks on the x-axis. Here's my code: File.ReadAllLines(@&...
Midis asked 30/9, 2021 at 2:32

3

The following LINQPad query throws NullReferenceException in the try-catch block: void Main() { var specialFolder = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); var workingFolde...
Karolynkaron asked 18/10, 2018 at 22:55

5

How can I run a SQL query in C# statement or C# program with Linqpad? Yes I have to mix SQL statements with Linq for compatibility reason. I use linqpad with postgres driver and these driver doesn...
Wrenn asked 16/8, 2017 at 7:49

6

I am often comparing data in tables in different databases. These databases do not have the same schema. In TSQL, I can reference them with the DB>user>table structure (DB1.dbo.Stores, DB2.db...
Powerless asked 29/9, 2009 at 22:47

3

Solved

Something of a strange question but let's see what kind of response it gets... If I code a console app (VS 2013, .NET 4.5.1) and execute this line of code: Uri.EscapeUriString("[") I get this: ...
Rechaba asked 15/11, 2013 at 14:17

1

I am referencing the NuGet package ABCpdf, which provides a managed DLL abcpdf.dll and four pairs of native DLLs, in x86 and x64 varieties: packages\ABCpdf\11.2.2\build\PrintHook64.dll packages\AB...
Bedraggled asked 25/9, 2018 at 18:7

3

Solved

public static class Extensions{ public static void Dump<T>(this T o) { } public static void Dump<T>(this T o, string s) { }} These lines allow me to copy code from LINQPad to VS and r...
Bukavu asked 24/3, 2011 at 2:50

2

Solved

What's the proper way to write this query? I have a column named TimeStamp in my customers table. I'm getting errors when trying to find customers who created an account in 2012. I've tried: SELEC...
Houlberg asked 19/9, 2013 at 15:35

3

Solved

I have recently started using LinqPad, and bought the Autocomplete option and am really loving it. This is an excellent product! I wanted to ask if there is a way for me to control the command tim...
Krilov asked 9/12, 2011 at 16:47

1

Solved

Within LinqPad I can use things like Console.ReadKey(); OR Util.ReadLine(); But how do you run these in such a way you can actually enter the input? The UI doesn't have a console window!
Variola asked 11/9, 2020 at 5:57

4

Is there a posibility to add a reference to an assembly in LINQPad? I have some types in my assembly and I would like to use them in my LINQPad queries.
Cairn asked 11/7, 2012 at 12:27

© 2022 - 2024 — McMap. All rights reserved.