1203 results found
-
Nullref in Dump() when ToString() returns null
I have an object whose ToString() implementation returns null in some instances. I noticed that when Dump() attempts to dump this object, it throws a nullref.
I have modified my code to no longer return null from the ToString(), but it ought to be trivial to update LinqPad to avoid this issue in the future.
Sample:
void Main()
{
new Bar().Dump(1);
}// Define other methods and classes here
public class Bar
{
public override string ToString()
{
return null;
}
}6 votes -
allow setting of a 'default connection' for linqpad to use on startup
When I start up linqpad, it's always to use the same database (the database of the product I work on), but by default it lists "no connection". Rather than constantly making me set the connection, it would be nice to be able to flag one as the default connection (similar to a default printer).
Another option would be to default the connection to whatever was last used (this would be as effective for me since I'm always using the same one).
Yet another option would be that if there's only one connection defined in the Connections window, default to that…
32 votes -
1 vote
-
Add support for Failover Partner when creating a SQL connection
We have 2 SQL servers set up with mirroring. Some databases are live on one and passive on the other and vice versa. It would be handy if I could put Failover Partner in the connection string to save me having to have 2 different connections.
4 votes -
Allow WCF Data Services libraries to be configurable
Since LINQPad is an OData client, it be great if we could configure it to use the latests WCF Data Services libraries, which are now released out of band from the Framework. e.g. http://www.microsoft.com/en-us/download/details.aspx?id=29306 is a release that supports Any/All queries, but LINQPad will throw a NotSupported exception when using the exact syntax explained here: http://blogs.msdn.com/b/astoriateam/archive/2011/05/31/any-all-support-in-wcf-data-services.aspx
2 votes -
Support F# under Visual Studio 2012/Windows 8
Currently, latest release looks for fsc.exe in C:\Program Files (x86)\Microsoft F#\v4.0\, but under VS 2012 on Win8, it's actually under C:\Program Files (x86)\Microsoft SDKs\F#\3.0\Framework\v4.0\
9 votes -
Query a collection created at a VS breakpoint.
be able to set a breakpoint in VS, and be able to transfer a collection that was created into the linqpad workspace. Quite often a collection is created after doing quite a bit of work in the way of web service calls, db queries etc... once all of this info has been gathered together in a collection in a running program, it would be awesome to then query that collection at a VS breakpoint.
3 votes -
Generate StoredProc or Func.
Please add the ability to generate a StoredProc or Func from linqToSql. This would be an awesome benefit for devs who hate working with TSQL.
Many Thanks
1 vote -
Change the snippet replacement colour to something readable when using dark theme
If I change the background colour of the editor to black, it enables a dark theme, which on the whole is great.
But if I use snippet replacements I can't read the replacement characters because the background colour is bright, light green and the foreground colour is white.
E.g. type "prop" then tab. The word "foo" is unreadable. If I start typing to replace "object", that text also becomes unreadable.
7 votes -
Provide a LINQ Query Tuner
Something to identify common patterns of misuse or inefficiency in LINQ queries, and suggest alternatives
847 votes -
Allow Showing of SQL without Query Execution
Very useful to get a sense of what querys produce what SQL.
11 votes -
Launch web links in the default browser instead of IE.
I clicked a link in the connection dialog to the IQ toolkit and it launched IE. I suggest you use the default system browser.
15 votes -
Create a WPF UI
Self-explanatory, replace the Win Forms UI with a WPF UI or allow users to choose which one to download.
3 votes -
I want linqshell
you're almost there -- give me the whole thing, baby!
84 votes -
Team Foundation support
I've checked in my queries in TFS, it would be nice if LinqPad could checkout queries when i start editing them.
23 votes -
Support for multiple databases (EF/L2S) on different servers
I would like to be able to query multiple databases, that are on different servers. Possible use would be "server.database.table" or something like that.
13 votes -
Support EF derived entity types in the schema tree
If one has derived entity types defined in the model and doesn’t use MEST (default scenario), the derived entities are not shown in the schema tree, since only entity sets defined in the model are currently shown. Per default it means only base entity types. It makes model exploration capability very limited. Consider a model where all the entities derive from a single base type MyObject (arguable but viable design). Then you end up with only one “table” entry MyObjects in the schema tree with few to none properties defined. All the hundreds of “real” types with all their valuable…
9 votes -
Disable Dump() output without rewriting query (Silent mode)
Would be nice if LINQPad would have the ability to turn of Dump() output as an run option, to speed up execution.
An advanced featrue would be to flag Dump() statements with and option like DEBUG, VERBOSE etc. to allow switching part of the output on and of as needed.6 votes -
Provide language-dependent query snippets for items in the schema tree (in the context menu)
Currently, all the snippets provided as native LINQ statements and method calls only, irregardless of the nature of the connection/provider. It would be useful to have these snippets in all languages supported by LINPad and (more importantly) applicable to the specific connection/provider, like for instance ESQL or plain SQL. The snippets could be organized in sub-menus by language.
2 votes -
Provide a link to the line causing an exception from the information bar
The yellow bar at the top shows the current exception but if you have a very long linqpad script you need to scroll down to see where the error happened. It would be nice to be able to click the yellow bar to jump down to the exception.
1 vote
- Don't see your idea?