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
Linqpad Customization
Sarah Kim
post Feb 28 2008, 01:27 AM
Post #1


Active Member
***

Group: Administrators
Posts: 78
Joined: 12-November 07
Member No.: 6



Can we customize LINQPad?

(This question was asked during the Writing LINQ Queries with LINQPad webinar)
Go to the top of the page
 
+Quote Post
Sarah Kim
post Feb 28 2008, 01:30 AM
Post #2


Active Member
***

Group: Administrators
Posts: 78
Joined: 12-November 07
Member No.: 6



At the moment the only extensibility points are through the advanced properties. By adding additional extension methods you can add your own references to assemblies, plug in your own extension methods. I have been considering adding another extensibility point which would let you plug in your own data context classes. This would allow for things such as other ORMs. We've had some requests for supporting LINQ to Entities and third party ORMs as well. That is also something that is on the wish list.

(Answer provided by Joseph Albahari during the webinar)
Go to the top of the page
 
+Quote Post
Sarah Kim
post Feb 28 2008, 01:31 AM
Post #3


Active Member
***

Group: Administrators
Posts: 78
Joined: 12-November 07
Member No.: 6



Can you add a reference to a custom assembly?

If you do a reference to a custom assembly you cannot do LINQ to Entities on it, correct?

(These questions were asked during the Writing LINQ Queries with LINQPad webinar)
Go to the top of the page
 
+Quote Post
Sarah Kim
post Feb 28 2008, 01:32 AM
Post #4


Active Member
***

Group: Administrators
Posts: 78
Joined: 12-November 07
Member No.: 6



If you've build an assembly using Visual Studio you can reference that assembly and start using it in LINQPad.

If you want to use LINQ to Entities you can do it simply by referencing an assembly with the data context, that will work. The only thing that you won't be able to do is browse the schema in the tree on the left in LINQPad, but you can, if you want, reference an assembly that contains all your objects already compiled and you use them if you already know what the schema is.

(Answer provided by Joseph Albahari during the webinar)
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 - 10:59 AM