-
Re: Can I export hierarchical data to Excel?
You could try something like Customers.Select(c => new { Orders = c.Orders.Select(o => new { c.Name, o.OrderDate} ) } ).SelectMany(r=>r.Orders); (View Post) -
Util.ToExpando throws an error if the object has a property defined twice.
Example void Main() { var x2 = new X2(); Util.ToExpando(x2).Dump(); // An element with the same key 'Test1' already exists in the ExpandoObject } public class X1 { public string Test1 = "1"… (View Post) -
Re: yield?
Should be yield return ... (View Post) -
Re: Double query execution in Statement(s) mode
If you highlight something without a semi-column, then it executes the selected text as a C# Expression and automatically dumps the result. So if the expression contains Dump() then you get the resul… (View Post) -
Re: CS1001 Identifier expected
You can get this error if you have something wrong in your additional namespace imports. eg System.IO. (note the . at the end of the name) (View Post)