C# 3.0 in a Nutshell
C# 3.0 in a Nutshell, Third Edition A Desktop Quick Reference

By Joseph Albahari, Ben Albahari
Price: $49.99 USD
£30.99 GBP

Cover | Table of Contents | Forum


Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
How To See Results, When C# Statement(s) Is Selected.
Mike Roberts
post 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;
Go to the top of the page
 
+Quote Post
Mike Roberts
post 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()
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 16th May 2008 - 11:07 AM