Re: [ADVANCED-DOTNET] LINQ to SQL and inheritanc....

2008-04-22 Thread Nicholls, Mark
nal Message- > From: Discussion of advanced .NET topics. [mailto:ADVANCED- > [EMAIL PROTECTED] On Behalf Of Frans Bouma > Sent: 22 April 2008 14:13 > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] LINQ to SQL and inheritanc > > > On Fri,

Re: [ADVANCED-DOTNET] LINQ to SQL and inheritanc....

2008-04-22 Thread Frans Bouma
> On Fri, 18 Apr 2008 18:04:38 +0200, Frans Bouma <[EMAIL PROTECTED]> wrote: > >> hmmmseems a little wierd, it would be nice to query and bind to Dogs > >> directly (if you see what I mean). > >> > >> So I create a form and grid and bind to the Animals base Table (as it's > >> the only one I've

Re: [ADVANCED-DOTNET] LINQ to SQL and inheritanc....

2008-04-22 Thread Mark Nicholls
t: Friday, April 18, 2008 9:05 AM >To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM >Subject: Re: [ADVANCED-DOTNET] LINQ to SQL and inheritanc > >> I'm just having a mess about with LINQ and inheritance, I've basically >> created the canonical example, base class (lets say

Re: [ADVANCED-DOTNET] LINQ to SQL and inheritanc....

2008-04-22 Thread Mark Nicholls
On Fri, 18 Apr 2008 18:04:38 +0200, Frans Bouma <[EMAIL PROTECTED]> wrote: >> I'm just having a mess about with LINQ and inheritance, I've basically >> created the canonical example, base class (lets say Animal), and derived >> class (lets say Dog) and set up the inheritance relations. >> >> I not

Re: [ADVANCED-DOTNET] LINQ to SQL and inheritanc....

2008-04-18 Thread Shawn Wildermuth
rans Bouma Sent: Friday, April 18, 2008 9:05 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] LINQ to SQL and inheritanc > I'm just having a mess about with LINQ and inheritance, I've basically > created the canonical example, base class (lets say Animal)

Re: [ADVANCED-DOTNET] LINQ to SQL and inheritanc....

2008-04-18 Thread Frans Bouma
> I'm just having a mess about with LINQ and inheritance, I've basically > created the canonical example, base class (lets say Animal), and derived > class (lets say Dog) and set up the inheritance relations. > > I notice that once I set up the relationship the Derived class is not > present in the