Allows execution of a SQL command as s tring agains the Context's provider and return the result as an Entity collection
Format can either be named parameters (@pk, @name) with DbParameter objects (CreateParameter) or by using {0}, {1} for positional parameters and passing in the actual values.
public IEnumerable<TResult> Execute<TResult>(string sql, Object[] parameters)
Parameters
sql
Sql String.
parameters
See also:
Class EfCodeFirstBusinessBase© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic