1206 results found
-
DumpOptions attribute to customize Dump()
1) Ignore - ignore field/property/class in the dumped tree
Example:
public class AggregatedError
{
public string Name { get; private set; }[DumpOptions(Options.Ignore)] public string[] Files { get; private set; }
}
will not display Files property.2) NotExpanded - do not expand collection by default
Example:
public class AggregatedError
{
public string Name { get; private set; }[DumpOptions(Options.NotExpanded)] public string[] Files { get; private set; }
}
will display Files as a collection, but will not expand its by default3) ToString - display object as string
Example:
[DumpOptions(Options.ToString)]
public class AggregatedError
{
public override string ToString()
{…36 votes -
Add a windows explorer context menu "create linqpad snippet" for .dlls
Add a windows explorer menu short cut that would :
When right clicking assembly files (*.dll) which are .net dlls
startup linqpad with an empty snippet that has the dll as reference.
Ultimately linqpad would reflect the public members of the dll and list them somwher in the left pane.For trying out dlls this would be a killer feature!
You could also implement "spying" on configuration manager so that any calls to ConfigurationManager.AppSettings would alert the user and let him enter a value that the snippet would use.
3 votes -
Create a SQL view in the database directly from a Dump() result
Have the possibility to create a SQL view from the result of a dump() !
Linq is create to quickly extract complex data. If after you have just to click a button to save this in database it will very useful.1 vote -
3 votes
-
DumpToSlack()!
It'd be so cool if we could output/publish Dump() traces to slack somehow.
Sharing quick reports with my team would be amazingly simple.
7 votes -
Support multiple versions of a nuget package
Right now we have some linqpad scripts that use 1.7.1 of NEST Elasticsearch and some using 2.4.5. But we can not share those/use them on the same machine since there is only one 'NEST' directory under Linqpad\Nuget, right?
Not sure how this would be handled since you want to upgrade etc, but maybe the diretory should contain the version number in it? Then you could in theory have 2 versions downloaded.
1 vote -
being able to save a user work context
I usualy work by batches... at one client I use thoses queries, while at this other one, I use a different set...
And I have like 10-20 queries open, in a specific work context...
Context switching is a bit of a nightmare....
If only I had a button to save not the files themselves, but the specific work context, I could just reopen a previous context and off I'm gone...
1 vote -
oAuth Support for WCF data services
It would be great if Linqpad supported using oAuth for authentication.
52 votes -
Add server environment coloring in query designer
It would be awesome to be able to define along with every database connection some description, and custom color, which will then be shown in some corner in query designer.
It is usefull to warn you when you are accessing development, test or production database (or any other depending on the message you provided with connection string).
That way you can easily see, green means I'm good, red means extra carefull. Much safer than to accidentaly query the wrong database and alter the production data by accident.
25 votes -
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
- Don't see your idea?