It may also be that I'm not doing something right. The using block I
posted above is just embedded into a main method. Expected results of
the program would be to see the original name on the first run, and
then the name set by the code on the second run. Currently it just
prints out the same name over and over, apparently not updating.
Database query log is not seeing any update statements received. It IS
seeing a transaction begin and transaction end when SaveChanges() is
called. There just happens to be nothing happening in the transaction.
Until I can find the DataContext.Log file, the MySQL query log will be
the next best thing.
#This first part is the initial selection by DbLinq:
/usr/local/mysql-5.1.39-osx10.5-x86/bin/mysqld, Version: 5.1.39-log
(MySQL Community Server (GPL)). started with:
Tcp port: 0 Unix socket: (null)
Time Id Command Argument
100302 19:52:15 1 Connect my...@localhost as anonymous on test
1 Query SHOW VARIABLES
1 Query SHOW COLLATION
1 Query SET character_set_results=NULL
1 Init DB test
1 Query SELECT firstname, lastname
FROM test.employee LIMIT 1
1 Quit
# This is where SaveChanges is called()
2 Connect my...@localhost as anonymous on test
2 Query SHOW VARIABLES
2 Query SHOW COLLATION
2 Query SET character_set_results=NULL
2 Init DB test
2 Query SET SESSION TRANSACTION ISOLATION LEVEL
REPEATABLE READ
2 Query BEGIN
2 Query COMMIT
2 Quit
--
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.