Larry Brasfield wrote:
> 
> If anybody knows how to solve this more easily than suggested above, I 
> would appreciate your input.
> 

There are two ways to solve this:

1. The 1.0.83.0 release of System.Data.SQLite, due out before the end of
   the year, adds a static Changed event to the SQLiteConnection class.
   This allows external components to be notified when a connection is
   opened, closed, etc.

2. Alternatively, you can make sure the "Foreign Keys" property is set to
   true in the connection string.

Prior to the [pending] 1.0.83.0 release, only option #2 is available.

--
Joe Mistachkin

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to