Esempio n. 1
0
        public TEntity[] SqlQuery <TEntity>(DbTransaction transaction, FormattableString formattableSql)
            where TEntity : class, new()
        {
            var safeSql = new SafeSql <TDbParameter>(formattableSql);

            return(UnsafeSqlQuery <TEntity>(transaction, safeSql.Sql, safeSql.Parameters));
        }
Esempio n. 2
0
        public int Sql(DbTransaction transaction, FormattableString formattableSql)
        {
            var safeSql = new SafeSql <TDbParameter>(formattableSql);

            return(UnsafeSql(transaction, safeSql.Sql, safeSql.Parameters));
        }
Esempio n. 3
0
        public Dictionary <string, object>[] SqlQuery(DbTransaction transaction, FormattableString formattableSql)
        {
            var safeSql = new SafeSql <TDbParameter>(formattableSql);

            return(UnsafeSqlQuery(transaction, safeSql.Sql, safeSql.Parameters));
        }