-
Re: Hide the code in runtime
Yes, the latest beta supports this. https://www.linqpad.net/LINQPad6.aspx#beta * You can now call LINQPad6.exe with arguments to instruct LINQPad to open and run a query with results expanded and the… (View Post) -
Advent of Code 2020
Perhaps a bit late to announce this event, but this month the Advent of Code is running. Each day, a new puzzle is released which can be solved using any programming language. For me, LINQPad is the … (View Post) -
Re: Create namespaces within LINQPad?
The workaround for LINQPad 5: // public class UserQuery { void Main() { // Main method... var x = new Foo.Bar(); }} // end of UserQuery classnamespace Foo{ class Bar { } (View Post) -
Re: How to use FromSqlRaw, FromSqlInterpolated and ExecuteSqlRaw, ExecuteSqlInterpolated
Use the built in ExecuteQuery<T> or ExecuteQueryDynamic function Or use int ExecuteCommand(string command, params object[] parameters) if your statement does not return data. (View Post) -
Re: How to format dates in queries?
You should treat dates as date in sql, not string. Format the date outside sql and parse the date before using in query: //ExecuteCommand("CREATE TABLE myTable ( myDate DATETIME NOT NULL )"… (View Post)