How To See Results, When C# Statement(s) Is Selected. |
By Joseph Albahari, Ben Albahari
Price: $49.99 USD
£30.99 GBP
Cover | Table of Contents | Forum
![]() ![]() |
How To See Results, When C# Statement(s) Is Selected. |
Apr 24 2008, 05:55 PM
Post
#1
|
|
|
New Member ![]() Group: Members Posts: 2 Joined: 24-April 08 Member No.: 252 |
Thanks for such a cool product, I find myself using it a lot.
Simple question. When I'm in "C# Statement(s)" mode, how do I get any results to display. Must I perform the write myself. So right now the below does not display anything. I was thinking if there was a object named "results" or anyother keyword, this object could automatically be displayed to the results pane. BTW, you did a nice job on the results display for the expressions, they look good. Thanks, Mike CODE SecurityContext context = new SecurityContext("metadata=.\\Security.csdl|.\\Security.ssdl|.\\Security.msl;provider=System.Data.SqlClient;provider connection string='Data Source=SQLSERVER;Initial Catalog=Security;Integrated Security=True;MultipleActiveResultSets=True'");
var result = from p in context.Passwords select p; |
|
|
|
Apr 24 2008, 06:33 PM
Post
#2
|
|
|
New Member ![]() Group: Members Posts: 2 Joined: 24-April 08 Member No.: 252 |
I got it, should have looked more at the samples.
X.Dump() |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 16th May 2008 - 11:06 AM |