linqpad Questions
2
I am trying to figure out if there is something I am missing or some way to hack around the lack of support (yet) for Entity Framework Core DbContexts in LinqPad. I've compiled my code targeting 4....
Postliminy asked 20/1, 2017 at 21:41
6
Solved
In LINQPad is there any way to access either the SYSOBJECTS table or the various INFORMATION_SCHEMA.xxx views using LINQ?
I spend a lot of time searching through our huge company database for part...
5
Solved
I have a query below, but I want to perform an Include() to eager load properties. Actions has a navigation property, User (Action.User)
1) My basic query:
from a in Actions
join u in Users on a....
Iced asked 20/7, 2011 at 11:23
2
Solved
How can I test how my Main method handles command-line arguments in Linqpad? I tried
void Main(string[] args)
{
args.Dump()
}
but it errors
No overload for method 'Main' takes 0 arguments
...
1
Solved
Let's say I write this little linqpad snippet and run it, I get what I expect
But when I hit F5 again, the list will have two items in it:
I was not expecting it to do this and can't figure h...
Deepdyed asked 29/9, 2016 at 0:42
3
Solved
I'm trying to test NLog under LINQPad.
I successfully linked it and my code compiles well. However, NLog doesn't write log files because it is not configured.
I tried to make various config files...
2
Solved
I have added the System.Data.SQLite.Core NuGet package to my LINQPad 5 Query (Premium) and then try to execute the following:
new SQLiteConnection(":memory:").Dump();
But I get:
DllNotFoundEx...
2
Solved
I have not yet noticed that James Newton King wrote or spoke about what JToken is. I have made the incorrect assumption that it somehow holds a reference to JObject. This is not the case as the the...
1
Solved
I'm using NuGetVersion from the NuGet.Versioning package in LinqPad. I'm trying to Dump() it to inspect it's properties, but instead of the usual dump I just get the string representation.
For exa...
1
Solved
I've been experimenting with queries in LinqPad. We have a table Lot with a column Side char(1). When I write a linq to sql query Lots.Where(l => l.Side == 'A'), it produces the following SQL
-...
Buckboard asked 7/3, 2016 at 21:33
3
I am new to LinqPad.
I downloaded a .sdf file from the internet (i know what it is) I wanted to view its tables. So I googled "how to read .sdf files" and came across Linqpad, which I installed.
...
Micropyle asked 25/7, 2015 at 16:46
1
Solved
Say I make the following query expression:
var clients =
(from c in Clients
where (c.Age == 20)
select new { c.FirstName, c.LastName }
).ToList();
Calling clients.Dump() in Linqpad shows...
1
Solved
I like linqpad, but often when I need it, I have some data in Visual studio that I need to do stuff with.
Therefore I would love to know if it is possible to copy some list of data into Linqpad, cr...
Precautious asked 25/4, 2016 at 11:39
4
Solved
Linqpad's souped-up Console.WriteLine is awesome. However, how can I do a standard Console.WriteLine of an object?
Duwalt asked 4/10, 2012 at 11:24
3
Solved
I can attach the debugger and get it to break - but it has trouble finding the .cs file, I think LinqPad deletes it as part of its build.. 8-(
Montero asked 6/4, 2011 at 9:43
2
Solved
I have "Run each query in its own process" option turned on (default value), but it seems that the process is being reused between query runs (LINQPad.UserQuery.exe keeps running).
Is there a way ...
Atavism asked 17/2, 2016 at 17:32
8
Solved
I've found LINQPad to be extremely useful when answering StackOverflow questions for C# or VB.NET. It allows me to write up some quick code, run it, and (if I want) see a nicely-formatted dump of t...
2
Solved
I am guessing it neither invokes csc.exe or implement an entire compiler, so how does it work?
Update: Thanks to Jon Skeet for the pointer to code that was easy to learn from.
string c = @"
publi...
1
Solved
2
The comment here says I can use LightSpeed, which I've downloaded and installed. Then I get to this screen:
And I'm not sure what to do. I'm not too familiar with connection strings, first of al...
Fecula asked 5/11, 2011 at 5:42
4
Solved
I want to create a JSON file for use as part of a simple web prototyping exercise. LinqPAD is perfect for accessing the data from my DB in just the shape I need, however I cannot get it out as JSON...
2
Solved
I'm using LINQPad to query and visualize XML files with C#. For example:
var xml = XElement.Load(@"C:\file.xml");
xml.Elements().Where(e => e.Element("trHeader").Element("trTickNum").Value == "...
2
Solved
I am connecting to an Oracle DB and want to do a simple query using Include:
but I am getting this error:
CS1061 'ISessionTable<People>' does not contain a definition for 'Include' and no...
2
Solved
I've observed that if I refresh or reload the dll's in LINQPad's specified Plugins directory, that I must also close and re-open the current script for the library changes to take affect - which ma...
Osteopath asked 26/9, 2013 at 16:36
1
Solved
Linqpad is the only scripting like environment where I can work with my large code base. The reason it is the only environment that works for me is that other solutions (ironpython etc) always fail...
Kayo asked 13/5, 2015 at 7:42
© 2022 - 2024 — McMap. All rights reserved.