/// <summary> /// Creates a raw SQL query that is executed directly in the database. /// </summary> /// <param name="sql">The SQL query string.</param> /// <param name="cmdType">The command type.</param> /// <param name="parameters">The parameters to apply to the SQL query string.</param> /// <returns>The number of rows affected.</returns> public IQueryResult <int> ExecuteSqlCommand(string sql, CommandType cmdType, Dictionary <string, object> parameters) { return(_context.ExecuteSqlCommand(sql, cmdType, parameters)); }
public int ExecuteSqlCommand(string sql, CommandType cmdType, Dictionary <string, object> parameters) { return(_underlyingContext.ExecuteSqlCommand(sql, cmdType, parameters)); }