开发者

LinqPad / Sqlite version info and foreign key support

开发者 https://www.devze.com 2022-12-27 05:26 出处:网络
I am using fabulous LinqPad and its Sqlite driver. 1) Is开发者_运维问答 there a way to obtain Sqlite version information by executing say \"select version\"?

I am using fabulous LinqPad and its Sqlite driver.

1) Is开发者_运维问答 there a way to obtain Sqlite version information by executing say "select version"?

2) Which driver specific connection string should I use to enable foreign key support in Sqlite?


select distinct sqlite_version() from sqlite_master;


1) select sqlite_version()

2) on http://sqlite.phxsoftware.com/forums/p/2159/8788.aspx they say the connection string parameter is EnforceFKConstraints, the SQLite documentation isn't as browsable as I would like it to be :/

0

精彩评论

暂无评论...
验证码 换一张
取 消