On Tue, 2009-06-16 at 17:49 -0700, yuniti wrote:
> Now I presume that joins are working and have always been working, as
> I've seen the code for it.  However, I am getting a strange error
> locally.
> 
> Is it just me, or does anyone else get this?
> 
> I am doing:
> 
> (from catAttribute in db.CategoryAttribute where
> catAttribute.AttributeID==1 from attr in db.Attribute where attr.ID==1
> select new {catAttribute.AttributeID, attr.ID}).ToList();
> 
> And get the following error:
> 
> Argument type 'DbLinq.Data.Linq.Table`1[Vendalism.Data.Attribute]'
> does not match the corresponding member type
> 'Vendalism.Data.Attribute'

This looks like ReadTests_Join.ImplicitLeftOuterJoin():

        var dbItems =
                (from a in db.Products
                 from b in db.Suppliers
                 where a.SupplierID == b.SupplierID
                 select a);
        var list = dbItems.ToList();
        
Alas, it's currently marked as [Explicit], meaning it's a known failure
under SQLite and SQL Server (and probably every other vendor), and is
currently generating an error message similar to what you provided.

I would love to have someone look into this; otherwise, I'll look into
it eventually...

Thanks,
 - Jon



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to dblinq@googlegroups.com
To unsubscribe from this group, send email to 
dblinq+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to