linqpad Questions

6

Solved

I've just begun using LINQPad and so far I like it but most tutorials I have come across for LINQ TO SQL make use of a DataContext class which is generated by Visual Studio for persisting updates e...
Hazlett asked 12/5, 2009 at 13:8

3

Solved

I have a DumpContainer to which I'd like to add content dynamically. I know I can set the Content property to a new object but that gets rid of the previous content. How can I add instead of repl...
Esperance asked 19/5, 2020 at 16:31

4

Solved

Is it possible to use xUnit with LINQPad? It would be great to be able to write some tests for concepts being designed in LINQPad first. It's easier than adding yet another ConsoleApp23423894238 j...
Outwards asked 14/10, 2018 at 0:21

4

Solved

Does anyone have a complete list of LINQPad extension methods and methods, such as .Dump() SubmitChanges()
Inflation asked 24/8, 2010 at 9:59

3

Solved

I am using LINQPad 5 and VSTS (visual studio team services) I have a NuGet feed (v3) in VSTS and I would like to use packages from there(private) in LINQPad I have tried using the personal access ...
Fibrous asked 9/11, 2016 at 19:10

2

Solved

I'm trying to use F# to construct a query against a database, but I can't get even the simplest of queries to compile. I can construct a C# query like this: from c in Categories select c Every...
Basle asked 15/10, 2013 at 15:52

7

Solved

In visual studio you have the nice designer that encapsulates a stored proc with a nifty little method. I totally love LINQPad and use it on a daily basis at work (haven't had a need to open up SQL...
Pleochroism asked 10/11, 2010 at 21:50

2

Solved

I am trying to do some charting in LinqPad. I have some logs from an api and i know, what api was called and if the request was cached (in our real case we resolve address with coordinates from bin...
Koonce asked 21/6, 2019 at 12:1

6

Solved

I have the LINQPad version with NuGet and I add libgit2sharp but this relies on a another (native) dll. I've tried: Copying them my systemdirectory. Put them in a separate directory that I've ad...
Androclinium asked 7/6, 2013 at 11:32

3

Solved

I want to do something like this: from a in stuff let counter = 0 select new { count = counter++, a.Name }; But I get a error telling me that counter is read only. Is there a way to do something...
Precision asked 5/2, 2010 at 17:19

0

Microsoft SQL Server accept blank space in name of variables by usage of brackets: CREATE TABLE [dbo].[MyDataTable]( [Compo 1] [nvarchar](50) NULL, [Compo 2] [nvarchar](50) NULL, [Compo 3] [nva...
Possie asked 22/3, 2019 at 8:28

2

How can I set a timeout om my query on LinqPad on ExecuteQueryDynamic? Util.CurrentDataContext.ExecuteQueryDynamic($"SELECT count(*) FROM MyDb.dbo.{viewName}"); I would like to use this timeout ...
Paul asked 4/3, 2019 at 9:56

2

Solved

When running (a pretty experimental) linq query I get: "Query completed successfully with warnings" in the toolbar, how do I find the warnings? As they don't appear in the dump window. n.b. At the...
Singlehanded asked 1/11, 2013 at 11:55

9

Solved

In LinqPad, trying to call .Dump() on a Newtonsoft JSON.Net JObject yields an exception: RuntimeBinderException: 'Newtonsoft.Json.Linq.JObject' does not contain a definition for 'Dump'. This w...
Puccoon asked 18/1, 2013 at 20:3

4

Solved

I have installed Mono 2.6.7 in Snow Leopard and would like to run LINQPad. I've gotten LINQPad (v2.21) to start but immediately get a FileNotFoundException. Has anyone been able to run it successfu...
Wildebeest asked 10/9, 2010 at 2:36

2

Solved

I have a problem with committing changes in LinqPad. I am using Oracle database over IQ driver in LinqPad. I can retrieve data but I don't know how to submit changes to database. I retrieve data ...
Publisher asked 26/8, 2013 at 7:34

4

Solved

I want to connect LinqPad to a WCF web service which exposes its WSDL information at a URI of the form http://server.example.com/Product/Service/Version/Soap11?wsdl. I can successfully add this URI...
Gam asked 7/7, 2014 at 3:49

2

Total NOOB question. I have been using the new linqpad for about 20 minutes now. Great! But now i want to delete a row in the db. I am using a EF5.0 connection. I cant seem to find anything in the...
Apostate asked 7/9, 2013 at 13:14

3

Solved

Currently what I am trying to achieve is to create a graph within LINQPad from a SQL Datasource. I believe it is possible to do, however I am not 100% sure on how exactly to do it. Does anyone ...
Engrossing asked 23/9, 2013 at 5:5

1

Solved

LINQPad has a tab near the results to show the IL of the C# statements you're running. I'm wondering if this is the optimized "Release" version of the code vs. the unoptimized "Debug" build of the ...
Divaricate asked 30/4, 2018 at 21:21

3

Solved

I want to test out the LINQ in my Repository code: public IEnumerable<InventoryItem> Get(string ID, string packSize, int CountToFetch) { return inventoryItems.Where(i => 0 < String.Co...
Emmittemmons asked 18/11, 2013 at 22:13

1

Solved

installed linqpad5 free version on windows server 2012 R2 machine. every time, after running the query , a popup shows "IE not trusted site error..." whats the url needs to be added in IE's trus...
Postdiluvian asked 7/2, 2018 at 21:2

1

Solved

I feel like I've missed something obvious. I want to test my EF Core DbContext in LinqPad like I usually do with regular EF. I have a simple DbContext: public class NotificationManagerContext :...

1

Solved

I'm trying to implement a custom Arbitrary that generates glob syntax patterns like a*c?. I think my implementation is correct, it's just that, when running the test with Xunit, FsCheck doesn't see...
Karee asked 31/10, 2017 at 21:20

3

I'm using LinqPad to execute some dynamic sql and it is returning IEnumerable when I call .Dump(). I would like it to display the results of the anonymous type its returning. Any help on executing ...
Explanation asked 29/12, 2014 at 14:27

© 2022 - 2024 — McMap. All rights reserved.