Beispiel #1
0
        protected override IDbTool CreateDbTool(IDbConnection dbConn)
        {
            var dbTool = new SqliteTool(dbConn);

            if (CommandTimeout.HasValue)
            {
                dbTool.CommandTimeout = CommandTimeout.Value;
            }

            return(dbTool);
        }
Beispiel #2
0
        protected override IDbTool CreateDbTool(string connStr)
        {
            var dbTool = new SqliteTool(connStr);

            if (CommandTimeout.HasValue)
            {
                dbTool.CommandTimeout = CommandTimeout.Value;
            }

            return(dbTool);
        }