public SqliteDbFixture() { DbFileName = Path.GetTempFileName() + ".sqlite"; DbConnection = new SqliteConnection($"Data Source={DbFileName}"); DbFactory = new SqlLogDbFactory(Microsoft.Data.Sqlite.SqliteFactory.Instance) { LastInsertIdSelectText = "SELECT last_insert_rowid()" }; CreateDb(); }
internal SqlLogDbCommand(DbCommand realCmd, SqlLogDbFactory logDbFactory) { DbCmd = realCmd; LogDbFactory = logDbFactory; }