-
Re: simple way(s) to get schema info in LINQPad script?
The MetaModel Mapping should give you the information. For example, the following should dump out some info on all the columns on all the tables. foreach(var table in Mapping.GetTables()) { ( from dm…2 · -
Re: Is there a more optimal/elegant way to implement sub queries?
You can use the let command to avoid duplication, eg var providers = ( from p in matches group p by new { p.Provnum, p.actualPhone } into g let CustomerList = ( from cl in matches where cl.actualPhon…1 · -
Re: Reference for learning basic LINQ for SQL? C# Expressions or C# Statements
The compile error you are getting is because you have to name each member in the anonymous type and hence can't just use a constant. Also, in order to compare the anonymous types, they must cont…1 · -
Re: Query results limited to 40 rows
There seem to be some Linq Providers that limit the number of results if you don't specify how many you want. The solution is to use something like .Take(1000) or .Take(1000000) if you really ca…2 · -
Re: Version 5 AnyCPU getting 2GB error
X64 won't solve this issue. File.ReadAllBytes has a specific check to make sure the length is less than 2Gb See https://github.com/dotnet/coreclr/blob/master/src/mscorlib/src/System/IO/File.cs A…3 ·