.NET Framework Data Provider for ODBC
DRIVER=SQLite3 ODBC Driver; Database=mydb.db; LongNames=0; Timeout=1000; NoTXN=0;SyncPragma=NORMAL; StepAPI=0;
This is just one connection string sample for the wrapping OdbcConnection class that calls the underlying ODBC Driver. See respective ODBC driver for more connection strings to use with this class.
SQLite3 ODBC Driver
DRIVER=SQLite3 ODBC Driver; Database=mydb.db; LongNames=0; Timeout=1000; NoTXN=0;SyncPragma=NORMAL; StepAPI=0;
SQLite.NET
Basic(基本的) Data Source=filename;Version=3;Using UTF16(使用UTF16编码) Data Source=filename;Version=3;UseUTF16Encoding=True;With password(带密码的) Data Source=filename;Version=3;Password=myPassword;Using the pre 3.3x database format(使用3.3x前数据库格式) Data Source=filename;Version=3;Legacy Format=True;Read only connection(只读连接) Data Source=filename;Version=3;Read Only=True;With connection pooling(设置连接池) Data Source=filename;Version=3;Pooling=False;Max Pool Size=100;Using DateTime.Ticks as datetime format() Data Source=filename;Version=3;DateTimeFormat=Ticks;新闻热点
疑难解答
图片精选