Hi,

is it possible to use an DataContext standalone (because all samples i
have seen so far use a derived class which contains all tables of the
database), and define a few tables by hand (like with linq to sql).


Something like:

DataContext dc = new DataContext(databaseConnection, new
PgsqlVendor());
var users = dc.GetTable<Users>();


I just got a variety of NullReference exceptions using this style.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to