Open GoogleCodeExporter opened 9 years ago
What's the actual SQL that's generated. You can hook up a TextWriter to the
DataContext.Log property to see all the SQL that's generated.
Did you follow the installation instructions properly? See:
http://code.google.com/p/dblinq2007/wiki/Installation#To_use_DbLinq
Specifically, are you using the correct DbLinqProvider to work with PostgreSQL?
Original comment by jonmpr...@gmail.com
on 27 Apr 2010 at 7:05
This is the generated SQL:
SELECT "account_id", "created_on", "email", "email_key", "name",
"password_hash", "password_salt",
"updated_on"
FROM "public"."accounts"
WHERE ("email" = :<login>__1) LIMIT 2
The DbLinq provider is correct because I'm hacking my generated class and
setting my DataContext class to
inherit from the PgsqlDataContext class that's in the DbLinq.PostgreSql project
so that it looks like this:
public partial class MyDbContext : PgsqlDataContext { ... }
I have to admit that I don't fully understand the MONO_STRICT conditional
compilation symbols. But I'm pretty
sure it's working as it should. Lemme know, I'll be happy to continue to help.
Original comment by abe.gill...@gmail.com
on 27 Apr 2010 at 11:28
Original issue reported on code.google.com by
abe.gill...@gmail.com
on 27 Apr 2010 at 5:53