1217 results found
-
Add an index row number column
The very left column (for selecting rows) should be a rownumberer column. Showing the index number of that row. Handy if you are sorting by a particular column and then want to quickly see how many are in each group.
1 vote -
Support export of query results to JSON
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 very easily.
I don't really care what the schema is, because I can adapt my JavaScript to work with whatever is returned.
64 votes -
Allow Action<T> as input to Dump()
Sometimes you don't need to Dump() the entire object graph, but instead just a portion thereof. Of course, you can (if in Statements or Program mode) assign a variable, and them Dump() something derived from the variable currently. But wouldn't it be nice, for example if you could do this:
/* some really complex query / .Dump(x => x.Select(y => y.EmailAddress, "Email Addresses")
./ some other operations on the complex query */This wouldn't be hard to code:
public static T Dump<T>(this T toDump, Func<T> filter, string description)
{
toDump.filter().Dump(description);
return toDump;
}Of course, you'd want to have other…
3 votes -
Fix for "Error 2714" when running the "But I don't have NORTHWND!" Sample query.
To fix "Error 2714" when running the "But I don't have NORTHWND!" Sample query, replace the text "Add connection" with 'Add connection' in the comment-section of that query (ie. Replace the double quotes with single quotes).
1 vote -
Linq File as Template (Readonly)
The posibility to define a .linq file as a "Template" (Readonly) would be nice. This would disable the script and would only be able to "Use as Template For A New Query". Another icon for the templates would be nice to.
1 vote -
Keep Original Column Names in Generated types
When you generate a model for Linq to SQL, provide an option to not autoformat the property names with upper case first letters. Instead preserve the original field name and use that.
Use case: I have several customers who use LINQ Pad for query prototyping and then copy the results from queries into their programs (I know, I know - not the best of ideas, but that's what they do). The problem is because the names don't match all sorts of fixups have to be done. An option to generate entity properties with the same casing as the underlying fields…
3 votes -
When exploring db and select a table/sp, ctlr+v copies the object name
When exploring db and select a table/sp, ctlr+v copies the object name
2 votes -
Make Instant Share URL Configurable
Allow us to configure the endpoint for Instant Share so we can create our own workflows for script sharing. Instant Share to a local folder, SMB share or Web API URL.
3 votes -
Add scriptcs support
It would be great if LinqPad would support scriptcs or Roslyn since it already has NuGet support. Another option would be to export the .linq project as scriptcs project.
117 votes -
When choosing a driver, list more extensions
Start LINQPad, click Add connection
Actual result:
- useful drivers (LPX files) are listed.Exepected result:
- include more drivers, eg
https://github.com/dylanmei/linqpad-soap-driverIdeally, this would be more of a nuget style listing.
1 vote -
Ability to have a multiple WCF calls and/or multiple DB connections
Ability to have a multiple WCF calls and/or multiple DB connections in same opened query.
3 votes -
Available for Mobile
I love this and would love for it to be accessible on my Android device.
1 vote -
BUG: FileLoadException when querying an EF Typed DataContext with a comma in the folder path
When running a query against an EntityFramework Typed DataContext connection, and the assembly folder path has a comma in it, linqpad shows System.IO.FileLoadException "The given assembly name or codebase was invalid". The context connection and tables show correctly on the left, but queries fail to execute.
1 vote -
Password protect production databases with timeout
I would like a protection layer for production databases.
It could be two factor push or simple password/pin.But something that allows me to have production databases without being afraid that i make a devestating mistake when not properly focused. Or that someone with bad intentions can wreck havoc.
A simple password prompt on first access is enough and then a timeout after being inactive for a number of minutes.
18 votes -
Add an overload to Util.Run and Util.Compile/CompileAsync that accepts a QueryLanguage
At the moment it's possible to change the query lang via lprun using the -lang flag. It'd be awesome to be able to do the same when using Util.Run and Util.Compile/CompileAsync from other assemblies.
It'd also be super useful to be able to pass a Stream to the same methods, but that's secondary :).
3 votes -
Support INotifyPropertyChanged for Dumped objects
Support INotifyPropertyChanged in the same way as IObservable, i.e. update the value when the property changes
3 votes -
Add (Administrator) to the title bar if running with administrative privileges like Visual Studio
It is helpful for me to see at a glance if the process I am using is elevated or not - as by default they are not. Here is some sample code I tested in LINQPad to test it under my Win7 environment:
// using System.Security.Principal
WindowsIdentity user = WindowsIdentity.GetCurrent();
WindowsPrincipal principal = new WindowsPrincipal(user);
principal.IsInRole(WindowsBuiltInRole.Administrator).Dump();Discussion point: I don't know if any automation tools look for a title bar named LINQPad 4 - but changing it could introduce a breaking change for those folks. I imagine that changed from older versions (though I can't remember honestly). Maybe have it…
18 votes -
For portable installs, allow `resultstyles.css` to be loaded from the executable folder
Many files will loaded from the folder containing the executable, resultstyles.css is not one of them.
6 votes -
Adopt SharpDevelop's "Tools -> Convert Code to (other language)"
In SharpDevelop there is a useful tool which allows you to load a VB class and then convert it into C# (via Tools -> Convert Code to ...).
It currently supports source code conversions between VB.NET and C# (and vice versa).
Since SharpDevelop is Open Source, maybe it is not too difficult to add this feature to SharpDevelop?
1 vote -
Dump Roslyn SyntaxNode variables in the "Tree Visualizer"
I really love the "Roslyn Syntax Tree" visualizer, and use it a lot to inspect how the code looks like a tree.
However, I also do a lot with Roslyn, analyzing code, and writing code fixers. I'd really love it when I have a SyntaxNode, to be able to dump that to the Tree visualizer, and see it's tree there.
9 votes
- Don't see your idea?