1187 results found
-
easier Date/Time data entry in grid
Our database has an audit field:
[ActionDateUtc] DATETIMEOFFSET NOT NULL CONSTRAINT DEFAULT (SYSDATETIMEOFFSET()),
When I click "Add Row", this field is defaulted blank rather than null, and annoying since the only way to enter a date at this point is to manually key it in.
Save fails due to SQL overflow, and since save happens when you move off the record, it's not easy to copy/paste an existing one.
Ideally it would be fantastic if LINQPad would recognize that the value will be supplied by the DB, failing that a right click menu to enter 'now' or 'utc now' would…
1 vote -
Instance share should include My Extensions
I shared a script with a colleague today. However we realised it would not run because I was using and referencing logic from the My Extensions script.
My idea is that when a script is uploaded to instance share, it should include (or allow me include) logic from the My Extensions script, so that the script is able to be run on another machine without modification
10 votes -
REPL in LINQPad leveraging Roslyn
I'd created an idea for LINQPad to offer a REPL experience already (since I can't use language features like LINQ comprehension syntax or the like from PowerShell scripts), but now that Roslyn CTP is out and csx / C# script is alive, I'm hoping that the effort required would be much lower in LINQPad to offer a REPL. If it only works when Roslyn is installed, then that's fine with me, and it helps bridge the functionality gap for those of us that love LINQPad but want to use it as a REPL so we can keep results/objects/graphs in memory…
73 votes -
show current connection database name for ef db context
When working with curom assembly and connection string coming from config it's not clear which database and server working with as name of the connection will be name of the db contesxt in particular assembly.
It would be really useful to find out which server and database names and also allow different color code base on the name of database or server to distinguish between dev/test/prod.
1 vote -
Stop linqpad from querying __MigrationHistory on each call
EF queries the __MigrationHistory each time the DbContext is opened to ensure the DB context is in sync with the DB. This can be very expensive. Can LinqPad provide an option to skip this check by doing Database.SetInitializer<UserQuery>(null)?
UserQuery seems to be the class that gets derived from the user created DbContext.
4 votes -
Load a webpage into iframe in results window
I would like to use a function like Util.LoadPage(string url int width, int height) to load a webpage into an iframe in the result window.
Currently I'm using File.WriteAllText(fileName, contents, Encoding.Default); and Util.RawHtml to push the iframes into the result window, but for some reason the iframes opens up internet explorer in most cases.
8 votes -
run current command
Thanks for AMAZING productivity tool. I would like a feature to run only the command at cursor (not all commands on page). Suggested invocation - right-click context menu option and/or [Alt/Ctrl] + F5.
7 votes -
add a dark theme
i find dark themed environments a lot more comfortable to work in. That's why almost all IDE's have them as an option.
4 votes -
Clicking "add connection" needs a SQL Server option
Click "add connection" there are 3 options "linq to sql", "WCF..." and "MS Datamarket...". None of these allow me to connect to SQL Server. Nothing in "view more drivers" looks like SQL Server either. My friend got it to work after a lot of time & effort, but doesn't remember how he did it. SQL Server is very popular. It should be easy to connect to it.
1 vote -
LINQPad, handy scretch pad.... Why not share?
I keep coming back to LINQPad to write few lines, execute ...verify, then go back to implement the small bit I just wrote and I am sure everyone does that and some would save those random scratch for later use or reference. So I wonder, why not a code snippet share feature directly from LINQPad? It would increase awareness and allow us share or persist some of the quick code written every now and then.
Cheers.
Biniam0 votes -
Create a way to associate .sdf-Files (SQL CE) with LinqPAD
For using LinqPAD for everyday work it would be extremely helpful to have a file association set to open .sdf-Files with LinqPAD directly. Up to now I do not think this is possible. Maybe you could consider a command line option to pass a filename (or connection string) to LinqPAD at start - this would be perfectly sufficient for us by enabling us to write a wrapper providing the desired functionality.
3 votes -
Manual DB Connections
Allow connections to be marked as manual. they exist but will not connect unless prompted to.
Kinda like windows services and starting automaticlly or manually
4 votes -
Add the GIST API to the script explorer
Add some level of source control. I would like to have the gists API integrated directly into LINQpad. Because basically gists are scripts.
193 votes -
Don't automatically populate the connection when creating a new query
Sometimes when I start up a new query, I type a single C# expression like "Environment.OSVersion" and then hit run. It doesn't execute instantly and I look at the status bar and see "Fetching Schema...". Then I see that LINQPad automatically assumed that I was going to use the connection I used last time I wrote a query and added it for me. Although this may be useful for someone who uses LINQPad exclusively for querying a single database, this is annoying for others who use it as a C# scratchpad or frequently query different data sources.
3 votes -
Set primary key
Linqpad cannot insert into tables with no primary key defined in the database. For instance, I have a table with an auto-incrementing identity column. In visual studio I can insert into this table simply by defining the identity column as primary key with auto-sync false in the dbml or editing the edmx xml by hand.
1 vote -
Custom Language Support
Custom Language (think C# Program, C# Expression, etc) support such as Razor templates?
8 votes -
Be able to add connections to Xml Files
In the Add Connection pane, one should be able to add a connection which allows you to browse to an Xml File (or any file that has an Xml File structure even) and thereby be able to use Linq to Xml to query from that Xml File.
19 votes -
allow multiple data contexts per query
I would like to be able to take data from multiple sources and munge them together, but right now only a single context is allowed. I guess you could do this with mega data context that references other data contexts.
240 votes -
Integrate with GitHub (gist)
Many LINQPad scripts are short blocks of code that would be useful to a wider community if shared.
Sharing a LINQ 'script' as a Gist on GitHub means you get versioning/change management and social sharing. You can get the top LINQ 'scripts' written by others and share your own. Others can comment on your scripts / fork them etc.
Perhaps it could be implemented as another "Tab" next to "My Queries" and Samples, called "My Gists".
9 votes -
Add additional database option in menus
I feel like the 'easy' way to add additional databases to a query is way too cryptic: holding down Ctrl while dragging the additional db to the query.
There should be a menu option when right-clicking a database in the connections pane, or in the Query menu. Just somewhere where you can discover it intuitively, in stead of having to check the FAQ.1 vote
- Don't see your idea?